De presentatie wordt gedownload. Even geduld aub

De presentatie wordt gedownload. Even geduld aub

Microsoft Operations Manager & Scripting Theo Kostelijk Consultant Microsoft Services.

Verwante presentaties


Presentatie over: "Microsoft Operations Manager & Scripting Theo Kostelijk Consultant Microsoft Services."— Transcript van de presentatie:

1 Microsoft Operations Manager & Scripting Theo Kostelijk Consultant Microsoft Services

2 Agenda Operations Management WMI MOM Architectural overview Scripting en Monitoring MOM & Scripting

3 Wat is Operations Management? Observeren Verzamelen Waarschuwen Voorspellen Rapporteren

4 Windows Management Instrumentation Opvragen en Wijzigen van Informatie  Computers  Programma’s  Netwerken  Componenten Web Based Enterprise Management

5 WMI Architecture Any application that understands automation i.e. C/C++, VB, VBScript, Jscript, VBA, Perl CIM.REP Windows Management Service %SystemRoot%\System32\WBEM\WinMgmt.exe COM Win32 API Registry NT event PerfMonActive Directory MSI WDM SNMP Providers CIM Consumers Application MOF SQL Server.NET Exchange

6 MOM Central Server MOM Database MOM Database Data Access Server Consolidator/ Agent Manager Agents Microsoft Operations Manager Architectuur

7 Agents Architectural Overview Microsoft Operations Manager is opgebouwd uit:  MTS/COM+  DCOM  MMC  IIS/Internet Explorer  SQL Server 2000/msde

8 Microsoft Operations Manager

9 Agents

10 Processing Rulegroups

11 Providers

12 Scripts

13 Scripting en Monitoring Windows Scripting Host  Tonen van boodschap op het scherm  Verbinden met netwerk drives  Verbinden met printers  Ophalen en wijzigen van omgevings- variabelen  Ophalen en wijzigen van registry keys  Functies CreateObject en GetObject

14 Functies CreateObject en GetObject WMI ADSI OleDB CDO …

15 Scripting en Monitoring Set objService = GetObject( " winmgmts: " ).ExecQuery( " select * from Win32_Service " ) For Each Service in objService WScript.Echo Service.State & " : " & Service.Name & " : " & Service.Caption Next

16 Scripting en Management Set objService = GetObject( " winmgmts: " ).ExecQuery( " select * from Win32_Service where_ Name= ' Messenger '" ) For Each Service in objService RetVal = Service.StartService() If RetVal = 0 Then WScript.Echo " Service Started " If RetVal = 10 Then WScript.Echo " Service already running " Next

17 Windows Scripting Host

18 MOM Script Omgeving Product Objecten  Script Context  Agent Objext  Event Object

19 Product Objecten

20 Helper Objecten

21 Gebruik van Scripts in MOM Timed  Gebruik alleen als laatste mogelijkheid Response  Automatiseert alert afhandeling  Verandert alert status

22 MOM Script

23 Referentie us/netdir/adsi/listing_users.asp?frame=t rue

24


Download ppt "Microsoft Operations Manager & Scripting Theo Kostelijk Consultant Microsoft Services."

Verwante presentaties


Ads door Google