Web Services Interface Guide

151 Dell Lifecycle Controller Web Services Interface Guide for Windows
PercentComplete = 100
12.22 Remote Diagnostics
This feature will allow the user to remotely run hardware diagnostics through console application or
remote scripts and collect results from tool execution
12.22.1 Run Diagnostics
DCIM_LCService.RunePSADiagnostics: The method is used to run the diagnostics based on 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:
winrm i RunePSADiagnostics http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService?SystemCreationClassName=DCIM_ComputerSystem+Cr
eationClassName=DCIM_LCService+SystemName=DCIM:ComputerSystem+Name=DCIM:LCServic
e -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/cim-
schema/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.