Getting the number of currently installed units

Use the IBMTSSVC_ConfigurationReportingService to get information about the maximum number of supported units or the number of currently installed units for the given UnitType, for a given ClassType.

To retrieve information about the maximum number of supported units or the number of currently installed units for the given UnitType, for a given ClassType, complete the following steps.

  1. Select an IBMTSSVC_Enclosure instance as the container.
  2. Retrieve the IBMTSSVC_ConfigurationReportingService instance that is associated with the IBMTSSVC_Cluster instance to which the selected IBMTSSVC_Enclosure instances belong.
  3. Invoke the IBMTSSVC_ConfigurationReportingService.ReportCapacity() method with the following parameter specifications:
    1. Set InquiryType to 2 if the supported number is to be returned, or 3 if the currently installed number is to be returned.
    2. Set ClassType to be a entry returned in the GetClassTypes.ClassTypes property.
    3. Set CIM_ManagedElement to the reference (CIMObjectPath) of the target IBMTSSVC_Enclosure.

The returned NumberOfUnits is the maximum number of supported or the number of currently installed units of the ClassTypes supported or installed in the IBMTSSVC_Enclosure.