...
Code Block |
---|
ipmitool-pps -I lan -H <shelfmanager> -t <COB Address> -b 0 -A NONE raw <SLAC_NETFN> <CMD> [DATA_0] [DATA_1] ... [DATA_N] Where: <shelfmanager> is the hostname/IP address of the Shelf Manager (ex. shasta-sm) <COB address> is the IPMB address of the COB board (ex. 0x82, 0x84, 0x86, 0x88, 0x8a) <SLAC_NETFN> The NetFn for our custom command extensions which is 0x34 <CMD> [DATA_X] is the command to be issued and associated parameter as described below or in the IPMC console window: [D0 00 <CMD> [DATA_0] [DATA_1] ... [DATA_N]] Write to Cluster Element BSI: <CMD> = 0x03 The format for this command is Offset Length Description 0 1 BAY Mask 1 1 RCE Mask 2 1 Do interrupt (Does Nothing) 3 2 Address 5 2 Length to write 7 N Data to write (if length < 16,) (if length > 16, fill with incrementing data starting with data) Read from Cluster Element BSI: <CMD> = 0x4 The format for this command is Offset Length Description 0 incrementing data starting with 1data) BAYNOTE: Number Including Bays w/o RCEs or which 1are not present 1 RCE Number in BAY Mask will 2not result in an error. 2 Similarly, including RCEs which Address are not present or are 4 currently being reset will 2not result in an error, nor Length to read (Thoughwill 2RCEs bytescurrently long,held IPMI practically limits this to <16)in reset be released from reset as a result of issuing this command. Read COBfrom DataCluster BoardElement ID PROMBSI: <CMD> = 0x50x4 The format for this command is Offset Length Description 0 1 BAY Number 1 Returns the ID 1 0 RCE Number 6 2 MSB -> LSB 6 byte ID Immediate2 Boot (warm reboot w/ specified BootstrapAddress word): <CMD> = 0x06 4 The format for2 this command is Length to read (Though Offset2 Lengthbytes Description long, IPMI practically limits this to 0<16) Read COB Data Board ID PROM: 1<CMD> = 0x5 Element Number The format for this command 1is 4Offset Length Description Bootstrap (MSB first) Set Monitor Dump Period: <CMD> = 0x07 0 1 TheBAY format for this command isNumber OffsetReturns Lengththe DescriptionID 0 6 1 MSB -> DumpLSB Index [0=BAY, 1=RCE, 2=BSI, 3=SFP, 4=FP_DISP, 5=BAY_GPIO, 6=BAY_GPIO_FULL]6 byte ID Set Monitor Dump Period: <CMD> = 0x07 1The format for this command is 2 Offset Seconds [0=Never Dump, 0xffff=Default] Get Monitor Dump Period: <CMD> = 0x08 The format for this command is Offset Length Description Length Description 0 1 Dump Index [0=BAY, 1=RCE, 2=BSI, 3=SFP, 4=FP_DISP, 5=BAY_GPIO, 6=BAY_GPIO_FULL] Returns 01 2 Seconds [0=Never Dump, 0xffff=Default] Get Monitor Dump ImmediatePeriod: <CMD> = 0x090x08 The format for this command is Offset Length Description 0 1 Dump Index [0=BAY, 1=RCE, 2=BSI, 3=SFP, 4=FP_DISP, 5=BAY_GPIO, 6=BAY_GPIO_FULL] Returns 0 2 Seconds [0=Never Dump] Monitor Dump Immediate: <CMD> = 0x09 The format for this command is Offset Length Description 0 1 Dump Index [0=BAY, 1=RCE, 2=BSI, 3=SFP, 4=FP_DISP, 5=BAY_GPIO, 6=BAY_GPIO_FULL] RCE Reset Command: <CMD> = 0x0A The format for this command is Offset Length Description 0 1 BAY Mask 1 1 RCE Mask This command returns Offset Length Description 0 1 Completion Code 1 1 Mask of Bays with errors NOTE: Including Bays w/o RCEs or which are not present in BAY Mask will not result in an error. Similarly, including RCEs which are not present or are currently being reset will not result in an error, nor will RCEs currently held in reset be released from reset as a result of issuing this command. Set Bay Power: <CMD> = 0xFB (This is only intended to be used for HW debugging as immediately turns on/off power to a Bay.) The format for this command is Offset Length Description 0 1 BAY MASK |