Reference Guide

111 Lifecycle Controller Web Services Interface Guide for Linux
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:LCWipe_OUTPUT>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:LCWipe_OUTPUT>
12.18 Get Remote Services API Status
The GetRemoteServicesAPIStatus() method is used to obtain the overall remote services API status
that includes both the host System status as well as the remote services (Data Manager) 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.
Invoke GetRemoteServicesAPIStatus() with the following parameters and syntax:
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>
12.19 Export System Configuration
This method is used to export the System configuration from the Lifecycle Controller to a file on a remote
share.
Invoke ExportSystemConfiguration() with the following parameters and syntax:
IPAddress: This is the IP address of the target export server.
ShareName: This is the directory path to the mount point.
FileName: This is the target output file.
ShareType: Type of share. NFS=0, CIFS=2
Username: This is the username to the target export server.
Password: This is the password to the target export server.