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

How to Create a Containment Relationship

更新日期: 2010年4月

適用於: System Center Operations Manager 2007

The following procedures show how to create containment relationships in the Operations Manager 2007 Authoring console. Before you perform these procedures, you must complete the following prerequisite procedures:

The relationships created in the following procedures have these characteristics.

  • Relationship between MyHealthRollup group class and MyComputerRole1 class. This supports a health rollup of all instances of MyComputerRole1.

  • Relationship between MyComputerRole2 and MyComputerRole1. This supports a health dependency of MyComputerRole2 on MyComputerRole1.

Containment relationships do not have to be created for Instance Groups or Computer Groups, because the required relationships are already defined by the classes on which these classes are based.

To create a containment relationship for a health rollup

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

  2. Right-click in the Relationships pane, select New, and then select Containment Relationship.

  3. On the General page, do the following:

    1. In the ID box, type MyMP.MyHealthRollupContainsMyComputerRole1.

    2. In the Display Name box, type My Health Rollup Contains My Computer Role 1.

    3. Click Next.

  4. On the Source and Target page, do the following:

    1. In the Class ID (Source) box, select MyMP.MyHealthRollup.

    2. In the Class ID (Target) box, select MyMP.MyComputerRole1.

    3. Click Finish.

  5. Select File, and then click Save.

To create a containment relationship for dependency between two classes

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

  2. Right-click in the Relationships pane, select New, and then select Containment Relationship.

  3. On the General page, do the following:

    1. In the ID box, type MyMP.MyComputerRole2ContainsMyComputerRole1.

    2. In the Display Name box, type My Computer Role 2 Contains My Computer Role 1.

    3. Click Next.

  4. On the Source and Target page, do the following:

    1. In the Class ID (Source) box, select MyMP.MyComputerRole2.

    2. In the Class ID (Target) box, select MyMP.MyComputerRole1.

    3. Click Finish.

  5. Select File, and then click Save.

另請參閱

概念

Relationships

顯示: