De presentatie wordt gedownload. Even geduld aub

De presentatie wordt gedownload. Even geduld aub

Microsoft Operations Manager & Scripting

Verwante presentaties


Presentatie over: "Microsoft Operations Manager & Scripting"— 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
Web Based Enterprise Management Opvragen en Wijzigen van Informatie Computers Programma’s Netwerken Componenten

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

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

7 Architectural Overview
Web Console Database MMC Interface Data Sources SNMP Traps Performance Counters Application Logs . Event Logs Agent Manager Consolidator DAS Reporting Agents 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

24


Download ppt "Microsoft Operations Manager & Scripting"

Verwante presentaties


Ads door Google