Permitting protected volumes, With a $horcmperm file – HP XP P9500 Storage User Manual

Page 180

Advertising
background image

If either the local or the remote host (instance) has not been shown the Device_File, then pair
operations are rejected (except the local option such as "-l") in protection mode because of Unknown
volume, as shown in the following example.

# pairdisplay -g oradb -fd
Group PairVol(L/R) Device_File M ,Seq#,LDEV#.P/S,Status, Seq#,P-LDEV# M

oradb oradev1(L)

c0t3d0 0 35013 17..P-VOL COPY, 35013 18 -

oradb oradev1(R)

Unknown 0 35013 ****..- -, - - -

Permitting protected volumes

Protection mode needs recognition step to check accessible volumes and the horcm.conf at the
startup of HORCM on protection mode. The protected volumes must be registered to enable the
Data Protection Facility at each startup of HORCM, so that this registration process is executed
automatically by /etc/horcmgr.

With a $HORCMPERM file

The following is executed for registration of permitted volume file ($HORCMPERM file), if
$HORCMPERM file exists and there are permitted volumes. To permit only the volumes specified,
then the volume list must be defined in the $HORCMPERM file.

Naming of $HORCMPERM file on UNIX systems

$HORCMPERM is /etc/horcmperm.conf or /etc/horcmperm*.conf (* = instance number) by
default. For example, on HP-UX systems:

cat $HORCMPERM | /HORCM/usr/bin/raidscan -find inst
# The following are an example to permit the LVM Volume groups.
# For MU# 0
vg00 /dev/rdsk/c0t3d0 /dev/rdsk/c0t3d1
vg00 /dev/rdsk/c0t3d2 /dev/rdsk/c0t3d3
# For MU# 1
vg01 /dev/rdsk/c0t3d0 /dev/rdsk/c0t3d1
vg01 /dev/rdsk/c0t3d2 /dev/rdsk/c0t3d3

Verifying a group for vg01. The following are examples how to verify whether a LVM volume
group is mapped to group (MU#1 for Business Copy) in the horcm.conf file correctly.

# export HORCC_MRCF=1
# cat /etc/horcmperm.conf | grep vg01 | raidscan -find verify 1 -fd

OR

# vgdisplay -v /dev/vg01|grep dsk|sed 's/\/*\/dsk\//\/rdsk\//g'|raidscan -find verify 1 -fd
DEVICE_FILE Group PairVol Device_File M SERIAL LDEV
/dev/rdsk/c0t3d0 oradb1 oradev1 c0t3d0 1 35013 17
/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 %windir%\horcmperm.conf or %windir%\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

180 Data protection operations with RAID Manager

Advertising
This manual is related to the following products: