Technical White Paper

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/cim-
schema/2/root/dcim/DCIM_LCService">
<p:AttributeName>IPChangeNotifyPS</p:Attri
buteName>
<p:AttributeValue>on</p:AttributeValue>
</p:SetAttribute_INPUT>
OUTPUT:
<n1:SetAttribute_OUTPUT>
<n1:RebootRequired>No</n1:RebootRequired>
<n1:ReturnValue>0</n1:ReturnValue>
<n1:SetResult>Set CurrentValue</n1:SetResult>
</n1:SetAttribute_OUTPUT>
To verify the changes after running the set attribute, list the LC attributes as shown in Section
19.8.1.