Practices Guide

Lifecycle Controller IntegrationBest Practices Specification
112
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) GetNICCapabilities(): ENUMERATE the DCIM_NICCapabilities class to view all instances
of the class. See section 2.2 for a definition of
ENUMERATE . If instances are returned,
go to end of script as the capabilities are published
C) GetNICViews(): ENUMERATE the DCIM_NICView class to view all available NIC instances.
See section 2.2 for a definition of
ENUMERATE . If no instances are returned, go to end of
script as no NICs are present.
D) GetSystemViews(): ENUMERATE the DCIM_SystemView class. See section 2.2 for a
definition of
ENUMERATE . If the “PowerState” field is equal to 8, power on system.
E) RequestPowerStateChange(): Power on the system using PowerState=2
F) 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.
When the system is ready, continue
G) GetNICCapabilities(): ENUMERATE the DCIM_NICCapabilities class to view all instances
of the class. See section 2.2 for a definition of
ENUMERATE . If instances are returned,
go to end of script as the capabilities are published
H) RequestPowerStateChange(): Power off the system using PowerState=8
NOTE: If an operating system has been installed, the system will boot into it. It
may be desired to wait until the OS boot is complete before performing a graceful
shutdown.
19 Software Update Profile Use Cases
19.1 Discovery of Software Update Profile Support
Use the following procedure below to confirm the existence of software update profile support.
Applies to: LC1.5.0+
Prerequisites for script: none
Script: GetSoftwareUpdateProfile.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) GetLCRegisteredProfiles(): ENUMERATE the DCIM_LCRegisteredProfile class to view all
registered profiles. See section 2.2 for a definition of
ENUMERATE .
C) Search for “RegisteredName=Software Update” and note its instanceID to use in step D)