Command examples in dcl – HP XP Racks User Manual

Page 26

Advertising
background image

#dev_group ip_address service
VG01 HOSTB horcm1

For horcm1.conf

HORCM_DEV
#dev_group dev_name port# TargetID LU# MU#

VG01 oradb1

CL1-H

0

3 0

VG01 oradb2

CL1-H

0

5 0

VG01 oradb3

CL1-H

0

7 0

HORCM_INST
#dev_group ip_address service
VG01 HOSTA horcm0

Defines the UDP port name for HORCM communication in the
SYS$SYSROOT:[000000.TCPIP$ETC]SERVICES.DAT file, as in the example below.

horcm0 30001/udp horcm1 30002/udp

(7) Start horcm0 and horcm1 as the Detached process.

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

$

$ run /DETACHED SYS$SYSTEM:LOGINOUT.EXE /PROCESS_NAME=horcm1 -

_$ /INPUT=VMS4$DKB100:[SYS0.SYSMGR.][horcm]

loginhorcm1.com -

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

You can verify that HORCM daemon is running as Detached Process by using the SHOW PROCESS
command.

$ show process horcm0
25-MAR-2003 23:27:27.72 User: SYSTEM Process ID: 0004160

Node: VMS4 Process name:"

HORCM0"

Terminal:
User Identifier: [SYSTEM]
Base priority: 4
Default file spec: Not available
Number of Kthreads: 1

Soft CPU Affinity: off

Command examples in DCL

(1) Setting the environment variable by using Symbol.

$ HORCMINST := 0$ HORCC_MRCF := 1
$ raidqry -l
No Group Hostname HORCM_ver Uid Serial# Micro_ver Cache(MB)
1 --- VMS4 01-22-03/06 0 30009 50-04-00/00 8192
$
$ pairdisplay -g VG01 -fdc
Group PairVol(L/R) Device_File M,Seq#,LDEV#.P/S,Status, % ,P-LDEV# M
VG01 oradb1(L) DKA146 0 30009 146..S-VOL PAIR, 100 147 -
VG01 oradb1(R) DKA147 0 30009 147..P-VOL PAIR, 100 146 -
VG01 oradb2(L) DKA148 0 30009 148..S-VOL PAIR, 100 149 -
VG01 oradb2(R) DKA149 0 30009 149..P-VOL PAIR, 100 148 -
VG01 oradb3(L) DKA150 0 30009 150..S-VOL PAIR, 100 151 -
VG01 oradb3(R) DKA151 0 30009 151..P-VOL PAIR, 100 150 -
$

(2) Removing the environment variable.

26

Installation requirements

Advertising
This manual is related to the following products: