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

horcctl
The HORCM and Continuous Access Synchronous software have logs that identify the cause of
software and/or hardware errors as well as a tracing function for investigating such errors. The
location of the log files depends on the user’s command execution environment and the HORC
Manager’s execution environment. The command trace file and core file reside together under the
directory specified in the HORC Manager’s execution environment.
The horcctl command can be used for both maintenance and troubleshooting on Continuous Access
Synchronous. The horcctl command allows you to change and display the internal trace control
parameters (For example, level, type, buffer size) of the HORC Manager and/or Continuous Access
Synchronous commands. If a new value for a parameter is not specified, the current trace control
parameter is displayed.
CAUTION: Do not change the trace level unless directed to do so by an HP representative. Level
4 is the normal trace level setting. Levels 0-3 are for troubleshooting. Setting a trace level other
than 4 may impact problem resolution. If you request a change of the trace level using the horcctl
-l <level> command, a warning message appears, and this command enters interactive mode.
Syntax
horcctl { -h | -q | -z | -I[H][M][instance#] or I[CA][BC][instance#]
| -d | -c | -l <level> | -d <y/n> | -s <size(KB)> | -t <type>
| -S | -D[I] | -C | [-u <-unitid> | -ND | -NC | -g <group> }
Options and parameters
DescriptionOption
Displays Help/Usage and version information.-h
Terminates the interactive mode and exits the command.-q
Makes the horcctl 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.
Specifies the command as [HORC]/[HOMRCF] or [Continuous Access Synchronous]/[Business Copy],
and used when specifying the RAID Manager instance number.
-I[H][M]
[instance#]
or
-I[CA][BC]
[instance#]
Interprets the control options following this option (-l <level>, -b <y/n>, -s <size(KB)>, and -t <type>)
as the parameters of the Continuous Access Synchronous commands.
-d
Interprets the control options following this option (-l <level>, -b <y/n> and -t <type>) as the parameters
of the HORC Manager (HORCM).
-c
Sets the trace level (range = 0 to 15). If a negative value is specified, the trace mode is canceled.
A negative value n must be specified as “--n.
-l <level>
CAUTION: Do not change the trace level unless directed to do so by an HP representative. Level
4 is the normal trace level setting. Levels 0-3 are for troubleshooting. Setting a trace level other than
4 may impact problem resolution. If you request a change of the trace level using the horcctl -l <level>
command, a warning message appears, and this command enters interactive mode.
Sets the trace writing mode: Y = buffer mode, N = synchronous mode.-b <y/n>
Sets the trace type (range = 0 to 511). When this option is used, only traces of the specified type
are output. One or more values can be specified.
-t <type>
Changes the default trace buffer size, which is 1 MB, in units of 1024 bytes.-s <size(KB)>
horcctl 89