HP XP P9000 for Business Continuity Manager Software Reference Guide

Table 138 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
Shows an example of using the following CLI commands to acquire EXCTG
information and store the information in a REXX variable:
YKDEMO13
YKLOAD
YKEWAIT
YKQEXCTG
YKSLEEP
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 */
Command details 263