beautypg.com

Bc command examples, Bc command examples 301 – HP XP Continuous Access Software User Manual

Page 301

background image

Configuration file examples

301

BC command examples

Commands from HOSTA shown on page 298 (group Oradb)

• Set the HORCC_MRCF environment variable. (If C shell)

# setenv HORCC_MRCF 1

(Windows NT/2000/2003)

set HORCC_MRCF=1

• Designate a group name (Oradb) and a local host P-VOL:

# paircreate -g Oradb -vl

This command begins a pair coupling between the two pairs of
volumes designated as Oradb in the configuration definition file.

• Designate a volume name (oradev1) and a local host P-VOL:

# paircreate -g Oradb -d oradev1 -vl

In the example configuration, this pairs CL1-A, T1, L1 and
CL1-B, T2, L1

• Designate a group name and confirm pair volume state:

# pairdisplay -g Oradb
Group PairVol(L/R) (Port#,TID,LU-M), Seq#, LDEV#..P/S, Status, Seq#, P-LDEV# M
oradb oradev1(L) (CL1-A, 1, 1-0) 30053 18..P-VOL COPY 30053 20 -
oradb oradev1(R) (CL2-B, 2, 1-0) 30053 20..S-VOL COPY ----- 18 -
oradb oradev2(L) (CL1-A, 1, 2-0) 30053 19..P-VOL COPY 30053 21 -
oradb oradev2(R) (CL2-B, 2, 2-0) 30053 21..S-VOL COPY ----- 19 -

This manual is related to the following products: