Reference Guide

106 Lifecycle Controller Web Services Interface Guide for Linux
EXAMPLE:
wsman invoke -a DeleteAutoDiscoveryServerPublicKey
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:DeleteAutoDiscoveryServerPublicKey_OUTPUT>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:DeleteAutoDiscoveryServerPublicKey_OUTPUT>
12.12 Insert Comment in Lifecycle Controller Log
This method is used to insert your additional comments into the Lifecycle Controller log.
Invoke InsertCommentInLCLog() with the following parameters and syntax:
Comment: Replace INSERT COMMENT HERE with desired comment in this location.
EXAMPLE:
wsman invoke -a InsertCommentInLCLog
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 InsertCommentInLCLog.xml -j utf-8 -y basic
The input file InsertCommentInLCLog.xml is shown below:
<p:InsertCommentInLCLog_INPUT
xmlns:p=“http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_LCSer
vice">
<p:Comment>INSERT COMMENT HERE</p:Comment>
</p:InsertCommentInLCLog_INPUT>
OUTPUT:
InsertCommentInLCLog_OUTPUT
ReturnValue = 0
12.13 Export Lifecycle Controller Log
This method is used to export the log from the Lifecycle Controller after processing jobs.
Invoke ExportLCLog() 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.