Returned Values; Error Codes - HP StorageWorks P9000 Reference Manual

Raid manager reference guide
Hide thumbs Also See for StorageWorks P9000:
Table of Contents

Advertisement

Option
-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

Returned values

The horctakeover command sets the following returned values during exit, allowing you to check
the execution results.
Normal termination:
0: Nop-takeover (no operation).
1: Swap-takeover was successfully executed.
2: S-VOL-takeover was successfully executed.
3: P-VOL-SMPL-takeover was successfully executed.
4: P-VOL-PSUE-takeover was successfully executed. (This value depends on the microcode level.)
5: S-VOL-SSUS-takeover was successfully executed. (This value depends on the microcode level.)
Abnormal termination: Other than 0-5, see the execution logs for error details.

Error codes

The following table describes the error codes for the horctakeover command. Unrecoverable errors
are fixed and not resolved, even after re-executing the command. If the command fails, the detailed
Description
Specifies the command as [HORC]/[HOMRCF] or [Continuous Access Synchronous]/[Business Copy],
and used to specify the RAID Manager instance number.
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.
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.
Searches a group on the configuration definition file (local instance) for the specified raw_device,
and if the specified raw_device is contained in the group, the target volume is executed as the paired
logical volume (-d) or group (-dg). This option is effective without specification of "-g <group>" option.
If the specified the raw_device is contained in two or more groups, the command is executed on the
first group.
Searches a group on the configuration definition file (local instance) for the specified LDEV, and if
the specified LDEV is contained in the group, the target volume is executed as the paired logical
volume (-d) or group (-dg). This option is effective without specification of "-g <group>" option. If the
specified LDEV is contained in two or more groups, the command is executed on the first group. The
<seq #> <LDEV #> values can be specified in hex (by addition of "0x") or decimal notation.
Selects and executes S-VOL-takeover. The target volume of the local host must be an S-VOL. If this
option is specified, then the following "-l" option is invalid.
Enables read and write to the primary volume(s) by a local host only without a remote host, and
executes P-VOL-takeover when the primary volume cannot be used because it is fenced (fence =
DATA or STATUS, state = PSUE or PDUB, or PSUE or PDUB volume is contained in the group). If the
primary volume can be accessed, nop-takeover is executed. The target volume of the local host must
be a P-VOL.
Must be specified for async volumes only, ignored for sync. Specifies the maximum time to wait (in
seconds) for swap-takeover and S-VOL-takeover operation to synchronize the P-VOL and S-VOL. If
this timeout occurs, the horctakeover command fails with EX_EWSTOT. To avoid timeout, set this
value less than or equal to the start-up timeout value of the HA control script.
Suppresses messages to be displayed when this command is executed. This option must be specified
at beginning of a command argument. The command execution log is not affected by this option.
horctakeover
65

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xp p9500Storageworks p9500

Table of Contents