Reference Guide
100 Lifecycle Controller Web Services Interface Guide for Linux
-u $USERNAME -p $PASSWORD
-J ReInitiateDHS.xml -j utf-8 -y basic
The input file ReInitiateDHS.xml containing the parameters for the ReInitiateDHS method is shown below:
<p:ReInitiateDHS_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_LCSer
vice”>
<p:ProvisioningServer>[PS_IP_ADDRESS]</p:ProvisioningServer>
<p:ResetToFactoryDefaults>TRUE</p:ResetToFactoryDefaults>
<p:PerformAutoDiscovery>3</p:PerformAutoDiscovery>
</p:ReInitiateDHS_INPUT>
OUTPUT:
The output is status 0 for successfully set or a message is displayed indicating an error.
<n1:ReInitiateDHS_OUTPUT>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:ReInitiateDHS_OUTPUT>
12.4 Clear or Set Provisioning Server
The Provisioning Server name (or a group names) can be cleared by invoking the
ClearProvisioningServer() method on the DCIM_LCService class.
Configuring the Provisioning Server name(s)
EXAMPLE-A:
wsman invoke -a ClearProvisioningServer
http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_LCService?
SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_LCService,
SystemName=DCIM:ComputerSystem,Name=DCIM:LCService
-h $IPADDRESS -V -v –c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-j utf-8 -y basic
OUTPUT-A:
This method will return status 0 or a message is displayed indicating an error.
<n1:ClearProvisioningServer_OUTPUT>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:ClearProvisioningServer_OUTPUT>
Setting the Provisioning Server name or IP address for the provisioning service
The Provisioning Server name and/or IP Addresses can be set by invoking the SetAttribute() method of
the DCIM_LCService class.
[PS_IP_ADDRESS]: Substitution will need to be replaced with the actual IP address(s) or DNS name(s)
of the Provisioning Server(s).
EXAMPLE-B:
wsman invoke -a SetAttribute
http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_LCService?
SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_LCService
,SystemName=DCIM:ComputerSystem,Name=DCIM:LCService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J SetProvisioningServer.xml -j utf-8 -y basic