White Papers

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
239
wsman invoke -a GetRemoteServicesAPIStatus 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:
<n1:GetRemoteServicesAPIStatus_OUTPUT>
<n1:LCStatus>0</n1:LCStatus>
<n1:Message>Lifecycle Controller Remote Services is ready.</n1:Message>
<n1:MessageID>LC061</n1:MessageID>
<n1:ReturnValue>0</n1:ReturnValue>
<n1:ServerStatus>2</n1:ServerStatus>
<n1:Status>0</n1:Status>
</n1:GetRemoteServicesAPIStatus_OUTPUT>
Details on each output parameter is described below:
Output
parameter
Name
Possible values
Description
Status
0 (Ready)
Lifecycle Controller Remote Services is ready to
accept any web services request.
1 (Not Ready)
Lifecycle Controller Remote Services is currently not
ready to accept web services request. This could be
because the instrumentation in iDRAC might be
reloading /not_ready or server is in POST or
performing scheduled provisioning requests or
Lifecycle Controller Unified Server Configurator is in
use.
MessageID
LC060
LC061
Message
Lifecycle Controller
Remote Services is not
ready.
Message for ID LC060
Lifecycle Controller
Remote Services is
ready.
Message for ID LC061
ServerStatus
0 (Powered off)
Server is powered off
1 (In POST)
Server is performing normal POST operation