HP XP Racks User Manual

Page 25

Advertising
background image

You need to define the Path for the RAID Manager commands to DCL$PATH as the foreign command.
See the section about Automatic Foreign Commands in the OpenVMS user documentation.

$ DEFINE DCL$PATH SYS$POSIX_ROOT:[horcm.usr.bin],SYS$POSIX_ROOT:[horcm.etc]

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 SYS$POSIX_ROOT:[etc]horcm0.conf.

$ 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
SYS$POSIX_ROOT:[etc]horcm0.conf
HORCM_MON
#ip_address service poll(10ms) timeout(10ms)
127.0.0.1 30001 1000 3000
HORCM_CMD
#dev_name dev_name dev_name
DKA145

You will have to start HORCM without a description for HORCM_DEV and HORCM_INST because
the 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 an 'horcmstart 0'.

$ run /DETACHED SYS$SYSTEM:LOGINOUT.EXE /PROCESS_NAME=horcm0 -
_$ /INPUT=VMS4$DKB100:[SYS0.SYSMGR.][horcm]

loginhorcm0.com -

_$ /OUTPUT=VMS4$DKB100:[SYS0.SYSMGR.][horcm]run0.out -
_$ /ERROR=VMS4$DKB100:[SYS0.SYSMGR.][horcm]run0.err
%RUN-S-PROC_ID, identification of created process is 00004160

(5) Verify a physical mapping of the logical device.

$ HORCMINST := 0
$ raidscan -pi DKA145-151 -find
DEVICE_FILE UID S/F PORT TARG LUN SERIAL LDEV PRODUCT_ID
DKA145 0 F CL1-H 0 1 30009 145 OPEN-9-CM
DKA146 0 F CL1-H 0 2 30009 146 OPEN-9
DKA147 0 F CL1-H 0 3 30009 147 OPEN-9
DKA148 0 F CL1-H 0 4 30009 148 OPEN-9
DKA149 0 F CL1-H 0 5 30009 149 OPEN-9
DKA150 0 F CL1-H 0 6 30009 150 OPEN-9

DKA151 0 F CL1-H 0 7 30009 151 OPEN-9

$ horcmshutdown 0
inst 0:
HORCM Shutdown inst 0 !!!

(6) Describe the known HORCM_DEV on SYS$POSIX_ROOT:[etc]horcm*.conf

For horcm0.conf

HORCM_DEV
#dev_group dev_name port# TargetID LU# MU#

VG01 oradb1

CL1-H

0

2 0

VG01 oradb2

CL1-H

0

4 0

VG01 oradb3

CL1-H

0

6 0

HORCM_INST

Porting notice for OpenVMS

25

Advertising
This manual is related to the following products: