HP P9000 Business Continuity Manager Reference Guide (T5253-96058, September 2011)

Table Of Contents
Table 141 List of Sample Scripts (continued)
OverviewSample script name
Uses the following CLI commands to demonstrate acquiring information
about copy pairs in a copy group, and acquiring operating information:
YKDEMO05
YKLOAD
YKQUERY
YKSTATS
Shows an example of using the YKWATCH command.YKDEMO06
Shows an example of using the YKRECVER command.YKDEMO07
Shows an example of failing over a 2DC configuration with HyperSwap
and CAJ.
YKDEMO08
Shows an example of failing back a 2DC configuration with HyperSwap
and CAJ.
YKDEMO09
Uses the following CLI commands to show an example of outputting the
status of a specified device to the OS console:
YKDEMO10
YKQRYDEV
YKWTOMSG
Shows an example of the startup-cataloged procedure that executes a script
from the OS console. In this file, the following sample script is executed:
YKDEMO10
YKDEMO1S
Shows an example of using the YKENV command to obtain a Business
Continuity Manager environment variable in a REXX variable.
YKDEMO11
Shows an example of detecting a copy pair in the CONSLOST status in a
TrueCopy copy group, dissolving the copy pair, and then re-creating the
copy pair and returning the status to the DUPLEX status.
YKDEMO12
YKDEMO01
/* REXX */
/**********************************************************************/
/* */
/* All Rights Reserved. Copyright (C) 2007, 2010, Hitachi, Ltd. */
/* */
/**********************************************************************/
/* */
/* YKDEMO01 - A sample demonstration script that illustrates how to */
/* use the Business Continuity Manager's REXX CLI commands for */
/* manipulation of a copy group. */
/* */
/* This sample script uses the following CLI commands. */
/* - YKLOAD */
/* - YKMAKE */
/* - YKSUSPND */
/* - YKRESYNC */
/* - YKDELETE */
/* - YKQUERY */
/* - YKEWAIT */
/* */
/* This sample script assumes the following settings. */
/* */
/* 1) The definition files are stored in the dataset with the */
/* prefix "BCM.DEMO". */
/* 2) TC-Sync copy group is used. The copy group ID is "MYTCS". */
/* 3) The route list ID is "DEMORLST". */
/* 4) The primary Device Address Domain ID is "PRIM". */
Command details 261