Practices Guide

LC Integration Best Practices Specification
135
Applies to: LC1.5.0+
Prerequisites for script: none
Script: CheckVFlashLicense.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) GetLCEnumerations(): ENUMERATE the DCIM_LCEnumeration class to new view all
available instances. See section 2.2 for a definition of ENUMERATE .
C) Search for “AttributeName =Licensed” and note its instanceID to use in step D)
D) GetLCRegisteredProfile(): GET the DCIM_LCRegisteredProfile instance using the
InstanceID from C). See Section 2.3 for a definition of GET.
Check the CurrentValue parameter to determine if the system is licensed.
DCIM_LCEnumeration
AttributeName = Licensed
CurrentValue = Yes
DefaultValue = No
ElementName = LC.emb.1
InstanceID = LifecycleController.Embedded.1#LCAttributes.1#Licensed
IsReadOnly = true
PendingValue
PossibleValues = No
PossibleValues = Yes
31.7 Set configuration to “Auto Discovery Factory Defaults”
Use the following procedure to set the Auto Discovery configuration to factory defaults.
Applies to: LC1.5.0+
Prerequisites for script: none
Script: SetAutoDiscoveryFactoryDefaults.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) GetLCEnumerations(): ENUMERATE the DCIM_LCEnumeration class to new view all
available instances. See section 2.2 for a definition of ENUMERATE .
C) Search for “AttributeName = Discovery Factory Defaults and note its instanceID to use in
step D)