White Papers

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
108
EXAMPLE:
wsman invoke -a ReInitiateDHS http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/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 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/cim-
schema/2/root/dcim/DCIM_LCService">
<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 an error message.
<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/cim-
schema/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: