HP P9000 RAID Manager Reference Guide (T1610-96037, October 2011)

Examples
The following shows an example of the paircurchk command for a group and the resulting display
of inconsistent volumes in the specified group.
paircurchk command example
# paircurchk -g oradb
Group Pair vol Port targ# lun# LDEV# Volstatus Status Fence To be...
oradb oradb1 CL1-A 1 5 145 S-VOL PAIR NEVER Analyzed
oradb oradb2 CL1-A 1 6 146 S-VOL PSUS STATUS Suspected
horctakeover
Continuous Access Synchronous
The horctakeover command is a scripted command for executing several Continuous Access
Synchronous takeover operations. The horctakeover command checks the specified volume’s or
group’s attributes (paircurchk), decides the takeover function based on the attributes, executes the
chosen takeover function, and returns the result. The four Continuous Access Synchronous takeover
functions designed for HA software operation are (see Horctakeover command functions in the
Owner Guide): takeover-switch, swap-takeover, P-VOL-takeover, and S-VOL-takeover. A paired
volume or a group can be specified as the target of the Continuous Access Synchronous takeover
command. If S-VOL-takeover is specified for a group, the data consistency check is executed for
all volumes in the group, and all inconsistent volumes are found in the execution log file and
displayed (same as paircurchk command).
The horctakeover command allows swapping of the primary and secondary volumes, so that if the
primary or secondary volume is switched due to a server error or package transfer, duplex
operations can be continued using the reversed volumes. When control is handed over to the
current node, swapping the volumes again eliminates the need to copy them. The horctakeover
command also allows the secondary volume to be separated for disaster recovery operations.
Continuous Access Journal
If the user executes a horctakeover command on the S-VOL side of a Continuous Access Journal
pair with the pair state being PSUE or SSUE, the following results occur:
A Swap-Takeover will take place without warning.
The new P-VOL (formerly the S-VOL on the RCU) will be used to resynchronize the new S-VOL
(formerly the P-VOL on the MCU). This will overwrite any updates to the old P-VOL.
Syntax
horctakeover { -h | -q | -z | -I[H][M][instance#] or I[CA][BC][instance#]
| -g <group> | -d <pair Vol> | -d[g] <raw_device> [MU#]
| -d[g] <seq#> <LDEV#> [MU#] | -S | -l | -t <timeout> | -nomsg }
Options and parameters
DescriptionOption
Displays Help/Usage and version information.-h
Terminates the interactive mode and exits the command.-q
Makes the horctakeover command enter the interactive mode. The -zx option guards performing of
the HORCM in the interactive mode. When this option detects a HORCM shutdown, interactive mode
terminates.
-z or -zx
OpenVMS cannot use the -zx option.
horctakeover 59