Web Services Interface Guide

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
121
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/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>
12.18 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.
EXAMPLE:
wsman invoke -a ExportSystemConfiguration 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