User-created files – HP XP P9500 Storage User Manual

Page 46

Advertising
background image

You can track script performance, and then decide to mask by auditing the command logging
file, as needed.

•

Relationship between an environment variable and horcc_HOST.conf

Logging depends on the $HORCC_LOGSZ environment variable and/or the
HORCC_HOST.conf file as shown below.

Performing

HORCC_HOST.conf

$HORCC_LOGSZ

Tracing within this APP

Don't care

=value

NO tracing within this APP

=0

Global Tracing within this RAID Manager instance

HORCC_LOGSZ=value

Unspecified

Global NO tracing within this RAID Manager
instance

HORCC_LOGSZ=0

Use the default value (0) The same as the current
logging for only command error

Unspecified or Nonexistent

•

Examples for execution

/HORCM/log* directory

[root@raidmanager log9]# ls l
total 16
drwxr-xr-x 3 root root 4096 Oct 27 17:33 curlog
-rw-r--r-- 1 root root 3936 Oct 27 17:36 horcc_raidmanager.log
-rw-r--r-- 1 root root 2097452 Oct 27 17:29 horcc_raidmanager.oldlog
-rw-r--r-- 1 root root 46 Oct 27 17:19 horcc_raidmanager.conf
drwxr-xr-x 3 root root 4096 Oct 27 17:19 tmplog

/HORCM/log*/horcc_HOST.log file

COMMAND NORMAL : EUserId for HORC : root (0) Tue Nov 1 12:21:53 2005
CMDLINE : pairvolchk ss g URA
12:21:54-2d27f-10090- [pairvolchk][exit(32)]
COMMAND NORMAL : EUserId for HORC : root (0) Thu Oct 27 17:36:32 2005
CMDLINE : raidqry l
17:36:32-3d83c-17539- [raidqry][exit(0)]
COMMAND ERROR : EUserId for HORC : root (0) Thu Oct 27 17:31:28 2005
CMDLINE : pairdisplay g UR
17:31:28-9a206-17514- ERROR:cm_sndrcv[rc < 0 from HORCM]
17:31:28-9b0a3-17514- [pairdisplay][exit(239)]
[EX_ENOGRP] No such group
[Cause ]:The group name which was designated or the device name doesn't exist in the configuration
file, or the network address for remote communication doesn't exist.
[Action]:Please confirm if the group name exists in the
configuration file of the local and remote host

/HORCM/log*/horcc_HOST.conf file

# For Example
HORCC_LOGSZ=2048
#The masking variable
#This variable is used to disable the logging by the command and exit code.
#For masking below log pairvolchk returned '32'(status is S-VOL_COPY)
#COMMAND NORMAL : EUserId for HORC : root (0) Tue Nov 1 12:21:53 2005
#CMDLINE : pairvolchk ss g URA
#12:21:54-2d27f-10090- [pairvolchk][exit(32)]
pairvolchk=32
pairvolchk=22

User-created files

RAID Manager supports scripting to provide automated and unattended copy operations. A RAID
Manager script contains a list of RAID Manager commands that describes a series of Continuous
Access Synchronous and/or Business Copy operations. The scripted commands for UNIX-based
platforms are defined in a shell script file. The scripted commands for Windows-based platforms

46

RAID Manager software environment

Advertising
This manual is related to the following products: