资源描述
Click to edit Title Slide,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,MOM2005SDK,入门,Steve Harrell,资深,工艺师,微软,资讯组,微软公司,议程,简介,挑战,面,解决方针,仔细审视,MOM2005SDK,问题与答,复,复,微软,资讯组,平台,资讯组,提供支援,管理和监,视,视微软平,台,台技术,管理大约,3000,台全球数,据,据中心的,生,生产服务,器,器,企业之挑,战,战,MOM2005,不了解,资讯支援,团,团队模式,科技归属,权,权,服务器归,属,属权,需求,支援不同,模,模式的资,讯,讯支援团,队,队,特定,報警,(Alerts),被送到特,定,定,的资讯支,援,援团队,管理之挑,战,战,挑战,支援大数,量,量的服务,器,器,管理及抄,作,作事项繁,多,多,监控,服务器,之,数量的多,变性,监控,服务器,之,事项的多,类性,需求,管理自动,化,化,简化管理,资,资源,资讯,监控层次,面,面,微软,资讯组监,控,控方针,Third PartyMP,ISVMP,IT DevelopedMP,HardwareMP,WindowsServer MP,SecurityMP,ApplicationServer MP,SQLServer MP,IISMP,Application,Application,Application,Application,Application,Application,Application,Application,Application,合适的,支援团队,平台和应,用,用软件,基础设施,人事部门,销售部门,财务部门,解决方针,MOM2005SDK,协调,CMDB,和,MOMDB,的监控数,据,据,NotificationWorkflow v2Solution Accelerator,环境結構,概,概要,微软资讯,平台,资讯组,MOM2005,结构,微软资讯,部,部之,MOM2005,监控,系统,结构,原,设定值之,MOM2005,监控,系统,结构,支援不同,模,模式的资,讯,讯团队,DB,NW,单一模式,的,的资讯团,队,队,DB,DW,Reporting,Agents,MOM,DB,CMDB,SDK,Server,Change Data,Consoles,Alerts,Distrib.,Lists,SDK-CMDB,综合化,DB,MOM,SDK,DB,CMDB,DB,NW,Alerts,Server,Owner,Server,ComputerGroups,ConsoleScopes,Alert Detail,Subscription,Criteria,Alert Detail,OpsTeam,NotificationWorkflow DB,MOMDB,CMDB,Servers,500,1,500,2,000,3,000,4,000,Monthly Server Cost,$146,$49,$36,$24,$18,Annual Server Cost,$1,752,$588,$432,$288,$216,Total Cost for 4000 Server Coverage,$7,008,000,$2,352,000,$1,728,000,$1,152,000,$864,000,Consolidation Benefit,0,$4,656,000,$5,280,000,$5,856,000,$6,144,000,归属总成,本,本费用综,合,形式对比,综,合,形式 对,比,比 部门,形,形式,MOM2005SDK,演示,範,例,接上,MOMInstance,製造执行,范,范围,製造计算,机,机组,連結计算,机,机组和执,行,行范围,連結服务,器,器和计算,机,机组,加服务器,加用户于,执,执行范围,将服务器,安,安置于预,留,留维修期,SDKIn Action,Administration Object,BaseObjectforworkingwithMOM2005,/Get referencetoourAdmin object,Administration momAdmin=Administration.GetAdministrationObject();,管理计算,机,机组,/Get the collection ofallComputerGroups,ComputerGroupsCollectioncgs=momAdmin.GetComputerGroups();,/Add the group,returningtheGuid,GuidgroupGuid=momAdmin.InsertComputerGroup(grpName,Computers ownedby+grpName);,/Get areference to the newlycreatedGroup,ComputerGroup cgProp=momAdmin.GetComputerGroup(groupGuid);,管理,执行范围,/Get areference to the ManagementServer,ManagementServerms=momAdmin.GetManagementServerObject();,/Get the collection ofallConsoleScopes,ConsoleScopesCollectioncsc=ms.GetConsoleScopes();,/CreateaConsole Scope object,ConsoleScopecs=newConsoleScope(grpName+Scope,Consolefor+grpName,false);,/Addthe ConsoleScopetothe ManagementServer,ms.InsertConsoleScope(cs);,/Associatethe Computer Group to theScope,cs.AddComputerGroup(compGroup);,管理,服务器,/CreateQuery,InSQL,Select*fromComputer,ComputerQuery compQuery=momAdmin.GetComputerQueryObject();,/GetQueryExpression,In SQLequivalent to WHERE clause,ComputerQueryExpressionqryExp=newComputerQueryExpression();,/Basically,building theSQLWhereclause:Name=ComputerName,/LeftExpressionisthecolumn to search,qryExp.LeftExpression=newComputerColumnNameExpression(ComputerColumnNameExpression.ColumnName.Name);,/RightExpressionisthe value of interest,qryExp.RightExpression=new ValueExpression(computerName);,/ExpressionOperatoristhe match criteria,inthis caseEquals,qryExp.ExpressionOperator=ComputerQueryExpression.ExpressionOperatorType.Equals;,/Runthe query returninga ComputersCollection,InSQL,EXEC,ComputersCollection myComp=compQuery.GetComputers(qryExp);,管理,服务器继续,/AddComputer:NoteDomain is required,ms.InstallAgent(computerName,domain);,/CauseAgenttoscan computer,ms.PerformScan();,/AssociateComputerwithGroup,cg.AddComputerToIncludeList(computerName.ToUpper(),domain.ToUpper();,/Applythechange,i.e.Commit,cg.Update();,管理用,户,户执行,范,范围,Only Useraccountsallowed,nogroups,OneScopeper Userlimit,Account mustbemember of MOMUsersgroup,/Addindividualuser to ConsoleScope,scope.AddUser(currentUser,currentDom);,服务器,维,维修期,/GetaComputerMaintenance object,ComputerMaintenance compMaint=momAdmin.GetComputerMaintenanceObject();,/ApplyMaintenanceModetospecified computer,compMaint.SetMaintenanceMode(comp,EndTime,reason);,演示,範,例,接上,MOMInstance,製造执,行,行范围,製造计,算,算机组,連結计,算,算机组,和,和执行,范,范围,連結服,务,务器和,计,计算机,组,组,加服务,器,器,加用户,于,于执行,范,范围,将服务,器,器安置,于,于预留,维,维修期,问题与答复,将,提供,演示,範,例,和原始代码,(MonConfig),Resources:HowMicrosoftDoesIT,ResourcesfromMicrosoftIT,
展开阅读全文