Specifications
4
Changing Shelf Settings Using HPI
66
Changing the Shelf Manager IP address
TheactiveshelfmanagementserverhasadedicatedIPaddressthatisderivedfromtheShelf
IPConnectionRecordintheshelfFRUdevice.TheIPConnectionRecordstores:
•ShMSIPaddress(defaultis192.168.16.17,orC0A81011hexadecimal)
•Gatewayaddress(defaultis0.0.0.0)
• Subnetmask(defaultis255.255.255.0,orFFFFFF00hexadecimal)
YoucanchangethedefaultShMSIPaddress,gateway,andsubnetmask:
•UsingtheCLI.
TochangethedefaultShMsIPaddress,enter:
platform‐mgmt
controls
configureshelf‐ip‐address
Tochangethegatewayaddress,ent er:
platform‐mgmt
controls
configureshelf‐gateway‐address
Tochangethesubnetmask:
platform‐mgmt
controls
shelf‐subnet‐mask
•UsingthestandardHPIShelfManagerIPaddresscontrol(control0x1001)locatedinthe
logicalshelfresource(ResourceId0x01).ThisisaTextcontrolwiththreelinesand
supportsonlynumericdata(DataType—Binary).Eachlinesupportsalengthof4bytes
forthe4‐byteIPv4address.
•Using
theSNMPvariablessaHpiCtrlTextMode.0xffffffff.1.f alse.0x1001and
saHpiCtrlTextState.0xffffffff.1.false.0x1001fromtheHPI‐B0101‐MIBmodule.Firstsetthe
textcontrolmodefortheShelfManagerIPaddresstomanual(2).Thensetthetextcontrol
statetothenewIPaddress,gatewayaddress,andsubnetmask(eachinhex).Finally,set
themodebacktoauto(1).
•Usingthehpiappexampleapplicationinteractivelyorasaprogrammaticexamplefor
writingyourapplications.
Therecordisdividedintolinesasfollows:
•Line1–ShelfManagerIPaddress
•Line2–Gatewayaddress
•Line3–Subnetmask