Technical White Paper

<n1:ReturnValue>4096</n1:ReturnValue>
</n1:ApplyAttributes_OUTPUT>
19.4.2 Polling Job Completion
Run the Get() command to check the progress of the ApplyAttributes() method. It polls for job
completion. This method takes the InstanceID from the earlier section ( 19.3.1) as input. The
JobStatus
value is either “Successful” or “Failed”. If the job failed, the
Message
value contains
more
detailed error information on the cause of the failure.
Run the Get() command on DCIM_LifecycleJob with the following parameters and syntax:
EXAMPLE:
wsman get http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LifecycleJob
?InstanceID=$INSTANCEID -h $IPADDRESS -V -v -c dummy.cert -P 443 -u $USERNAME
-p $PASSWORD j utf-8 y basic
The input parameter is the InstanceID from the output of the ApplyAttributes() method. An example
InstanceID
is as follows:
InstanceID = JID_001293705757
OUTPUT:
<n1:DCIM_LifecycleJob>
<n1:InstanceID>JID_001300815142</n1:InstanceID>
<n1:JobStartTime>TIME_NA</n1:JobStartTime>
<n1:JobStatus>Completed</n1:JobStatus>
<n1:JobUntilTime>TIME_NA</n1:JobUntilTime>
<n1:Message>NA</n1:Message>
<n1:MessageID>NA</n1:MessageID>
<n1:Name>iDRACConfig:iDRAC.Embedded.1</n1:Name>
<n1:PercentComplete>100</n1:PercentComplete>
</n1:DCIM_LifecycleJob>
19.4.3 Set Attribute Verification
To verify the changes made to the attributes, enumerate the
DCIM_iDRACCardEnumeration
class.
For more information, see Section 19.1.
OUTPUT #2:
<n1:DCIM_iDRACCardEnumeration>
<n1:AttributeDisplayName>Nic Enable</n1:AttributeDisplayName>
<n1:AttributeName>Enable</n1:AttributeName>
<n1:CurrentValue>Enabled</n1:CurrentValue>
<n1:DefaultValue>Enabled</n1:DefaultValue>
<n1:Dependency xsi:nil="true"/>
<n1:DisplayOrder>0</n1:DisplayOrder>
<n1:FQDD>iDRAC.Embedded.1</n1:FQDD>
<n1:GroupDisplayName>NIC</n1:GroupDisplayName>
<n1:GroupID>NIC.1</n1:GroupID>
<n1:InstanceID>iDRAC.Embedded.1#NIC.1#Enable</n1:InstanceID>
<n1:IsReadOnly>false</n1:IsReadOnly>
<n1:PossibleValues>Disabled</n1:PossibleValues>
<n1:PossibleValues>Enabled</n1:PossibleValues>
</n1:DCIM_iDRACCardEnumeration>
<n1:DCIM_iDRACCardEnumeration>
<n1:AttributeDisplayName>Virtual Media Attached
</n1:AttributeDisplayName>
<n1:AttributeName>Attached</n1:AttributeName>