beautypg.com

HP XP RAID Manager Software User Manual

Page 89

background image

Using RAID Manager

89

Naming the $HORCMPERM file

UNIX systems

The $HORCMPERM variable is set by default to either
/etc/horcmperm.conf

or /etc/horcmpermn.conf (where n is the RM

instance number).

Example

(HP-UX)

cat $HORCMPERM | /HORCM/usr/bin/raidscan -find inst


# The following is an example to show permitted 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 example verifies whether an LVM volume group is mapped
to a group (MU#1 for BC) 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