HP XP P9000 RAID Manager Reference Guide (T1610-96061, January 2014)

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 -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
The horctakeover command is a scripted command for executing several 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 takeover functions designed for HA software operation are (see Horctakeover
command functions in the User and Reference Guide): takeover-switch, swap-takeover,
PVOL-takeover, and SVOL-takeover. A paired volume or a group can be specified as the target of
the Continuous Access Synchronous takeover command. If SVOL-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). You can execute
the horctakeover command only for remote copy pairs.
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.
Syntax
horctakeover { -h | -q | -z | -I[H][M][instance#] or
I[TC][SI][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 shut down, interactive
mode terminates.
-z or -zx
OpenVMS cannot use the -zx option.
Specifies the command as [HORC]/[HOMRCF] or [Continuous Access Synchronous]/[Business
Copy], and used to specify the RAID Manager instance number.
-I[H][M] [instance#]
or
-I[TC][SI] [instance#]
Specifies a group name defined in the configuration definition file. The command is executed for
the specified group unless the -d <pair Vol> option is specified.
-g <group>
Specifies paired logical volume name defined in the configuration definition file. When this option
is specified, the command is executed for the specified paired logical volume.
-d <pair Vol>
Searches whether the specified raw_device is included in a group on the configuration definition
file (local instance). If it is in the group, the target volume is executed as the paired logical volume
-d[g] <raw_device>
[MU#]
(-d) or group (-dg). This option is effective without specification of -g <group> option. If the
66 Data management commands