Friday, 19 December 2014

Shelf Hot-Add Essential Commands

The more you do something, the more simple it becomes, so from my previous two posts on shelf hot-adds (7DOT SAS SHELF and CDOT SAS Shelf) I’ve listed out the essential hot-add commands for 3 different scenarios!

These commands are run on both nodes in a HA pair at pretty much the same time, and normally connected via the console/serial port of each node.

1) 7-Mode DS14 Type Shelves

From the Nodeshell >

shelfchk
fcstat device_map
sysconfig -ac
options disk.auto_assign off
options autosupport.doit “SHELF HOT-ADD START”

storage show disk -p # Repeated many times...

options autosupport.doit “SHELF HOT-ADD END”
options disk.auto_assign on
sysconfig -ac

2) 7-Mode SAS Type Shelves

From the Nodeshell  >

shelfchk
sasadmin expander_map
sysconfig -ac
options disk.auto_assign off
options autosupport.doit “SHELF HOT-ADD START”

storage show disk -p # Repeated many times...

options autosupport.doit “SHELF HOT-ADD END”
options disk.auto_assign on
sysconfig -ac

storage show acp
options acp.enabled off
options acp.enabled on

3) C-Mode SAS Type Shelves (pre 8.3)

From the Clustershell ::>

system health node-connectivity disk show -node NODENAME
system health node-connectivity shelf show -node NODENAME
system health alert show -node NODENAME
storage disk option show -node NODENAME
storage disk option modify -autoassign off -node NODENAME
system node autosupport invoke -type all -message "SHELF HOT-ADD START" -node NODENAME
system node run local

From the Nodeshell >

shelfchk
sasadmin expander_map
sysconfig -ac

storage show disk -p # Repeated many times…

sysconfig -ac
storage show acp
options acp.enabled off
options acp.enabled on
exit

From the Clustershell ::>

system health node-connectivity disk show -node NODENAME
system health node-connectivity shelf show -node NODENAME
storage disk option modify -autoassign off -node NODENAME
system node autosupport invoke -type all -message "SHELF HOT-ADD END" -node NODENAME

Cabling

An easy way to think about it…
1) Unplug the “long” cable from the IOM A circle port / ESH A out port (which is on the last shelf in the stack/loop)
2a) (For SAS) plug the “long” cable into the IOM A circle port of the last shelf in the stack being hot-added
2b) (For FC) connect ESH A in port on the new shelf, to the vacated ESH A out port
3a) (For SAS) connect empty IOM A square to vacated IOM A circle ports
3b) (For FC) plug the “long” cable into the ESH A out port on the new last shelf in the loop
4) And repeat for IOM B / ESH B

Note: Recommend 1 shelf at a time if hot-adding DS14 shelves. Hot-adding multiple SAS shelves at a time is fine.

Image: IOM6 Module A -> OUT

Image: ESH4 Module A -> OUT

No comments:

Post a Comment