Startup procedures in bash – HP XP RAID Manager Software User Manual

Page 28

Advertising
background image

$1$DGA148 0 F CL2-H 0 4 30009 148 OPEN-9
$ pairdisplay -g BCVG -fdc
Group PairVol(L/R) Device_File M ,Seq#,LDEV#..P/S,Status, % ,P-LDEV# M
BCVG oradb1(L) $1$DGA146 0 30009 146..P-VOL PAIR, 100 147 -
BCVG oradb1(R) $1$DGA147 0 30009 147..S-VOL PAIR, 100 146 -
$
$ pairdisplay -dg $1$DGA146
Group PairVol(L/R) (Port#,TID, LU-M) ,Seq#,LDEV#..P/S,Status, Seq#,P-LDEV# M
BCVG oradb1(L) (CL1-H , 0, 2-0) 30009 146..P-VOL PAIR,30009 147 -
BCVG oradb1(R) (CL1-H , 0, 3-0) 30009 147..S-VOL PAIR,----- 146 -
$

Startup procedures in bash

RAID Manager should not be used through the bash, because the bash is not provided as an
official release in OpenVMS 7.3-1.

(1) Create the shareable Logical name for RAID if undefined initially.

You need to define the Physical device ($1$DGA145…) as either DG* or DK* or GK* by using
the SHOW DEVICE command and the DEFINE/SYSTEM command, but then it does not need to be
mounted.

$ show device
Device Device Error Volume Free Trans Mnt
Name Status Count Label Blocks Count Cnt
$1$DGA145: (VMS4) Online 0
$1$DGA146: (VMS4) Online 0
:
:
$1$DGA153: (VMS4) Online 0

$

$ DEFINE/SYSTEM DKA145 $1$DGA145:$ DEFINE/SYSTEM DKA146 $1$DGA146:::$ DEFINE/SYSTEM DKA153 $1$DGA153:

(2) Define the RAID Manager environment in LOGIN.COM.

If RAID Manager and HORCM are executing in different jobs (different terminal), then you must
redefine LNM$TEMPORARY_MAILBOX in the LNM$PROCESS_DIRECTORY table as follows:

$ DEFINE/TABLE=LNM$PROCESS_DIRECTORY LNM$TEMPORARY_MAILBOX LNM$GROUP

(3) Discover and describe the command device on /etc/horcm0.conf.

bash$ inqraid DKA145-151 -CLI

DEVICE_FILE PORT SERIAL LDEV CTG H/M/12 SSID R:Group PRODUCT_ID

DKA145

CL1-H

30009 145 -

-

-

- OPEN-9-CM

DKA146 CL1-H 30009 146 - s/S/ss 0004 5:01-11 OPEN-9
DKA147 CL1-H 30009 147 - s/P/ss 0004 5:01-11 OPEN-9
DKA148 CL1-H 30009 148 - s/S/ss 0004 5:01-11 OPEN-9
DKA149 CL1-H 30009 149 - s/P/ss 0004 5:01-11 OPEN-9
DKA150 CL1-H 30009 150 - s/S/ss 0004 5:01-11 OPEN-9
DKA151 CL1-H 30009 151 - s/P/ss 0004 5:01-11 OPEN-9

/etc/horcm0.conf

HORCM_MON
#ip_address service poll(10ms) timeout(10ms)
127.0.0.1 52000 1000 3000
HORCM_CMD

#dev_name dev_name dev_name

DKA145

HORCM_DEV
#dev_group dev_name port# TargetID LU# MU#
HORCM_INST
#dev_group ip_address service

You will have to start HORCM without a description for HORCM_DEV and HORCM_INST because
target ID & Lun are Unknown.

You can determine a mapping of a physical device with a logical name easily by using the raidscan
-find command option.

(4) Execute ‘horcmstart 0’ as background.

bash$ horcmstart 0 &
18
bash$
starting HORCM inst 0

28

Installation requirements

Advertising
This manual is related to the following products: