Command examples in dcl – HP XP RAID Manager Software User Manual

Page 26

Advertising
background image

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.

$ DELETE/SYMBOL HORCC_MRCF
$ pairdisplay -g VG01 -fdc
Group PairVol(L/R) Device_File ,Seq#,LDEV#.P/S,Status,Fence, % ,P-LDEV# M
VG01 oradb1(L) DKA146 30009 146..SMPL ---- ------,----- ---- -
VG01 oradb1(R) DKA147 30009 147..SMPL ---- ------,----- ---- -
VG01 oradb2(L) DKA148 30009 148..SMPL ---- ------,----- ---- -
VG01 oradb2(R) DKA149 30009 149..SMPL ---- ------,----- ---- -
VG01 oradb3(L) DKA150 30009 150..SMPL ---- ------,----- ---- -
VG01 oradb3(R) DKA151 30009 151..SMPL ---- ------,----- ---- -
$

(3) Changing the default log directory.

$ HORCC_LOG := /horcm/horcm/TEST
$ pairdisplay
PAIRDISPLAY: requires '-x xxx' as argument
PAIRDISPLAY: [EX_REQARG] Required Arg list
Refer to the command log(SYS$POSIX_ROOT:[HORCM.HORCM.TEST]HORCC_VMS4.LOG (/HORCM
/HORCM/TEST/horcc_VMS4.log)) for details.

(4) Turning back to the default log directory.

$ DELETE/SYMBOL HORCC_LOG

(5) Specifying the device described in scandev.LIS.

$ define dev_file SYS$POSIX_ROOT:[etc]SCANDEV
$ type dev_file
DKA145-150
$
$ pipe type dev_file | inqraid -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

(6) Making the configuration file automatically.

You can omit steps from (3) to (6) on the startup procedures by using the mkconf command.

$ type dev_file
DKA145-150
$
$ pipe type dev_file | mkconf -g URA -i 9
starting HORCM inst 9
HORCM Shutdown inst 9 !!!
A CONFIG file was successfully completed.
HORCM inst 9 finished successfully.
starting HORCM inst 9
DEVICE_FILE Group PairVol PORT TARG LUN M SERIAL LDEV
DKA145 - - - - - - 30009 145

26

Installation requirements

Advertising
This manual is related to the following products: