Practices Guide

Lifecycle Controller IntegrationBest Practices Specification
140
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)
D) GetLCRegisteredProfile(): GET the DCIM_LCRegisteredProfile instance using the
InstanceID from C). See Section 2.3 for a definition of
GET.
The instance containing the attribute will be returned. If the CurrentValue parameter is “on”,
Auto Discovery Factory Defaults is already on, proceed to end.
E) ReInitiateDHS(): Invoke method to set Auto Discovery values
F) Repeat step D) to confirm CurrentValue is now ‘on”
31.8 Clear Provisioning Server
Use the following procedure to clear the provisioning server name.
Applies to: LC1.5.0+
Prerequisites for script: none
Script: ClearProvisioningServer.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) ClearProvisioningServer(): Invokes the ClearProvisioningServer method
31.9 Replace Auto Discovery Public Key
Refer to Web Service Interface Guide section 12.6