Moving a SPARCstorage Array between servers
Below are the steps necessary to ensure successful switch-over of a SPARCStorage Array (SSA) between two Sun systems.
NOTE: Prior to performing this task, where possible make sure you have the following print-outs available to allow easier swap-over:
vxprint -Ath
vxdisk list
vxprint -g <disk-group-name>
, one for each diskgroup on the SSA
ON ORIGINAL SYSTEM
- Install volume manager s/w
- run
vxinstall
,- choose custom install option.
- answer yes to encapsulate boot disk. NOTE: Ensure no SSA disks are installed within the rootdg.
- Put SSA disks into a separate disk-group e.g dbasedg.
- Configure disks in dbasedg as per your requirements.
ON STANDBY SYSTEM
- Install volume manager s/w and
- run
vxinstall
,- choose custom install
- answer yes to encapsulate boot disk.
- Leave all SSA disks alone.
- Remove all SSA hardware and reboot as normal.
- Reattach all hardware to original system.
SSA BACK ON ORIGINAL SYSTEM
System should boot as normal with all SSA components active and enabled. (check by running vxprint -Ath)
ORIGINAL HOSTS SYSTEM CRASHES
- Move all hardware onto standby system.
- Run the following commands:
- vxdg -f -C import <disk-group-name>
- fsck /dev/vx/dsk/<disk-group-name>/<volume name>
- vxvol -g <disk-group-name> -f start <volume-name>
- mount <volume-name> /<mount-point>
ORIGINAL SYSTEM RESTORED
- Move all hardware back onto original host.
- Boot single user and comment out any references to <disk-group-name> within /etc/vfstab
- Boot into multi-user.
- Run the following commands:
- vxdg -f -C import <disk-group-name>
- fsck /dev/vx/dsk/<disk-group-name>/<volume-name>
- vxvol -g <disk-group-name> -f start <volume-name>
- mount <volume-name> /<mount-point> or edit /etc/vfstab and do a mountall.