HP XP RAID Manager Software User Manual
Page 172
/dev/rdsk/c0t3d1 oradb1 oradev2 c0t3d1 1 35013 18
/dev/rdsk/c0t3d2 oradb oradev3 c0t3d2 1 35013 19
/dev/rdsk/c0t3d3 - - - 1 35013 20
Naming of $HORCMPERM file on Windows systems
$HORCMPERM is \WINNT\horcmperm.conf or \WINNT\horcmperm*.conf (* = instance number)
by default.
type $HORCMPERM | x:\HORCM\etc\raidscan.exe -find inst
# The following are an example to permit the DB Volumes.
# Note: a numerical value is interpreted as Harddisk#.
# DB0 For MU# 0
Hd0-10
harddisk12 harddisk13 harddisk17
# DB1 For MU# 1
hd20-23
Verifying a group for DB1. The following is an example of how to verify whether a DB volume
group is mapped to a group (MU#1 for Business Copy) in the horcm.conf file correctly.
D:\HORCM\etc> set HORCC_MRCF=1
D:\HORCM\etc> echo hd20-23 | raidscan -find verify 1 -fd
DEVICE_FILE Group PairVol Device_File M SERIAL LDEV
Harddisk20 oradb1 oradev1 Harddisk20 1 35013 17
Harddisk21 oradb1 oradev2 Harddisk21 1 35013 18
Harddisk22 oradb oradev3 Harddisk22 1 35013 19
Harddisk23 - - - 1 35013 20
Without a $HORCMPERM file: Commands to run on different operating systems
If NO $HORCMPERM file exists, run a command on the host to permit all volumes on the host.
shows the command to run on each operating system.
Table 38 Without a $HORCMPERM file: Commands to run on different operating systems
Command
System
ioscan -fun | grep -e rdisk -e rdsk | /HORCM/usr/bin/raidscan -find inst
HP-UX
ls /dev/sd* | /HORCM/usr/bin/raidscan -find inst
Linux
ls /dev/sd* /dev/dasd*| /HORCM/usr/bin/raidscan -find inst
zLinux
ls /dev/rdsk/* | /HORCM/usr/bin/raidscan -find inst
Solaris
lsdev -C -c disk | grep hdisk | /HORCM/usr/bin/raidscan -find inst
AIX
ls /dev/rdisk/dsk* | /HORCM/usr/bin/raidscan -find inst
Tru64 UNIX
ls /dev/rrz* | /HORCM/usr/bin/raidscan -find inst
Digital UNIX
/etc/dumpconf -d | grep sd | /HORCM/usr/bin/raidscan -find inst
DYNIX/ptx
ls /dev/rdsk/*vol /dev/rdsk/*/*vol/* | /HORCM/usr/bin/raidscan -find inst
IRIX64
/HORCM/usr/bin/raidscan –pi ‘$1$DGA0-10000 DKA0-10000 DGA0-10000’ -find inst
OpenVMS
X:\HORCM\etc\raidscan.exe -pi $PhysicalDrive -find inst
Windows
NOTE:
This registration process has risk because it is executed automatically by /etc/horcmgr
without judgment for protection mode in order to validate the -fd option. This registration brings
a degradation in horcmstart.sh, but HORCM daemon has been running as usual, and it will depend
on how many devices a host has. To start faster at HORCM faster in non-protection mode, create
the $HORCMPERM file of “SIZE 0 byte” as a dummy file or to set HORCMPERM=MGRNOINST.
At this time, the -fd option shows Device_File name as Unknown, and after you can use raidscan
-find inst
to validate the -fd option.
172
Data protection operations with RAID Manager