Reference Guide
115 Lifecycle Controller Web Services Interface Guide for Linux
12.22.1 Run Diagnostics
DCIM_LCService.RunePSADiagnostics: The method is used to run the diagnostics on basis of the
runmode switch and save the report in the internal storage area. The diagnostics can be run in either
express or extended mode or as a long run which encompasses all diagnostic tests.
EXAMPLE:
WSMAN i RunePSADiagnostics http://schemas.dmtf.org/wbem/wscim/1/cim
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:LC Service
-u:%Username% -p:%Password%
-r:https://%IPAddress%/wsman -SkipCNCheck
-SkipCACheck -encoding:utf-8 -a:basic
@{RunMode="1";RebootJobType="2";ScheduledStartTime="TIME_NOW"}
OUTPUT:
RunePSADiagnostics_OUTPUT
Job
EndpointReference Address =
http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
ReferenceParameters
ResourceURI =
http://schemas.dell.com/wbem/wscim/1/cimschema/2/DCIM_LifecycleJob
SelectorSet
Selector: InstanceID = JID_668777011296, __cimnamespace = root/dcim
ReturnValue = 4096
12.22.2 Export Diagnostics Results
DCIM_LCService.ExportePSADiagnosticsResult: This method will export the result file of the last
completed diagnostics into the respective remote share path (CIFS/NFS).The result file will have time
stamps to show when the diagnostics was run.
EXAMPLE:
WSMAN i ExportePSADiagnosticsResult
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
-u:root -p:calvin
-r:https://[IPADDRESS]/wsman
-SkipCNCheck -SkipCACheck -encoding:utf-8 -a:basic
@{IPAddress="%SharepathIPAddress%";ShareName="%ShareName%";
ShareType="%ShareType%";Username="%UserName%";Password="%PassWord%r";
FileName="%FileName%"}
OUTPUT:
ExportePSADiagnosticsResult_OUTPUT
Job
EndpointReference Address =
http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
ReferenceParameters
ResourceURI =
http://schemas.dell.com/wbem/wscim/1/cimschema/2/DCIM_LifecycleJob
SelectorSet
Selector: InstanceID = JID_668771356675, __cimnamespace = root/dcim
ReturnValue = 4096