Reference Guide
215 Lifecycle Controller Web Services Interface Guide for Linux
19.9 Changing the iDRAC IP Change Notification
19.9.1 Getting the Current iDRAC IPChange State
Get the IPChangeNotifyPS attribute from the DCIM_LCAttribute class to display. The CurrentValue field
indicates the current status of this attribute.
EXAMPLE:
wsman get http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_LCAt
tribute ?InstanceID=DCIM_LCEnumeration:DHS3
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-j utf-8 -y basic
OUTPUT:
<n1:DCIM_LCAttribute>
<n1:AttributeName>IPChangeNotifyPS</n1:AttributeName>
<n1:Caption xsi:nil="true"/>
<n1:CurrentValue>Off</n1:CurrentValue>
<n1:DefaultValue>Off</n1:DefaultValue>
<n1:Description xsi:nil="true"/>
<n1:ElementName>LC.emb.1</n1:ElementName>
<n1:InstanceID>DCIM_LCEnumeration:DHS3</n1:InstanceID>
<n1:IsOrderedList xsi:nil="true"/>
<n1:IsReadOnly>true</n1:IsReadOnly>
<n1:PendingValue xsi:nil="true"/>
<n1:PossibleValues>On</n1:PossibleValues>
<n1:PossibleValues>Off</n1:PossibleValues>
<n1:PossibleValuesDescription xsi:nil="true"/>
</n1:DCIM_LCAttribute>
19.9.2 Setting the iDRAC IPChange Notification-SetAttribute()
The SetAttribute() method is used to set the attribute IPChangeNotifyPS to “ON” or “OFF”. When set to
“ON”, a user notification is sent when the IP address is changed. While set to “OFF”, a user notification is
not sent.
Invoke SetAttribute() with the following syntax:
EXAMPLE:
wsman invoke -a SetAttribute
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 setattribute.xml -j utf-8 -y basic
The input file setattribute.xml is shown below:
<p:SetAttribute_INPUT
xmlns:p=“http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_LCSer
vice”>
<p:AttributeName>IPChangeNotifyPS</p:Attri buteName>
<p:AttributeValue>on</p:AttributeValue>
</p:SetAttribute_INPUT>
OUTPUT:
<n1:SetAttribute_OUTPUT>