HP StorageWorks P9000 Cluster Extension Software Administrator Guide (TB534-96009, February 2011)

Test takeover function
After configuring RAID Manager for the device/copy groups used by P9000 Cluster Extension,
verify that each device fails over correctly from each server in the cluster. The device/copy group
must be in PAIR state.
CAUTION: RAID Manager keeps configuration data of the disk array in system memory. Therefore,
you must stop and restart RAID Manager instances on all servers if a configuration change is
applied to any disk array.
To test the correct failover and failback behavior, log in to each server used with P9000 Cluster
Extension and invoke the following commands if the local disk is the secondary (S-VOL) disk:
Linux/UNIX
export HORCMINST=instance_number
pairdisplay g device_group_name fx CLI
horctakeover g device_group_name t timeout
Windows
set HORCMINST=instance_number
pairdisplay g device_group_name fx CLI
horctakeover g device_group_name t timeout
The output of the pairdisplay command indicates whether the local disk is the secondary (S-VOL)
disk and if so, the horctakeover command shows a SWAP-takeover as a result. If pairdisplay
shows the local disk as the primary (P-VOL) disk, log in to a system connected to the secondary
(S-VOL) disk and invoke the horctakeover command there. If the horctakeover command
does not result in a SWAP-takeover, see “Recovery sequence” (page 77) to resolve the issue.
The t option of the horctakeover command is used only for fence level ASYNC (both Async
and Journal).
18 P9000 Cluster Extension features