本文件已封存並已停止維護。

How to Create a Group

更新日期: 2010年1月

適用於: System Center Operations Manager 2007

The following procedures explain how to create classes for an instance group, a computer group, and a health rollup in the Operations Manager 2007 Authoring console. Before you perform these procedures, you must first complete the prerequisite procedure, How to Create a New Management Pack, in which you first create a new management pack before adding the classes shown here.

To add a reference for Instance Group Library

  1. Select File, and then select Management Pack Properties.

  2. Click the References tab.

  3. Click Add Reference.

  4. Move to the folder where the Authoring console is installed, and select Microsoft.SystemCenter.InstanceGroup.Library.mp.

  5. Click in the Alias box, and change the alias to SCIG. Click OK. Any alias can be used for the alias. A short string is typically most convenient.

To create an instance group

  1. In the Authoring console, select Service Model, and then select Classes.

  2. Right-click in the Classes pane, select New, and then select Custom Class.

  3. In the Choose a unique identifier… box, type the name MyMP.MyInstanceGroup, and then click OK.

  4. On the General tab, do the following:

    1. In the Base Class box, select Browse all classes.

    2. In the Management Pack Class Chooser box, select Microsoft.SystemCenter.InstanceGroup, and then click OK.

    3. In the Name box, type My Instance Group.

  5. In the Attributes pane, select Singleton. Click OK.

  6. Select File, and then click Save.

To create a computer group

  1. In the Authoring console, select Service Model, and then select Classes.

  2. Right-click in the Classes pane, select New, and then select Computer Group.

  3. In the ID box, type the name MyMP.MyComputerGroup.

  4. In the Display Name box, type My Computer Group.

  5. Click Finish.

  6. Select File, and then click Save.

To create a group for health rollup

  1. In the Authoring console, select Service Model, and then select Classes.

  2. Right-click in the Classes pane, select New, and then select Custom Class.

  3. In the Choose a unique identifier box, type the name MyMP.HealthRollup, and then click OK.

  4. On the General tab, do the following:

    1. In the Base Class box, select Browse all classes.

    2. In the Management Pack Class Chooser box, select System.ComputerRole.

    3. In the Name box, type My Health Rollup. Click OK.

  5. In the Attributes pane, select Singleton. Click OK.

  6. Select File, and then click Save.

另請參閱

顯示: