beautypg.com

Startup procedures using detached process on dcl – HP XP P9500 Storage User Manual

Page 24

background image

Startup procedures using detached process on DCL

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

RAID Manager needs to define the physical device ($1$DGA145…) as either DG* or DK* or GK*
by using SHOW DEVICE command and DEFINE/SYSTEM command, but then does not need to be
mounted in RAID Manager version 01-12-03/03 or earlier.

$ 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.

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 ‘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#

24

Installation requirements

This manual is related to the following products: