1 / 20

Windows NT

Windows NT. 5.2. . Windows Server 2003. Workstation. Server. 3.1, 3.5, 3.51. √. √. 4.0. √. √. 5.0. Windows 2000. Windows 2000 Server. 5.1. Windows XP. . 6.0. Windows Vista. Windows Server 2008. 7.0. Windows 7. Windows Server 2008 R2. WMI.

garin
Download Presentation

Windows NT

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Windows NT 5.2  Windows Server 2003 Workstation Server 3.1, 3.5, 3.51 √ √ 4.0 √ √ 5.0 Windows 2000 Windows 2000 Server 5.1 Windows XP  6.0 Windows Vista Windows Server 2008 7.0 Windows 7 Windows Server 2008 R2

  2. WMI • basisarchitectuur: WMI versus SNMP • WMI klassen en objecten • WMI CIM Studio • Qualifiers • Associatorklassen • WMI Query Language (WQL) • Event providers versus interne polling • Notification queries (WbemTest) • Permanente Eventregistratie

  3. WMI versus SNMP MIB GET / SET EXTERNE POLLING SCALAIRE OBJECTEN + TABELLEN NETWORK MANAGEMENT APPLICATION (NMA) NETWORK MANAGEMENT STATION (NMS) MANAGER AGENTEN

  4. WMI versus SNMP API API API MIB MIB MIB SUB AGENT SUB AGENT SUB AGENT MANAGER TRANSPORT MASTER AGENT SNMP COMMUNICATIE MET NMSs STANDAARD UDP POORTEN 161 & 162 SNMP PROTOCOL SPECIFIEK PROTOCOL OF IPC MECHANISME

  5. WMI basisarchitectuur

  6. WMI • basisarchitectuur: WMI versus SNMP • WMI klassen en objecten • WMI CIM Studio • Qualifiers • Associatorklassen • WMI Query Language (WQL) • Event providers versus interne polling • Notification queries (WbemTest) • Permanente Eventregistratie

  7. WMI Qualifiers Klassequalifiers (objectqualifiers) Attribuutqualifiers Methodequalifiers Methodeparameterqualifiers

  8. WMI Qualifiers Klassequalifiers (objectqualifiers) • Description • Singleton • Abstract • Dynamic • Provider • Association Attribuutqualifiers Methodequalifiers Methodeparameterqualifiers

  9. WMI Qualifiers Klassequalifiers (objectqualifiers) Attribuutqualifiers • Description • CIMType • Read en/of Write • Keys • ValueMap • Values • Template Methodequalifiers Methodeparameterqualifiers

  10. WMI Qualifiers Klassequalifiers (objectqualifiers) Attribuutqualifiers Methodequalifiers • Description • CIMType • ValueMap • Values • Static • Privileges Methodeparameterqualifiers

  11. WMI Qualifiers Klassequalifiers (objectqualifiers) Attribuutqualifiers Methodequalifiers Methodeparameterqualifiers • Description • CIMType • ValueMap • Values • Out • Optional • ID

  12. WMI • basisarchitectuur: WMI versus SNMP • WMI klassen en objecten • WMI CIM Studio • Qualifiers • Associatorklassen • WMI Query Language (WQL) • Event providers versus interne polling • Notification queries (WbemTest) • Permanente Eventregistratie

  13. WMI Query Language (WQL) • SELECT ... FROM klasse [ WHERE ... ] • REFERENCES OF {…} [ WHERE ... ] • ASSOCIATORS OF {…} [ WHERE ... ] • AssocClass = klassenaam • ResultClass = klassenaam • ResultRole = sleutelattribuutnaam • Role = sleutelattribuutnaam • ClassDefsOnly • Schemaqueries • SELECT * FROM meta_class [ WHERE ... ] • ASSOCIATORS OF {…} WHERE schemaonly

  14. SNMP MIB GET / SET EXTERNE POLLING TRAP SCALAIRE OBJECTEN + TABELLEN NETWORK MANAGEMENT APPLICATION (NMA) NETWORK MANAGEMENT STATION (NMS) MANAGER AGENTEN

  15. WMI basisarchitectuur

  16. WMI Event Providers • ideaal scenario: • consumers registreren (cfr. notification query) condities waarin men geïnteresseerd is • event providers creëren event objecten in repository van zodra condities optreden • consumers hierdoor onmiddellijk geactiveerd • probleem: weinig providers zijn eveneens event providers

  17. Event Polling • tussenoplossing: CIMOM interne polling • WMI service ondervraagt periodiek specifieke klassen bij de corresponderende providers • PreviousInstance en TargetInstancesnapshots • WMI service creëert event objecten in repository van zodra condities optreden • externe polling door consumer • verslindt bandbreedte en processorcycli • bovendien opletten met caching door CIMOM: opfrissen noodzakelijk !

  18. WMI • basisarchitectuur: WMI versus SNMP • WMI klassen en objecten • WMI CIM Studio • Qualifiers • Associatorklassen • WMI Query Language (WQL) • Event providers versus interne polling • Notification queries (WbemTest) • Permanente Eventregistratie

  19. Permanente Eventregistratie • periodieke eventgenerator • standaard eventconsumers • LogFileEventConsumer • NTEventLogEventConsumer • SMTPEventConsumer. • CommandLineEventConsumer • ActiveScriptEventConsumer

  20. Permanente Eventregistratie • configuratie via drie objecten: • __EventFilter object (WQL Query) • __EventConsumer object • o.a. via templates verwijzend naar informatie van het object dat het event veroorzaakt heeft: • %__SERVER% • %TargetInstance.Name% • %NumberOfEvents% • %Representative.TargetInstance.Name% • ... • __FilterToConsumerBinding object

More Related