Reference Guide

217 Lifecycle Controller Web Services Interface Guide for Linux
20 Remote Service Status
To get the remote service status, invoke the GetRemoteServicesAPIStatus() method in the class
DCIM_LCService. This method is used to obtain the overall remote services API status that includes both
the host System status as well as the Lifecycle Controller (Data Manager included) status. The overall
rolled up status shall be reflected in the Status output parameter.
NOTE: The LCStatus output parameter value includes the status reported by the DMStatus output
parameter in the GetRSStatus() method. Thus, GetRSStatus() method invocation is redundant.
Profile and Associated MOFs:
http://www.delltechcenter.com/page/DCIM.Library.Profile
20.1 Getting Remote Service Status
EXAMPLE:
wsman invoke -a GetRemoteServicesAPIStatus
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:
<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