Reference Guide

107 Lifecycle Controller Web Services Interface Guide for Linux
Workgroup: This is the applicable workgroup.
EXAMPLE:
wsman invoke -a ExportLCLog
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 ExportLCLog.xml -j utf-8 -y basic
The input file ExportLCLog.xml is shown below:
<p:ExportLCLog_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_LCSer
vice"> <p:IPAddress>123.456.7.8</p:IPAddress>
<p:ShareName>sharename</p:ShareName>
<p:FileName>filename.txt</p:FileName>
<p:ShareType>0</p:ShareType>
<p:Username>admin</p:Username>
<p:Password>password</p:Password>
<p:Workgroup>workgroup</p:Workgroup>
</p:ExportLCLog_INPUT>
OUTPUT:
After this methaod is ran, a jobid or a message is displayed indicating an error.
<n1:Job>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anony
mous</wsa:Address>
<wsa:ReferenceParameters>
<wsman:ResourceURI>http://schemas.dell.com/wbem/wscim/1/cimschema/
2/DCIM_LifecycleJob</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name="InstanceID">JID_001300792091</wsman:Se
lector>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Selec
tor>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:Job>
<n1:ReturnValue>4096</n1:ReturnValue>
</n1:ExportLCLog_OUTPUT>
12.14 ExportCompleteLCLog()
The ExportCompleteLCLog() method is used to export the log from the Lifecycle Controller to a remote
share.
Invoke ExportCompleteLCLog() 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