beautypg.com

HP Serveur lame HP ProLiant BL465c Gen8 User Manual

Page 365

background image

Description

Script code

(3) Batch resynchronization with
a pair group specified

CMDLINE=C:\HORCM\etc\pairresync.exe -g TC01

-FBC 0 ...(3)

(4) Specifies a remote copy.

ENV=HORCC_MRCF= ...(4)

(5) Specifies an instance num-
ber.

ENV=HORCMINST=0 ...(5)

(6) If a non-zero return value re-
turns, the script will terminate
with an error.

END_CODE=TERMINATE_NZ ...(6)

(7) If the command does not ter-
minate within

10

seconds, the

script will terminate with an er-
ror.

TIMEOUT=10 ...(7)

[CMD]

(8) Checks the

sql01

pair

status.
Waits until the

sql01

status

becomes

PAIR

.

CMDLINE=C:\HORCM\etc\pairevtwait.exe -g TC01

-d sql01 -s pair -t 600 -FBC 0 ...(8)

(9) Specifies an instance num-
ber.

ENV=HORCMINST=0 ...(9)

(10) If a non-zero return value
returns, the script will terminate
with an error.

END_CODE=TERMINATE_NZ ...(10)

(11) Waits for command termin-
ation.

TIMEOUT=0 ...(11)

[CMD]

(12) Checks the

sql02

pair

status.
Waits until the

sql02

status

becomes

PAIR

.

CMDLINE=C:\HORCM\etc\pairevtwait.exe -g TC01

-d sql02 -s pair -t 600 -FBC 0 ...(12)

(13) Specifies an instance num-
ber.

ENV=HORCMINST=0 ...(13)

(14) If a non-zero return value
returns, the script will terminate
with an error.

END_CODE=TERMINATE_NZ ...(14)

Application Agent CLI User Guide

365