Practices Guide

LC Integration Best Practices Specification
115
Use the following procedure below to list the inventory of all sensors in the system.
Applies to: LC1.5.0+
Prerequisites for script: none
Script: GetSensorViews.win
A) The Lifecycle Controller remote service must be in a “ready” state before executing any
other WSMAN commands. The GetRSStatus() method or the GetRemoteServicesAPIStatus()
method may be used depending on the version of the LC Management registered profile.
B) GetSensorViews(): ENUMERATE the CIM_Sensor class to view all instances. See section
2.2 for a definition of ENUMERATE .
The instance information of all available sensors will be returned.
23.3 Sensor thresholds
Only sensors of Numeric type have thresholds (i.e. sensors of type DCIM_PSNumericSensor and
DCIM_NumericSensor). Sensor instances of this type will indicate the supported thresholds in their
SupportedThresholds property. They also indicate the settable ones through their SettableThresholds
property. ‘Set’ operations can be performed to change the settable thresholds.
Applies to: LC1.5.0+
Prerequisites for script: Set thresholds by editing script
Script: SetSensorThresholds.win
A) The Lifecycle Controller remote service must be in a “ready” state before executing any
other WSMAN commands. The GetRSStatus() method or the GetRemoteServicesAPIStatus()
method may be used depending on the version of the LC Management registered profile.
B) GetSensorViews(): ENUMERATE the CIM_Sensor class to view all instances. Check the
instance of either DCIM_PSNumericSensor and DCIM_NumericSensor to see if there are any
settable thresholds
C) SetSensorThreshold(): SET the DCIM_PSNumericSensor instance for temperature. Set
the LowerThresholdNonCritical and UpperThresholdNonCritical values.
24 Base Server and Physical Asset Profile Use Cases
24.1 Discovery of Base Server and Physical Asset profile support
There is not an LC registered Base Server and Physical Asset Profile prior to LC2.0.