Hitachi Business Continuity Manager Reference Guide PDF
Hitachi Business Continuity Manager Reference Guide PDF
Hitachi Business Continuity Manager Reference Guide PDF
Reference Guide
Document Organization
Product Version
Getting Help
Contents
MK-96HC135-20
ii
Hitachi Business Continuity Manager Reference Guide
Contents
Preface.................................................................................................xiii
Intended audience...................................................................................................xiv
Product version....................................................................................................... xiv
Release notes..........................................................................................................xiv
Document revision level........................................................................................... xiv
Document organization............................................................................................. xv
Related documents.................................................................................................. xvi
Document conventions............................................................................................ xvii
Conventions for storage capacity values...................................................................xviii
Accessing product documentation............................................................................. xix
Getting help............................................................................................................ xix
Comments.............................................................................................................. xix
iii
Hitachi Business Continuity Manager Reference Guide
iv
Hitachi Business Continuity Manager Reference Guide
v
Hitachi Business Continuity Manager Reference Guide
Confirm
Confirm
Confirm
Confirm
Confirm
Confirm
Confirm
Confirm
Copy types and targets for which commands can be executed................................... 2-2
List of functions...................................................................................................... 2-2
Configuration files that must be loaded before command execution............................2-4
Command details.................................................................................................... 2-8
YKBLDCMD command....................................................................................... 2-8
Format................................................................................................... 2-8
Function................................................................................................. 2-8
Parameters............................................................................................. 2-9
Notes................................................................................................... 2-10
Return codes.........................................................................................2-10
YKBLDPTH command...................................................................................... 2-11
Format................................................................................................. 2-11
Function............................................................................................... 2-11
Parameters........................................................................................... 2-11
Notes................................................................................................... 2-13
Return codes.........................................................................................2-14
YKCONMSG command.....................................................................................2-14
Format................................................................................................. 2-14
Function............................................................................................... 2-15
Parameters........................................................................................... 2-15
Notes................................................................................................... 2-16
Return codes.........................................................................................2-17
YKDELCMD command..................................................................................... 2-17
Format................................................................................................. 2-17
Function............................................................................................... 2-17
Parameters........................................................................................... 2-18
Notes................................................................................................... 2-19
Return codes.........................................................................................2-19
YKDELETE command.......................................................................................2-20
Format................................................................................................. 2-20
Function............................................................................................... 2-20
Parameters........................................................................................... 2-20
Notes................................................................................................... 2-21
Return codes.........................................................................................2-22
YKDELPTH command...................................................................................... 2-23
Format................................................................................................. 2-23
Function............................................................................................... 2-23
Parameters........................................................................................... 2-23
Notes................................................................................................... 2-26
Return codes.........................................................................................2-26
YKDROP command ........................................................................................ 2-27
Format................................................................................................. 2-27
vi
Hitachi Business Continuity Manager Reference Guide
Function............................................................................................... 2-27
Parameters........................................................................................... 2-27
Notes................................................................................................... 2-28
Example............................................................................................... 2-28
Return codes.........................................................................................2-28
YKENV command............................................................................................ 2-29
Format................................................................................................. 2-29
Function............................................................................................... 2-29
Parameters........................................................................................... 2-29
Return codes.........................................................................................2-29
Output items.........................................................................................2-30
Output example.................................................................................... 2-31
YKERCODE command......................................................................................2-31
Format................................................................................................. 2-31
Function............................................................................................... 2-31
Parameters........................................................................................... 2-32
Example............................................................................................... 2-32
Return codes.........................................................................................2-32
YKEWAIT command........................................................................................ 2-32
Format................................................................................................. 2-32
Function............................................................................................... 2-33
Parameters........................................................................................... 2-33
Return codes.........................................................................................2-36
YKEXPORT command...................................................................................... 2-38
Format................................................................................................. 2-38
Function............................................................................................... 2-38
Parameters........................................................................................... 2-38
Notes................................................................................................... 2-39
Return codes.........................................................................................2-39
YKFCSTAT command.......................................................................................2-39
Format................................................................................................. 2-39
Function............................................................................................... 2-39
Parameters........................................................................................... 2-40
Return codes.........................................................................................2-40
YKFREEZE command.......................................................................................2-41
Format................................................................................................. 2-41
Function............................................................................................... 2-41
Parameters........................................................................................... 2-42
Notes................................................................................................... 2-42
Return codes.........................................................................................2-42
YKH2B command............................................................................................ 2-43
Format................................................................................................. 2-43
Function............................................................................................... 2-43
Parameters........................................................................................... 2-44
Notes................................................................................................... 2-45
Return codes.........................................................................................2-45
YKIMPORT command...................................................................................... 2-46
Format................................................................................................. 2-46
Function............................................................................................... 2-46
Parameters........................................................................................... 2-46
Return codes.........................................................................................2-47
YKINSCHK command.......................................................................................2-48
vii
Hitachi Business Continuity Manager Reference Guide
Format................................................................................................. 2-48
Function............................................................................................... 2-48
Parameters........................................................................................... 2-48
Return codes.........................................................................................2-48
Output items.........................................................................................2-48
Output example.................................................................................... 2-50
YKLOAD command..........................................................................................2-52
Format................................................................................................. 2-52
Function............................................................................................... 2-52
Parameters........................................................................................... 2-53
Notes................................................................................................... 2-54
Return codes.........................................................................................2-55
YKMAKE command..........................................................................................2-56
Format................................................................................................. 2-56
Function............................................................................................... 2-56
Parameters........................................................................................... 2-56
Notes................................................................................................... 2-58
Return codes.........................................................................................2-59
YKQEXCTG command......................................................................................2-59
Format................................................................................................. 2-59
Function............................................................................................... 2-59
Parameters........................................................................................... 2-60
Notes................................................................................................... 2-60
Return code codes.................................................................................2-60
YKQHPATH command..................................................................................... 2-61
Format................................................................................................. 2-61
Function............................................................................................... 2-61
Parameters........................................................................................... 2-61
Return codes.........................................................................................2-61
YKQRYDEV command......................................................................................2-62
Format................................................................................................. 2-62
Function............................................................................................... 2-62
Parameters........................................................................................... 2-63
Return codes.........................................................................................2-64
YKQRYPTH command......................................................................................2-65
Format................................................................................................. 2-65
Function............................................................................................... 2-65
Parameters........................................................................................... 2-66
Notes................................................................................................... 2-68
Return codes.........................................................................................2-68
YKQUERY command........................................................................................2-69
Format................................................................................................. 2-69
Function............................................................................................... 2-70
Parameters........................................................................................... 2-70
Note.....................................................................................................2-71
Return codes.........................................................................................2-71
YKRECVER command...................................................................................... 2-72
Format................................................................................................. 2-73
Function............................................................................................... 2-73
Parameters........................................................................................... 2-73
Note.....................................................................................................2-74
Return codes.........................................................................................2-74
viii
Hitachi Business Continuity Manager Reference Guide
ix
Hitachi Business Continuity Manager Reference Guide
Return codes.......................................................................................2-105
CLI command coding examples......................................................................2-106
YKDEMO01..........................................................................................2-108
YKDEMO02..........................................................................................2-112
YKDEMO03..........................................................................................2-114
YKDEMO04..........................................................................................2-118
YKDEMO05..........................................................................................2-122
YKDEMO06..........................................................................................2-125
YKDEMO07..........................................................................................2-127
YKDEMO08..........................................................................................2-129
YKDEMO09..........................................................................................2-135
YKDEMO10..........................................................................................2-140
YKDEMO1S......................................................................................... 2-141
YKDEMO11..........................................................................................2-141
YKDEMO12..........................................................................................2-142
YKDEMO13..........................................................................................2-145
3 Data objects.........................................................................................3-1
x
Hitachi Business Continuity Manager Reference Guide
Functionality...........................................................................................................5-2
Format...................................................................................................................5-2
Parameters to specify to the PARM operand in an EXEC statement.......................5-2
Parameters entered from SYSIN........................................................................ 5-3
Format................................................................................................... 5-3
Parameters............................................................................................. 5-3
Notes..................................................................................................... 5-3
SYSIN dataset format.............................................................................. 5-4
Example of entries from SYSIN.................................................................5-4
Return codes.......................................................................................................... 5-4
JCL example...........................................................................................................5-5
xi
Hitachi Business Continuity Manager Reference Guide
xii
Hitachi Business Continuity Manager Reference Guide
Preface
This manual is a reference guide to the following program products:
Hitachi Business Continuity Manager Basic
Hitachi Business Continuity Manager UR 4x4 Extended CTG
In this manual, these products are collectively referred to as Business
Continuity Manager.
This preface includes the following information:
Intended audience
Product version
Release notes
Document revision level
Document organization
Related documents
Document conventions
Conventions for storage capacity values
Accessing product documentation
Getting help
Comments
Preface
Hitachi Business Continuity Manager Reference Guide
xiii
Intended audience
This document is intended for people who:
Users who want to know more about how to use the Business Continuity
Manager ISPF panels, CLI commands, data objects, and BCM Monitor
parameter files.
Product version
This document revision applies to Hitachi Business Continuity Manager
version 8.0.0 or later.
Release notes
Read the release notes before installing and using this product. They may
contain requirements or restrictions that are not fully described in this
document or updates or corrections to this document.
xiv
Date
Description
MK-96HC135-00
June 2006
Initial Release
MK-96HC135-01
October 2006
MK-96HC135-02
January 2007
MK-96HC135-03
June 2007
MK-96HC135-04
MK-96HC135-05
May 2008
MK-96HC135-06
MK-96HC135-07
July 2009
MK-96HC135-08
MK-96HC135-09
June 2010
Preface
Hitachi Business Continuity Manager Reference Guide
Revision
Date
Description
MK-96HC135-10
October 2010
MK-96HC135-11
April 2011
MK-96HC135-12
August 2011
MK-96HC135-13
MK-96HC135-14
February 2012
MK-96HC135-15
July 2012
MK-96HC135-16
MK-96HC135-17
May 2013
MK-96HC135-18
October 2013
MK-96HC135-19
January 2014
MK-96HC135-20
April 2014
Document organization
The following table provides an overview of the contents and organization of
this document. Click the chapter title in the left column to go to that chapter.
The first page of each chapter provides links to the sections in that chapter.
Chapter/Appendix
Description
Chapter 1, ISPF panels on This chapter explains how to move between ISPF panels and
page 1-1
perform operations on them, and explains the nature and
function of displayed items.
Chapter 2, CLI commands This chapter describes the functions of the commands
on page 2-1
available in the command line interface for Business
Continuity Manager.
Chapter 3, Data objects
on page 3-1
Preface
Hitachi Business Continuity Manager Reference Guide
xv
Chapter/Appendix
Description
Chapter 5, Parameters for This chapter describes the parameters for YKBTSCAN.
YKBTSCAN on page 5-1
Appendix A, Example of
the scan results of PPRC
copy pairs on page A-1
Appendix B, Symbols
used in syntax
explanations on page
B-1
Related documents
Manuals related to Business Continuity Manager:
Hitachi Virtual Storage Platform Hitachi TrueCopy for IBM(R) z/OS(R) User
Guide, MK-94RD214
xvi
Preface
Hitachi Business Continuity Manager Reference Guide
Document conventions
This document uses the following typographic conventions:
Convention
Description
Bold
Italic
Monospace
[ ] square
brackets
{ } braces
| vertical bar
Preface
Hitachi Business Continuity Manager Reference Guide
xvii
Convention
Description
[ a | b ] indicates that you can choose a, b, or nothing.
{ a | b } indicates that you must choose either a or b.
Label
Description
Note
Tip
Caution
WARNING
Value
1 kilobyte (KB)
1 megabyte (MB)
1 gigabyte (GB)
1 terabyte (TB)
1 petabyte (PB)
1 exabyte (EB)
Logical storage capacity values (for example, logical device capacity) are
calculated based on the following values:
Logical capacity unit
xviii
Value
1 block
512 bytes
1 KB
1 MB
1 GB
Preface
Hitachi Business Continuity Manager Reference Guide
Value
1 TB
1 PB
1 EB
Getting help
Hitachi Data Systems Support Portal is the destination for technical support of
your current or previously-sold storage systems, midrange and enterprise
servers, and combined solution offerings. The Hitachi Data Systems customer
support staff is available 24 hours a day, seven days a week. If you need
technical support, log on to the Hitachi Data Systems Support Portal for
contact information: https://portal.hds.com.
Hitachi Data Systems Community is a new global online community for HDS
customers, partners, independent software vendors, employees, and
prospects. It is an open discussion among these groups about the HDS
portfolio of products and services. It is the destination to get answers,
discover insights, and make connections. The HDS Community complements
our existing Support Portal and support services by providing an area where
you can get answers to non-critical issues and questions. Join the
conversation today! Go to community.hds.com, register, and complete
your profile.
Comments
Please send us your comments on this document: doc.comments@hds.com.
Include the document title and number, including the revision level (for
example, -07), and refer to specific sections and paragraphs whenever
possible. All comments become the property of Hitachi Data Systems
Corporation.
Thank you!
Preface
Hitachi Business Continuity Manager Reference Guide
xix
xx
Preface
Hitachi Business Continuity Manager Reference Guide
1
ISPF panels
This chapter explains how to move between ISPF panels and perform
operations on them, and explains the nature and function of displayed items.
Overview of ISPF panels
Common displays among panels
Main Menu panel
Installation Verification Summary panel (environment settings
verification)
Set Defaults panel (prefix and device address domain ID settings)
Manage Licenses panel (license management)
Discover/Define Configuration panel (Configuration File Definition)
Manage Route panel (Route Management)
Manage Path Set panel (Logical Path Management)
Manage Copy Groups panel (Copy Group Operation)
Confirmation panels
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-1
1-2
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Operating procedures
The information to be entered does not have restrictions on the case and type
of characters.
The maximum length of the entered characters is up to the length of the
input fields, and a validation check takes place after input.
After entering the data, confirm the entry by pressing the Enter key.
Caution: During execution of Business Continuity Manager, you must not
perform ISPF operations that involve execution of the following commands:
YKSTART command
Function keys
Functions for function keys, which are common among panels, are described
below. Available function keys for the current panel are displayed at the
bottom of the panel. For function keys available within specific panels, see
the explanations for each panel.
F1=Help: Displays Help information for the panel.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-3
Panel scrolling
If there are more rows than can be displayed at once within the panel, the
F7=Backward and F8=Forward keys can be used to scroll the screen. The
last row of table data is marked Bottom of data.
In panels that display lists, you can use the Scroll line to specify the amount
that will be scrolled.
LOCATE command
Function
The LOCATE command searches, from the values of the sorted items in a
list, for a value that matches the specified search string. If a value that
matches the specified string is found, that value is scrolled to the top of
the list (below the header line). If the value is not found, the value
immediately before the specified string is scrolled to the top of the list
(below the header line).
Format
{LOCATE|LOC|L}
search-character-string
Caution: If the list is sorted by an item other than the one you want to
search for, sort the list by the item you want to search for, and then execute
the LOCATE command.
SELECT command
Function
Actions are set to AC in a panel that displays list items in accordance with
the conditions specified by the SELECT command.
The SELECT command selects the rows that match the condition, and
performs the action on them. The command selects these rows not from
1-4
ISPF panels
Hitachi Business Continuity Manager Reference Guide
only that portion of list items displayed in the panel, but from the entire
list.
Format
{SELECT|SEL|S}
1pattern
1[field-name]
1action-name
Parameter
Parameter
field-name
Explanation
Specifies the name of a field in which a
condition is specified.
For details about the field names that can be
specified, see the explanation for the
applicable panel.
If field-name is omitted, the default field
established for the applicable panel is
assumed.
pattern
Character string
Value of a field
'value-1':'value-2'
action-name
Examples
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-5
To display the status of copy groups that begin with TCGRP (the
default field name, CGID, can be omitted), in the Manage Copy Groups
panel enter the following command:
CGID
TCGRP*
STATUS
'NOT LOADED'
VOLSER
VSN111
DEVN
F310
DEVN
LABEL
To, select the device for which VSN111 is set to Volser, in the Pair
Selection List (Primary) panel enter the following command:
S
To select the device for which F310 is set to Devn (the default field
name, DEVN, can be omitted), in the Pair Selection List (Primary)
panel enter the following command:
To select the devices for which F310 through F320 are set to Devn
(the default field name, DEVN, can be omitted), in the Pair Selection
List (Primary) panel enter the following command:
'F310':'F320'
'
To load copy groups for which NOT LOADED is set to Status, in the
Manage Copy Groups panel enter the following command:
'
SORT command
Function
List items, displayed in a panel, are sorted by the SORT command based
on the specified field names. The sort order (ascending or descending) is
defined for each selected field.
Format
SORT
1-6
1[field-name]
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Parameter
field-name
For details about the specifiable field names and sort order, see the
descriptions for each panel. If you omit the field name, a pop-up
panel will appear and you can specify the sort key.
Caution: If you specify a field name, you cannot sort on multiple items. If
you specify an invalid field name, a pop-up panel for specifying the sort key is
displayed.
SCANPAIR command
Function
The SCANPAIR command displays the Scan Copy Pair Storage System
panel that scans volumes of PPRC copy pairs.
Format
SCANPAIR
ERRCODE command
Function
The ERRCODE command displays the Error Code Help panel. If you enter
an error code on this panel, you can view the details for that error code.
For details about the Error Code Help panel, see Error Code Help panel on
page 1-12.
On the Exception Message Panel, if you place the cursor on an error code
that is within the displayed message, and execute the ERRCODE command,
the details for that error code are displayed in the Error Code Help Panel.
For details on the Exception Message Panel, see Exception Message panel
on page 1-10.
Format
ERRCODE
Panel name
LOCATE
SELECT
SORT
SCANPAIR
ERRCODE
Browse Copy
Group Pair Detail
--
Y#1
--
Copy Group
Detail Definition
--
--
Y#1
--
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-7
Command name
Panel name
LOCATE
SELECT
SORT
SCANPAIR
ERRCODE
--
Y#1
--
--
Copy Group
Selection List
--
--
--
Define Command
Device
--
--
--
--
--
--
Exception
Message Panel
--
--
--
--
Y#2
Manage Copy
Groups
--
--
--
--
--
--
--
Y#1
--
--
--
Y#1
--
--
--
Y#1
--
Route Status
--
--
--
Setting
Information
--
--
--
--
--
--
--
UR Copy Group
Performance
Statistics
--
--
Others
--
--
--
--
Legend:
Y: Can be used.
--: Cannot be used.
#1: This command can be used, but you cannot specify field names.
#2: Pressing the F5=ErrCode key will also execute the command.
1-8
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F2=Split
F7=PrvTopic
F3=Exit
F8=NxtTopic
F4=Resize
F9=Swap
F5=Exhelp
F10=PrvPage
Setting Information
F7=Backward
.
.
.
.
.
.
:
:
:
:
:
:
BCM
DADP
0
N
F8=Forward
The following table lists and describes the items in the Setting Information
panel.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-9
Item
Description
Preset RouteListID
In all panels other than the panels indicated below, pressing the
F17=DispConf key displays the Setting Information panel.
Working
Setting Information
Row 1 to 3 of 3
Scroll ===> PAGE
2008/03/11 19:50:57
Status query for UR encountered errors. RC = 32
Message
Sev Related Information
YKQ026W Primary volume is offline. DEVN 7381(000000014002,01,21)
8
1,2
YKZ257E DASD device 733F(FF21) management error. (Message type: 0F Reason
code: E3 Error code: 6A13 BF42, cmd=3, pos=HCIOE022)
32
1,2
YKZ257E DASD device 733F(FF21) management error. (Message type: 0F Reason
code: E3 Error code: 6A13 BF42, cmd=3, pos=HCIOE022)
32
1,1
***************************** Bottom of data ******************************
F1=Help
F5=ErrCode
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Exception Message
panel.
1-10
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
Message
Sev
Related
Information
Pressing the Enter key closes the displayed Exception Message Panel. If
there are multiple messages, they can all be viewed by scrolling the panel.
Each operation and the messages output for that operation are stored in the
ISPF log. In a single message, a maximum of 2 lines are displayed, and any
lines that follow it are not displayed. The third line and those below it are
checked by using the ISPF log.
If you place the cursor on an error code that is within the displayed message
and either press the F5=ErrCode key or execute the ERRCODE command,
details for that error code are displayed in the Error Code Help panel. For
details on the Error Code Help panel, see Error Code Help panel on page
1-12. If an error code is split and spans two rows, details for the error code
cannot be displayed, even if you place the cursor on the error code.
In the following example, details for the error code 6A13 are displayed in the
Error Code Help panel:
If the cursor is located on a space and you either press the F5=ErrCode key
or execute the ERRCODE command, the first 40 characters before the cursor
are searched. The next action depends on the results of this search:
If an error code is present, the details for that error code are displayed in
the Error Code Help panel.
If no error code is present, the first 40 characters that follow the cursor
are searched.
If there is no error code either before or after the cursor, no error code
details are displayed.
In the following example, the details for the error code 6A13 are displayed in
the Error Code Help panel:
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-11
F1=Help
F12=Cancel
When you press the Enter key, the configuration file is not created or
updated. If the F12=Cancel key is pressed, the panel is displayed again, in
which you can create or update the configuration file.
1-12
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F1=Help
F10=PrvsErr
F7=Backward F8=Forward
F11=NextErr F12=Cancel
The following table lists and describes the items in the Error Code Help panel.
Item
Description
Error code
Error details
Type of error
SI
TC
TCA
UR
Others: Other
Pressing the F12=Cancel key removes the displayed information from the
screen.
Pressing the F10=PrvsErr key displays the error code that is immediately
before the current error code according to the list of error codes in the Hitachi
Business Continuity Manager Messages. If the first error code in the list of
error codes is currently displayed, the last error code in the list is displayed.
Pressing the F11=NextErr key displays the error code that is immediately
after the current error code according to the list of error codes in the Hitachi
Business Continuity Manager Messages. If the last error code in the list of
error codes is currently displayed, the first error code in the list is displayed.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-13
you overwrite the changes. When you try to save your changes, the Update
Warning panel is displayed. The panel asks you to confirm your update to the
configuration file, which overwrites the other user's changes.
The following shows the Update Warning panel.
Update Warning
Command ===>
Warning:
The configuration file has been edited by another user.
Please make sure that it is okay to update the configuration
file.
Press ENTER key to update the configuration file.
Press CANCEL key to cancel the creation or updating of the
configuration file.
Confirm the creation or updating of the file
F1=Help
F12=Cancel
Pressing the Enter key overwrites the configuration file. Pressing the
F12=Cancel key stops the update to the configuration file.
Command ===>
Warning:
The copy group contains one or more copy pairs whose primary and secondary
device capacities are not the same. We recommend that you make the
capacities the same.
Press ENTER key to confirm copy group update.
Press CANCEL key to move to previous panel.
Confirm the updating of the copy group
F1=Help
F7=Backward
F8=Forward
F12=Cancel
Pressing the Enter key transitions to the Copy Group Detail Definition panel.
Pressing the F12=Cancel key stops the update and returns to the previous
panel.
1-14
ISPF panels
Hitachi Business Continuity Manager Reference Guide
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-15
2.
Enter YKSTART.
In some cases, the following panels might be displayed instead of the
Main Menu panel:
Installation Verification Summary panel
If any of the following conditions are met, the system assumes that
the installation of Business Continuity Manager did not complete and
the Installation Verification Summary panel is displayed:
- No profile for referencing or operations has been specified for the
RACF security setting.
- No user SVC has been registered.
- A user SVC version is enabled that cannot be used with the version
of Business Continuity Manager being installed.
- An invalid value is set for a host ID.
For details on the Installation Verification Summary panel, see
Installation Verification Summary panel (environment settings
verification) on page 1-17.
Set Defaults panel
If any of the following conditions are met, the Set Defaults panel for
entering the prefix and device address domain ID is displayed:
- No values are set for Configuration File Prefix and Local Device
Address Domain ID in the Set Defaults panel.
- The prefix that was used the last time Business Continuity Manager
was running is specified for an instance of Business Continuity
Manager agent with LOCK(PREFIX). If this occurs, an attempt is made
to start the same instance of Business Continuity Manager as before
while the instance of Business Continuity Manager agent is still
running.
If the configuration file is locked by the Business Continuity Manager
agent, you will be able to start an instance of Business Continuity
Manager by entering the prefix of an unlocked configuration file in the
displayed Set Defaults panel. If you press the F12=Cancel key
without entering a prefix, Business Continuity Manager will end.
For details on the Set Defaults panel, see Set Defaults panel (prefix
and device address domain ID settings) on page 1-23.
The following figure shows the Main Menu panel.
Option ===>
Main Menu
1-16
Installation Verification
Set Defaults
Manage Licenses
Discover/Define Configuration
Manage Route
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F3=Exit
The following table lists the items in the main menu and their
descriptions. Specify the number corresponding to the operation to be
performed.
Item
Description
0 Installation
Verification
1 Set Defaults
2 Manage Licenses
3 Discover/Define
Configuration
4 Manage Route
Manages routes.
7 Exit
Version
When the PF keys are not displayed in the Main Menu panel or the Set
Defaults panel (prefix and device address domain ID settings) on page
1-23, you can display the PF keys by entering the PFSHOW ON command.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-17
===>
For
1
2
3
more details on an
Security Settings
User SVC Routine .
Host ID Settings .
F1=Help
item,
. . .
. . .
. . .
enter
. . .
. . .
. . .
the
. .
. .
. .
corresponding number.
: OK
: FAULTY
: OK
F3=Exit
The following table lists and describes the items in the Installation Verification
Summary panel. Specify the item number that corresponds to the operation
to be performed.
Item
1 Security Settings
3 Host ID Settings
Description
Status of the RACF security setting
Row 1 to 26 of 26
Scroll ===> PAGE
2013/01/21 15:15:15
STGADMIN.YKA.BCM.YKQUERY
STGADMIN.YKA.BCM.COMMANDS
Directions
1-18
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Security Settings
Information panel.
Item
Facility Class Profiles
Query
Description
Names of the profiles for referencing that are currently
registered
If no profiles for referencing are registered, N/A is displayed.
Row 1 to 32 of 35
Scroll ===> PAGE
2009/07/21 15:15:15
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-19
User SVC exists, the Static installed User SVC will become the Current
User SVC.
If the Current User SVC is smaller than the Version of User SVC for this
program, then the program will not run properly.
If this is the case, use the YKALCSVC command to dynamically register
the latest User SVC.
Also, register the latest User SVC if a Dynamic registered User SVC is
deleted.
The following is an example of deleting a registered User SVC:
+-----------------------------------------------------------------------+
: START YKALCSVC,PARM=DELETE
:
+-----------------------------------------------------------------------+
The following is an example of registering a User SVC:
+-----------------------------------------------------------------------+
: START YKALCSVC
:
+-----------------------------------------------------------------------+
Note:
A User SVC registered by using the YKALCSVC command will become invalid
during a re-IPL.
As a result, we recommend performing either of the following settings
in order to prepare for the next re-IPL:
F1=Help
F3=Exit
F7=Backward F8=Forward F12=Cancel
If you press the F8=Forward key, the rest of the User SVC Information
panel is displayed as follows:
User SVC Information
Command ===>
Row 1 to 35 of 35
Scroll ===> PAGE
2009/07/21 15:15:17
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the User SVC Information
panel.
Item
Description
1-20
SVC
Number
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
If the user SVC that was registered either dynamically
or statically is not found, N/A is displayed.
Version
Dynamic
registered User
SVC
SVC
Number
Version
Static installed
User SVC
SVC
Number
Version
Current Host ID . . . . . . . . . . : 00
Dynamically defined Host ID . . . . : N/A
Statically defined Host ID . . . . . : 00
2013/01/21 19:43:48
More:
Directions
The current host ID settings are listed above.
Host IDs that could not be acquired are listed as N/A.
When using the remote DKC control functionality, if you want to use
Business Continuity Manager from multiple hosts (OSs) on the same site
to share one command device within one storage system, specify the host
IDs. If there is only one host (OS) on the site, or you do not want to
share one command device among multiple hosts, you do not need to
specify any host IDs.
For host IDs, specify a unique hexadecimal two-digit number from 00
through 1F for each OS. In an LPAR environment, specify a different
number for each LPAR.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-21
Set host IDs by using the YKSETENV command before starting Business
Continuity Manager. Alternatively, you can define the corresponding
system symbols in the IEASYMxx parmlib member and then perform IPL on
F1=Help
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
If you press the F8=Forward key, the next part of the Host ID Settings
Information panel is displayed as follows:
Host ID Settings Information
Command ===>
2013/01/21 19:43:48
Current Host ID . . . . . . . . . . : 00
Dynamically defined Host ID . . . . : N/A
Statically defined Host ID . . . . . : 00
More:
- +
system symbols in the IEASYMxx parmlib member and then perform IPL on
the system again to set values for the host ID.
The examples below show how to specify a host ID. If neither (a) nor (b)
is specified, 00 is assumed.
(a) Using the YKSETENV command
The following example sets the host ID to 0F:
+----------------------------------------------------------------+
: START YKSETENV,PARM='YKCMDIF=0F'
:
+----------------------------------------------------------------+
(b) Defining a system symbol in the IEASYMxx parmlib member
The following example sets the host ID to 0F:
+----------------------------------------------------------------+
: SYMDEF(&YKCMDIF='0F')
:
F1=Help
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
Command ===>
Current Host ID . . . . . . . . . . : 00
Dynamically defined Host ID . . . . : N/A
Statically defined Host ID . . . . . : 00
2013/01/21 19:43:48
More:
+----------------------------------------------------------------+
: START YKSETENV,PARM='YKCMDIF=0F'
:
+----------------------------------------------------------------+
(b) Defining a system symbol in the IEASYMxx parmlib member
The following example sets the host ID to 0F:
+----------------------------------------------------------------+
: SYMDEF(&YKCMDIF='0F')
:
+----------------------------------------------------------------+
Note:
If you register or change a host ID while Business Continuity Manager is
running, CLI commands are executed using the previously set value. The
registered or changed host ID takes effect the next time the YKLOAD
command is executed (with a route list specified).
F1=Help
1-22
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
ISPF panels
Hitachi Business Continuity Manager Reference Guide
The following table lists and describes the items in the Host ID Settings
Information panel.
Item
Description
Current Host ID
The maximum number of messages that can be output to the ISPF log.
Whether to use the Remote DKC Control Function, a route list ID, and a
route label.
The following figure shows the Set Defaults panel (values in the figure are
samples only).
Set Defaults
Command ===>
Specify Default Settings
2008/03/19 21:21:24
More:
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-23
.
.
.
.
.
.
.
.
.
.
.
.
BC
DADP
0
N
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Set Defaults panel.
Item
Description
Preset RouteListID#2
1-24
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
If * is specified, the information about all the command
devices is loaded regardless of whether they have a
route label.
If this item is omitted, the information about the
command devices with no route label is loaded.
SEND Options
Timeout Hours
Timeout Minutes
Job Name Prefix
JCL JOB Statement
#1:
If one or more configuration files have already been created by using the
Mainframe Agent YKP2A command, specify a prefix that is different from
that of any configuration file created by using that command for
Configuration File Prefix. If you specify the same prefix, an error
occurs in the Scan Copy Pair Inside Storage System panel or Manage
Copy Groups panel.
If you install and use Business Continuity Manager on the same system as
the one where Tiered Storage Manager for Mainframe is installed, specify
a prefix that is different from that of any configuration file created by
using Tiered Storage Manager for Mainframe. If the same prefix is used
for Business Continuity Manager and Tiered Storage Manager for
Mainframe, the products might not work properly.
If you have already started the Business Continuity Manager agent with
LOCK(PREFIX) specified, specify a prefix that is different from the one
Business Continuity Manager agent uses for Configuration File Prefix.
If you specify the same prefix, an error occurs.
#2: For these values, see section Executing YKLOAD on page 1-121.
#3: For details about the characters and maximum length that can be
specified, see Names of configuration files on page 3-2.
#4: You can specify a string of eight characters or less that consists of one or
more parts, joined by periods. Each part must start with an uppercase
alphabetic character, and consist of uppercase alphabetic and numeric
characters.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-25
Press the F8=Forward key to display the remaining items in the panel. The
Set Defaults panel is displayed as follows when the F8=Forward key is
pressed.
Set Defaults
Command ===>
2008/03/19 21:21:24
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
More:
. 0
. N
.
.
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
Specify the same device address domain ID for volumes that can be
directly accessible. Business Continuity Manager assumes that volumes
that have the same device address domain ID as the one specified for Set
Defaults panel can be directly accessible.
Command ===>
Row 1 to 2 of 2
Scroll ===> PAGE
2008/03/11 19:44:14
Enter the license key information below and press ENTER to install.
License Key Dataset Name
or Key Code
1-26
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F3=Exit
F4=Refresh
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Manage Licenses
panel.
Item
Description
Specify the dataset name of the license key file that has
been transferred to the MVS.
Key Code
PP Name
License name
Serial Num
Model
Type
License type
Capacity (TB)
Expires
If you enter the dataset name of the license key file that has been transferred
to the MVS in the License Key Dataset Name field, or enter the key code
in the Key Code field, and then press the Enter key, the license key will be
installed.
If you entered the value in the License Key Dataset Name field, the
license key is then installed from the dataset of the license key file into
the license information dataset.
If you entered the value in the Key Code field, the entered key code will
be installed into the license information dataset.
The initial panel lists only licenses that are already installed. This panel
updates to display the latest installed license information when an installation
completes, or the F4=Refresh key is pressed.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-27
Message panel
When you press the F4=Refresh or the Enter key on the Manage Licenses
panel, a Message Panel appears that displays the license installation results
and any error messages.
The following figure shows the Message panel.
Message Panel
Command ===>
Row 1 to 1 of 1
Scroll ===> PAGE
2008/03/11 20:54:26
Messages:
YK9001I The license key(s) has been installed
***************************** Bottom of data ******************************
F1=Help
F7=Backward
F8=Forward
F12=Cancel
Option ===>
Enter a selection choice
1
2
3
4
F1=Help
F3=Exit
The following table lists and describes the items in the Discover/Define
Configuration panel. Specify the number corresponding to the operation to be
performed.
Item
Description
1-28
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
For instructions on how to create a configuration file, see the Hitachi Business
Continuity Manager User Guide.
The configuration file needed to use Business Continuity Manager can be
created in the Discover/Define Configuration panel.
Before creating copy groups, you must scan the volumes to be used and then
create the disk configuration definition files. If the disk configuration
definition files exist, the scanning is not required.
Figure 1-4 Panel transition from the Discover Hitachi Storage System
panel
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-29
The following figure shows the Discover Hitachi Storage System panel.
Discover Hitachi Storage System
Command ===>
Row 1 to 6 of 6
Scroll ===> PAGE
2008/01/28 13:54:26
Supported actions: s(Select), d(Delete), r(Remote), e(Edit devn)
AC
F3=Exit
F4=Discover
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Discover Hitachi
Storage System panel.
Item
AC
Description
Specify an action.
S/N
Description
1-30
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Command ===>
2008/03/14 16:42:03
Select one field from among Device Num, Volser, and Non Gen'ed by entering
"/". Next, specify any contiguous range of device address, and then press the
F6=Scan key to discover Hitachi storage systems and devices.
Device Num (
Start:
End:
) |
Start:
End:
Volser
(
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-----------------------------------------------------------------------------)
Non Gen'ed (
Supported action: s(Select)
AC
Non Gen'ed Device Address Domain . .
Storage System S/N . . . . . . . . .
CCA:
Device Address
| Start CU:
| End
CU:
CCA:
F1=Help
F3=Exit
F6=Scan
F12=Cancel
The following table lists and describes the items in the Scan Device Address
Extent panel.
Item
Device Num
Description
If you want to scan device numbers, add a check mark (/), and
specify the range of device numbers to be scanned by Start and
End (Ascending order by hexadecimal number).
Note: The device number range cannot be omitted. To scan only
one volume, specify the same value for both Start and End.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-31
Item
Description
Volser
If you want to scan volume serial numbers, add a check (/), and
specify the range of the volume serial numbers to be scanned by
Start and End (Order by EBCDIC code).
XXXXX...X
Non Gen'ed
When the target is a Non Gen'ed volume, add a check mark (/),
and specify the device address domain ID to which the storage
system to be scanned belongs, the serial number, and the range
of device addresses.
AC
Specify an action.
When the F6=Scan key is pressed after the above items are specified,
volumes are scanned within the specified range. If an invalid character is
specified, or if the value specified for Start is greater than the value specified
for End, an error message prompts you to re-enter the values.
After the Local Scanning operation, the number of detected volumes is
displayed. The new information is displayed in the Discover Hitachi Storage
System panel. After the NG Scan is completed, the panel transitions to the
CU Selection List for Edit devn panel. The information on the scanned volume
configuration is saved in the disk configuration definition file. For details
about the name of the created disk configuration definition file, see Names of
configuration files on page 3-2.
Note: The following table describes the command devices used when an NG
Scan is performed. If you want to change the command device to be used,
modify the environment with reference to the following table.
Value specified for
Remote DKC Function
in the Set Defaults
panel
N
1-32
ISPF panels
Hitachi Business Continuity Manager Reference Guide
The F6=Scan key is pressed in the Scan Remote Device Address Extent
panel.
Non Gen'ed is selected and the F6=Scan key is pressed in the Scan
Device Address Extent panel.
The following figure shows the CU Selection List for Edit devn panel.
CU Selection List for Edit devn
Command ===>
Row 1 to 1 of 1
Scroll ===> PAGE
2008/01/28 14:19:14
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the CU Selection List for
Edit devn panel.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-33
Item
Description
Device Address
Domain
Description
Model
uCode
IFType
Software Keys
TC - TrueCopy
TCA - TrueCopy
Asynchronous
SI - ShadowImage
UR - Universal
Replicator
AC
Specify an action.
CU
SSID
Dummy Devn
Information
When the control unit does not have a dummy device number
assigned to it, NOTSET is displayed.
If any of the volumes detected in a Remote Scan or NG Scan has not been
assigned a dummy device number (that is, if NOTSET is displayed under
Information for any volume), the CU Selection List for Edit devn panel
cannot be closed. In such cases, pressing the F3=Exit key generates an
error message.
If a command device is not contained within the scanned range specified in
the Scan Remote Device Address Extent panel, the dummy device numbers
are not assigned to the command devices, and the CU Selection List for Edit
devn panel displayed after the scan does not display the command devices.
Because of this, if you exit the CU Selection List for Edit devn panel by
pressing the F3=Exit key, and move to the CU Selection List for Edit devn
panel again by specifying e in the AC column in the Discover Hitachi Storage
System panel to edit a dummy device number, NOTSET is displayed in the
1-34
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Information for the control unit number to which the command device
belongs. In such a case, assign a dummy device number to the command
device.
If the Scan Device Address Extent panel transitions to the CU Selection List
for Edit devn panel, you can return to the Scan Device Address Extent panel
by pressing the F3=Exit key in the CU Selection List for Edit devn panel.
If the Scan Remote Device Address Extent panel or the Discover Hitachi
Storage System panel transitions to the CU Selection List for Edit devn panel,
you can return to the Discover Hitachi Storage System panel by pressing the
F3=Exit key in the Selection List for Edit devn panel.
Command ===>
Row 1 to 16 of 16
Scroll ===> PAGE
2008/01/28 14:19:27
Device Address Domain : R5L
Description . . . : DISCOVERED-REMOTE-STORAGE
Storage System S/N : 14001 Model : USP
uCode : 500970FF IFType : 1616
Control Unit . . . : 01
-----------------------------------------------------------------------------Conflict Devices SSID CCA Dummy Devn S/N
CU
CCA
2354 10- FF30
2354 11- FF31
2354 12- FF32
2354 13- FF33
2354 14- FF34
2354 15- FF35
2354 16- FF36
2354 17- FF37
2354 18- FF38
2354 19- FF39
2354 1A- FF3A
2354 1B- FF3B
2354 1C- FF3C
2354 1D- FF3D
2354 1E- FF3E
2354 1F- FF3F
******************************* Bottom of data ********************************
F1=Help
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the CCA Selection List for
Edit devn panel.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-35
Item
Description
Device Address
Domain
Description
Storage System S/N Serial number of the storage system to which a device belongs
Model
uCode
IFType
Control Unit
SSID
CCA
Dummy Devn
+: An external volume
Conflict
Devices
S/N
CU
CCA
+: An external volume
When the F3=Exit key is pressed to exit this panel, the system checks for
any device number conflicts. If a device number conflict is detected,
information about the conflicting volumes is displayed in the Conflict
Devices column for the corresponding volumes. If multiple duplicated device
numbers are detected, the line that is the smallest command control address
is displayed at the head of the panel. Until the conflict is resolved, this panel
cannot be closed. If the entered dummy device number is incorrect (not a
1-36
ISPF panels
Hitachi Business Continuity Manager Reference Guide
hexadecimal string or fewer than 4 digits), you cannot press the F3=Exit key
to finish setup, the F7=Backward (or F8=Forward) key to scroll the
screen, or the F17=DispConf key to display the settings, until the error is
removed.
If you modify a dummy device number, and then press the F3=Exit key to
close the CU Selection List for Edit devn panel, the Confirm Configuration File
Update panel (see Confirm Configuration File Update panel on page 1-183),
prompts you to confirm whether to apply the values.
Command ===>
SSID : 2350
F12=Cancel
The following table lists and describes the items in the Edit Device Number
for CU panel.
Item
Description
CU
SSID
Start of Device
Number
Row 1 to 2 of 2
Scroll ===> PAGE
2008/03/14 17:07:04
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-37
F7=Backward
F8=Forward
F12=Cancel
Description
Specify an action.
S/N
The Storage System/DADID Selection List panel displays the device address
domain IDs or storage system serial numbers that were specified in the Scan
Device Address Extent panel. If any Non Gen'ed volumes have been scanned,
their device address domain IDs and storage system serial numbers are also
displayed.
In the initial state, the entries are displayed in ascending order of EBCDIC
codes, with S/N followed by Device Address Domain as the priority order.
Command ===>
Row 1 to 2 of 2
Scroll ===> PAGE
2008/02/26 15:31:29
1-38
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
ISPF panels
Hitachi Business Continuity Manager Reference Guide
The following table lists and describes the items in the Control Unit Selection
List panel.
Item
Description
Description
Model
uCode
IFType
Software Keys
TC - TrueCopy
TCA - TrueCopy
Asynchronous
SI - ShadowImage
UR - Universal
Replicator
AC
Specify an action:
CU
SSID
2008/02/26 15:31:47
Device Address Domain : SF
Description . . . : SAN FRANCISCO SAMPLE
Storage System S/N : 14002 Model : USP
uCode : 500970FF IFType : 1616
Control Unit . . . : 00
-----------------------------------------------------------------------------SSID CCA Device Number Volume Serial Number
CYLS
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-39
2340
2340
2340
2340
2340
2340
2340
2340
2340
2340
2340
2340
101112131415161718191A1B-
F1=Help
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
731A
731B
BCM000
BCM001
BCM002
BCM003
BCM004
BCM005
F3=Exit
262668
262668
262668
262668
262668
262668
262668
262668
262668
262668
262668
262668
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Command Control
Address (CCA) Selection List panel.
Item
Description
Device Address
Domain
Description
Storage System S/N Serial number of the storage system to which a device belongs
Model
uCode
IFType
Control Unit
SSID
CCA
+: An external volume
Device Number
Volume Serial
Number
Cyls
1-40
ISPF panels
Hitachi Business Continuity Manager Reference Guide
The following figure shows the Scan Device Address Extent panel.
Scan Remote Device Address Extent
Command ===>
2008/02/29 10:21:25
Specify any contiguous range of remote device address.
Then press the F6=Scan key to discover devices in Hitachi storage systems.
Remote Device Address Domain . . . : LA
Storage System S/N . . . . . . . . : 14001
Device Address
F1=Help
|
|
Start CU:
End
CU:
F3=Exit
F6=Scan
CCA:
CCA:
F12=Cancel
The following table lists and describes the items in the Scan Remote Device
Address Extent panel.
Item
Remote Device
Address Domain
Description
Device address domain ID of the remote storage system that
will be scanned
Storage System S/N Serial number of the remote storage system that will be scanned
Device Address
Specify Start and End for the device address (control unit and
command control address) range to be remotely scanned.#
Specify the hexadecimal number in ascending order. If the CCA
is omitted, the Start and End will be set to 00 and FF
respectively.
#
Do not include volumes that belong to a copy pair that was created by
Storage Navigator. Doing so may cause copy pair operations to be
disabled.
When the F6=Scan key is pressed, volumes within the specified values are
scanned. If an invalid character is specified, or if the value specified for Start
is greater than the value specified for End, an error message prompts you to
re-enter the values.
The information on the scanned disk configuration is saved in the disk
configuration definition file.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-41
Command ===>
Row 1 to 2 of 2
Scroll ===> PAGE
2008/02/28 17:18:50
AC RouteList ID -----------UR2DC
TCA1
******************************* Bottom of data ********************************
F1=Help
F3=Exit
F5=Add
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Route Config panel.
Item
AC
Specify an action.
RouteList ID
1-42
Description
Route list ID
ISPF panels
Hitachi Business Continuity Manager Reference Guide
#1
Route list definition files for the route list IDs that are not selected are
also loaded. If there is an error in any of these route list definition files
and the Exception Message panel is displayed, you can edit a selected
route list definition file by closing the Exception Message panel.
#2
Only the route list definition file is deleted when deleting the route list ID.
The command device definition file is not deleted.
The route list definition is required when using the Remote DKC Control
Function and the TrueCopy consistency preservation function. It defines
routes between devices and command devices so that these devices are
available.
The route list ID list is displayed in the Route Config panel.
To create a route list ID, place the cursor on the field and press the F5=Add
key.
Command ===>
. . . . . . . . UR2DC
F12=Cancel
In the Add Route List ID panel, specify a route list ID. For details about the
characters and maximum length that can be specified, see Names of
configuration files on page 3-2.
When editing the route list definition (APID update, route deletion, or
command device definition), the Confirm Route List Edit panel prompts you to
confirm whether to update. For more information on the Confirm Route List
Edit panel, see section Confirm Route List Edit panel on page 1-187.
If you change the route list definition, and then press the F3=Exit key to
update the route list, the Confirm Configuration File Update panel is
displayed. For more information on the Confirm Configuration File Update
panel, see section Confirm Configuration File Update panel on page 1-183.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-43
Command ===>
Route List ID
. . .
ROUTELST
F3=Exit
F12=Cancel
F5=Add
F7=Backward
F8=Forward
F10=Prev
If there are multiple routes with the same first storage system, = is displayed
for the first storage system of the second and subsequent routes.
If the list of storage systems continues beyond the displayable area, > is
displayed to the right of the header. Pressing the F11=Next key displays the
storage systems that could not be displayed.
The figure below shows the Route List Information panel that is displayed
when the F11=Next key is pressed. < is displayed to the left of the header.
Pressing the F10=Prev key returns to the previous screen.
Route List Information
Command ===>
Route List ID
. . .
ROUTELST
F3=Exit
F12=Cancel
F5=Add
F7=Backward
F8=Forward
F10=Prev
The following table describes the items in the Route List Information panel.
Item
1-44
Description
Route List ID
AC
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
DADID (SN)
To define a storage system that will be the first one in a route, press the
F5=Add key. Pressing the F5=Add key displays the Add Route Entry panel.
For details about the Add Route Entry panel, see Add Route Entry panel on
page 1-52.
Note: If you delete all the routes displayed in the Route List Information
panel, the route list definition file is deleted. However, the command device
definition file is not deleted, even if the route list definition file is deleted.
Row 1 to 1 of 1
Scroll ===> PAGE
2011/07/16 13:42:48
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-45
F3=Exit
F12=Cancel
DADB
DADC
00002
00003
--------2nd-------- --------3rd------>AC DEVN SSID CU CCA AC DEVN SSID CU CCA
0011 0011 06 01
0021 000D 08 01
of data ********************************
F5=Add
F7=Backward
F8=Forward
F10=Prev
If the list of command devices continues beyond the displayable area, > is
displayed to the right of the header. Pressing the F11=Next key displays the
command devices that could not be displayed.
The figure below shows the Command Device Information panel that is
displayed when the F11=Next key is pressed. < is displayed to the left of the
header. Pressing the F10=Prev key returns to the previous screen.
Command Device Information
Command ===>
Supported actions: e(Edit), d(Delete)
DADID . : DADB
SN . . .: 00002
-<------2nd ------AC Label
APID AC DEVN SSID CU CCA
ANY
0001
0011 0011 06 01
******************************* Bottom
F1=Help
F11=Next
F3=Exit
F12=Cancel
Row 1 to 1 of 1
DADC
DADD
00003
00004
--------3rd-------- --------4th-------AC DEVN SSID CU CCA AC DEVN SSID CU CCA
0021 000D 08 01
0031 001D 04 01
of data ********************************
F5=Add
F7=Backward
F8=Forward
F10=Prev
The following table describes the items in the Command Device Information
panel.
Item
DADID
Description
The device address domain ID for the storage system
selected in the Route List Information panel
If the device address domain ID is more than 19 characters,
+ is displayed as the 19th character, and the subsequent
characters are omitted.
SN
Leftmost AC
1-46
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
For example, if you change the APID or route label of the
primary->local command device line in a 3DC MultiTarget configuration, the APID or route label of the
primary->remote command device line is also changed.
The route label or APID is changed when you press the
F3=Exit key in the Command Device Information panel
and the Route List Information panel is displayed.
Label
Route label
APID
DEVN
SSID
CU
CCA
To define a new command device line, press the F5=Add key. The Add
Attribute panel is displayed. For details about the Add Attribute panel, see
Add Attribute panel on page 1-51.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-47
panel or Edit Route Entry panel, the Define Command Device panel is
displayed.
In the Define Command Device panel, select the device to be defined as the
command device.
The following figure shows the Define Command Device panel.
Define Command Device
Command ===>
Row 1 to 13 of 13
Scroll ===> PAGE
CU SSID
00 6800
00 6800
00 6800
00 6800
00 6800
00 6800
00 6800
00 6800
00 6800
00 6800
00 6800
00 6800
00 6800
F1=Help
F12=Cancel
CCA DEVN
00
7340
01
7341
02
7342
03
7343
04
7344
05
7345
06
7346
07
7347
08
7348
09
7349
0A
734A
0B
734B
0C
734C
F6=Sort
VOLSER
F7=Backward
F8=Forward
The following table lists and describes the items in the Define Command
Device panel.
Item
Description
DADID
SN
Current Selection
AC
Specify an action.
1-48
CU
SSID
CCA
DEVN
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
VOLSER
Sorted by
Direction
CU
Ascending
CCA
Ascending
DEVN
Ascending
VOLSER
Ascending
You can specify the following fields for a condition of the SELECT command:
Name of field
Value in field
Type
CU
Hexadecimal
CCA
Hexadecimal
DEVN
Hexadecimal
VOLSER
Character string
If you omit the field name, DEVN will be set as a default value.
F12=Cancel
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-49
In the Sort the Define Command Device panel, you can select the sort key
from the following items:
Item
Sorted by
1. CU
2. CCA
3. Device Number
The following table describes the items in the Define Remote Command
Device panel.
Item
DADID
SN
1-50
Description
CCA
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Add Attribute
Label . . LABEL1
APID . . . 1234
F1=Help
F12=Cancel
The following table describes the items in the Add Attribute panel.
Item
Label
Description
Specify a route label for the command device
line.#
The specification of the route label is optional.
APID
Specify an APID for the command device. Use a 4digit hexadecimal number (0000 to FFFF). The
specified value must be unique in the storage
system.
#: You can specify a string of eight characters or less that consists of one or
more parts, joined by periods. Each part must start with an uppercase
alphabetic character, and consist of uppercase alphabetic and numeric
characters.
Edit Attribute
Label . . LABEL1
APID . . . 1234
F1=Help
F12=Cancel
The following table describes the items in the Edit Attribute panel.
Item
Label
Description
Specify a new route label for the command device
line.#
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-51
Item
Description
The specification of the route label is optional. By
default, the assigned route label is displayed.
APID
#: You can specify a string of eight characters or less that consists of one or
more parts, joined by periods. Each part must start with an uppercase
alphabetic character, and consist of uppercase alphabetic and numeric
characters.
F12=Cancel
In the selection field, specify a relevant value based on the status of the
storage system to be added. How to specify the storage system varies
depending on the value specified in the selection field.
The following table describes the values to specify in the selection field and
how to specify a storage system.
1-52
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Status of the
storage system
Value to
specify in
the
selection
field
1
A Local Scan or
Remote Scan
has already been
performed.
2
A Remote Scan
has not yet been
performed.
If you are using the F5=Add key in the Route List Information panel to add
the first storage system for a route, 1 is selected and cannot be changed.
The following table lists and describes the items in the Add Route Entry panel.
Item
Description
SN
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-53
AC SN -- DADID ---------------------14002 SF
14001 LA
90063 LA
90209 SF
********************** Bottom of data ***********************
F1=Help
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Storage System
Selection List panel.
Item
Description
Route List ID
DADID
SN
AC
Specify an action.
SN
DADID
In the initial state, the entries are displayed in ascending order of EBCDIC
codes, with SN followed by DADID as the priority order.
1-54
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F1=Help
F12=Cancel
In the selection field, specify a relevant value based on the status of the
storage system whose information is to be updated. How to specify the
storage system varies depending on the value specified in the selection field.
The following table describes the values to specify in the selection field and
how to specify the storage system.
Status of the
storage system
Value to
specify in
the
selection
field
1
A Local Scan or
Remote Scan
has already been
performed.
2
A Remote Scan
has not yet been
performed.
The following table lists and describes the items in the Edit Route Entry panel.
Item
Description
SN
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-55
Figure 1-6 Panel transitions from the Path Set Selection List panel
#1: You can sort the items on this panel from the pop-up panel displayed by
pressing the F6=Sort key.
#2: If CU is specified in Type on the Edit Logical Path Definition panel, the
Select SSID panel is displayed.
The following figure shows the Path Set Selection List panel.
Path Set Selection List
Command ===>
Row 1 to 1 of 1
Scroll ===> PAGE
2008/02/28 16:02:59
F3=Exit
F5=Add
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Path Set Selection List
panel.
Item
AC
Description
Specify an action.
1-56
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
Path Set ID
Path set ID
Description
Command ===>
2008/02/28 16:02:07
Enter the following Path Set attributes.
Path Set ID
. .
F3=Exit
F12=Cancel
Command ===>
Row 1 to 1 of 1
Scroll ===> PAGE
2008/02/28 16:03:27
F3=Exit
F5=Add
F6=Sort
F7=Backward
F8=Forward
The following table lists and describes the items in the Path Set Detail panel.
Item
Path Set ID
Description
Path set ID
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-57
Item
Description
Description
AC
Specify an action.
Type of path
SHR
Primary
S/N
PathID
CU
SSID
Primary SSID#2
Dir
Secondary
S/N
PathID
CU
SSID
Secondary SSID#2
1-58
ISPF panels
Hitachi Business Continuity Manager Reference Guide
In the Path Set Detail panel, you can use the SORT command. For details
about how to use the SORT command, see section Command line commands
on page 1-4.
Command ===>
2008/02/28 16:03:38
Path Set ID
Description
. . . : TESTPATH
. . . : TEST PATH 1
Attributes
Type . . . . . . . . CU
SHR . . . . . . . . Y
(DKC/CU)
(Y/N)
CU
00
00
SSID
2340
2350
CCA
1F
1F
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Edit Logical Path
Definition panel.
Item
Description
Path Set ID
Path set ID
Description
Type
Type of path
SHR
AC
Specify an action.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-59
Item
Description
S/N
Model
IFType
PathID
Secondary
CU
SSID
CCA
S/N
Model
IFType
PathID
CU
SSID
CCA
AC
Specify an action.
Assigned
Physical
Path
Forward
Reverse
Caution:
1-60
When Type is DKC, make sure that you enter the values for S/N, Model,
and IFType. PathID can be omitted. If PathID is not specified, 00
(hexadecimal number) is specified. If the storage system is directly
connected to the host, by entering values in CU and CCA, you can specify
the device to which I/O is issued during operations on the paths. You do
not need to specify SSID.
When Type is CU, make sure that you enter the values for S/N, Model,
IFType, CU, and SSID. If the storage system is directly connected to the
ISPF panels
Hitachi Business Continuity Manager Reference Guide
host, by entering a value in CCA, you can specify the device to which I/O
is issued during operations on the paths. If the storage system is not
directly connected to the host and CCA is not specified, execution of the
YKQRYPTH command will result in an error. To avoid this, make sure that
you enter a value for CCA. You do not need to specify PathID.
If the serial number of a storage system for which a Non Gen'ed volume
has already been defined in the path set definition file to be edited is
specified for S/N, the command device will issue I/O regardless of the
specified values for CU and CCA.
The following table describes a relationship between a S/N value and
values specified for CU and CCA, and the device to which I/O will be
issued:
The Model and IFType might be blank if the storage system was
selected from the Select Storage System panel. If this is the case, enter a
value for Model and IFType.
Note that if a control unit number and command control address for Non
Gen'ed volumes are entered for CU and CCA, the route list that includes
the storage system specified for S/N is required during operations on the
paths.
S/N value
Caution: The table below shows the values to be entered for Model and
IFType. If values are already set, you do not need to change the values.
Storage system
Model
IFType
9900V
0405
USP
USP
1111
USP V
USPV
2020
VSP
VSP
3030, 3333#
VSP G1000
VSPG1000
4040
#: If the value for Model is VSP and you specify a value other than 00 for
PathID, specify 3333 for IFType.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-61
Command ===>
Row 1 to 1 of
Scroll ===> PAGE
2008/02/28 16:04:17
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Select Storage System
panel.
Item
AC
Description
Specify an action.
Command ===>
Supported action: s(Select)
1-62
Row 1 to 10 of 10
Scroll ===> PAGE
2008/02/28 16:45:12
ISPF panels
Hitachi Business Continuity Manager Reference Guide
AC
CU SSID
00 2350
******************************* Bottom of data ********************************
F1=Help
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Select SSID panel.
Item
Description
AC
Specify an action:
SSID
SSID
Command ===>
Row 1 to 1 of 1
Scroll ===> PAGE
2008/02/28 16:49:43
Model
USP
USP
IFType
1515
1515
PathID
CU
00
00
SSID
2340
2350
AC
F1=Help
F3=Exit
F5=Add
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Edit Port Definition
panel.
Item
Description
Path Set ID
Path set ID
Description
Primary
S/N
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-63
Item
Secondary
Description
Model
IFType
PathID
CU
SSID
Primary SSID
S/N
Model
IFType
PathID
CU
SSID
Secondary SSID
AC
Specify an action.
Primary
Dir
Secondary
Assign Port
F12=Cancel
The following table lists and describes the items in the Assign Port panel.
1-64
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
Command ===>
F1=Help
sort-key
Primary
Primary
Primary
Secondary
Secondary
Secondary
Path Type
Serial Number
CU
PathID
Serial Number
CU
PathID
F12=Cancel
The following table lists and describes the items in the Sort Logical Paths in
the Path Set panel.
Item
Description
Priority
sort-key
Sort key for sorting logical paths within the path set:
When an ordering priority is specified in the Priority column and the Enter
key is pressed, the logical paths in the path set are sorted, the Path Set
Detail panel is redisplayed, and the system returns to the Path Set Detail or
Path Set Status panels.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-65
Figure 1-7 Panel transition from the Copy Group Selection List panel (Add
Copy Group)
#1: If you press the F5=Add key, the Copy Group Detail Definition panel is
displayed, and the Add Copy Group panel is displayed on top of that panel.
#2: If you press the F12=Cancel key, the Add Copy Group panel and the
Copy Group Detail Definition panel close.
1-66
ISPF panels
Hitachi Business Continuity Manager Reference Guide
#3: You can sort the items on this panel from the pop-up panel displayed by
pressing the F6=Sort key.
#4: If you press the F5=Add key, the Copy Group Pair Detail panel is
displayed, and the Setting C/T ID Attributes panel is displayed on top of that
panel.
#5: If you press the Enter key, the Copy Group Pair Detail panel is
displayed, and the Setting C/T ID Attributes panel is displayed on top of that
panel.
#6: If the number of P-VOLs and S-VOLs does not match, pressing the Enter
key does not change the pop-up panel that is currently displayed.
The following figure shows the panel transitions when b is specified for AC in
the Copy Group Selection List panel.
Figure 1-8 Panel transition from the Copy Group Selection List panel
(Browse Copy Group Information)
#: You can sort the items on this panel from the pop-up panel displayed by
pressing the F6=Sort key.
The following figure shows the panel transitions when e is specified for AC in
the Copy Group Selection List panel.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-67
Figure 1-9 Panel transition from the Copy Group Selection List panel
(Update Copy Group)
#1: The displayed panel changes if the specification for whether to make the
copy group a copy group container (Use Container checkbox) is changed.
#2: After the Copy Group Pair Detail panel is displayed, the Setting C/T ID
Attributes panel is displayed on that panel.
#3: You can sort the items on this panel from the pop-up panel displayed by
pressing the F6=Sort key.
#4: If the numbers of P-VOLs and S-VOLs that are specified are not the
same, pressing the Enter key does not change the pop-up panel that is
currently displayed.
The following figure shows the panel transition when e is specified for AC in
the Copy Group Selection List panel.
Command ===>
1-68
Row 1 to 14 of 16
Scroll ===> PAGE
2008/03/04 10:46:24
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F3=Exit
F4=Refresh
F5=Add
F7=Backward
F8=Forward
The following table lists and describes the items in the Copy Group Selection
List panel.
Item
AC
Description
Specify an action.
Copy Group ID
Copy group ID
Description
When the target copy group is being copied (with a copy pair other than
SIMPLEX), the copy pair is not dissolved even if d is specified in AC in
order to delete the copy group definition file. When the target copy group
definition file is deleted without releasing the copy pair, subsequent
operations for the copy pair can no longer be performed. Before
specifying d in AC, make sure that the copy operation for the copy group
has stopped (the copy pair has been dissolved).
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-69
Container and press the Enter key, the Copy Group Detail Definition panel is
first displayed, and then the Setting C/T ID Attributes panel appears. In this
panel, you can define a consistency group ID. If you enter a new copy group
ID in the Add Copy Group panel and press the F12=Cancel key, display
returns to the Copy Group Selection List panel, and no new copy group is
registered.
The following figure shows the Add Copy Group panel.
Add Copy Group
Command ===>
Copy Group ID . . .
Device Address Domain,
Primary . . . . .
Secondary . . . .
Copy Group Type . .
Use Container
F12=Cancel
The following table lists and describes the items in the Add Copy Group panel.
Item
Description
Copy Group ID
Device Address
Domain, Primary
Device Address
Domain, Secondary
Specify the copy type of the copy group (either SI, TC, TCA, or
UR).
Use Container
#: For details about the characters and maximum length that can be
specified, see Names of configuration files on page 3-2.
When a copy group is defined, a copy group definition file is created. For
details about the name of the created copy group definition file, see Names of
configuration files on page 3-2.
1-70
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Copy Group Selection List panel, the Copy Group Detail Definition panel is
displayed. This panel allows you to edit by consistency group the copy groups
included in the copy group container.
The following figure shows the Copy Group Detail Definition panel.
Copy Group Detail Definition
Command ===>
Row 1 to 1 of 1
Scroll ===> PAGE
2008/03/04 10:59:06
F3=Exit
F12=Cancel
F4=Attr
F5=Add
F6=Sort
F7=Backward
The following table lists and describes the items in the Copy Group Detail
Definition panel. Note that changes for each item will be applied to the
storage system settings when the copy pair is reloaded (by executing the
YKLOAD command) and then created. For TrueCopy copy pairs with the
HyperSwap attribute, because Business Continuity Manager cannot perform
copy pair operations, if you change the definitions of the items that require
the YKMAKE command to make changes, the changes will not be applied to the
storage system settings.
Item
Description
When effective
Copy Group
Type
Copy Group
ID
Copy group ID
N/A
Description
N/A
Primary
Device
Address
Domain
N/A
Secondary
Device
Address
Domain
N/A
Enable EXCTG
Attributes
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-71
Item
Description
When effective
EXCTG
ID(Reverse)
Use Container
Specify an action.
N/A
AC
Grp Num
N/A
sub
Pair(s)
N/A
Prima
ry
1-72
ISPF panels
Hitachi Business Continuity Manager Reference Guide
N/A
Item
ArbCd
ev
Description
Specify the arbitration command device of the
primary site.
You do not have to specify this item for the
supervisor disk controller, or a subordinate
disk controller that exists on the same storage
system as the supervisor disk controller.
Secon
dary
S/N
When effective
When the YKMAKE
command is
executed#1
Path ID
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-73
You can use the SORT command in the Copy Group Detail Definition panel. For
details about how to use the SORT command, see section Command line
commands on page 1-4.
Copy type
ShadowImage
True Copy
True Copy
Asynchronous
1-74
Displayed panel
Yes
No#
Yes
No#
Yes
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Copy group
container?
Copy type
Universal
Replicator
Displayed panel
No
Yes
No
F12=Cancel
Copy Group Attributes (SI) panel (for ShadowImage copy groups that
are not copy group containers)
Command ===>
C/T ID . .
COPY PACE .
PROT MODE .
Preset Mode
F1=Help
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
0C
(2-digit Hexadecimal)
NORMAL
(NORMAL or SLOW)
PERMIT
(PROTECT or PERMIT)
1 1.NORMAL
2.UR(STEADY)
3.UR(QUICK)
F12=Cancel
Copy Group Attributes For Container (TC) panel (for TrueCopy copy
groups that are copy group containers)
Copy Group Attributes For Container (TC)
Command ===>
COPY PACE
PROT MODE
FENCE LVL
FREEZE SCP
TIMESTAMP
DIF UNIT .
OPEN/MF .
F1=Help
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
NORMAL
PROTECT
NEVER
Y
N
TRK
N
(NORMAL or SLOW)
(PROTECT or PERMIT)
(DATA, STATUS or NEVER)
(N or Y)
(N or Y)
(CYL or TRK)
(N or Y)
F12=Cancel
Copy Group Attributes (TC) panel (for TrueCopy copy groups that are
not copy group containers)
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-75
Command ===>
(NONE or HS)
C/T ID . .
COPY PACE
PROT MODE
FENCE LVL
FREEZE SCP
TIMESTAMP
DIF UNIT .
OPEN/MF .
(2-digit Hexadecimal)
(NORMAL or SLOW)
(PROTECT or PERMIT)
(DATA, STATUS or NEVER)
(N or Y)
(N or Y)
(CYL or TRK)
(N or Y)
F1=Help
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
NORMAL
PROTECT
NEVER
Y
N
TRK
N
F12=Cancel
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
NORMAL
PROTECT
GROUP
Y
TRK
. . . SYSTEM
. . . SYSTEM
(NORMAL or SLOW)
(PROTECT or PERMIT)
(GROUP or VOLUME)
(N or Y)
(CYL or TRK)
(SYSTEM, LOCAL or NONE)
(SYSTEM, LOCAL or NONE)
F12=Cancel
C/T ID . .
COPY PACE
PROT MODE
ERROR LVL
FLOW CTL .
DIF UNIT .
TIMER TYPE
FORWARD
REVERSE
F1=Help
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
15
NORMAL
PROTECT
GROUP
Y
TRK
. . . SYSTEM
. . . SYSTEM
(2-digit Hexadecimal)
(NORMAL or SLOW)
(PROTECT or PERMIT)
(GROUP or VOLUME)
(N or Y)
(CYL or TRK)
(SYSTEM, LOCAL or NONE)
(SYSTEM, LOCAL or NONE)
F12=Cancel
1-76
(Decimal)
(GROUP or VOLUME)
(PROTECT or PERMIT)
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F12=Cancel
Command ===>
C/T ID (JNLG) . .
Sub C/T ID (JNLG)
Path ID . . . . .
MIRROR ID . . . .
ERROR LVL . . . .
PROT MODE . . . .
C/T TIME MODE . .
F1=Help
.
.
.
.
.
.
.
.
.
.
.
.
.
.
09
0B
00
1
GROUP
PROTECT
ASIS
(2-digit Hexadecimal)
(2-digit Hexadecimal)
(2-digit Hexadecimal)
(Decimal)
(GROUP or VOLUME)
(PROTECT or PERMIT)
(JOURNAL, VOLUME or ASIS)
F12=Cancel
The following table lists and describes the items in the Copy Group Attributes
panel. Note that if you change any of these items, the change does not take
effect until the next time you perform an operation on the copy pair after
reloading it by using the YKLOAD command. The following table shows when a
change made to the copy group attribute definition takes effect.
Caution: Because Business Continuity Manager cannot perform copy pair
operations if HS is specified for Linkage Option, changes you make to the
definitions of the items that require the YKMAKE or YKRESYNC command will
not be applied to the storage system settings.
Item
Linkage Option
Description
Displays the linkage option.
Copy type
When effective
TrueCopy
--#1
ShadowIm
age
TrueCopy
TrueCopy
Asynchron
ous
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-77
Item
Description
Copy type
When effective
Universal
Replicator
Universal
Replicator
Path ID
Universal
Replicator
MIRROR ID
Universal
Replicator
FENCE LVL
TrueCopy
When the
YKMAKE
command is
executed
When the
YKRESYNC
command is
executed
1-78
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
Copy type
When effective
ERROR LVL
TIMER
TYPE
FORWARD
REVERSE
TrueCopy
TrueCopy
Asynchron
ous
Universal
Replicator
When the
YKMAKE
command is
executed
When the
YKRESYNC
command with
the VOLUNIT
parameter or
DEVN parameter
specified is
executed
TrueCopy
Asynchronous
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-79
Item
FLOW CTL
Description
Specify the sidefile flow restriction
(required for TrueCopy Asynchronous).
Copy type
TrueCopy
Asynchronous
When effective
When the
YKMAKE
command is
executed
When the
YKRESYNC
command is
executed#7
USP
USP V
TrueCopy
TrueCopy
Asynchron
ous
Note:
Preset Mode
1-80
ShadowImage
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
COPY PACE
PROT MODE
ShadowIm
age
TrueCopy
TrueCopy
Asynchron
ous
ShadowIm
age
TrueCopy
TrueCopy
Asynchron
ous
Universal
Replicator
Universal
Replicator
TrueCopy
When the
YKMAKE
command is
executed
When the
YKRESYNC
command is
executed
TIMESTAMP
When effective
Copy type
When the
YKMAKE
command is
executed
When the
YKRESYNC
command is
executed
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-81
Item
Description
OPEN/MF
Copy type
When effective
TrueCopy
When the
YKMAKE
command is
executed
When the
YKRESYNC
command is
executed (with
OPENMFUPDATE
specified)
1-82
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Copy type
ShadowImage
Default value
COPY PACE=NORMAL
PROT MODE=PERMIT
TrueCopy
Linkage Option=NONE
FENCE LVL=NEVER
FREEZE SCP=Y
DIF UNIT=TRK
COPY PACE=NORMAL
PROT MODE=PROTECT
TIMESTAMP=N
OPEN/MF=N
TrueCopy
Asynchronous
ERROR LVL=GROUP
FLOW CTL=Y
DIF UNIT=TRK
COPY PACE=NORMAL
PROT MODE=PROTECT
Universal Replicator
Path ID=00
MIRROR ID=1
ERROR LVL=GROUP
PROT MODE=PROTECT
C/T TIME MODE=ASIS
If you define a new copy group in the Add Copy Group panel, and you then
return to the Copy Group Attributes panel and press the F12=Cancel key,
display returns to the Copy Group Detail Definition panel if the copy group is
a copy group container; and to the Copy Group Pair Detail panel if the copy
group is not a copy group container. If you have already defined a copy pair
during this process, a confirmation dialog (Confirm Cancellation of Editing
panel) is displayed for you to confirm cancellation of the changes. For details
about the Confirm Cancellation of Editing panel, see section Confirm
Cancellation of Editing panel on page 1-180.
If you change a definition in the Copy Group Attributes panel and then press
the F3=Exit key in the Copy Group Detail Definition panel (or in the Copy
Group Pair Detail panel), the Confirm Configuration File Update panel is
displayed. For details about the Confirm Configuration File Update panel, see
section Confirm Configuration File Update panel on page 1-183.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-83
Command ===>
C/T ID (JNLG) . . . .
Sub C/T ID (JNLG) . .
Path ID . . . . . . . 00
F1=Help
(2-digit Hexadecimal)
(2-digit Hexadecimal)
(2-digit Hexadecimal)
F12=Cancel
The following table lists and describes the items in the Setting C/T ID
Attributes panel:
Item
C/T ID (JNLG)
Specifiable
copy types
Description
If the copy type is ShadowImage, TrueCopy,
or TrueCopy Asynchronous, specify the
consistency group ID (required for TrueCopy
Asynchronous).
Specify a value between 00 and 7F (depending
on the storage system type).
ShadowIma
ge
TrueCopy
TrueCopy
Asynchrono
us
Universal
Replicator
Universal
Replicator
Universal
Replicator
1-84
If Use Container in the Add Copy Group panel is cleared, and the Enter
key is pressed
ISPF panels
Hitachi Business Continuity Manager Reference Guide
If the copy group for which e is specified for AC in the Copy Group
Selection List panel is not a copy group container
If the F5=Add key is pressed in the Copy Group Detail Definition panel
If you press the F5=Add key in the Copy Group Pair Detail panel, the Pair
Selection List (Primary) panel is displayed. If you press the F5=Second key
in the Pair Selection List (Primary) panel, the Pair Selection List (Secondary)
panel is displayed. From these panels, you can select the devices to pair in
order to define a copy pair.
If you press the F12=Cancel key while you are defining a new copy pair, and
the copy group is not a copy group container, display returns to the Copy
Group Selection List panel. If the copy group is a copy group container when
you press the F12=Cancel key, display returns to the Copy Group Detail
Definition panel. If you have already defined a copy pair during this process,
a confirmation dialog box (Confirm Cancellation of Editing panel) is displayed
for you to confirm cancellation of the changes. For details about the Confirm
Cancellation of Editing panel, see section Confirm Cancellation of Editing
panel on page 1-180.
When you press the F3=Exit key after making changes to the Copy Group
Detail Definition panel, the Confirm Configuration File Update panel appears.
For details about the Confirm Configuration File Update panel, see Confirm
Configuration File Update panel on page 1-183.
If you are making changes to a configuration file, but another user makes
changes to the same file and then saves those changes before you save your
changes, and the other user then updates the file, you will be notified before
you overwrite the changes. When you try to save your changes, the Confirm
Configuration File Update panel is displayed, followed by the Update Warning
panel. The panel asks you to confirm your update to the configuration file,
which will cause the other user's changes to be overwritten. For details about
the Update Warning panel, see Update Warning panel on page 1-13.
The following figure shows the Copy Group Pair Detail panel.
Copy Group Pair Detail
Command ===>
F3=Exit
F12=Cancel
F4=Attr
F5=Add
F6=Sort
F7=Backward
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-85
The following table lists and describes the items in the Copy Group Pair Detail
panel.
Item
Description
Copy Group ID
Copy group ID
Use Container
Description
AC
Specify an action.
Grp Num
VOLSER
Pri
Pri
Devn
SN
SSID
SSID
CU
CCA
Sec
Sec
+: An external volume
SN
SSID
SSID
CU
CCA
1-86
+: An external volume
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
CYL
N/A: Displayed if the capacity of the P-VOL or SVOL or the capacities of both the P-VOL and S-VOL
cannot be obtained
You can use the LOCATE and SORT commands in the Copy Group Pair Detail
panel. For details about how to use each command, see section Command
line commands on page 1-4.
Caution:
Even if you dissolve all of the copy pairs in a copy group, the copy group
itself is not deleted. To delete the copy group itself, the corresponding
copy group ID must be deleted from the Copy Group Selection List panel.
If there is a copy group with no copy pairs, the copy group operation
results in an error.
When an EXCTG attribute is defined, if you edit the copy pair definition in
this panel, the storage system information belonging to the copy group
might change. Therefore, check the definition of the EXCTG attribute in
the Copy Group Detail Definition panel.
If the copy group is not a copy group container, selecting Use Container
and pressing the Enter key returns the screen to the Copy Group Detail
Definition panel. By doing this, you can change the definition of the copy
group from not being a copy group container to being a copy group
container.
If the F5=Add key is pressed in the Copy Group Pair Detail panel, which
causes the Pair Selection List (Primary) panel to be displayed on top of
the Copy Group Pair Detail panel.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-87
In the Pair Selection List (Primary) panel, you specify the P-VOL of the copy
pair.
If you select Devn, enter the device range, and then press the Enter key, S
is displayed next to the AC of each device that falls within the range indicated
by the starting and ending devices. If you then press the Enter key with S
displayed next to AC, the devices become selected. A similar operation occurs
when you select Volser and specify the devices by volume name.
The following figure shows the Pair Selection List (Primary) panel.
Pair Selection List (Primary)
Command ===>
Row 1 to 5 of 1,119
Scroll ===> PAGE
F4=IprtSMS
F5=Second
F7=Backward
F8=Forward
The following table lists and describes the items in the Pair Selection List
(Primary) panel.
Item
1-88
Description
Devn#
Volser#
AC
Specify s for devices joined in copy pairs. Copy pairs are joined
in ascending order of device number.
Prompts
Volser
Devn
Device number
SN
SSID
SSID
CU
CCA
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
The rightmost digit indicates whether the command control
address is an external volume.
Cyls
+: External volume
#: The procedure to specify the range is the same as for specifying the
pattern parameter for the SELECT command. For details about how to specify
the pattern parameter for the SELECT command, see section Command line
commands on page 1-4.
If the number of P-VOL devices selected does not match the number of SVOL devices, this panel remains ready to accept device selections until the
number matches the number of S-VOL devices. Once the number of selected
devices matches the number of S-VOL devices, display transits to the Copy
Group Pair Detail panel.
You can use the SELECT command in the Pair Selection List panel. The
following table lists and describes the items in the Pair Selection List
(Primary) panel. For details about how to use the SELECT command, see
section Command line commands on page 1-4.
You can specify the following fields for a condition of the SELECT command:
Name of field
Value in field
Type
DEVN
Device number
Hexadecimal
VOLSER
Character string
If you omit the field name, DEVN will be set as a default value.
F4=SMSlist F12=Cancel
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-89
Item
Description
The SMS storage group is read when you press the Enter key after entering
an SMS storage group name in the SMS Storage Group Name column.
If the SMS storage group name contains 9 or more characters, specify the
SMS storage group name (within 8 characters) used by Business Continuity
Manager in the SMS Storage Group Name column, and the SMS storage
group name that is used for acquiring data from DFSMS Access Method
Service in the Complete SMS Storage Group Name column.
If an additional volume is found and the Pair Selection List (Primary) panel is
displayed for adding a copy pair, the volume serial number of the found
volume is displayed as a P-VOL candidate.
1-90
ISPF panels
Hitachi Business Continuity Manager Reference Guide
The following figure shows the Pair Selection List (Secondary) panel.
Pair Selection List (Secondary) Row 1 to 5 of 1,026
Scroll ===> PAGE
Command ===>
F5=Prim
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Pair Selection List
(Secondary) panel.
Item
Description
Devn#
Volser#
AC
Specify s for devices joined in copy pairs. Copy pairs are joined
in ascending order of device number.
Prompts
Displays *In Config once a copy pair is joined (once the paired
device has been determined).
Volser
Devn
Device number
SN
SSID
SSID
CU
CCA
Cyls
+: External volume
#: The procedure to specify the range is the same as specifying the pattern
parameter for the SELECT command. For details about how to specify the
pattern parameter for the SELECT command, see section Command line
commands on page 1-4.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-91
If the number of S-VOL devices selected does not match the number of PVOL devices, this panel remains ready to accept device selections until the
number matches the number of P-VOL devices. Once the number of selected
devices matches the number of P-VOL devices, display transits to the Copy
Group Pair Detail panel.
You can use the SELECT command in the Pair Selection List (Secondary)
panel. For details about how to use the SELECT command, see section
Command line commands on page 1-4.
You can specify the following fields for a condition of the SELECT command:
Name of field
Value in field
Type
DEVN
Device number
Hexadecimal
VOLSER
Character string
If you omit the field name, DEVN will be set as a default value.
F12=Cancel
In the Sort Copy Group Container panel, you can select the sorting order
from the following items.
Item
1-92
Sort order
1. C/T Group ID
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Sort order
7. Path Group ID
If you press the F3=Exit key when you change the copy type in the Copy
Group Detail Definition panel, or when the consistency group ID and sub
consistency group ID have been changed, the Confirm Configuration File
Update panel, (see Confirm Configuration File Update panel on page 1-183) is
displayed.
In the Sort the Copy Group Pairs List panel, you can select the sorting order
from the following items.
Item
Description
3. Secondary Device
Number
4. Cylinder
The order of the comparison results of the P-VOL and SVOL capacities. (The CYL value is in the following order:
P, S, N/A, and an empty string.)
For details about CYL, see Copy Group Pair Detail panel
on page 1-84 in Copy Group Selection List panel on page
1-66.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-93
and generating a copy group definition file. Execute the YKH2B command to
create a copy group definition file for a TrueCopy copy group with the
HyperSwap attribute from a PPRC copy pair for which HyperSwap is enabled.
For details about the YKH2B command, see YKH2B command on page 2-43.
The figure below shows the Scan Copy Pair Inside Storage System panel.
Command ===>
Name
MYTCS
MYTCA
NOCHECK
End:
(CHECK or NOCHECK)
F12=Cancel
The following table describes the items in the Scan Copy Pair Inside Storage
System panel.
Item
Device
Address
Domain,
Description
Primary
Secondary
Specify the Non Gen'ed device address domain ID of the SVOL for the PPRC ShadowImage copy pairs to be scanned
(required when the S-VOL of the ShadowImage copy pair is
a Non Gen'ed volume).#1
TC Copy Group ID
SI Copy Group ID
1-94
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
parameter (example: 00, 01, 02 ...). No initial value is
displayed.
Device Num
Specify the Start and End of the device number range for
scanning the P-VOL of the PPRC copy pair, using
hexadecimal numbers in ascending order (required).
Note: The device number range cannot be omitted. To scan
only a single volume, specify the same volume for Start and
End.
HS
#1: For details about the characters and maximum length that can be
specified, see Names of configuration files on page 3-2.
#2: You can specify up to six characters. Hyphens cannot be specified.
Pressing the Enter key starts the background job for scanning the P-VOL.
The volumes within the range specified in Device Num are scanned. If an
invalid character is specified, or if the value specified for Start is greater than
the value specified for End, an error message prompts you to re-enter the
values.
The values specified here are used during the execution of the background
job. JCL uses a value indicated in the Set Defaults panel (prefix and device
address domain ID settings) on page 1-23.
Before executing a scan, create a disk configuration definition file for the
search-target storage system in the Discover Hitachi Storage System panel.
When the background scanning job is completed, the configuration
information of the scanned copy pair is saved in the copy group definition file.
A name that conforms to the prefix value specified in Configuration File
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-95
Prefix on the Set Defaults panel, and the copy group name specified for TC
Copy Group ID, TCA Copy Group ID or SI Copy Group ID on this panel is
assigned to the file using the following format:
prefix.GRP.ggggggnn
Where:
gggggg: Copy group name
nn: 2-digit serial number beginning with 00
A copy group definition file is created as follows.
TrueCopy copy groups: A single copy group definition file is created for all
searched copy pairs.
To check the created copy group definition file, press the F4=Refresh key in
the Copy Group Selection List panel.
Caution: If a copy group definition file having the same name already exists,
it is overwritten. When executing scan operations repeatedly, we recommend
that you change the value specified for TC Copy Group ID, TCA Copy
Group ID, or SI Copy Group ID before each execution.
If you specify NOCHECK for HS, the search range must not include a TrueCopy
pair volume of PPRC for which HyperSwap is enabled, or the pair will be
defined as part of a TrueCopy copy group without the HyperSwap attribute.
Row 1 to 2 of 2
Scroll ===> PAGE
2008/03/11 18:43:30
1-96
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F1=Help
F3=Exit
F4=Attr
F7=Backward
F8=Forward
F12=Cancel
For an explanation of the items displayed in the Browse Copy Group Detail
Definition panel, see section Copy Group Detail Definition panel on page 1-70.
You can view the copy group attributes in the Browse Copy Group Detail
Definition panel, but you cannot edit them.
Command ===>
Row 1 to 1 of 1
Scroll ===> PAGE
2008/03/11 18:44:55
Copy Group ID : CG.UR
Description : UR COPY GROUP
Copy Group Type : UR
-----------------------------------------------------------------------------Grp VOLSER Pri: DADP-------------Sec: DADR-------------CYL
Num
Devn SN -- SSID CU CCA
Devn SN -- SSID CU CCA
1 BCM001 7300 14002 2340 00 006000 64050 6000 00 001 BCM002 7301 14002 2340 00 016001 64050 6000 00 011 BCM003 7302 14002 2340 00 026002 64050 6000 00 02******************************* Bottom of data ********************************
F1=Help
F12=Cancel
F3=Exit
F4=Attr
F6=Sort
F7=Backward
F8=Forward
For the items in the Browse Copy Group Pair Detail panel, see section Copy
Group Pair Detail panel on page 1-84.
In the Browse Copy Group Pair Detail panel, you can browse the details of
copy groups, but you cannot edit copy groups.
You can use the LOCATE and SORT commands in the Browse Copy Group Pair
Detail panel. For details about how to use each command, see section
Command line commands on page 1-4.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-97
The following figure shows the panel transitions from the Manage Route
panel.
Command ===>
Row 1 to 3 of 3
Scroll ===> PAGE
2008/02/29 10:10:08
F3=Exit
F5=Extra
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Manage Route panel.
Item
AC
Description
Specify an action.
Route List ID
Route list ID
1-98
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Command ===>
2008/03/11 19:49:51
Supported actions: q(Qrycmd), d(Delcmd)
Specify the following values to query/delete a command device
that is not defined in the route list:
Route List ID
AC
Status
F1=Help
. . . : R129
Serial
Number
F7=Backward
F8=Forward
Devn
F12=Cancel
The following table lists and describes the items displayed in the Extra
Command Device Direct Operation panel.
Item
Route List ID
Description
Route list ID selected in the Manage Route panel.
You can operate command devices on a device address
domain that includes command devices defined in the
displayed route list ID.
If you press the F5=Extra key without specifying a route list
ID in the Manage Route panel, the message *** Route List
is not selected *** is displayed.
AC
Specify an action.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-99
Item
Description
you cannot overwrite device address domain IDs that are
already displayed.
Serial Number
Devn
#: If the specified action has been aborted, the execution result (RC) is not
displayed correctly.
When you change or delete the route list, command devices defined in the list
can remain registered in the storage system. You can use this panel to
directly operate such devices by entering the appropriate device address
domain ID and storage system serial number to specify the storage system,
as well as the device number of the command device. The command devices
you can operate here are those for which a device number (Devn) is defined
in the disk configuration definition file.
Executing YKDELCMD
If you specify d in AC on the Extra Command Device Direct Operation panel,
the YKDELCMD command is executed to delete the command device
information registered in the storage system, and the Confirm Command
Device Delete panel (see section When displayed from the Extra Command
Device Direct Operation panel on page 1-181) is displayed.
Caution:
When using the Lightning 9900V series, take the target command device
offline before executing the YKDELCMD command.
For the following models, you can execute the YKDELCMD command
regardless of whether the target command device is online or offline:
- USP
- USP V
- VSP
- VSP G1000
For the Lightning 9900V series, you can only delete command devices
registered in storage systems that are directly connected to the host. You
cannot delete remote storage system command devices.
Take care not to delete command devices defined in the route list.
1-100
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F10=DADInfo key
Route Num
Displayed
F11=CCAInfo key
Displayed
Lst
Device Address Domain
ID
Not displayed
Label
Not displayed
APID
Displayed
Displayed
Serial Number
Devn
SSID
Not displayed
CU
CCA
Volser
The following figure shows the Route Status panel that is displayed when the
F10=DADInfo key is pressed.
Row 1 to 12 of 12
2011/07/08 13:04:48
Supported actions: q(Qrycmd), b(Bldcmd), d(Delcmd), f(Findcmd)
Route List ID . . . . . : LOS.NY.T
HOST ID . . : 00
-----------------------------------------------------------------------------Route
Serial
AC Status
Num
Lst Device Address Domain ID
APID Number Devn
1
1
LOS
0001 10037
0C81
1
1
LOS
0002 10037
0C82
1
1
LOS
0003 10037
0C83
1
2
NY
0001 53039
1181
1
2
NY
0002 53039
1182
1
2
NY
0003 53039
1183
******************************* Bottom of data ********************************
Command ===>
F1=Help
F3=Exit
F11=CCAInfo F12=Cancel
F5=Extra
F7=Backward
The following figure shows the Route Status panel when the F11=CCAInfo
key is pressed.
Row 1 to 12 of 12
2011/07/08 13:05:26
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-101
F5=Extra
F7=Backward
The following table lists and describes the items in the Route Status panel.
Item
Description
Route List ID
HOST ID
AC
Specify an action.
Route Num
1-102
Route number
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
Lst
Label
Route label
APID
APID#1
Serial Number
Devn
SSID
CU
CCA
Volser
Value in field
Type
DADID
Character string
LABEL
Route label
Character string
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-103
Name of field
Value in field
Type
APID
APID
Hexadecimal
number
SN
Character string
CU
Hexadecimal
number
CCA
DEVN
Device number
Hexadecimal
number
VOLSER
Character string
Caution: If the field name is omitted, either of the following fields is set as
the default:
Executing YKQRYDEV
When q is specified in the AC column in the Route Status panel, the YKQRYDEV
command is executed to display command device information. The Command
Device Status panel will be displayed. This panel will be also displayed when q
is specified in the AC column in the Command Device Selection List panel.
Command Device Status panel (when a command device is registered to a
storage system)
Command Device Status
Command ===>
2008/03/11 19:00:13
Storage System/Device Information
Model . . : USPV
uCODE : 600243FF
S/N . . . : 64051
SSID : 6800
HostStatus : OFFLINE
IFType : 2121
CU . . : 00
CCA : 00
F12=Cancel
1-104
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Command ===>
Row 1 to 1 of 1
Scroll ===> PAGE
2008/03/19 19:23:04
IFType : 2121
CU . . : 00
CCA : 24
F7=Backward
F8=Forward
F12=Cancel
Command ===>
2008/03/11 19:00:13
Storage System/Device Information
Model . . : USPV
uCODE : 600243FF
S/N . . . : 64051
SSID : 6800
HostStatus : OFFLINE
IFType : 2121
CU . . : 00
CCA : 00
F12=Cancel
The following table lists and describes the items in the Command Device
Status panel.
Item
Description
Model
uCODE
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-105
Item
Description
IFType
S/N
SSID
CU
CCA
APID
APID#1
HostStatus
SSID
CU
CCA
Dir
Copy direction
S-VOL
Status
SN
SSID
CU
CCA
1-106
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Caution:
Executing YKBLDCMD
When b is specified in the AC column in the Route Status panel, the YKBLDCMD
command is executed to register a command device to the storage system.
The Confirm Command Device Build panel (see section Confirm Command
Device Build panel on page 1-178) is displayed.
When registering a command device, perform the settings in order, starting
from the primary site and progressing towards the more distant site (in the
order in which they are defined in the route list).
If b is specified for multiple ACs in the Route Status panel, they will be
processed sequentially from the top of the list.
Even when b is specified for multiple ACs in the Route Status panel and is
specified not to display the Confirm Command Device Build panel, the
Confirm Command Device Build panel is displayed after an error and before
processing the next volume.
Caution:
After turning power on for the storage system, execute the YKBLDCMD
command only once. If you execute this command more than once, when
the command device has already been registered in the storage system,
the command device will not be registered. Before executing this
command, make sure that the target command device does not control
the storage system.
Take the target command device offline before executing the YKBLDCMD
command.
Executing YKDELCMD
When d is specified in the AC column in the Route Status panel, the YKDELCMD
command is executed to delete a command device which is registered to the
storage system. The Confirm Command Device Delete panel (see section
When displayed from the Route Status panel on page 1-180) is displayed.
To delete a command device, perform deletion in the reverse order of the
route list definition, starting from the most distant site where a command
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-107
device has been already registered, progressing towards the Primary site. For
details about how to delete a command device, see the Hitachi Business
Continuity Manager User Guide.
If you specify d for multiple fields in AC in the Route Status panel, processing
will be performed from bottom to top.
Even when d is specified in multiple ACs in the Route Status panel and is
specified not to display the Confirm Command Device Delete panel, the
Confirm Command Device Delete panel is displayed after an error and before
processing the next volume.
Caution:
If you are using the Lightning 9900V series, take the target command
device offline before executing the YKDELCMD command.
For the following models, you can execute the YKDELCMD command
regardless of whether the target command device is online or offline:
- USP
- USP V
- VSP
- VSP G1000
When the YKDELCMD command is executed, the copy pair created in the
storage system to which the target command device belongs will become
inoperable. Dissolve the copy pair before executing the YKDELCMD
command.
When the command device on the Primary site is shared between the
route of Primary to Local and the route of Primary to Remote in the 3DC
Multi-Target configuration route list, the command device on the Primary
site must be deleted at the end.
Row 1 to 3 of 3
Scroll ===> PAGE
2008/03/11 18:59:32
1-108
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F1=Help
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Command Device
Selection List panel.
Item
Description
Description
Model
USP: USP
USPV: USP V
VSP: VSP
uCode
Microcode information
IFType
Interface version
S/N
AC
Specify an action.
SSID
CU
CCA
Devn
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-109
#: If the specified action has been aborted, the execution result (RC) is not
displayed correctly.
When the route list definition has been modified or deleted, it sometimes
happens that command devices defined in the old route list remain registered
in the storage system. Such command devices can be accessed directly
through this panel.
Caution: Only devices registered in the disk configuration definition file are
displayed. Scan the target storage system to detect command devices and
register them in the disk configuration definition file in advance.
Command ===>
Row 1 to 2 of 2
Scroll ===> PAGE
2008/02/28 16:51:40
Supported actions: l(Load), b(Build), d(Delete), q(Query), c(Correct mismatch)
AC Path Set ID ------------------------ Status -----------------------------TCA6060
NOT LOADED
TESTPATH
NOT LOADED
******************************* Bottom of data ********************************
F1=Help
F12=Cancel
F3=Exit
F7=Backward
F8=Forward
F10=PrevInfo F11=NextInfo
Command ===>
Row 1 to 2 of 2
Scroll ===> PAGE
2008/02/28 16:51:40
Supported actions: l(Load), b(Build), d(Delete), q(Query), c(Correct mismatch)
AC Path Set ID ------------------------ Description -------------------TCA6060
PATH SET 1
TESTPATH
PATH SET 2
******************************* Bottom of data ********************************
F1=Help
F12=Cancel
F3=Exit
F7=Backward
F8=Forward
F10=PrevInfo F11=NextInfo
The following table lists and describes the items in the Manage Path Set
panel.
1-110
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
AC
Description
Specify an action.
Path set ID
Status
Description
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-111
Executing YKLOAD
When 1 is specified for the AC column in the Manage Path Set panel, the
YKLOAD command (for loading a path set) is executed. At this point, the LOAD
Option panel is displayed for specifying parameters for the YKLOAD command.
The following figure shows the LOAD Option panel when a path set is loaded.
LOAD Option
Command ===>
Specify load option:
Path Set ID : PATHTEST
Route List ID . .
Route Label . . .
F1=Help
F12=Cancel
The following table describes the items in the LOAD Option panel.
Item
Description
Path Set ID
Path set ID
Route List ID
Route Label
Specify the route label. Specify this item when you use a
command device line with the route label.
If a route label is specified, the information for the command
devices with the specified route label is loaded.
If * is specified, the information for all command devices is
loaded regardless of whether they have a route label.
If this item is omitted, the information about the command
devices with no route label is loaded.
For Route List ID displayed in the LOAD Option panel, specify the route list
ID of the route list to be loaded (no more than 8 alphanumeric characters).
Hyphens cannot be used.
Note that depending on the specifications for the Remote DKC Function
column and the Preset RouteListID column in the Set Defaults panel, the
LOAD Option panel might not be displayed.
Settings of the
Remote DKC
Function
1-112
Settings of the
Preset RouteListID
Specified
Not specified
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Settings of the
Remote DKC
Function
Settings of the
Preset RouteListID
Invalid
Executing YKDELPTH
If d is specified in the AC column in the Manage Path Set panel or Path Set
Status panel, the Confirm Path Delete panel (see section Confirm Path Delete
panel on page 1-185) is displayed to confirm the deletion.
Row 1 to 2 of 2
Scroll ===> PAGE
2008/02/28 16:55:33
Supported actions: s(Show detail), b(Build), d(Delete), q(Query)
Path Set ID
Description
. . . : TESTPATH
. . . : TEST PATH 1
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-113
F1=Help
F12=Cancel
F3=Exit
F4=Refresh
F6=Sort
F7=Backward
F8=Forward
The following table lists and describes the items in the Path Set Status panel.
Item
Description
Path Set ID
Path set ID
Description
AC
Specify an action.
Primary
Type of path
SN
ID
CU
SSID
Dir
Secondary
Primary SSID
Direction of the path
SN
ID
CU
1-114
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
SSID
Status
Description
Secondary SSID
Command execution results when b or d is specified for the AC column
MISMATCH: The physical paths in the path set definition file do not
match the hardware settings.
Row 1 to 1 of 1
Scroll ===> PAGE
2008/03/11 19:46:06
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-115
SSID
Information:
Primary Dir Secondary Status
11
->
11
MISMATCH
******************************* Bottom of data ********************************
F1=Help
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Logical Path Status
panel.
Item
Description
Path Set ID
Path set ID
Description
Type
Type of path
Primary
S/N
PathID
CU
Secondary
SSID
Primary SSID
S/N
PathID
CU
SSID
Secondary SSID
Information
Displays the number of physical paths defined for the storage system, if
the number of physical paths detected by the storage system is greater
than the number of paths defined in the path set definition file.
Primary
Dir
Secondary
Status
1-116
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
MISMATCH: The defined value and the value specified for the
hardware do not match.
Row 1 to 3 of 3
Scroll ===> PAGE
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-117
2008/03/04 11:59:48
Supported actions: l(Load), q(Query), m(Make), u(sUspend), r(Resync),
d(Dissolve), w(Watch), e(Ewait), c(reCover), v(query Verify), f(query Fast)
AC Copy Group ID -------------------TC
TCA
UR
******************************* Bottom
F1=Help
F3=Exit
F11=NextInfo F12=Cancel
F6=Sort
F8=Forward
F10=PrevInfo
Command ===>
Row 1 to 3 of 3
Scroll ===> PAGE
2008/03/04 11:59:48
Supported actions: l(Load), q(Query), m(Make), u(sUspend), r(Resync),
d(Dissolve), w(Watch), e(Ewait), c(reCover), v(query Verify), f(query Fast)
AC Copy Group ID -------------------TC
TCA
UR
******************************* Bottom
F1=Help
F3=Exit
F11=NextInfo F12=Cancel
F6=Sort
F8=Forward
F10=PrevInfo
The following table lists and describes the items in the Manage Copy Groups
panel.
Item
AC
1-118
Description
Specify an action.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
Copy Group ID
Copy group ID
Status
Description
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-119
#2: The following describes the differences between specifying q and f in AC:
When f is specified, the Universal Replicator copy pair status at the time
the ShadowImage copy pair is suspended is not checked for a
ShadowImage copy group for which a UR ATTIME suspend time has been
set.
#3: If you specify f for a True Copy copy group with a consistency group ID,
use a route list that includes the storage systems where the True Copy copy
group is defined. If f is specified and a route list is used that does not include
these storage systems, the counts displayed for each copy pair status on the
Copy Group Status Summary and Copy Group Storage System Summary
panels, and the copy pair statuses displayed on the Copy Group Pair Status
panel, will not be correct.
#4: xx is a return code from each command.
#5: The status is the status (DUPLEX, SUSPEND, SIMPLEX, SUSPVS, or HOLD) of
the monitored copy group.
The YKMAKE, YKSUSPND, YKRESYNC, YKDELETE, and YKRECVER commands
involve changing copy pair statuses. Status transition takes time, so be sure
to use the YKQUERY command to check that the transition is complete.
Caution: Status displays the execution result of the action specified for AC.
If you specify q for AC, the YKQUERY command is executed and the Copy
Group Status Summary panel is displayed. After you finish operations, such
as executing the YKMAKE command for each copy pair in the Copy Group Pair
Status panel, and then return to the Manage Copy Groups panel, Status
displays the execution result of the YKQUERY command.
You can use the LOCATE, SELECT, and SORT commands in the Manage Copy
Groups panel. For details about how to use each command, see section
Command line commands on page 1-4.
You can specify the following fields for a sort key of the SORT command:
Name of field
Sorted by
Direction
CGID
Copy group ID
Ascending
STATUS
Ascending
You can specify the following fields for a condition of the SELECT command:
1-120
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Name of field
Value in field
Type
CGID
Copy group ID
Character string
STATUS
Character string
If you omit the field name, CGID will be set as a default value.
F12=Cancel
In the Sort the Copy Groups panel, you can use the following items to select
how to sort:
Item
Sorted by
1 Copy Group ID
Copy group ID
2 Status
Executing YKLOAD
If l is specified in the AC column in the Manage Copy Groups panel, the
YKLOAD command on page 2-52 to load a copy group is executed and the
LOAD Option panel for specifying YKLOAD command parameters is displayed.
The following figure shows the LOAD Option panel for loading copy groups.
LOAD Option
Command ===>
Specify load option:
Copy Group ID : UR
Route List ID . .
Route Label . . .
F1=Help
F12=Cancel
The following table describes the items in the LOAD Option panel.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-121
Item
Description
Copy Group ID
Copy group ID
Route List ID
Route Label
Specify the route label. Specify this item when you use a
command device line with the route label.
If a route label is specified, the information for the command
devices with the specified route label is loaded.
If * is specified, the information for all command devices is
loaded regardless of whether they have a route label.
If this item is omitted, the information about the command
devices with no route label is loaded.
Settings of the
Preset RouteListID
Specified
Not specified
Invalid
1-122
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Figure 1-11 Panel transitions from the Copy Group Status Summary panel
#1: You can sort the items on this panel from the pop-up panel displayed by
pressing the F6=Sort key.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-123
#2: The F18=Exctg key is enabled for copy group containers with EXCTG
IDs.
The following figure shows the Copy Group Status Summary panel.
Copy Group Status Summary
Command ===>
2008/03/04 12:02:23
UR
COPY GROUP 1
SF
LA
Copy Progress
Current Time: 20080304 12:02:23
CTDelta(ASIS): 000 00:00:05
Approx. Matching %:
0%
Reversed Pairs %:
0%
Duplex:
Reverse Resync:
V-Split:
Invalid State:
F1=Help
0
0
0
0
|
|
|
|
F3=Exit
F4=Refresh
|
|
|
|
F5=Storage
Pending:
Suspend by CU:
Swapping:
0
0
0
F6=Pairs
The following table lists and describes the items in the Copy Group Status
Summary panel.
Item
Description
Copy Group ID
Copy group ID
Description
Current Time
Current time
CTDelta #1
Proxy C/T delta value for the entire copy group #2, #3
Approx. Matching %
1-124
Reversed Pairs %
Pair Status
Counts
Duplex
Simplex
Pending
Reverse
Resync
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
Suspend
Suspend by
CU
V-Split
In
Transition
Swapping
Invalid
State
No Delta
#1: For Universal Replicator copy groups, the following table shows what is
displayed for this item depending on the value specified for C/T TIME MODE
in the Copy Group Attribute (UR) panel.
Value specified for C/T TIME MODE
Displayed value
JOURNAL
CTDelta(JOURNAL)
VOLUME
CTDelta(VOLUME)
ASIS
CTDelta(ASIS)
#2: The following table shows the proxy C/T delta values that are displayed:
Condition
Displayed value
EXCTG
N/A
For details about C/T delta values, see the explanation of C/T delta in Copy
Group Pair Status panel on page 1-134.
#3: If you specify f for AC in the Manage Copy Groups panel, N/A is
displayed.
#4: Average of copy pair matching rates of all copy pairs in the
corresponding copy group. Even if the copy pair matching rate is displayed as
100%, confirm the status in Pair Status Counts because a copy pair in the
suspend status might be included.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-125
Row 1 to 1 of 1
Scroll ===> PAGE
2008/03/04 12:04:08
Current Time . . . . . . . . . : 20080304 12:04:05
Copy Group ID . . . . . . . . . : UR
Description . . . . . . . . . . : COPY GROUP 1
Primary Device Addr. Domain . . : SF
Secondary Device Addr. Domain . : LA
-----------------------------------------------------------------------------Pri - Sec - ------------------------- State Counts ------------------------SN
SN
Duplx Pend SusOp Swap VSplt RvRsc Smplx SusCu Trans Error NoDlt
64051 64051
0
0
0
0
0
0
3
0
0
0
0
******************************* Bottom of data ********************************
F1=Help
F3=Exit
F4=Refresh
F5=Stats
F7=Backward
F8=Forward
The following table lists and describes the items in the Copy Group Storage
System Summary panel.
Item
Current Time
Current time
Copy Group ID
Copy group ID
Description
Secondary Device
Addr. Domain
Pri-SN
Sec-SN
State
Counts
1-126
Description
Duplx
Pend
SusOp
Swap
VSplt
RvRsc
Smplx
SusCu
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
Trans
Error
NoDlt
Command ===>
Row 1 to 1 of 1
Scroll ===> PAGE
2012/03/26 10:56:11
Current Time . . . . . . . . . : 20120326 10:56:11
Copy Group ID . . . . . . . . . : TCA
Primary Device Addr. Domain . . : DADP
Secondary Device Addr. Domain . : DADR
-------------------------------------------------------------------------------- Pri %s ---- - Sec %s --- TIMERS --C/T Pri - Sec - SFT RSF RSF WPR RSF RSF WPR TRANS
OFLD RCUR CPND
ID
SN
SN
Tot C/T Tot Tot C/T Tot Kbytes/s min min min
0A
10037 10007
50
0
0
1
0 N/A
1
49
5
5
5
******************************* Bottom of data ********************************
F1=Help
F3=Exit
F4=Refresh
F6=Sort
F7=Backward
F8=Forward
The following table lists and describes the items in the TCA Copy Group
Performance Statistics panel.
Item
Description
Current Time
Current time
Copy Group ID
Copy group ID
C/T ID
Pri-SN
Sec-SN
Pri %s
SFT
RSF Tot
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-127
Item
Sec %s
Description
RSF C/T
WPR Tot
RSF Tot
RSF C/T
WPR Tot
TRANS Kbytes/s
TIMERS
OFLD min
Off-loading timer
RCUR min
CPND min
Caution:
For Pri-SN and Sec-SN, information acquired from the storage system is
displayed. If the copy direction is opposite to the direction specified in the
copy group definition file, the secondary and primary storage system
serial numbers in the copy group definition file are displayed for Pri-SN
and Sec-SN, respectively.
The columns where information is not acquired by storage system and the
columns for copy groups that contain a copy pair with a copy type that is
not TrueCopy Asynchronous might display N/A because the values for
those columns are not guaranteed.
If information cannot be acquired from Sec-SN, the RSF Tot, RSF C/T,
and WPR Tot columns in Sec %s display N/A.
If information cannot be acquired from Pri-SN, the SFT, RSF Tot, RSF
C/T, WPR Tot and TRANS Kbytes/s columns in Pri %s, and the OFLD
min and RCUR min columns in TIMERS, display N/A.
You can use the LOCATE and SORT commands in the TCA Copy Group
Performance Statistics panel. For details about how to use each command,
see section Command line commands on page 1-4.
You can specify the following fields for a sort key of the SORT command:
1-128
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Name of field
Sorted by
Direction
PRSFTOT
Ascending
PRSFCT
Ascending
PWPRTOT
Ascending
SRSFTOT
Ascending
SRSFCT
Ascending
SWPRTOT
Ascending
TRANS
Ascending
PSN
Ascending
SSN
Ascending
F12=Cancel
In the Sort TCA Copy Group Statistics panel, you can select the sorting order
from the following items.
Item
1. MCU Total Reserved Sidefile
Rate
Sort order
Descending order of the Pri-SN reserved sidefile
cache-usage rate
2. MCU Reserved Sidefile Rate for Descending order of the Pri-SN reserved sidefile
C/T Group
cache-usage rate for C/T
3. MCU Total Write Pending Rate
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-129
Item
Sort order
5. RCU Reserved Sidefile Rate for Descending order of the Sec-SN reserved sidefile
C/T Group
cache-usage rate for C/T
6. RCU Total Write Pending Rate
Command ===>
Row 1 to 1 of 1
Scroll ===> PAGE
2012/03/23 14:20:16
Current Time . . . . . . . . . : 20120323 14:20:16
Copy Group ID . . . . . . . . . : UR
Primary Device Addr. Domain . . : DADP
Secondary Device Addr. Domain . : DADR
-----------------------------------------------------------------------------Pri %s Sec %s - Pri GB - - Sec GB C/T ID Pri - Sec - --- Data Trans --- JNL-VOL JNL-VOL -- JNL-VOL -- JNL-VOL
sub SN
SN
Kbytes/s Pri Sec MET DAT MET DAT
DAT
DAT
0C 0C 10007 10037
49 OK
OK
0
0
0
0
3
3
******************************* Bottom of data ********************************
F1=Help
F3=Exit
F4=Refresh
F6=Sort
F7=Backward
F8=Forward
The following table lists and describes the items in the UR Copy Group
Performance Statistics panel.
Item
Description
Current Time
Current time
Copy Group ID
Copy group ID
1-130
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
C/T ID
sub C/T ID
Pri-SN
Sec-SN
Data Trans
Kbytes/s
Pri
Sec
Pri %s
Sec %s
JNL-VOL
JNL-VOL
MET
DAT
MET
DAT
Pri GB
JNL-VOL-DA
Sec GB
JNL-VOL-DA
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-131
Caution:
For Pri-SN and Sec-SN, information acquired from the storage system is
displayed. If the copy direction is opposite to the direction specified in the
copy group definition file, the secondary and primary storage system
serial numbers in the copy group definition file are displayed for Pri-SN
and Sec-SN, respectively.
The columns where information is not acquired by storage system and the
columns for copy groups that contain a copy pair whose copy type is not
Universal Replicator might display N/A because the values for those
columns are not guaranteed.
When you display the data transfer rate of Universal Replicator containing
a USP V, VSP, or VSP G1000 volume in this panel, the Usage monitor for
the control unit (to which the journal volume used by the copy group
definition file belongs) must be started from Storage Navigator, and have
the data capture interval set to 10 minutes or less.
The storage system serial number displays the value set in the
configuration file.
Information on the secondary site and the data transfer rate between the
primary storage system and the secondary storage system cannot be
obtained from the Delta Resync pair. Therefore, N/A is displayed for the
secondary site items, and the transfer rate between the primary storage
system and the secondary storage system.
You can use the LOCATE and SORT commands in the UR Copy Group
Performance Statistics panel. For details about how to use each command,
see section Command line commands on page 1-4.
You can specify the following fields for a sort key of the SORT command:
Name of field
1-132
Sorted by
Direction
CTID
Ascending
SUBCTID
Ascending
PSN
Ascending
SSN
Ascending
TRANS
Ascending
PJNLMETR
Ascending
SJNLMETR
Ascending
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Name of field
Sorted by
Direction
PJNLDATR
Ascending
SJNLDATR
Ascending
PJNLDATC
Capacity that can be used as journal data for PriSN (in GB)
Ascending
SJNLDATC
Capacity that can be used as journal data for SecSN (in GB)
Ascending
F12=Cancel
In the Sort UR Copy Group Statistics panel, you can select the sorting order
from the following items.
Item
Sort order
5. Transfer Rate(M-JNL->R-JNL
Kbytes/s)
In order of the data transfer rates between PriSN and Sec-SN (KB/s)
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-133
Item
Sort order
Command ===>
Row 1 to 3 of 3
Scroll ===> PAGE
2008/03/04 12:04:16
Supported actions: q(Qrydev), m(Make), u(sUspend), r(Resync), d(Dissolve),
c(reCover), p(query Path)
Copy Group ID . . : UR
Description . . . : COPY GROUP 1
Status Time . . . : 20080304 12:04:05
-----------------------------------------------------------------------------C/T ID
Match CT Delta
Pri E
Sec E AC Result
AC
sub State
Rate% DDD HH:MM:SS VOLSER Devn X Dir Devn X Action
RC
0E 0E SIMPLEX 000
731E - > 2A1E 0E 0E SIMPLEX 000
731D - > 2A1D 0E 0E SIMPLEX 000
731C - > 2A1C ******************************* Bottom of data ********************************
F1=Help
F3=Exit
F4=Refresh
F6=Sort
F7=Backward F8=Forward
The following table lists and describes the items in the Copy Group Pair
Status panel.
Item
Description
Copy Group ID
Copy group ID
Description
Status Time
AC
1-134
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
C/T ID
sub
State
Match Rate%
CT Delta
DDD HH:MM:SS
Pri Devn
EX
Displays the following information that indicates whether the PVOL is an external volume.
Dir
+: An external volume
Sec Devn
EX
Displays the following information that indicates whether the SVOL is an external volume.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-135
Item
AC Result
Description
+: An external volume
Action
Executed action
RC
#1: If you perform operations for a copy group belonging to a pair dissolved
on a copy pair basis, by the time the copy pair is remade, be sure to specify
the SELECT(COND) parameter.
#2: If the correct value could not be acquired from the primary site, 000 is
displayed.
#3: If f is specified in the Manage Copy Groups panel, N/A is displayed.
#4: If the specified action has been aborted, the execution result (RC) is not
displayed correctly.
You can use the LOCATE, SELECT, and SORT commands in the Copy Group Pair
Status panel. For details about how to use each command, see section
Command line commands on page 1-4.
You can specify the following fields for the sort key of the SORT command:
Name of field
Sorted by
Direction
STATE
Ascending
PDEVN
Ascending
VOLSER
Ascending
SDEVN
Ascending
CTID
Consistency group ID
Ascending
SUBCTID
Ascending
DIR or DIR(>)
--
DIR(<)
--
RC
Descending
PRIEX
--
SECEX
--
You can specify the following fields for a condition of the SELECT command:
1-136
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Name of field
Value in field
Type
STATE
Character string
PDEVN
Hexadecimal
VOLSER
Character string
SDEVN
Hexadecimal
CTID
Consistency group ID
Hexadecimal
SUBCTID
Hexadecimal
DIR
Character string
RC
Decimal
PRIEX
Character string
SECEX
Character string
If you omit the field name, PDEVN will be set as a default value.
Caution: When using the LOCATE command and the SELECT command, you
cannot specify a negative decimal value for RC field.
F12=Cancel
The following table lists and describes the items in the Sort the Copy Group
Pairs Status panel.
In the Sort the Copy Group Pairs Status panel, you can select the sorting
order from the following items.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-137
Item
Sort order
3. Primary Volume Serial Number The order of P-VOL volume serial number.
4. Secondary Device Number
5. C/T ID
6. sub C/T ID
7. Dir(>)
8. Dir(<)
9. AC Result
1-138
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Command ===>
Row 1 to 1 of 1
Scroll ===> PAGE
2012/03/27 16:13:37
Copy Group ID . . . . . . . . . : SI
Copy Type(in Configuration): SI
Copy Type(from Storage System) : SI
---------- Primary Volume ------------------ Secondary Volume --------SN
SSID CU CCA DEVN Status
Dir SN
SSID CU CCA DEVN Status
53039 000E 08 01 0002- DUPLEX (02)
> 53039 000E 08 02 0003- DUPLEX (02)
Suspend ATTIME (GMT)
: 20120327 07:32:42.000000 -WAITING
(LOCAL) : 20120327 16:32:42.000000
Preset Mode : UR(STEADY)
Status : N/A
C/T ID PROT MODE COPY PACE GENID
04
PERMIT
NORMAL
00
Other CopyPair Information
----- Primary/Secondary -------- Pair Volume ---Type C/T ID
SN
DEVN Status
Dir SN
SSID CU CCA DEVN
UR
1C 1C Pri 53039 0002- DUPLEX (02)
<
53038 000D 08 01 738E
******************************* Bottom of data ********************************
F1=Help
F3=Exit
F4=Refresh
F7=Backward
F8=Forward
The following table lists and describes the items in the Volume Query
Information (SI) panel.
Item
Description
Copy Group ID
Copy group ID
Primary Volume
SN
SSID
CU
CCA
DEVN
*: Online
-: Offline
Secondary Volume
SN
SSID
CU
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-139
Item
Description
CCA
DEVN
*: Online
-: Offline
Suspend ATTIME
Preset Mode
1-140
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
Status
C/T ID
consistency group ID
PROT MODE
COPY PACE
Pace of copying#3, #4
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-141
Item
Description
SLOW: Slows the speed of the copy operation so that the effect
of the copy operation on the I/O performance of the host is
minimal.
GEN ID
Generation ID
Other
Primary/
Type
CopyPair
Secondary
Informatio
n#1
Copy type
C/T ID
SN
DEVN
*: Online
-: Offline
SN
SSID
CU
CCA
DEVN
#1: It is displayed if P-VOL or S-VOL is shared with other copy pairs in the
definition (for example, in a 1:n ShadowImage copy pair configuration or
when S-VOL for TrueCopy Asynchronous is used as P-VOL for ShadowImage).
#2: MISMATCH might be displayed. This happens when the device information
during definition, as indicated by Primary Volume and Secondary Volume,
differs from the device information reported by the storage system. In this
case, the device information reported by the storage system is displayed in
the Pair Volume column. If MISMATCH is displayed, check the configuration
1-142
ISPF panels
Hitachi Business Continuity Manager Reference Guide
file used, as well as the actual storage system configuration information and
settings.
#3: The timing for when the defined values are reflected is as shown in
section Copy Group Attributes panel on page 1-74, in the table item labeled
When effective.
#4: It is not displayed when the YKQRYDEV command has been executed for
the Lightning 9900V series.
#5: For details about the status of the displayed copy pair, see the table (for
ShadowImage) that shows the copy pair statuses of volumes obtained by
using the YKQRYDEV command in the Hitachi Business Continuity Manager
User Guide. Note that when the device is a command device for one of the
following models, CDEV(apid) is displayed in the Status column (apid: APID):
USP
USP V
VSP
VSP G1000
#6: If the emulation type of the journal volume is OPEN, JOURNAL is not
displayed.
Caution: N/A displays in the Device Information (DEVN) field in the following
cases:
When displaying information about a Non Gen'ed volume, and the route
list has not been loaded or the target storage system is not included in
the route list
2012/03/23 16:30:24
Copy Group ID . . . . . . . . . : TC1
Copy Type(in Configuration): TC
Copy Type(from Storage System) : TC
---------- Primary Volume ------------------ Secondary Volume --------SN
SSID CU CCA DEVN Status
Dir SN
SSID CU CCA DEVN Status
10037 000A 07 0F 0002- PENDING (01) > 10007 000C 07 01 1301- PENDING (01)
C/T ID
0C
PROT MODE
PROTECT
COPY PACE
NORMAL
FENCE LVL
NEVER
Freeze SCP
Y
DIF UNIT
CYL
CONSLOST(P-S)
N-N
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-143
F3=Exit
F4=Refresh
F7=Backward
F8=Forward
The following table lists and describes the items in the Volume Query
Information (TC) panel.
Item
Description
Copy Group ID
Copy group ID
Primary Volume
SN
SSID
CU
CCA
DEVN
*: Online
-: Offline
Secondary Volume
SN
SSID
CU
CCA
DEVN
*: Online
-: Offline
1-144
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
JOURNAL is displayed for the journal volume.#6
C/T ID
Consistency group ID
PROT MODE#7
COPY PACE
FENCE LVL
Freeze SCP#7
Pace of copying#3, #4
SLOW: Slows the speed of the copy operation so that the effect
of the copy operation on the I/O performance of the host is
minimal.
Fence level#3
DIF UNIT
CONSLOST(P-S)
N: Normal status
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-145
Item
Description
Other
Primary/
Type
CopyPair
Secondary
Informatio
n#1
Copy type
C/T ID
SN
DEVN
*: Online
-: Offline
SN
SSID
CU
CCA
DEVN
#1: It is displayed if P-VOL or S-VOL is shared with other copy pairs in the
definition (for example, in a 1:n ShadowImage copy pair configuration or
when S-VOL for TrueCopy Asynchronous is used as P-VOL for ShadowImage).
#2: MISMATCH might be displayed. This happens when the device information
during definition, as indicated by Primary Volume and Secondary Volume,
differs from the device information reported by the storage system. In this
case, the device information reported by the storage system is displayed in
the Pair Volume column. If MISMATCH is displayed, check the configuration
1-146
ISPF panels
Hitachi Business Continuity Manager Reference Guide
file used, as well as the actual storage system configuration information and
settings.
#3: The timing for when the defined values are reflected is as shown in
section Copy Group Attributes panel on page 1-74, in the table item of When
effective.
#4: It is not displayed when the YKQRYDEV command has been executed for
the Lightning 9900V series.
#5: For details about the status of the displayed copy pair, see the table (for
TrueCopy/TrueCopy Asynchronous) that shows the copy pair statuses of
volumes obtained by using the YKQRYDEV command in the Hitachi Business
Continuity Manager User Guide. Note that when the device is a command
device for one of the following models, CDEV(apid) is displayed in the Status
column (apid: APID):
USP
USP V
VSP
VSP G1000
#6: If the emulation type of the journal volume is OPEN, JOURNAL is not
displayed.
#7: This value is invalid for TrueCopy copy pairs with the HyperSwap
attribute.
Caution: In the following cases, N/A is displayed for the device information.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-147
Command ===>
Row 1 to 1 of 1
Scroll ===> PAGE
2012/03/28 14:40:04
Copy Group ID . . . . . . . . . : TCA
Copy Type(in Configuration): TCA
Copy Type(from Storage System) : TCA
---------- Primary Volume ------------------ Secondary Volume --------SN
SSID CU CCA DEVN Status
Dir SN
SSID CU CCA DEVN Status
10037 000A 07 0F 140F- DUPLEX (02)
> 10007 000C 07 02 0002- DUPLEX (02)
Suspend ATTIME (GMT)
: 20120328 05:48:12.000000 -WAITING
(LOCAL) : 20120328 14:48:12.000000
Consistency Time (GMT) : 20120328 05:40:03.190322
(LOCAL) : 20120328 14:40:03.190322
C/T ID ERROR LVL TIMER TYPE PROT MODE COPY MODE FLOW CTL DIF UNIT GENID
0F
GROUP
SYSTEM
PROTECT
NORMAL
Y
CYL
00
Other CopyPair Information
----- Primary/Secondary -------- Pair Volume ---Type C/T ID
SN
DEVN Status
Dir SN
SSID CU CCA DEVN
SI
Pri 10037 140F- SUSPOP (04)
>
10037 000A 07 10 1410
******************************* Bottom of data ********************************
F1=Help
F3=Exit
F4=Refresh
F7=Backward
F8=Forward
The following table lists and describes the items in the Volume Query
Information (TCA) panel.
Item
Description
Copy Group ID
Copy group ID
Primary Volume
SN
SSID
CU
1-148
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
CCA
DEVN
*: Online
-: Offline
Secondary Volume
SN
SSID
CU
CCA
DEVN
*: Online
-: Offline
Suspend ATTIME
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-149
Item
Description
Consistency Time
Consistency time
Consistency group ID
ERROR LVL
Error level#3
TIMER TYPE
PROT MODE
COPY PACE
Pace of copying#3, #4
SLOW: Slows the speed of the copy operation so that the effect
of the copy operation on the I/O performance of the host is
minimal.
FLOW CTL
DIF UNIT
GEN ID
Generation ID
Other
Primary/
Type
CopyPair
Secondary
Informatio
n#1
1-150
Copy type
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
C/T ID
SN
DEVN
*: Online
-: Offline
SN
SSID
CU
CCA
DEVN
#1: It is displayed if P-VOL or S-VOL is shared with other copy pairs in the
definition (for example, in a 1:n ShadowImage copy pair configuration or
when S-VOL for TrueCopy Asynchronous is used as P-VOL for ShadowImage).
#2: MISMATCH might be displayed. This happens when the device information
during definition, as indicated by Primary Volume and Secondary Volume,
differs from the device information reported by the storage system. In this
case, the device information reported by the storage system is displayed in
the Pair Volume column. If MISMATCH is displayed, check the configuration
file used, as well as the actual storage system configuration information and
settings.
#3: The timing for when the defined values are reflected is as shown in
section Copy Group Attributes panel on page 1-74, in the item When
effective.
#4: It is not displayed when the YKQRYDEV command has been executed for
the Lightning 9900V series.
#5: For details about the status of the displayed copy pair, see the table (for
TrueCopy/TrueCopy Asynchronous) that shows the copy pair statuses of
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-151
USP
USP V
#6: If the emulation type of the journal volume is OPEN, JOURNAL is not
displayed.
Caution:
If the copy type in the definitions differs from the actual copy type, the
Volume Query Information panel for the actual copy type is displayed.
Command ===>
Row 1 to 1 of 1
Scroll ===> PAGE
2012/03/27 09:55:08
Copy Group ID . . . . . . . . . : UR
Copy Type(in Configuration): UR
Copy Type(from Storage System) : UR
---------- Primary Volume ------------------ Secondary Volume --------SN
SSID CU CCA DEVN Status
Dir SN
SSID CU CCA DEVN Status
10037 000A 07 0F 0002- DUPLEX (02)
> 10007 000C 07 01 1301- DUPLEX (02)
Consistency Time (GMT) : 20120327 00:55:06.190322
(LOCAL) : 20120327 09:55:06.190322
EXCTG ID (F,R):
3 ,
3 (in Configuration)
3 ,
3 (from Storage System)
EXCTG(F-R):active(1,1) - N/A(N/A,1)
C/T ID
ERROR LVL TIMER TYPE(F-R) PROT MODE Path ID
0C
0C
GROUP
SYSTEM - SYSTEM PROTECT
00
Other CopyPair Information
----- Primary/Secondary -------- Pair Volume ---Type C/T ID
SN
DEVN Status
Dir SN
SSID CU CCA DEVN
SI
Pri 10037 0002- SUSPOP (04)
>
10037 000A 07 10 0003
******************************* Bottom of data ********************************
F1=Help
F3=Exit
F4=Refresh
F7=Backward
F8=Forward
The following table lists and describes the items in the Volume Query
Information (UR) panel.
1-152
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
Copy Group ID
Copy group ID
Primary
Volume
SN
SSID
CU
CCA
DEVN
*: Online
-: Offline
Secondary SN
Volume
SSID
CU
CCA
DEVN
*: Online
-: Offline
Consistency Time
Consistency time
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-153
Item
Description
N/A is displayed for the Delta Resync pair, or when the consistency
time is invalid.
EXCTG ID
(F,R)
F, R (in
Configuration)
Defined EXCTG ID
EXCTG registration status, in both the forward (F) and reverse (R)
directions#7
C/T ID
ERROR LVL
Error level#3
TIMER TYPE(F-R)
Consistency group timer type in both the forward (F) and reverse
(R) directions
The timer type obtained from the storage system is displayed. N/A
is displayed when a reverse direction timer type cannot be
obtained.
PROT MODE
Path ID
Path group ID
Other
Primary/
Type
CopyPair
Secondary
Informatio
n#1
C/T ID
1-154
Copy type
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
SN
DEVN
*: Online
-: Offline
SN
SSID
CU
CCA
DEVN
#1: Displayed if P-VOL or S-VOL is shared with other copy pairs in the
definition (for example, in a 1:n ShadowImage copy pair configuration or
when S-VOL for TrueCopy Asynchronous is used as P-VOL for ShadowImage).
#2: MISMATCH might be displayed. This happens when the device information
at definition, as indicated by Primary Volume and Secondary Volume,
differs from the device information reported by the storage system. In this
case, the device information reported by the storage system is displayed in
the Pair Volume column. If MISMATCH is displayed, check the configuration
file used, as well as the actual storage system configuration information and
settings.
#3: The timing for when the defined values are reflected is as described in
section Copy Group Attributes panel on page 1-74, in the table item of When
effective.
#4: Not displayed when the command has been executed for the Lightning
9900V Series.
#5: For details about the status of the displayed copy pair, see the table (for
Universal Replicator) that shows the copy pair statuses of volumes obtained
by using the YKQRYDEV command in the Hitachi Business Continuity Manager
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-155
User Guide. Note that when the device is a command device for one of the
following models, CDEV(apid) is displayed in the Status column (apid: APID):
USP
USP V
VSP
VSP G1000
#6: If the emulation type of the journal volume is OPEN, JOURNAL is not
displayed.
#7: The following format shows the registration status of the restore journal
group of the Universal Replicator copy pair in EXCTG:
status1(flag1,flag2) - status2(flag3,flag4)
status1: Indicates whether the journal group of the copy destination
volume has been registered in a storage system as EXCTG when a copy is
being performed in the forward direction. The characters displayed in
status1 are determined according to the values for flag1 and flag2.
flag1: Indicates, by using a flag, whether the journal group of the copy
destination volume has been registered in a storage system as EXCTG
when a copy is being performed in the forward direction. This information
is held by the copy source volume.
flag2: Indicates, by using a flag, whether the journal group of the copy
destination volume has been registered in a storage system as EXCTG
when a copy is being performed in the forward direction. This information
is held by the copy destination volume.
1-156
ISPF panels
Hitachi Business Continuity Manager Reference Guide
flag3: Indicates, by using a flag, whether the journal group of the copy
destination volume is registered in a storage system as EXCTG when a
copy is being performed in the reverse direction. This information is held
by the copy source volume.
flag4: Indicates, by using a flag, whether the journal group of the copy
destination volume is registered in a storage system as EXCTG when a
copy is being performed in the reverse direction. This information is held
by the copy destination volume.
The meanings of the flags indicated above are shown in the following
diagram.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-157
N/A displays in the Device Information (DEVN) field in the following cases:
- When the YKQRYDEV command returns an error
- When displaying information about a device of a remote storage system
if the route list has not been loaded or the target storage system is not
included in the route list
Executing YKMAKE
If m is specified in the AC column in the Manage Copy Groups panel, the
YKMAKE command on page 2-56is executed.
1-158
ISPF panels
Hitachi Business Continuity Manager Reference Guide
The Make Options panel corresponding to the copy type is displayed for
specifying the YKMAKE command parameters.
The following figures show the Make Options panel.
SI Copy Group Make Options panel
Command ===>
F12=Cancel
Pair Selection:
1 1. All
2. Conditional
F12=Cancel
Pair Selection:
1 1. All
2. Conditional
F12=Cancel
The following table lists and describes the items in the Make Options panel.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-159
Item
Description
Copy Group ID
Copy group ID
Direction Option
Pair Selection
The SI Copy Group Make Options panel is displayed for the ShadowImage
copy type. The UR Copy Group Make Options panel is displayed for the
Universal Replicator copy type.
In the Make Options panel, if Y is specified in the Overwrite ONLINE target
volume and the F3=Exit key is pressed, the Confirm Overwrite ONLINE
Target Volume panel (see section Confirm Overwrite ONLINE Target Volume
panel on page 1-184) is displayed.
Executing YKSUSPND
If u is specified in the AC column in the Manage Copy Groups or Copy Group
Pair Status panel, the YKSUSPND command on page 2-90 to suspend a copy
pair is executed, and the Suspension Options panel for specifying YKSUSPND
command parameters is displayed.
The following figure shows the Suspension Options panel.
1-160
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Pair Selection:
1 1. All
2. Conditional
. . . . N
F12=Cancel
Pair Selection:
1 1. All
2. Conditional
2008/03/19
21:43:28
0
0
0
1 1. LOCAL
2. GMT
Suspend Option:
1 1. Steady
2. Quick
3. Preset
4. Cancel Preset
Preset Mode . . 1
Generation ID
VolUnit
00
1. Normal
2. UR(Steady)
3. UR(Quick)
. . . . . N
F12=Cancel
Pair Selection:
1 1. All
2. Conditional
. . . . N
F12=Cancel
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-161
Command ===>
F1=Help
Pair Selection:
1 1. All
2. Conditional
2008/03/19
21:42:49
0
0
1 1. LOCAL
2. GMT
Suspend Option:
1 1. Drain
2. Purge
3. Preset
4. Cancel Preset
5. Forward
6. Reverse
7. Flush
Generation ID
VolUnit
. . 00
. . . . . N
F12=Cancel
Command ===>
Suspend Option:
1 1. Flush
2. Purge
3. Forward
4. Reverse
F1=Help
Pair Selection:
1 1. All
2. Conditional
VolUnit
. . . N
F12=Cancel
Command ===>
Secondary Volumes
R/W:
1 1. Protect
2. Permit
Pair Selection:
1 1. All
2. Conditional
F12=Cancel
The following table lists and describes the items in the Suspension Options
panel.
Item
Copy Group ID
1-162
Description
Copy group ID
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
Suspend Option
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-163
Item
Plus Seconds SS
Description
Before the ATTIME parameter is specified, the current date and
time are displayed in Preset Date and Preset Time,
respectively.
Scheduled suspend time is determined by Preset Date, and
Preset Time by adding Plus Minutes and Plus Seconds. An
ATTIME suspend time more than 65,536 minutes after the
execution of command cannot be specified. If the UR ATTIME
Suspend Function is not used, this cannot be specified for a
remote storage system.
To check the specified time in another way, see the ISPF log.
Format of the ATTIME suspend time is as follows:
LOCAL or GMT
Preset Mode
1-164
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Item
Description
Generation ID
VolUnit
Executing YKRESYNC
If r is specified in the AC column in the Manage Copy Groups or Copy Group
Pair Status panel, the YKRESYNC command on page 2-75 to resynchronize a
copy pair is executed. An appropriate Resync Options panel is displayed to
specify parameters for the YKRESYNC command depending on the copy type.
The following figures show the Resync Options panel.
SI Copy Group Resync Options panel
Command ===>
Pair Selection:
1 1. All
2. Conditional
Copy Mode:
1 1. QUICK
2. NORMAL
VolUnit . . . . . . . . . . . . . N
Overwrite ONLINE target volume . . N
F1=Help
F12=Cancel
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-165
Pair Selection:
1 1. All
2. Conditional
VolUnit . . . . . . . . . . . . . N
Overwrite ONLINE target volume . . N
Update Open/MF . . . . . . . . . . N
F1=Help
F12=Cancel
Pair Selection:
1 1. All
2. Conditional
Resync Mode:
1. Delta-Journal
2. All-Journal
3. Delta-Recover
4. Delta-Journal(ERRCHK)
5. All-Journal(ERRCHK)
VolUnit . . . . . . . . . . . . . N
Overwrite ONLINE target volume . . N
F1=Help
F12=Cancel
UR Copy Group Resync Options panel displayed from the Copy Group
Pair Status panel
Command ===>
Pair Selection:
1 1. All
2. Conditional
1-166
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F1=Help
F12=Cancel
Description
Copy Group ID
Copy group ID
Direction Option
Pair Selection
Copy Mode
Specify the option for the copy mode by using the number.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-167
Item
Description
Update Open/MF
N: Does not make or resynchronize the copy pair if the SVOL is online.
1-168
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Target Volume panel is displayed. For details about the Confirm Overwrite
ONLINE Target Volume panel, see Confirm Overwrite ONLINE Target Volume
panel on page 1-184.
Caution: Remember the following while performing copy operations:
Executing YKDELETE
If d is specified in the AC column in the Manage Copy Groups panel, the
YKDELETE command on page 2-20 to dissolve a copy pair is executed. In
this case, the Confirm Execution Dissolve panel prompts you to confirm
whether to dissolve the copy pair. For details about the Confirm Execution
Dissolve panel, see section Confirm Execution Dissolve panel on page 1-177.
Caution: Do not execute the YKDELETE command during planned outage
operation (when switching the P-VOL and S-VOL). To dissolve the copy pair,
switch the P-VOL and S-VOL again, return the P-VOL to the Primary site
(restore normal operation), and then dissolve the copy pair.
Executing YKWATCH
If w is specified in the AC column in the Manage Copy Groups panel, the
YKWATCH command on page 2-101to monitor the volume status transition
will be executed and the Watch Options panel for specifying parameters of
the YKWATCH command is displayed. The value is used as a background job
for submitting. JCL uses a value indicated in the Set Defaults panel.
The following figure shows the Watch Options panel.
Command ===>
Watch Options
. . . 1
1.
2.
3.
Duplex
Suspend
Simplex
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-169
Timeout Hours . . . . . . 0
Timeout Minutes . . . . . 30
SEND Option
F1=Help
. . . . . . . USER(*)
F12=Cancel
The following table lists and describes the items in the Watch Options panel.
Item
Description
Copy Group ID
Copy group ID
Watch transition to
Timeout Hours#
Timeout Minutes#
SEND Option
Executing YKEWAIT
If e is specified in the AC column in the Manage Copy Groups panel, the
Function on page 2-33will be executed and the Wait Options panel for
specifying the parameters of the YKEWAIT command is displayed.
The following figures show the Wait Options panel.
Wait Options panel (for ShadowImage, TrueCopy, or TrueCopy
Asynchronous)
1-170
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Wait Options
Command ===>
Options for Wait:
Copy Group ID : SI
Wait transition to . . . . 1
VolUnit
1.
2.
3.
4.
Duplex
Suspend
Simplex
SuspVS
. . . . . . . . . N
Timeout Minutes
. . . . . 5
NOINVALIDCHECK . . . . . . N
F1=Help
F12=Cancel
VolUnit
1.
2.
3.
4.
5.
Duplex
Suspend
Simplex
SuspVS
Hold
. . . . . . . . . N
Timeout Minutes
. . . . . 5
NOINVALIDCHECK . . . . . . N
F1=Help
F12=Cancel
The following table lists and describes the items in the Wait Options panel.
Item
Description
Copy Group ID
Copy group ID
Wait transition to
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-171
Item
Description
VolUnit
Timeout Minutes
NOINVALIDCHECK
Executing YKRECVER
When specifying c in the AC column in the Manage Copy Groups panel, the
YKRECVER command on page 2-72 to dissolve a copy pair from the
Secondary site is executed. In this case, the Confirm Execution Recover panel
prompts you to confirm whether to dissolve the copy pair.
For details about the Confirm Execution Recover panel, see section Confirm
Execution Recover panel on page 1-177.
Path Set Status of Copy Group Pair panel (YKQRYDEV execution with
the PATH parameter specified)
When p is specified for the AC column in the Copy Group Pair Status panel,
the YKQRYDEV command on page 2-62 is executed with the PATH parameter
specified (obtaining the logical path information used by the copy pair), and
then the Path Set Status of Copy Group Pair panel is displayed.
The following figure shows the Path Set Status of Copy Group Pair panel.
Command ===>
1-172
Row 1 to 1 of 1
Scroll ===> PAGE
2008/03/11 20:34:04
. . : UR
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F3=Exit
F4=Refresh
F6=Sort
F7=Backward
F8=Forward
The following table lists and describes the items in the Path Set Status of
Copy Group Pair panel.
Item
Description
Copy Group ID
Copy group ID
AC
Specify an action.
Type
Path type
Primary
SN
ID
CU
SSID
Primary SSID
Dir
Path direction
Secondary
SN
ID
Status
CU
SSID
Secondary SSID
Status of the logical path used by the copy pair
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-173
The path information displayed in the Path Set Status of Copy Group Pair
panel differs depending on the copy type.
When the copy type is Universal Replicator, path information for the
bidirectional inter-disk controller logical path or path information for all
paths for which a path group ID is specified is displayed.
The execution result of the YKQRYDEV command with the PATH parameter
specified is displayed in the RC column in the Copy Group Pair Status panel.
The following table lists and describes the return codes displayed in the Copy
Group Pair Status panel.
Return code
Meaning
Successful completion.
00
04
In the Path Set Status of Copy Group Pair panel, you can use the SORT
command. For details about how to use the SORT command, see section
Command line commands on page 1-4.
Pressing the F6=Sort key in the Path Set Status of Copy Group Pair panel
displays the Sort Logical Paths in the Path Set panel that sorts the logical
paths in the path set. For details about the Sort Logical Paths in the Path Set
panel, see section Sort Logical Paths in the Path Set panel on page 1-65.
1-174
ISPF panels
Hitachi Business Continuity Manager Reference Guide
The following figure shows the Logical Path Status of Copy Group Pair panel.
Logical Path Status of Copy Group Pair
Command ===>
Row 1 to 1 of 1
Scroll ===> PAGE
2008/03/11 20:33:19
Copy Group ID . . : UR
Type . . . . . . . : DKC
S/N
PathID
Primary . : 14002
00
Secondary : 64050
CU
SSID
F3=Exit
F7=Backward
F8=Forward
F12=Cancel
The following table lists and describes the items in the Logical Path Status of
Copy Group Pair panel.
Item
Description
Copy Group ID
Copy group ID
Type
Path type
Primary
S/N
PathID
CU
SSID
Primary SSID
Secondary S/N
PathID
CU
SSID
Secondary SSID
Primary
Dir
Path direction
Secondary
Status
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-175
Item
Description
Command ===>
Copy Group ID . . . .
Description . . . . .
EXCTG Consistency Time
EXCTG Consistency Time
EXCTG CTDelta . . . .
F1=Help
. . . .
. . . .
(GMT) .
(LOCAL)
. . . .
F3=Exit
.
.
.
.
.
.
.
.
.
.
:
:
:
:
:
2012/02/29 15:55:09
UR4X4
UR 4X4 CONFIGURATION
20120229 06:55:07.123456
20120229 15:55:07.123456
000 00:00:02
F4=Refresh
Description
Copy Group ID
Copy group ID
Description
EXCTG Consistency
Time (GMT)
EXCTG Consistency
Time (LOCAL)
EXCTG CTDelta
1-176
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Confirmation panels
This section explains panels that are displayed to check the execution of each
operation.
Command ===>
Confirm that you want to execute the requested copy group operation.
Are you sure you want to dissolve the copy pairs?
Copy Group ID: TC0001
Yes, dissolve the copy pairs
Do not ask for confirmation again
Instructions:
Press ENTER key to dissolve the copy pairs.
Press CANCEL to cancel this operation.
F1=Help
F12=Cancel
The following table lists and describes the items in the Confirm Execution
Dissolve panel.
Item
Description
Specifying / for Yes, dissolve the copy pairs and then pressing the Enter
key dissolves the copy pair. Pressing the F12=Cancel key cancels the
dissolving of the copy pair.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-177
Command ===>
Confirm that you want to execute the requested copy group operation.
Are you sure you want to dissolve the copy pairs from the secondary site?
Copy Group ID: TC0001
Yes, dissolve the copy pairs from the secondary site
Do not ask for confirmation again
Instructions:
Press ENTER key to dissolve the copy pairs from the secondary site.
Press CANCEL to cancel this operation.
F1=Help
F12=Cancel
The following table lists and describes the items in the Confirm Execution
Recover panel.
Item
Description
Specifying / for Yes, dissolve the copy pairs from the secondary site
and then pressing the Enter key dissolves the copy pair. Pressing the
F12=Cancel key cancels the dissolving of the copy pair.
Command ===>
1-178
ISPF panels
Hitachi Business Continuity Manager Reference Guide
14002
Set command device build confirmation off
Press ENTER to build.
Press CANCEL cancel build.
F1=Help
F12=Cancel
The following table lists and describes the items in the Confirm Command
Device Build panel.
Item
Description
Route List ID
Route list ID
APID
APID
Serial number
Pressing the Enter key registers the command device in the storage system.
Pressing the F12=Cancel key cancels the registration of the command
device.
F12=Cancel
Pressing the Enter key cancels the update of the configuration file. Pressing
the F12=Cancel key continues processing while keeping the update of the
configuration file.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-179
Command ===>
F12=Cancel
Pressing the Enter key cancels the update of the copy group definition file or
path set definition file. Pressing the F12=Cancel key continues processing
while keeping the update of the copy group definition file or path set
definition file.
1-180
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F1=Help
F12=Cancel
The following table lists and describes the items in the Confirm Command
Device Delete panel displayed from Route Status panel.
Item
Description
Route List ID
Route list ID
APID
APID
Serial number
Pressing the Enter key deletes the command device registered in the storage
system. Pressing the F12=Cancel key cancels the deletion of the command
device.
When displayed from the Extra Command Device Direct Operation panel
In the Extra Command Device Direct Operation panel, if you specify d for AC,
the Confirm Command Device Delete panel appears to confirm that it is OK to
delete a command device registered in the storage system.
The following figure shows the Confirm Command Device Delete panel.
Confirm Command Device Delete
Command ===>
IFType : 2121
CU . . : 00
CCA : 1A
F12=Cancel
The following table lists the items displayed in the Confirm Command Device
Delete panel displayed from Extra Command Device Direct Operation panel.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-181
Item
Description
DEVN
DADID
Model
uCODE
IFType
S/N
SSID
CU
CCA
APID
Pressing the Enter key deletes the command device registered in the storage
system. Pressing the F12=Cancel key cancels the deletion of the command
device.
1-182
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F1=Help
F12=Cancel
Specifying / for Yes, delete the file and then pressing the Enter key
deletes the configuration file. Pressing the F12=Cancel key cancels the
deletion of the configuration file.
Command ===>
F12=Cancel
When a copy group definition file you are attempting to refresh contains a
copy pair whose P-VOL and S-VOL are different capacities, or the file
contains a copy pair for which the capacity of the P-VOL or S-VOL was not
acquired:
The applicable status or recommended items are displayed as Warning.
Warning is not displayed when all of the following conditions are satisfied:
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-183
The capacities of the P-VOLs and S-VOLs for each copy pair are the same.
If you have updated the copy group definition file, the disk configuration
definition file, the route list definition file, or the path set definition file,
pressing the Enter key updates the file, and pressing the F12=Cancel key
displays the previous panel.
When you execute c in the Manage Path Set panel, pressing the Enter key
updates the file, and pressing the F12=Cancel key cancels the updating of
the file. However, after an error occurred during an update of the
configuration file, if you press the F12=Cancel key, the Cancellation Warning
panel on page 1-12 is displayed.
When you moved to the Add Copy Group panel by pressing the F5=Add key
in the Copy Group Selection List panel, if you press the F12=Cancel key in
the Confirm Configuration File Update panel, the display returns to the Copy
Group Selection List panel.
Command ===>
F12=Cancel
Pressing the Enter key loads the copy group. Pressing the F12=Cancel key
cancels the loading of the copy group.
1-184
ISPF panels
Hitachi Business Continuity Manager Reference Guide
F7=Backward
F8=Forward
F12=Cancel
This panel provides a warning that the contents of the online target volume
(S-VOL) will be overwritten when the YKMAKE or YKRESYNC command is
executed.
Specifying / for Yes, perform this operation and pressing the Enter key
overwrites the contents of the online target volume (S-VOL). Pressing the
F12=Cancel key cancels the overwriting of the contents of the online target
volume (S-VOL).
Command ===>
Path Set ID : PATH
F12=Cancel
The following table lists and describes the items in the Confirm Path Delete
panel.
Item
Path Set ID
Description
Path set ID
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-185
Item
Delete Option
Description
Specify whether to set the FORCE parameter when executing
the YKDELPTH command by using the number.
Pressing the Enter key deletes the logical path in accordance with the
specified value in Delete Option. Pressing the F12=Cancel key cancels the
deletion of the logical path.
Command ===>
F12=Cancel
Pressing the Enter key loads the path set. Pressing the F12=Cancel key
cancels the loading of the path set.
You are attempting to delete a route. If you continue, all of the route
entries in the specified row will be deleted. Before deleting the
route, confirm that the command devices defined in this configuration
are not in the storage system.
Confirm the deleting of the route
F1=Help
1-186
F12=Cancel
ISPF panels
Hitachi Business Continuity Manager Reference Guide
Pressing the Enter key deletes the selected route, and then returns you to
the Route List Information panel. Pressing the F12=Cancel key returns to
the Route List Information panel without deleting the selected route.
Command ===>
F12=Cancel
Pressing the Enter key changes the route list definition. Pressing the
F12=Cancel key cancels the changes to the route list definition.
If Y is specified and the Enter key is pressed, the route list definition is
changed. If N is specified and the Enter key is pressed, the route list
definition is not changed. N is displayed from the beginning.
ISPF panels
Hitachi Business Continuity Manager Reference Guide
1-187
F1=Help
F12=Cancel
Pressing the Enter key creates the configuration file again. Pressing the
F12=Cancel key displays the Cancellation Warning panel on page 1-12.
The following table lists and describes the items in the Confirm Open/MF
Consistency Group Suspension panel.
Item
Description
Specifying / for Yes, suspend this group and then pressing the Enter key
executes suspension. Pressing the F12=Cancel key cancels suspension.
1-188
ISPF panels
Hitachi Business Continuity Manager Reference Guide
2
CLI commands
This chapter describes the functions of the commands available in the
command line interface for Business Continuity Manager.
Copy types and targets for which commands can be executed
List of functions
Configuration files that must be loaded before command execution
Command details
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-1
TrueCopy with the HyperSwap attribute: When the copy type is TrueCopy
with the HyperSwap attribute, the command is executable.
The (SI) ShadowImage, (TC) TrueCopy, (TCA) TrueCopy with the HyperSwap
attribute, TrueCopy Asynchronous, and (UR) Universal Replicator
abbreviations following a parameter name indicate the copy types for which
that parameter is effective, independent of the copy type for which the
command executes. Commands without ShadowImage, TrueCopy, TrueCopy
with the HyperSwap attribute, TrueCopy Asynchronous, or Universal
Replicator abbreviations listed after them can be executed on any copy type.
If any one of the parameters in a command is not specified with the correct
syntax, the parameter might be handled as a parameter that is similar to the
incorrect specification. To prevent incorrect operation, make sure that you
use the correct syntax when specifying parameters.
List of functions
The following table shows the correspondence between the functions
supported by Business Continuity Manager and its commands. Commands are
listed in alphabetical order.
Some CLI commands initialize the REXX variable structure. For information
about the REXX variable structure, see section About REXX variable
structures on page 3-24.
2-2
CLI commands
Hitachi Business Continuity Manager Reference Guide
Function
YKBLDCMD
YKBLDPTH
YKCONMSG
Monitors copy status display messages that are output to the MVS console.
YKDELCMD
YKDELETE
Dissolves a copy pair from a P-VOL and changes the volume status to the
SIMPLEX status.
YKDELPTH
Deletes all or some of the inter-disk controller or inter-control unit logical paths
included in the path set information loaded by the YKLOAD command.
YKDROP#3
Drops a REXX variable structure that has been loaded from a script by using the
YKLOAD command and then expanded.
YKENV
YKERCODE
Displays storage system sense byte information (error codes) on the TSO/E
terminal.
YKEWAIT
Monitors the copy pair status transition and waits for a certain specified status.
YKEXPORT
YKFCSTAT
YKFREEZE
Freezes the specified copy group, changes it to the SCP status, and then
suspends update I/O for the P-VOL.
YKH2B
Scans the active PPRC copy pairs and automatically generates a copy group
definition file for a TrueCopy copy group with the HyperSwap attribute.
YKIMPORT
YKINSCHK
Checks to verify that all installation and setup tasks have been completed.
YKLOAD#1
Reads values from the configuration file defined in the ISPF panel and converts
them to REXX variables that are valid on the target host.
YKMAKE
Makes a copy pair by full copy and changes the volume status to the DUPLEX
status.
YKQEXCTG
YKQHPATH
Displays the I/O path status between the host and the storage system.
YKQRYDEV
YKQRYPTH
Acquires the status of the physical paths allocated to all or some of the interdisk controller or inter-control unit logical paths included in the path set
information loaded by the YKLOAD command.
YKQUERY
YKRECVER
Dissolves a copy pair from an S-VOL and changes the volume status to the
SIMPLEX status.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-3
Command
Function
YKRESYNC
Resynchronizes a copy pair by differential copy and changes the volume status
to the DUPLEX status.
YKRUN
Cancels the SCP status for the specified copy group and makes the update I/O
for P-VOL enabled.
YKSCAN
Scans the entire range of device numbers and generates the REXX variables for
all volumes found.
YKSLEEP
YKSTATS
YKSTORE#1
Converts the REXX variables that are valid on the target host and writes the
converted values to the configuration file defined in the ISPF panel.
YKSUSPND
Suspends a copy pair and changes the volume status to the SUSPOP status.
YKWATCH#2
Monitors the copy pair status transition and waits for a previously specified
status.
YKWTOMSG#3
#1
The YKLOAD and YKSTORE commands are REXX subroutines.
#2
The YKWATCH command is a REXX script.
#3
The YKWTOMSG and YKDROP commands are REXX functions.
The copy type is ShadowImage, and the host recognizes the S-VOL.
2-4
The copy type is Universal Replicator, and the host does not recognize the
P-VOL (remote storage system) or the S-VOL (Non Gen'ed volume).
CLI commands
Hitachi Business Continuity Manager Reference Guide
The copy type is ShadowImage, and the host does not recognize the PVOL (Non Gen'ed volume) but recognizes the S-VOL.
Copy group
definition file
Path set
definition file
YKBLDCMD
--
--
YKBLDPTH
--
D#1
YKCONMSG
--
--
--
YKDELCMD
--
--
YKDELETE
D#2
--
YKDELPTH
--
D#1
YKDROP
--
--
--
YKENV
--
--
--
YKERCODE
--
--
--
YKEWAIT
D#2, #3, #4
--
YKEXPORT
--
--
--
YKFCSTAT
--
--
--
YKFREEZE
--
YKH2B
--
--
--
YKIMPORT
--
--
--
YKINSCHK
--
--
--
YKMAKE
D#2, #4
--
YKQEXCTG
--
YKQHPATH
--
--
--
YKQRYDEV
--
D#3
--
YKQRYPTH
--
D#1
YKQUERY
D#3, #4
--
YKRECVER
--
YKRESYNC
D#2, #5
--
YKRUN
--
YKSCAN
--
--
--
YKSLEEP
--
--
--
YKSTATS
D#3
--
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-5
Copy group
definition file
Path set
definition file
YKSUSPND
D#2, #5
--
YKWATCH
--
--
--
YKWTOMSG
--
--
--
Legend:
Y: You need to load the configuration file.
D: Whether you need to load the configuration file depends on the
situation.
--: You do not need to load the configuration file.
#1
You need to load the configuration file when operating a reverse-direction
path.
#2
When using the TrueCopy consistency preservation function (when
operating a TrueCopy copy group with a consistency group ID specified),
you do not need to load the configuration file before executing the YKMAKE
command. However, you need to load the configuration file before
executing other copy group operation commands.
#3
You need to load the configuration file when acquiring information about
an S-VOL that is not recognized by the host.
#4
You need to load the configuration file when you operate a copy group
container with EXCTG ID specified.
#5
You need to load the configuration file when the copy type is TrueCopy,
TrueCopy Asynchronous, or Universal Replicator, and when you specify
the REVERSE parameter.
The table below lists the configuration files which must be loaded in an
environment which contains Non Gen'ed volumes and for which the following
conditions apply:
2-6
The copy type is ShadowImage, and the host does not recognize the PVOL (Non Gen'ed volume), but recognizes the S-VOL.
The copy type is ShadowImage, and the host recognizes the P-VOL, but
does not recognize the S-VOL (Non Gen'ed volume).
CLI commands
Hitachi Business Continuity Manager Reference Guide
Copy group
definition file
YKBLDCMD
--
--
YKBLDPTH
--
D#1
YKCONMSG
--
--
--
YKDELCMD
--
--
YKDELETE
D#2
--
YKDELPTH
--
D#1
YKDROP
--
--
--
YKENV
--
--
--
YKERCODE
--
--
--
YKEWAIT
D#2
--
YKEXPORT
--
--
--
YKFCSTAT
--
--
--
YKFREEZE
--
--
YKH2B
--
--
--
YKIMPORT
--
--
--
YKINSCHK
--
--
--
YKMAKE
D#2
--
YKQEXCTG
--
YKQHPATH
--
--
--
YKQRYDEV
--
--
YKQRYPTH
--
D#1
YKQUERY
D#2
--
YKRECVER
--
YKRESYNC
D#2
--
YKRUN
--
--
YKSCAN
--
--
--
YKSLEEP
--
--
--
YKSTATS
D#2
--
YKSUSPND
D#2
--
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-7
Copy group
definition file
YKWATCH
--
--
--
YKWTOMSG
--
--
--
Legend:
Y: You need to load the configuration file.
D: Whether you need to load the configuration file depends on the
situation.
--: You do not need to load the configuration file.
#1
You need to load the configuration file when operating a forward-direction
path (a path from a P-VOL whose copy type is TrueCopy, TrueCopy
Asynchronous, or Universal Replicator to an S-VOL). You also need to load
the configuration file if all of the volumes in the control unit are Non
Gen'ed volumes when operating an inter-control unit logical path.
#2
You need to load the configuration file when the copy type is TrueCopy,
TrueCopy Asynchronous, or Universal Replicator.
Command details
This section describes command details. For details about the syntax symbols
used in the explanations, see Appendix B, Symbols used in syntax
explanations on page B-1.
YKBLDCMD command
Applies to CMD.
Format
YKBLDCMD
{
1SN(storage-system-serial-number)|
1SN(storage-system-serial-number)
1CU(CU-number)
1CCA(CCA-number)
1APID(APID)|
1DEVN(device-number)
1APID(APID)}
1MSG(stem-name-1)
Function
This command is a TSO/E command called from REXX scripts.
2-8
CLI commands
Hitachi Business Continuity Manager Reference Guide
The command registers, into the storage system, the command device that
was specified in the route list that was loaded before this command was
executed.
Parameters
SN (storage-system-serial-number) ~ <from 5 to 12 alphanumeric
characters>
When you register the command devices for a storage system in the route
list, specify the storage system serial number.
DEVN(device-number) APID(APID)
When you specify and register a command device, specify the device number
and the APID of the command device.
Only when you specify this parameter do you not have to load the route list.
The DEVN parameter cannot be specified for remotely connected storage
systems.
DEVN(device-number) ~ <four-digit hexadecimal number>
Specify the device number.
APID(APID) ~ <four-digit hexadecimal number>
Specify the APID.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-9
The message structure is initialized when the CLI command with the same
name as the MSG parameter is called.
Notes
Execute the YKBLDCMD command only once after turning on the storage
system. Even if this command is entered multiple times, only the first
time is effective, and entry after the first time does not take effect.
However, before this command is entered, make sure that storage system
control with the corresponding command device did not take place.
For the YKBLDCMD command, you need to input the storage system for the
Primary site and Secondary site, according to the site order defined in the
route list. Enter for the Primary site first, and then for the Secondary site.
Return codes
The table shown below lists the return codes to be returned when the
YKBLDCMD command terminates.
Meaning
The command terminated abnormally. A possible cause is as follows:
-3
2-10
-1
32
40
44
48
128
CLI commands
Hitachi Business Continuity Manager Reference Guide
YKBLDPTH command
Applies to PTH.
Format
YKBLDPTH
1STEM(stem-name-1)
1MSG(stem-name-2)
1PSN(storage-system-serial-number)[
1PCU(cu-number)]]
1SSN(storage-system-serial-number)[
1SCU(cu-number)]]
1PTID(path-group-ID)]
1{FORWARD|REVERSE}]
1TYPE({CU|DKC})]
Function
This command is a TSO/E command called from REXX scripts.
This command establishes logical paths for some or all of the paths identified
in the path set that is stored in the path set structure with the prefix specified
by the STEM parameter.
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify the prefix of the name of the path set structure that stores
information about the logical path to be established. Specify the same
character string as the one specified in the STEM parameter of the YKLOAD
command that loaded the corresponding logical path. You must also include a
trailing period character.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-11
treat the storage system (that has the serial number specified by this
parameter) as the primary storage system.
If neither this parameter nor any other parameters are specified, the
command establishes all logical paths.
2-12
CLI commands
Hitachi Business Continuity Manager Reference Guide
{FORWARD|REVERSE}
Specify the direction in which the logical path is to be established.
If neither is specified, the command will establish a bidirectional logical path.
FORWARD
The command establishes the logical paths that are identified in the path
set stored in the path set structure specified by the STEM parameter. Each
path extends from the initiator node defined by stem-name-specified-inSTEM-parameterPATH.n.Pri to the target node defined by stem-namespecified-in-STEM-parameterPATH.n.Sec, in the forward direction.
REVERSE
The command establishes the logical paths that are identified in the path
set stored in the path set structure specified by the STEM parameter. Each
path extends from the initiator node defined by stem-name-specified-inSTEM-parameterPATH.n.Sec to the target node defined by stem-namespecified-in-STEM-parameterPATH.n.Pri, in the reverse direction.
TYPE ({CU|DKC})
This parameter specifies the type (inter-control unit logical path or inter-disk
controller logical path) of the logical path to be established.
If neither this parameter nor any other parameters are specified, the
command establishes all logical paths.
CU
Out of the logical paths within the path set stored in the path set
structure specified by the STEM parameter, the logical paths that have CU
set for stem-name-specified-in-STEM-parameterPATH.n.type are
established.
DKC
Out of the logical paths within the path set stored in the path set
structure specified by the STEM parameter, the logical paths that have DKC
set for stem-name-specified-in-STEM-parameterPATH.n.type are
established.
Notes
Before you execute this command, create and load the path set definition
file.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-13
If all of the volumes in the control unit are Non Gen'ed volumes, load the
route list before executing the command.
Return codes
The table shown below lists the return codes to be returned when the
YKBLDPTH command terminates.
Meaning
The command terminated abnormally. A possible cause is as
follows:
-3
-1
32
36
40
44
48
128
YKCONMSG command
Applies to ShadowImage, TrueCopy, TrueCopy with the HyperSwap attribute,
and TrueCopy Asynchronous.
Format
YKCONMSG
{
1OP(OPEN)
ID})][
2-14
1MSGID({IEA494|IOSHM0414I|user-specified-message-
1TIMEOUT(timeout-value)]|
CLI commands
Hitachi Business Continuity Manager Reference Guide
1OP(GET)
1OP(CLOSE)
1HANDLE(X'handle')|
1HANDLE(X'handle')}
Function
This command is a TSO/E command called from REXX scripts.
This command monitors for the following messages:
IEA494I message
Copy status display message that is output to the MVS console
IOSHM0414I message
HyperSwap completion message that is output to the MVS console
User-specified message
User-specified message that indicates that a HyperSwap has been
completed
Parameters
MSGID ({IEA494|IOSHM0414I|user-specified-message-ID})
Specifies the message to be monitored.
IEA494
Monitors for IEA494I messages.
IOSHM0414I
Monitors for IOSHM0414I messages.
user-specified-message-ID ~ <from 6 to 10 alphanumeric characters>
Monitors for a user-specified message that indicates that a HyperSwap
has been completed.
OP ({OPEN|GET|CLOSE})
This parameter specifies a process type.
OPEN
This parameter establishes the EMCS console interface for message
monitoring. The normal termination message returns the handle value to
be used in the OP(GET) and OP(CLOSE) requests.
GET
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-15
Notes
When using a copy pair on a remote site (a site that is not channelconnected directly from the local host), note the following restrictions:
2-16
When using a Universal Replicator copy pair, even if the copy pair status
changes, the IEA494I message is not displayed on the MVS console.
Thus, the YKCONMSG command cannot monitor the status transitions of the
Universal Replicator copy pair.
CLI commands
Hitachi Business Continuity Manager Reference Guide
Return codes
The table shown below lists the return codes to be returned when the
YKCONMSG command terminates.
Meaning
The module cannot be loaded. Possible causes are as follows:
-3
-1
Close successful.
Invalid parameter.
System error.
YKDELCMD command
Applies to CMD.
Format
YKDELCMD
{
1SN(storage-system-serial-number)|
1SN(storage-system-serial-number)
1CU(cu-number)
1CCA(cca-number)
1APID(apid)|
1DEVN(device-number)
1APID(apid)}
1MSG(stem-name-1)
Function
This command is a TSO/E command called from REXX scripts.
The command deletes, from the storage system, the command device that
was specified in the route list that was loaded before this command was
executed.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-17
Parameters
SN (storage-system-serial-number) ~ <from 5 to 12 alphanumeric
characters>
When you delete the command device for a storage system in the route list,
specify the storage system serial number.
DEVN(device-number) APID(APID)
When you specify and delete a command device, specify the device number
and the APID of the command device.
Only when you specify this parameter do you not have to load the route list.
The DEVN parameter cannot be specified for the remotely connected storage
systems.
DEVN(device-number) ~ <four-digit hexadecimal number>
Specify the device number.
APID(APID) ~ <four-digit hexadecimal number>
Specify the APID.
2-18
CLI commands
Hitachi Business Continuity Manager Reference Guide
Notes
For the YKDELCMD command, you must input the storage system for the
Primary site and Secondary site, according to the reverse of the site order
defined in the route list. Be sure to perform input in the order of the
secondary site and primary site.
If you delete command devices for a storage system for which multiple
command devices have been defined, processing continues even if an
error occurs for one or more of the command devices.
For the following models, you can execute the YKDELCMD command
regardless of whether the corresponding command device is online or
offline:
USP
USP V
VSP
VSP G1000
When deleting a command device not specified in the route list on the
remote storage system, before executing this command, you must create
a command device that can be run on the corresponding storage system.
Return codes
The table shown below lists the return codes to be returned when the
YKDELCMD command terminates.
Meaning
The command terminated abnormally. A possible cause is as
follows:
-3
-1
32
40
44
48
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-19
Return code
Meaning
The command terminated abnormally. The user does not have
permission to execute this command.
128
YKDELETE command
Applies to ShadowImage, TrueCopy, TrueCopy with the HyperSwap attribute,
TrueCopy Asynchronous, and Universal Replicator.
Format
YKDELETE
1STEM(stem-name-1)
1MSG(stem-name-2)
1DEVN(p-vol-device-number,s-vol-device-number)]
1SELECT({ALL|COND})]
Function
This command is a TSO/E command called from REXX scripts.
This command dissolves a copy pair for the specified copy group and changes
the volume status to the SIMPLEX status.
When dissolving copy pairs in an EXCTG container, if all copy pairs are
dissolved from a journal group, that journal group will be deleted from the
EXCTG. In addition, if all journal groups are deleted from the EXCTG, the
EXCTG data will be deleted.
If the copy pair to be dissolved is in the SIMPLEX status or any status that
cannot be dissolved because of the attributes in the copy group structure, the
command creates an error message in the message structure and returns a
non-zero return code.
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify the prefix of the name of the copy group structure that stores
information about the copy group to be dissolved. Specify the same character
string as the one specified in the STEM parameter of the YKLOAD command
that loaded the corresponding copy group. You must also include a trailing
period character.
2-20
CLI commands
Hitachi Business Continuity Manager Reference Guide
The message structure is initialized when the CLI command with the same
name as the MSG parameter is called.
SELECT ({ALL|COND})
Specify the method used to select the copy pairs that are to be affected by
this command. The default is ALL.
ALL
All the copy pairs in the copy group are affected by the command. Note
that if the DEVN parameter is specified, the copy pair specified in the
parameter becomes the execution target of the command.
COND
Only pairs with certain volume statuses are affected by the command. For
details on the copy pairs that are affected by the command, see the table
regarding copy pair statuses that are affected by commands in the Hitachi
Business Continuity Manager User Guide.
Notes
When operating the copy groups of a copy pair that was deleted with the
DEVN parameter, for the time that the copy pair is being synchronized,
make sure that you specify the SELECT(COND) parameter.
For EXCTG, if you execute the YKDELETE command and then the YKQUERY
command to obtain the copy pair status, the YKZ296E message
sometimes appears when the dissolving of the copy pair is detected at a
different time from the dissolving of EXCTG, but this does not mean that
an error has occurred. For this reason, for EXCTG, we recommend that
you execute the YKDELETE command and then the YKEWAIT
GOTO(SIMPLEX) command, wait until the copy pair status changes to
SIMPLEX, and then execute the YKQUERY command.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-21
Return codes
The table shown below lists the return codes to be returned when the
YKDELETE command terminates.
Meaning
The command terminated abnormally. A possible cause is as follows:
-3
-1
32
36
40
44
48
128
2-22
CLI commands
Hitachi Business Continuity Manager Reference Guide
YKDELPTH command
Applies to PTH.
Format
YKDELPTH
1STEM(stem-name-1)
1MSG(stem-name-2)
1PSN(storage-system-serial-number)[
1PCU(cu-number)]]
1SSN(storage-system-serial-number)[
1SCU(cu-number)]]
1PTID(path-group-ID)]
1{FORWARD|REVERSE}]
1FORCE]
1TYPE({CU|DKC})]
Function
This command is a TSO/E command called from REXX scripts.
This command deletes some or all of the logical paths identified in the path
set that is stored in the path set structure with the prefix specified by the
STEM parameter.
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify the prefix of the name of the path set structure that stores
information about the logical paths to be deleted. Specify the same character
string as the one specified in the STEM parameter of the YKLOAD command
that loaded the corresponding logical path. You must also include a period at
the end of the prefix.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-23
within storage systems (that have the serial number specified by this
parameter) as main control units, and inter-disk controller logical paths will
be deleted in all cases where the paths treat the storage system (that has the
serial number specified by this parameter) as the primary storage system.
If neither this parameter nor any other parameters are specified, the
command deletes all non-shared logical paths.
2-24
CLI commands
Hitachi Business Continuity Manager Reference Guide
controller logical paths that have the path group ID specified for this
parameter are deleted.
If neither this parameter nor any other parameters are specified, the
command deletes all non-shared logical paths.
{FORWARD|REVERSE}
Specify the direction in which the logical path is to be deleted.
If neither is specified, the command will delete a bidirectional logical path.
FORWARD
The command deletes logical paths that are identified in the path set
stored in the path set structure specified by the STEM parameter, each of
which is the forward logical path from the initiator node defined by stemname-specified-in-STEM-parameterPATH.n.Pri to the target node defined
by stem-name-specified-in-STEM-parameterPATH.n.Sec.
REVERSE
The command deletes logical paths that are identified in the path set
stored in the path set structure specified by the STEM parameter. Each
path is a reverse logical path from the initiator node defined by stemname-specified-in-STEM-parameterPATH.n.Sec to the target node defined
by stem-name-specified-in-STEM-parameterPATH.n.Pri.
FORCE
If this parameter is specified, of those logical paths that are identified in the
path set stored in the path set structure specified by the STEM parameter, the
command also deletes the paths that have the shared attribute (those with
the value Y assigned to stem-name-specified-in-STEMparameterPATH.n.Shared).
If this parameter is not specified, the command does not delete logical paths
that have the shared attribute.
TYPE ({CU|DKC})
This parameter specifies the type (inter-control unit logical path or inter-disk
controller logical path) of the logical path to be deleted.
If neither this parameter nor any other parameters are specified, the
command deletes all logical paths.
CU
Out of the logical paths within the path set stored in the path set
structure specified by the STEM parameter, the logical paths that have CU
set for stem-name-specified-in-STEM-parameterPATH.n.type are deleted.
DKC
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-25
Out of the logical paths within the path set stored in the path set
structure specified by the STEM parameter, the logical paths that have DKC
set for stem-name-specified-in-STEM-parameterPATH.n.type are deleted.
Notes
Before executing the command, create and load the path set definition
file.
If all of the volumes in the control unit are Non Gen'ed volumes, load the
route list before executing the command.
Return codes
The table shown below lists the return codes to be returned when the
YKDELPTH command terminates.
Meaning
The command terminated abnormally. A possible cause is as
follows:
-3
-1
32
36
2-26
40
44
CLI commands
Hitachi Business Continuity Manager Reference Guide
Return code
Meaning
48
128
YKDROP command
Format
To drop all REXX variable structures:
YKDROP("ALL")
To drop only specific REXX variable structures:
YKDROP("{GRP|PTH}","stem-name")
Function
This is a REXX function called from REXX scripts.
This function can either drop all the valid REXX variable structures in the
script, or drop only the REXX variable structures with a specific stem name.
Parameters
ALL
Drops all the valid REXX variable structures (copy group structures, route list
structures, path set structures, Host-Discovered Array Index structures, and
Host-Discovered Array structures) in the script.
{GRP|PTH}
Drops the REXX variable structures with a specific stem name.
GRP
Drops the REXX variable structures related to copy group structures with
a specific stem name.
PTH
Drops the REXX variable structures related to path set structures with a
specific stem name.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-27
structures will be dropped. If you specify the PTH parameter, the REXX
variable structures related to the path set structures will be dropped.
Specifies the prefix of the copy group structure that contains information
about the copy groups whose REXX variable structures are to be dropped.
This must be the same as the character string that was specified in the STEM
parameter of the YKLOAD command that was used to load the target copy
group. The specified stem name must end with a period.
Notes
Do not execute the REXX DROP statement to disable REXX variables that
have been loaded via the YKLOAD command. The YKDROP command cannot
be executed on disabled REXX variables.
Do not initialize REXX variables that have been loaded via the YKLOAD
command. The YKDROP command cannot be executed on initialized REXX
variables.
Example
An example of the YKDROP command follows:
:
DO all_copygroups
@DROPRES = YKDROP(ALL);
CALL YKLOAD GROUP(one_copygroup) ROUTE(routelist) PREFIX(BCMPRFX)
Return codes
The table below lists and describes the return codes that are returned when
the YKDROP command terminates.
2-28
Meaning
48
1004
1008
1012
1016
CLI commands
Hitachi Business Continuity Manager Reference Guide
Return code
Meaning
1032
1044
2000
YKENV command
Format
YKENV
Function
This is a TSO/E command called from REXX scripts.
This command outputs Business Continuity Manager environment variables to
the TSO/E terminal. The two types of information that are output are
summary information and detailed information.
Parameters
None.
Return codes
The table below lists and describes the return codes that are returned when
the YKENV command terminates.
Meaning
-3
-1
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-29
Output items
The table below lists and describes the items that are output during execution
of the YKENV command in the order they are output.
Description
BC Manager environment
variables (v.r.m-nn(zz))
Host ID:
Host ID
YKCMDIF =
LOGR: The system logger service is used to output the BCM log.
&YKCMDIF =
YKLCNSE =
&YKLCNSE =
YKLCNS2 =
&YKLCNS2 =
LOGPUT =
&YKLOGPT =
2-30
CLI commands
Hitachi Business Continuity Manager Reference Guide
Output item
Description
Value of the Business Continuity Manager environment variable
SYSLOG, which was set by the YKSETENV command.
SYSLOG =
&YKSYSLG =
Output example
The following is an output example of the YKENV command:
READY
YKENV
Hitachi Business Continuity Manager
BC Manager environment variables (v.r.m-nn(zz))
Host ID: 00
License info DSN prefix: HITACHI
BCM log output method: LOGR
CLI log output settings: NO
YKCMDIF = 01
(&YKCMDIF = "00"
)
YKLCNSE = HTC1
(&YKLCNSE = N/A
)
YKLCNS2 = BCM
(&YKLCNS2 = N/A
)
LOGPUT = SAM
(&YKLOGPT = "LOGR"
)
SYSLOG = NO
(&YKSYSLG = "YES"
)
YKZ371I YKENV command return code=0.
YKERCODE command
Format
YKERCODE
1error-code
Function
This is a TSO/E command.
This command displays the details of a specified error code on the TSO/E
terminal.
The command displays the following information:
Error details:details-of-error
Displays the error details.
Type of error:cause-of-error
Displays the cause of the error. Possible choices are: SI, TC, TCA, UR, CMD
(command device), PATH (logical path), or Others (other).
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-31
Parameters
Example
The following shows an example of executing the YKERCODE command.
READY
YKERCODE 6A13
Error details:
The command could not be executed because a remote command was executed
while the command device was not defined.
Type of error:
Others.
Return codes
The table shown below lists the return codes that are returned when the
YKERCODE command terminates.
Meaning
16
64
YKEWAIT command
Applies to ShadowImage, TrueCopy, TrueCopy with the HyperSwap attribute,
TrueCopy Asynchronous, and Universal Replicator.
Format
YKEWAIT
1STEM(stem-name-1)
1MSG(stem-name-2)
1GOTO({DUPLEX|SUSPEND|SIMPLEX|SUSPVS|HOLD|SWAPPING})
2-32
CLI commands
Hitachi Business Continuity Manager Reference Guide
1TIMEOUT(timeout-value)
1NOINVALIDCHECK]
1DEVN(p-vol-device-number,s-vol-device-number)]
1TO({PRIMARY|SECONDARY})]
1VOLUNIT]
Function
This command:
Monitors the volume status transition of copy pairs for the specified copy
group and waits for a certain specified status.
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify the prefix of the name of the copy group structure that stores
information about the copy group to be monitored. Specify the same
character string as the one specified in the STEM parameter of the YKLOAD
command that loaded the corresponding copy group. You must also include a
trailing period character.
GOTO ({DUPLEX|SUSPEND|SIMPLEX|SUSPVS|HOLD|SWAPPING})
Specify the status of the copy group to be monitored. When all the copy pairs
in the group change to the specified status, the YKEWAIT command
terminates successfully.
DUPLEX
The command waits until all the copy pairs in the group reach the DUPLEX
status. However, if the status of any copy pair changes to the SIMPLEX,
SUSPCU, SUSPER, TRANS, SUSPVS, HOLDER, NODELTA, CONSLOST, or INVALID
status, the YKEWAIT command terminates abnormally with return code 8.
When the command waits for copy pairs in the copy group container
specified by EXCTG ID to reach the DUPLEX status, it first waits for all
journal groups in the copy group container specified by EXCTG ID to be
registered in EXCTG. If an error is detected during EXCTG registration,
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-33
2-34
CLI commands
Hitachi Business Continuity Manager Reference Guide
is the same as the one specified in the GOTO parameter, the command
terminates normally (return code = 0). If not, it terminates abnormally with
the return code 4.
If 0 is specified in TIMEOUT parameter, it looks at the status of the copy group
immediately, and then returns as described as above.
For copy group containers specified by EXCTG ID, if this time value elapses
before all journal groups are registered in EXCTG, the YKZ298W message is
output and the YKEWAIT command terminates abnormally with return code 4.
If the YKZ298W message is output, the REXX variable is disabled (the same
state as before the YKEWAIT command was executed).
NOINVALIDCHECK
Processing continues even when the status changes to anything other than
the status specified by the GOTO parameter (invalid statuses). If this
parameter is specified, and the status does not change to that specified in the
GOTO parameter, the command processing will continue until the timeout time
specified in the TIMEOUT parameter is reached.
The invalid statuses below differ depending on the value specified in the GOTO
parameter. The following table shows an invalid status for each value
specifiable in the GOTO parameter.
Table 2-14 Invalid status for each value specifiable in the GOTO parameter
Value of the GOTO
parameter
Invalid statuses
DUPLEX
SUSPEND
SIMPLEX
SUSPVS
HOLD
SWAPPING
When the command waits for copy pairs in the copy group container specified
by EXCTG ID to reach DUPLEX status, it first waits for all journal groups in the
copy group container specified by EXCTG ID to be registered in EXCTG. If an
error is detected during EXCTG registration, the YKZ297E message is output
and the command terminates abnormally with return code 44.
When the command monitors the status of a copy pair in a ShadowImage
copy group to which the UR ATTIME suspend time has been set, the check
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-35
TO ({PRIMARY|SECONDARY})
Applies to TrueCopy, TrueCopy with the HyperSwap attribute, TrueCopy
Asynchronous, and Universal Replicator.
Specify this parameter to monitor copy groups by monitoring the status of
either P-VOLs or S-VOLs.
When the TO parameter is specified, the copy group container is not checked
for EXCTG registration information.
PRIMARY
Monitors the status of P-VOL during copy group definition.
SECONDARY
Monitors the status of S-VOL during copy group definition.
VOLUNIT
Usually, information is obtained for each control unit, but when this
parameter is specified, information is obtained for each volume.
Return codes
The table shown below lists the return codes to be returned when the
YKEWAIT command terminates.
2-36
CLI commands
Hitachi Business Continuity Manager Reference Guide
Meaning
-4095 to -4040 The command terminated abnormally, possibly because the user SVC
routine has not been included properly.
-3
-1
The timeout interval expired before the group status changed to the
requested group status. For copy group containers specified by EXCTG
ID, a timeout occurred before all journal groups were registered in
EXCTG.#
24
The status of the Universal Replicator copy pair was invalid when
the suspend processing was performed by using the UR ATTIME
Suspend Function.
32
36
40
44
48
128
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-37
YKEXPORT command
Applies to ShadowImage, TrueCopy, TrueCopy with the HyperSwap attribute,
TrueCopy Asynchronous, and Universal Replicator.
Format
YKEXPORT
1PREFIX(prefix)
1GROUP(copy-group-ID)
Function
This is a TSO/E command.
This command reads a specified copy group definition file and creates the
following CSV files based on the copy group information:
Before you execute this command, allocate datasets for the CSV files under
the following DD names and catalog the files:
For details about CSV files, see CSV files used by the Copy Group Definition
File Generation Function on page 3-62.
Parameters
PREFIX (prefix) ~ <PREFIX string of 25 or fewer characters>
Specify the prefix of the copy group definition file.
2-38
CLI commands
Hitachi Business Continuity Manager Reference Guide
Notes
The execution of this command does not check if the configuration of the
copy groups specified in the copy group definition file is supported.
Therefore, an error could result when you specify, by using the YKIMPORT
command, a CSV file created by this command. If an error occurs, check
if the configuration of the copy groups in the CSV file is supported. For
details about the YKIMPORT command, see YKIMPORT command on page
2-46.
The pair information CSV file is created even if an error occurs during
creation of the EXCTG information CSV file.
The pair information CSV file and EXCTG information CSV file (only for
4x4 configurations) are created even if an error occurs during creation of
the CTG information CSV file.
Return codes
The table shown below lists the return codes to be returned when the
YKEXPORT command terminates.
Meaning
32
40
48
64
YKFCSTAT command
Applies to TrueCopy, TrueCopy with the HyperSwap attribute, TrueCopy
Asynchronous, and Universal Replicator.
Format
YKFCSTAT
1STEM(stem-name-1)
1MSG(stem-name-2)
1DEVN(device-number)
Function
This is a TSO/E command called from REXX scripts.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-39
USP
USP V
VSP
VSP G1000
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify an optional prefix for the name of the FlashCopy information
structure used to store the FlashCopy information. You must also include a
trailing period character.
Return codes
The table shown below lists the return codes to be returned when the
YKFCSTAT command terminates.
2-40
CLI commands
Hitachi Business Continuity Manager Reference Guide
Meaning
The command terminated abnormally. A possible cause is as follows:
-3
-1
32
40
44
48
128
YKFREEZE command
Applies to TrueCopy.
Format
YKFREEZE
1STEM(stem-name-1)
1MSG(stem-name-2)
1TIMEOUT(timeout-value)]
Function
This command:
Freezes the specified copy group, changes it to the SCP status and
suspends update I/O to the P-VOL.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-41
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify the prefix of the name of the copy group structure that stores
information about the copy group whose status you want to freeze (place in
SCP status). Specify the same character string as the one specified in the
STEM parameter of the YKLOAD command that loaded the corresponding copy
group. You must also include a trailing period character.
Notes
If you are using the YKFREEZE command, do not include system volumes in a
copy group whose system volumes are used for controlling applications such
as Business Continuity Manager or an OS.
Return codes
The table shown below lists the return codes to be returned when the
YKFREEZE command terminates.
-3
-1
2-42
Meaning
CLI commands
Hitachi Business Continuity Manager Reference Guide
Return code
Meaning
32
36
40
44
48
128
YKH2B command
Applies to TrueCopy with the HyperSwap attribute.
Format
YKH2B
1PREFIX(prefix)
1DEVN(device-number-1,device-number-2)
1DAD(dad-id)
1CGNAME(name-of-TrueCopy-copy-group-with-HyperSwap-attribute)
1HS({CHECK|NOCHECK})]
Function
This is a TSO/E command.
This command scans the P-VOLs of PPRC copy pairs within the specified
range. It then creates a copy group definition file by defining copy pairs that
consist of the detected P-VOLs and S-VOLs (TrueCopy copy pairs that have
the HyperSwap attribute of Business Continuity Manager).
Before executing this command, you must use Business Continuity Manager
to create a disk configuration definition file for the storage system to scan. If
the disk configuration definition file does not contain any P-VOLs in the
detected PPRC copy pairs or S-VOLs corresponding to the P-VOLs, copy pairs
are still defined. If this occurs, a warning message is issued.
A copy group definition file is created as follows:
For a TrueCopy copy group with the HyperSwap attribute: A single copy
group definition file is created for all detected copy pairs.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-43
Parameters
PREFIX (prefix) ~ <prefix of 25 or fewer characters>
Specify the prefix of a disk configuration definition file that has already been
created by Business Continuity Manager and of the copy group definition file
to be created. When using a copy group definition file created by the YKH2B
command on the ISPF panel, the maximum prefix length allowed is 16
characters.
HS({CHECK|NOCHECK})
Specify whether to check if HyperSwap is enabled for the detected PPRC copy
pairs.
CHECK
Acquires the UCB information (UCBHSWAP) of the P-VOLs of detected PPRC
copy pairs and checks whether HyperSwap is enabled. Only those PPRC
copy pairs for which UCBHSWAP is set to ON are defined as a TrueCopy copy
group with the HyperSwap attribute.
NOCHECK
2-44
CLI commands
Hitachi Business Continuity Manager Reference Guide
Does not check whether HyperSwap is enabled for the detected PPRC
copy pairs. Instead, all detected copy pairs are defined as a TrueCopy
copy group with the HyperSwap attribute.
Notes
If a copy group definition file with the same name as the name specified
in the CGNAME parameter already exists, executing the YKH2B command
overwrites the existing file with the newly created file. To retain the
existing file, specify a unique name in the CGNAME parameter (one that is
different from other existing copy group definition file names).
When you specify NOCHECK for the HS parameter, for the scan range,
include only PPRC TrueCopy copy pair volumes for which HyperSwap is
enabled. If volumes of non-PPRC TrueCopy copy pairs or volumes of PPRC
copy pairs for which HyperSwap is not enabled are included in the scan
range, the copy pairs will be processed as PPRC copy pairs for which
HyperSwap is enabled. They will also be defined together as a TrueCopy
copy group with the HyperSwap attribute.
Return codes
The table shown below lists the return codes to be returned when the YKH2B
command terminates.
Meaning
44
48
64
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-45
YKIMPORT command
Applies to ShadowImage, TrueCopy, TrueCopy with the HyperSwap attribute,
TrueCopy Asynchronous, and Universal Replicator.
Format
YKIMPORT
1PREFIX(prefix)
1BASEGROUP(copy-group-ID)
1NEWGROUP(copy-group-ID)
1CAPACITY({CHECK|NOCHECK})]
Function
This is a TSO/E command.
This command reads the following files and creates a copy group definition
file:
Before you execute this command, allocate datasets for the CSV files under
the following DD names and catalog the files:
For details about CSV files, see CSV files used by the Copy Group Definition
File Generation Function on page 3-62.
Parameters
PREFIX (prefix) ~ <PREFIX string of 25 or fewer characters>
Specify the prefix of the copy group definition file.
2-46
CLI commands
Hitachi Business Continuity Manager Reference Guide
CAPACITY({CHECK|NOCHECK})
Specify whether to check the capacities of the P-VOL and S-VOL for the newly
defined copy pair. The default is CHECK.
CHECK
Checks whether the capacities of the P-VOL and S-VOL of the defined
copy pair match.
NOCHECK
Does not check whether the capacities of the P-VOL and S-VOL of the
defined copy pair match. Specify this parameter when defining a copy pair
for migration whose P-VOL and S-VOL capacities are different.
Return codes
The table shown below lists the return codes to be returned when the
YKIMPORT command terminates.
Meaning
No copy pairs were defined in the specified CSV file. No data was
output to the copy group definition file.
32
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-47
Return code
Meaning
40
48
64
YKINSCHK command
Format
YKINSCHK
Function
This command is a TSO/E command called from a REXX script.
This command verifies whether the settings required during an installation
and setup have been specified correctly. It then outputs a verification-result
message and the setting information to the TSO/E panel.
Parameters
None.
Return codes
The table shown below lists the return codes to be returned when the
YKINSCHK command terminates.
Meaning
32
Output items
The table shown below explains the items that are output when the YKINSCHK
command is executed; in the order they are output.
Explanation
OK
The name of a profile for referencing or operations
has been set.
2-48
FAULTY
CLI commands
Hitachi Business Continuity Manager Reference Guide
Output item
Explanation
No name has been set for a profile for referencing or
operations.
OK
There are no problems in the user SVC setting.
FAULTY
There is a problem in the user SVC setting.
Host ID Settings
OK
There are no problems with the host ID settings.
FAULTY
There is a problem with the host ID settings.
Directions
Version
SVC Number
Version
SVC Number
Version
Directions
Current Host ID
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-49
Output item
Explanation
Directions
Output example
The following is an output example of the YKINSCHK command:
READY
YKINSCHK
Security Settings .........: OK
User SVC Routine ..........: OK
Host ID Settings ..........: OK
Facility Class Profiles Query
: STGADMIN.YKA.BCM.YKQUERY
Facility Class Profiles Commands : STGADMIN.YKA.BCM.COMMANDS
Directions
The current setup is listed above.
An unregistered profile is listed as N/A.
The RACF settings are necessary in order to use CLI commands.
After a profile is defined in the RACF FACILITY class, a user can use
CLI commands by being given the access rights of the profile.
There are the following two kinds of profiles:
- Facility Class Profiles Query
- Facility Class Profiles Commands
To give a user the permissions necessary to use all of the BCM commands:
1. Make the RACF FACILITY class active.
2. Define the STGADMIN.YKA.BCM.COMMANDS profile in the FACILITY class.
3. Give the user the access rights of the profile.
To give a user the permissions necessary to use some of the BCM commands
(the reference commands):
4. Make the RACF FACILITY class active.
5. Define the STGADMIN.YKA.BCM.YKQUERY profile in the FACILITY class.
6. Give the user the access rights of the profile.
Version of User SVC for this program .............: v.r.m-nn(zz) or later
Current User SVC
: SVC Number 200 Version v.r.m-nn(zz)
Dynamic registered User SVC : SVC Number 200 Version v.r.m-nn(zz)
Static installed User SVC
: SVC Number 251 Version v.r.m-nn(zz)
Directions
The current users SVC routine registration number and version are listed
2-50
CLI commands
Hitachi Business Continuity Manager Reference Guide
above.
User SVC numbers and versions that have not been acquired are listed as
N/A.
If a Dynamic registered User SVC exists, the Dynamic registered User SVC
will become the Current User SVC.
If a Dynamic registered User SVC does not exist and a Static installed
User SVC exists, the Static installed User SVC will become the Current
User SVC.
If the Current User SVC is smaller than the Version of User SVC for this
program, then the program will not run properly.
If this is the case, use the YKALCSVC command to dynamically register
the latest User SVC.
Also, register the latest User SVC if a Dynamic registered User SVC is
deleted.
The following is an example of deleting a registered User SVC:
+--------------------------------------------------------------------+
: START YKALCSVC,PARM=DELETE
:
+--------------------------------------------------------------------+
The following is an example of registering a User SVC:
+--------------------------------------------------------------------+
: START YKALCSVC
:
+--------------------------------------------------------------------+
Note:
A User SVC registered by using the YKALCSVC command will become invalid
during a re-IPL.
As a result, we recommend performing either of the following settings
in order to prepare for the next re-IPL:
- Add the YKALCSVC command to the COMMNDxx parmlib member, and then
have the User SVC automatically re-registered during a re-IPL.
- Define a User SVC in the IEASVCxx parmlib member, and then use the
User SVC that was statically installed from the next IPL.
Current Host ID ...............: 00
Dynamically defined Host ID ...: N/A
Statically defined Host ID ....: 00
Directions
The current host ID settings are listed above.
Host IDs that could not be acquired are listed as N/A.
When using the remote DKC control functionality, if you want to use
Business Continuity Manager from multiple hosts (OSs) on the same site
to share one command device within one storage system, specify the host
IDs. If there is only one host (OS) on the site, or you do not want to
share one command device among multiple hosts, you do not need to
specify any host IDs.
For host IDs, specify a unique hexadecimal two-digit number from 00
through 1F for each OS. In an LPAR environment, specify a different
number for each LPAR.
Set host IDs by using the YKSETENV command before starting Business
Continuity Manager. Alternatively, you can define the corresponding
system symbols in the IEASYMxx parmlib member and then perform IPL on
the system again to set values for the host ID.
The examples below show how to specify a host ID. If neither (a) nor (b)
is specified, 00 is assumed.
(a) Using the YKSETENV command
The following example sets the host ID to 0F:
+----------------------------------------------------------------+
: START YKSETENV,PARM='YKCMDIF=0F'
:
+----------------------------------------------------------------+
(b) Defining a system symbol in the IEASYMxx parmlib member
The following example sets the host ID to 0F:
+----------------------------------------------------------------+
: SYMDEF(&YKCMDIF='0F')
:
+----------------------------------------------------------------+
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-51
Note:
If you register or change a host ID while Business Continuity Manager is
running, CLI commands are executed using the previously set value. The
registered or changed host ID takes effect the next time the YKLOAD
command is executed (with a route list specified).
YKK001I YKINSCHK completed. RC=00,V/R=v.r.m-nn(zz),2013/01/21 19:48:59
READY
YKLOAD command
Format
YKLOAD
1STEM(stem-name-1)
1PREFIX(prefix)
{ 1GROUP(copy-group-ID)
label|*}])]|
1PATH(path-set-ID)[
label|*}])]]|
1DAD(DADID)[
1DAD(DADID)[
1ROUTE(route-list-ID[,{route-
1ROUTE(route-list-ID[,{route-
1ROUTE(route-list-ID[,{route-label|*}])
1DAD(DADID)}
1MSG(stem-name-2)
Function
This command is a REXX subroutine.
This command loads the configuration file defined in the ISPF panel and
creates a REXX variable structure. The types of REXX variable structures that
are created by this command are as follows:
Determination of the configuration file that is loaded and the REXX variable
structure that is created depends on the specified parameters. For details
about REXX variable structures, see 3.5 About REXX Variable Structures.
The following table lists and describes the configuration files and REXX
variable structures for each parameter.
2-52
Loaded file
CLI commands
Hitachi Business Continuity Manager Reference Guide
Specified
parameter
Loaded file
ROUTE
PATH
Disk configuration
definition file
Disk configuration
definition file
Disk configuration
definition file
Note: Regardless of the prefix specified in the STEM parameter, the HostDiscovered Array Index structure is created with the prefix HCC.HDA, and the
route list structure is created with the prefix HCC.ROUTELIST. The created
REXX variable structures take effect within the script.
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify a prefix to be used for the REXX variable structure that stores
information when a configuration file is loaded.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-53
ROUTE(route-list-ID[,{route-label|*}])
Specify the route list ID to be loaded.
This parameter should be specified in the following cases:
Notes
2-54
When you execute the YKLOAD command more than once using the same
stem-name, the system overwrites the REXX variables.
The invoked script executed from the CALL statement or EXEC command
should not read a configuration file with the same stem-name as the one
read by the invoking script.
CLI commands
Hitachi Business Continuity Manager Reference Guide
When operating with a route list, to execute the YKLOAD command several
times, specify the ROUTE parameter for only the first executed instance of
the YKLOAD command. For the succeeding instances of the YKLOAD
command, do not specify ROUTE parameter, but specify the same device
address domain ID as for the first instance of the YKLOAD command. Note
that if you drop the route list structure, and then execute the YKLOAD
command, you need to specify the ROUTE parameter.
If you drop some of the REXX variable structures created by the YKLOAD
command, Business Continuity Manager might not operate properly. If
you want to drop some of the REXX variable structures, you must drop all
of them.
When you issue a command that requires a copy group stem-name as the
input condition, execute the YKLOAD command before executing that
command.
Even if the GROUP parameter is not specified, the YKL007E message is not
displayed if the ROUTE or PATH parameter is specified. If none of the
GROUP, ROUTE and PATH parameters are specified, the YKL201E message is
displayed.
Return codes
The table shown below lists the return codes to be returned when the YKLOAD
command terminates.
Meaning
12
16
36
40
44
48
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-55
Return code
Meaning
Termination due to improper invocation method.
52
YKMAKE command
Applies to ShadowImage, TrueCopy, TrueCopy Asynchronous, and Universal
Replicator.
Format
YKMAKE
1STEM(stem-name-1)
1MSG(stem-name-2)
{[
1{FORWARD|REVERSE}]|
1NOCOPY[
1HOLD[
1SELECT({ALL|COND})]
1DEVN(p-vol-device-number,s-vol-device-number)]
1ONLINE({YES|NO})]
1{FORWARD|REVERSE}]]|
1FORWARD]]}
Function
This command is a TSO/E command called from REXX scripts.
This command makes copy pairs by full copy for the specified copy group and
changes the volume status to the DUPLEX status.
For copy group containers specified by EXCTG ID, journal groups are
registered in EXCTG after the copy pairs are made.
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify the prefix of the name of the copy group structure that stores
information about the copy group for which you want to make copy pairs.
Specify the same character string as the one specified in the STEM parameter
of the YKLOAD command that loaded the corresponding copy group. You must
also include a trailing period character.
2-56
CLI commands
Hitachi Business Continuity Manager Reference Guide
The message structure is initialized when the CLI command with the same
name as the MSG parameter is called.
{FORWARD|REVERSE}
Specify the copy direction.
FORWARD
The command makes a copy pair directed from the primary site to the
secondary site.
REVERSE
Makes a copy pair in the reverse direction, from the secondary site to the
primary site.
NOCOPY
Applies to TrueCopy, TrueCopy Asynchronous, and Universal Replicator.
The command makes a copy pair without copying between P-VOL and S-VOL.
The command is used only when the two volume statuses are exactly the
same.
HOLD
Applies to Universal Replicator.
The copy pair status is transitioned to the HOLD status.
SELECT ({ALL|COND})
Specify the selection method for the copy pair to be manipulated by the
command. When not specified, ALL is assumed.
ALL
All the copy pairs in the copy group are to be manipulated by the
command. Note that if the DEVN parameter is specified, the copy pair
specified for the parameter is the execution target of the command.
COND
The pairs to be manipulated by the command depend on their volume
status. For more information, see the table regarding copy pair statuses
that are manipulated by the command in the Hitachi Business Continuity
Manager User Guide.
For copy group containers specified by EXCTG ID, journal groups not
registered in EXCTG are registered even if there is no volume that is
manipulated by the command.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-57
Condition
Operation
ONLINE ({YES|NO})
Specify whether to make a copy pair if the copy destination volume is online.
YES
Make a copy pair even if the copy destination volume is online.
NO
Do not make a copy pair if the copy destination volume is online.
Notes
2-58
CLI commands
Hitachi Business Continuity Manager Reference Guide
Return codes
The table shown below lists the return codes to be returned when the YKMAKE
command terminates.
Meaning
-4095 to -4040
-3
-1
Since a volume with an invalid status was found in the copy group,
processing for the volume will be skipped.
32
36
40
44
48
128
YKQEXCTG command
Applies to Universal Replicator.
Format
YKQEXCTG
1STEM(stem-name-1)
1MSG(stem-name-2)
1TO({SECONDARY|PRIMARY})
Function
This is a TSO/E command.
Information about the copy group container with the specified EXCTG ID is
acquired from the supervisor DKC at the site specified for the TO parameter.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-59
Parameters
STEM(stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specifies the prefix of the copy group structure that contains the copy group
container with an EXCTG ID for which you want to acquire EXCTG
information. Specify the same character string as you specified for the STEM
parameter of the YKLOAD command that was used to load the copy group.
This prefix must end with a period (.).
EXCTG information is stored under Exctg2 in the copy group structure.
TO({SECONDARY|PRIMARY})
Specifies the site where the supervisor DKC from which EXCTG information
will be acquired is located.
SECONDARY
Acquires information from the supervisor DKC defined for the secondary
site when defining a copy pair. If the current copy direction is the forward
direction, information is valid for the copy group container with an EXCTG
ID specified for the forward direction.
PRIMARY
Acquires information from the supervisor DKC defined for the primary site
when defining a copy pair. If the current copy direction is the reverse
direction, information is valid for the copy group container with an EXCTG
ID specified for the reverse direction.
Notes
Before using the YKQEXCTG command to acquire EXCTG information, use the
YKQUERY command to confirm that consistency is preserved for EXCTG. If
consistency is not preserved for EXCTG, null might be set for the EXCTG
information stored under Exctg2 in the copy group structure. For details
about how to verify whether consistency is preserved for EXCTG, see the
description of EXCTG in the Hitachi Business Continuity Manager User's
Guide.
2-60
CLI commands
Hitachi Business Continuity Manager Reference Guide
Meaning
-4095 to
-4040
-3
-1
32
36
40
44
48
128
The command terminated abnormally. The user does not have the
permissions necessary to execute this command.
YKQHPATH command
Format
YKQHPATH
1DEVN(device-number)
Function
This command is a TSO/E command called from REXX scripts.
This command checks the connection status of the I/O path between the host
and storage system. It sets in the return code the connection status of the
I/O path for a specified volume.
Parameters
DEVN(device-number) ~ <4 hexadecimal characters>
Specify the device number of the volume for which the I/O path connection
status is to be acquired.
Return codes
The table shown below lists the return codes to be returned when the
YKQHPATH command terminates.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-61
Meaning
The command terminated abnormally. A possible cause is as
follows:
-3
-1
16
The specified device was not found, or the specified device was
not DASD, or an ALIAS volume of PAV was specified.
44
48
128
YKQRYDEV command
Applies to ShadowImage, TrueCopy, TrueCopy with the HyperSwap attribute,
TrueCopy Asynchronous, Universal Replicator, and CMD.
Format
YKQRYDEV
1STEM(stem-name-1)
{ 1SN(storage-system-serial-number)
number)|
1CU(cu-number)
1CCA(cca-
1DEVN(device-number)}
1MSG(stem-name-2)
1PATH[
1SSN(serial-number)
1[SMODEL({USP|USPV|VSP|VSPG1000})]]]
Function
This command is a TSO/E command called from REXX scripts.
Storage system information about the specified volume is obtained from the
storage system, and stored in the device information structure specified by
the STEM parameter. For a copy pair, you can specify this for either the P-VOL
or the S-VOL.
2-62
CLI commands
Hitachi Business Continuity Manager Reference Guide
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify an optional prefix for the name of the device information structure in
which the storage system information is stored. You must also include a
trailing period character.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-63
PATH
Specify this parameter if you want to obtain information on inter-control unit
or inter-disk controller logical paths. If this parameter is specified, the
command obtains information on the inter-disk controller logical paths that
are established from storage systems to which the volume specified by the
DEVN parameter or the SN, CU, and CCA parameters belongs. Additionally, the
command also obtains information on inter-control unit logical paths
established from control units to which this volume belongs. The obtained
information is stored in a path set structure with a name that begins with
stem-name-specified-in-STEM-parameter PATH.
SMODEL ({USP|USPV|VSP|VSPG1000})
To obtain information on an inter-disk controller logical path, specify the
model of the secondary storage system for the inter-disk controller logical
path you want to obtain. If this parameter is omitted, USP is assumed.
USP
Specify this option when the model of the secondary storage system for
the inter-disk controller logical path you want to obtain is USP.
USPV
Specify this option when the model of the secondary storage system for
the inter-disk controller logical path you want to obtain is USP V.
VSP
Specify this option when the model of the secondary storage system for
the inter-disk controller logical path you want to obtain is VSP.
VSPG1000
Specify this option when the model of the secondary storage system for
the inter-disk controller logical path you want to obtain is VSP G1000.
Return codes
The table shown below lists the return codes to be returned when the
YKQRYDEV command terminates.
2-64
CLI commands
Hitachi Business Continuity Manager Reference Guide
Meaning
-4095 to -4040
-3
-1
32
40
44
48
128
YKQRYPTH command
Applies to PTH.
Format
YKQRYPTH
1STEM(stem-name-1)
1MSG(stem-name-2)
1PSN(storage-system-serial-number)[
1PCU(cu-number)]]
1SSN(storage-system-serial-number)[
1SCU(cu-number)]]
1PTID(path-group-ID)]
1{FORWARD|REVERSE}]
1RESTRUCT]
1TYPE({CU|DKC})]
Function
This command is a TSO/E command called from REXX scripts.
This command acquires the status of all physical paths allocated to all or
some of the logical paths identified in the path set that is stored in the path
set structure with the prefix specified by the STEM parameter.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-65
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify the prefix of the name of the path set structure that stores
information about the logical path that has the status you want to obtain.
Specify the same character string as the one specified in the STEM parameter
of the YKLOAD command that loaded the corresponding logical path. You must
also include a trailing period character.
2-66
CLI commands
Hitachi Business Continuity Manager Reference Guide
control units within storage systems (that have the serial number specified by
this parameter) as remote control units, and inter-disk controller logical paths
will be acquired in all cases where the paths treat the storage system (that
has the serial number specified by this parameter) as the secondary storage
system.
If neither this parameter nor any other parameters are specified, the
command acquires all logical paths.
{FORWARD|REVERSE}
Specify the direction of the logical path whose status you want to acquire.
If neither is specified, the command will acquire the status of a bidirectional
logical path.
FORWARD
The command acquires the status of forward logical paths that are
identified in the path set stored in the path set structure specified by the
STEM parameter, each of which extends from the initiator node defined by
stem-name-specified-in-STEM-parameterPATH.n.Pri to the target node
defined by stem-name-specified-in-STEM-parameterPATH.n.Sec.
REVERSE
The command acquires the status of the reverse logical paths that are
identified in the path set stored in the path set structure specified by the
STEM parameter. Each path is a reverse logical path from the initiator
node defined by stem-name-specified-in-STEM-parameterPATH.n.Sec to
the target node defined by stem-name-specified-in-STEMparameterPATH.n.Pri.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-67
RESTRUCT
If the port information is set on the storage system, the command sets the
port information on the storage system to the REXX variable.
TYPE ({CU|DKC})
This parameter specifies the type (inter-control unit logical path or inter-disk
controller logical path) of the logical path for which the status is to be
acquired.
If neither this parameter nor any other parameters are specified, the
command acquires the status for all logical paths.
CU
Out of the logical paths within the path set stored in the path set
structure specified by the STEM parameter, the status is acquired for the
logical paths that have CU set for stem-name-specified-in-STEMparameterPATH.n.type.
DKC
Out of the logical paths within the path set stored in the path set
structure specified by the STEM parameter, the status is acquired for the
logical paths that have DKC set for stem-name-specified-in-STEMparameterPATH.n.type.
Notes
Before executing the command, create and load the path set definition
file.
Return codes
The table shown below lists the return codes to be returned when the
YKQRYPTH command terminates.
2-68
Meaning
The command terminated abnormally, possibly because the user
SVC routine has not been included properly.
CLI commands
Hitachi Business Continuity Manager Reference Guide
Return code
Meaning
The module cannot be loaded. Possible causes are as follows:
-3
-1
12
32
36
40
44
48
56
128
YKQUERY command
Applies to ShadowImage, TrueCopy, TrueCopy with the HyperSwap attribute,
TrueCopy Asynchronous, and Universal Replicator.
Format
YKQUERY
1STEM(stem-name-1)
1MSG(stem-name-2)
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-69
1{[DEVN(p-vol-device-number,s-vol-device-number)]
1TO({PRIMARY|SECONDARY})]|VERIFY}]
Function
This command is a TSO/E command called from REXX scripts.
This command displays the copy pair volume status for the specified copy
group.
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify the prefix of the name of the copy group structure that stores
information about the copy group whose copy pair status you want to display.
Specify the same character string as the one specified in the STEM parameter
of the YKLOAD command that loaded the corresponding copy group. You must
also include a trailing period character.
TO ({PRIMARY|SECONDARY})
Specify this parameter if you want to acquire the copy pair information from
either the P-VOL or the S-VOL at the time the copy pair was defined. Note
that the information you can acquire differs depending on the copy direction
of the copy pair and the specified parameters. For the information that you
can acquire, see REXX variables updated by YKQUERY command with the TO
parameter specified on page 3-58.
PRIMARY
2-70
CLI commands
Hitachi Business Continuity Manager Reference Guide
The information is acquired from the P-VOL at the time the copy pair was
defined.
SECONDARY
The information is acquired from the S-VOL at the time the copy pair was
defined.
VERIFY
If this parameter is specified, the command checks the copy group structure,
provided that the copy pair is not in the SIMPLEX status, and allows
information to be acquired from the P-VOL. For details about the content that
is checked, see the description of the Copy Group Configuration Check
Function in the Hitachi Business Continuity Manager User Guide.
Note
For copy group containers specified by EXCTG ID, if you execute the
YKDELETE command and then the YKQUERY command to obtain the copy
pair status, the YKZ296E message sometimes appears when the dissolving
of the copy pair is detected at a different time from the dissolving of
EXCTG, but this does not mean that an error has occurred. However, for
copy group containers specified by EXCTG ID, we recommend that you
execute the YKDELETE command and then the YKEWAIT GOTO(SIMPLEX)
command, wait until the copy pair status changes to SIMPLEX, and then
execute the YKQUERY command.
Return codes
The table shown below lists the return codes to be returned when the
YKQUERY command terminates.
Meaning
-4095 to
-4040
-3
-1
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-71
Return code
Meaning
P-VOL(s) in incompatible status. For example, this includes the following
case:
12
The VERIFY parameter was specified, and the copy group definition was
found to be inconsistent with the actual copy group.
16
In a ShadowImage copy group, the P-VOL for the copy pair for
which processing is attempted already belongs to a copy pair with a
third S-VOL other than the S-VOL defined for the copy group.
20
24
32
36
The status of the P-VOL is SIMPLEX, and the status of the S-VOL is
anything other than SIMPLEX.
The status of the Universal Replicator copy pair was invalid when
the suspend processing was performed by using the UR ATTIME
Suspend Function.
The suspend processing has started because the timeout period had
elapsed when the UR ATTIME Suspend Function was executed.
40
44
48
128
YKRECVER command
Applies to TrueCopy, TrueCopy with the HyperSwap attribute, TrueCopy
Asynchronous, and Universal Replicator.
2-72
CLI commands
Hitachi Business Continuity Manager Reference Guide
Format
YKRECVER
1STEM(stem-name-1)
1MSG(stem-name-2)
1DEVN(p-vol-device-number,s-vol-device-number)]
Function
This command is a TSO/E command called from REXX scripts.
When copy pair operations from the Primary site are disabled due to failure or
other reasons, this command dissolves a copy pair for the specified copy
group from the Secondary site.
When you use this command to dissolve a copy pair, the volume on the
Secondary site assumes the SIMPLEX status, but the volume on the Primary
site takes the SUSPER status. Note, however, that depending on the status of
the Primary site, the status of the volumes in the Primary site do not change
even after the copy pair is dissolved.
The above site names are for cases when the copy direction of copy pair
configuration and the copy direction which is actually recognized on the
storage system are the same. For the opposite copy direction, replace the
primary site and secondary site with the secondary site and primary site
respectively. However, do not dissolve copy pairs during a planned outage.
When dissolving copy pairs in a copy group container specified by EXCTG ID,
if all copy pairs are dissolved from a journal group, that journal group will be
deleted from the EXCTG. In addition, if all journal groups are deleted from
the EXCTG, the EXCTG data will be deleted.
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify the prefix of the name of the copy group structure that stores
information about the copy group for which you want to dissolve the copy
pairs. Specify the same character string as the one specified in the STEM
parameter of the YKLOAD command that loaded the corresponding copy
group. You must also include a trailing period character.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-73
Note
Return codes
The table shown below lists the return codes to be returned when the
YKRECVER command terminates.
-3
-1
32
36
2-74
Meaning
CLI commands
Hitachi Business Continuity Manager Reference Guide
Return code
Meaning
40
44
48
128
YKRESYNC command
Applies to ShadowImage, TrueCopy, TrueCopy Asynchronous, and Universal
Replicator.
Format
YKRESYNC
1STEM(stem-name-1)
1MSG(stem-name-2)
[
{[
1SELECT({ALL|COND})]
1{QUICK|NORMAL}]}[
1{FORWARD|REVERSE}][
number,s-vol-device-number)][
1DELTAJNL[
number)]]|
1ALLJNL[
number)]]|
1ERRCHK[
1ERRCHK[
1DEVN(p-vol-device-
1VOLUNIT]
1DEVN(p-vol-device-number,s-vol-device1DEVN(p-vol-device-number,s-vol-device-
1PREPARE}
1ONLINE({YES|NO})]
1OPENMFUPDATE]
Function
This command is a TSO/E command called from REXX scripts.
This command resynchronizes a copy pair by differential copy for the
specified copy group and changes the volume status to the DUPLEX status.
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify the prefix of the name of the copy group structure that stores
information about the copy group for which you want to synchronize a copy
pair. Specify the same character string as the one specified in the STEM
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-75
SELECT ({ALL|COND})
Specify the selection method for copy pair to be manipulated by the
command. When not specified, ALL is assumed.
ALL
All the copy pairs in the copy group are to be manipulated by the
command. Note that if the DEVN parameter is specified, the copy pair
specified for the parameter is the execution target of the command.
COND
The pairs to be manipulated by the command depend on their volume
status. For more information, see the table showing the copy pair
statuses that are manipulated by the command, in the Hitachi Business
Continuity Manager User Guide.
{QUICK|NORMAL}
Applies to ShadowImage.
Specify the copy mode.
QUICK
Transit to the DUPLEX status quickly.
NORMAL
Transit to the DUPLEX status after copy completion.
{FORWARD|REVERSE}
Specify the copy direction.
Based on the information updated since transiting to the SUSPOP status, the
differences are copied for tracks and cylinders, and the DUPLEX status is
recovered.
When the parameter is not specified in ShadowImage, the differences are
copied from P-VOL to S-VOL.
2-76
CLI commands
Hitachi Business Continuity Manager Reference Guide
VOLUNIT
When this is specified, operation is performed by volume even when the
environment supports operation by group. If you specify this parameter after
ATTIME suspend, execute the YKSUSPND command with the CANCEL parameter
specified.
The following describes the relationship between the VOLUNIT parameter
specification and the command execution when issuing the YKRESYNC
command to reverse the copy direction.
Caution: For more information about which copy pairs are subject to
execution when the SELECT(COND) parameter has been specified at the same
time as the PREPARE parameter, see the table that describes the copy pair
statuses subject to processing by the YKRESYNC command, in the Hitachi
Business Continuity Manager User Guide.
Usually, to operate by volume only those copy pairs whose statuses do not
match due to reasons such as a failure, specify the CANCEL parameter
together with the SELECT(COND) parameter.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-77
DELTAJNL
Applies to Universal Replicator.
Perform a Delta Resync. Copy to S-VOL only the journals on the P-VOL side
that have a differential with the journals on the S-VOL side. After copying the
differential, perform a transition to the DUPLEX status.
ALLJNL
Applies to Universal Replicator.
Perform a Delta Resync with full copy to resynchronize delta resync pairs. All
the information of the P-VOL is copied to the S-VOL regardless of the
differences between the two. After copying has been completed, perform a
transition to the DUPLEX status.
When executing the YKRESYNC command with the ALLJNL parameter for a
copy group which contains one or more copy pairs in the NODELTA status,
perform the following procedure:
1.
Execute the YKRESYNC command with both the ALLJNL parameter and the
ERRCHK parameter to make sure the command terminates successfully
with the return code 0.
2.
Execute the YKRESYNC command with only the ALLJNL parameter to make
sure there all copy pairs can perform full copy.
ERRCHK
Applies to Universal Replicator.
Identify the cause of the error that occurred when a delta resync or a delta
resync with full copy was executed.
Specify the ERRCHK parameter with either the DELTAJNL parameter or the
ALLJNL parameter in the following cases:
To make sure Delta Resync (with or without full copy) can be performed
correctly before executing the YKRESYNC command with either the
DELTAJNL parameter or the ALLJNL parameter.
When the copy pair statuses changes to HOLDER status after executing the
YKRESYNC command with the DELTAJNL parameter or the ALLJNL
parameter.
2-78
CLI commands
Hitachi Business Continuity Manager Reference Guide
Command
Description
PREPARE
Applies to Universal Replicator.
Restore copy pairs that are in an error status (meaning copy pairs in the
HOLDER status, not copy pairs in the SUSPER status) to the HOLD status.
Remove the cause of the error in the copy pair that has the HOLDER status,
and then specify that pair. If there is no problem, perform a transition to the
HOLD status or to the HOLDTRNS status.
When this parameter is specified, commands can be executed whether S-VOL
is online or offline (regardless of the specification in the ONLINE parameter).
ONLINE ({YES|NO})
Specify whether to make a copy pair if the copy destination volume is online.
YES
The command makes copy pairs even when the S-VOL (P-VOL if the
REVERSE parameter is specified) is online.
NO
The command does not make copy pairs when the S-VOL (P-VOL if the
REVERSE parameter is specified) is online. When the destination volume is
online, although an I/O error does not occur in the consistency group, an
I/O error message is issued if VOLUNIT parameter is specified. In addition,
for TrueCopy Asynchronous, and Universal Replicator, I/O error might
occur in the consistency group.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-79
OPENMFUPDATE
Applies to TrueCopy.
Specify this parameter to change the Open/MF Consistency attribute (if the
Open/MF Consistency Preservation Function is used). The Open/MF
Consistency attribute of the copy group definition information that is loaded
when the command that is executed is applied.
If the command is executed without this parameter specified, the Open/MF
Consistency attribute of the copy group definition information that is loaded is
not applied. When this parameter is specified, the command is executed in
units of volumes, if the environment supports execution in units of groups.
Notes
2-80
CLI commands
Hitachi Business Continuity Manager Reference Guide
Even if the status transition is successful, an I/O error might occur and
the command might terminate with return code 32. When you create a
script, code it in such a manner that the YKQUERY or YKEWAIT command is
executed to check the results of status transitions, even if the command
terminates with return code 32, and the processing resumes after a
successful status transition.
Return codes
The table shown below lists the return codes to be returned when the
YKRESYNC command terminates.
Meaning
-4095 to -4040 The command terminated abnormally, possibly because the user SVC
routine has not been included properly.
-3
-1
Since a volume with an invalid status was found in the copy group,
processing for the volume will be skipped.
32
36
40
44
48
128
YKRUN command
Applies to TrueCopy.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-81
Format
YKRUN
1STEM(stem-name-1)
1MSG(stem-name-2)
Function
This command:
Cancels the SCP status for the specified copy group and makes the
update I/O for P-VOL enabled.
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify the prefix of the name of the copy group structure that stores
information about the copy group for which you want to cancel the SCP
status. Specify the same character string as the one specified in the STEM
parameter of the YKLOAD command that loaded the corresponding copy
group. You must also include a trailing period character.
Return codes
The table shown below lists the return codes to be returned when the YKRUN
command terminates.
-3
-1
2-82
Meaning
CLI commands
Hitachi Business Continuity Manager Reference Guide
Return code
Meaning
32
36
40
44
48
128
YKSCAN command
Format
YKSCAN
1STEM(stem-name-1)
1FROM(X'nnnn')
1FROMVSN(volser)
1TO(X'nnnn')|
1TOVSN(volser)}
1MSG(stem-name-2)
1ARRAYS(stem-name-3)
Function
This command is a TSO/E command called from REXX scripts.
This command scans the entire range of device numbers (subchannel
addresses) and generates the REXX variables for the detected volumes.
The configuration file is manipulated when the command is executed.
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify an optional prefix for the name of the Host-Discovered Array
structure used to store the volume scan results. You must also include a
trailing period character.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-83
Notes
2-84
Before creating a copy group, use the YKSCAN command to obtain the
information on the volumes available on this site.
CLI commands
Hitachi Business Continuity Manager Reference Guide
Return codes
The table shown below lists the return codes to be returned when the YKSCAN
command terminates.
Meaning
-4095 to -4040
-3
-1
The command skipped a volume with an I/O path that was not
available. The command generated the REXX variable for the volumes
that were detected successfully.
32
40
44
48
128
YKSLEEP command
Format
YKSLEEP
1{SEC(timeout-value)|MIN(timeout-value)}
Function
This command is a TSO/E command called from REXX scripts.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-85
This command temporarily stops script execution for the specified time.
Parameters
SEC (timeout-value) ~ <numeric characters> ((1-9999))
Specify the time (in seconds) for which the script is to be temporarily
stopped.
Note
The YKSLEEP command might not operate immediately after the specified
time passes, depending on the priority and operating status of the other
tasks.
Return codes
The table shown below lists the return codes to be returned when the
YKSLEEP command terminates.
Meaning
16
YKSTATS command
Applies to TrueCopy Asynchronous, and Universal Replicator.
Format
YKSTATS
1STEM(stem-name-1)
1MSG(stem-name-2)
Function
This command is a TSO/E command called from REXX scripts.
This command acquires the operating information for the specified copy
group.
2-86
CLI commands
Hitachi Business Continuity Manager Reference Guide
If the copy type is Universal Replicator, the command acquires journal group
operating information from both the master journal and restore journal
storage systems.
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify the prefix of the name of the copy group structure that stores
information about the copy group for which you want to acquire operating
information. Specify the same character string as the one specified in the
STEM parameter of the YKLOAD command that loaded the corresponding copy
group. You must also include a trailing period character.
The operating information is set under STATS.n in the copy group structure.
Notes
Start Usage Monitor from the Storage Navigator before executing the
YKSTATS command. Set the collection interval of Usage Monitor
information to 10 minutes or less.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-87
Return codes
The table shown below lists the return codes to be returned when the
YKSTATS command terminates.
Meaning
-4095 to -4040
-3
-1
32
36
40
44
48
128
YKSTORE command
Format
YKSTORE
1STEM(stem-name-1)
1PREFIX(prefix)
1MSG(stem-name-2)
2-88
1PATH]
1UIDCHK]
CLI commands
Hitachi Business Continuity Manager Reference Guide
Function
YKSTORE command is a REXX subroutine.
This command writes information about the copy group or path set on which
an operation is being performed to the configuration file defined in the ISPF
panel. For details about configuration files, see XML document type
definitions on page 3-5.
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify the prefix of the name of the copy group structure that stores
information about the copy group to be stored in the copy group definition
file. Specify the same character string as the one specified in the STEM
parameter of the YKLOAD command that loaded the corresponding copy
group. You must also include a trailing period character.
The copy group structure is initialized for each process.
PATH
Specify this parameter if you want to store path set information in the path
set definition file. Information other than path sets is not stored.
UIDCHK
Specify this parameter if you want to compare the value of UpdateID (last
update ID) stored in the REXX variable structure and the value of UpdateID
stored in the configuration file when the configuration file is updated. The
command will not update the configuration file if, after the configuration file
has been loaded, the value of UpdateID is changed, because the
configuration file is then updated by another user.
Notes
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-89
Return codes
The table shown below lists the return codes to be returned when the
YKSTORE command terminates.
Meaning
The configuration file was not updated because the value of UpdateID
in the REXX variable structure and the value in the configuration file did
not match.
36
44
48
52
YKSUSPND command
Applies to ShadowImage, TrueCopy, TrueCopy Asynchronous, and Universal
Replicator.
Format
YKSUSPND
1STEM(stem-name-1)
1MSG(stem-name-2)
1ATTIME(timevalue)
1ATOPT({NORMAL|UR[({STEADY|QUICK})]})][
1GENID(generation-id)]|
CANCEL[
DRAIN[
1DEVN(p-vol-device-number,s-vol-device-number)][
1SVOL({PROTECT|PERMIT})][
device-number)][
PURGE[
QUICK[
2-90
1DEVN(p-vol-device-number,s-vol-
1DEVN(p-vol-device-number,s-vol-
1VOLUNIT]|
1SVOL({PROTECT|PERMIT})][
device-number)][
1DEVN(p-vol-device-number,s-vol-
1VOLUNIT]|
1SVOL({PROTECT|PERMIT})][
device-number)][
1VOLUNIT]|
1VOLUNIT]|
1SVOL({PROTECT|PERMIT})][
device-number)][
FLUSH[
1TIMEOUT(timeout-value)]
1DEVN(p-vol-device-number,s-vol-
1VOLUNIT]|
CLI commands
Hitachi Business Continuity Manager Reference Guide
FORWARD[
1SVOL({PROTECT|PERMIT})][
device-number)][
REVERSE[
[
1VOLUNIT]|
1SVOL({PROTECT|PERMIT})][
device-number)][
1DEVN(p-vol-device-number,s-vol-
1DEVN(p-vol-device-number,s-vol-
1VOLUNIT]}
1SELECT({ALL|COND})]
Function
This command is a TSO/E command called from REXX scripts.
This command suspends a copy pair for the specified copy group and changes
the volume status to the SUSPOP status.
The following table describes the correspondence between functions, copy
types, and parameter names.
Function
Function related to
ATTIME suspensions
Function for specifying
how to synchronize data
at the time of a
suspension
Copy type
Parameter
name
SI
TC
TCA
UR
--
--
ATTIME
--
--
CANCEL
--
--
--
DRAIN
--
--
FLUSH
--
PURGE
--
Suspends the copy pair so that the SVOL can be read or written even
when data is being copied.
--
--
--
QUICK
--
FORWARD
--
REVERSE
SELECT
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-91
Parameters
STEM (stem-name-1) ~ <REXX prefix of 64 or fewer characters>
Specify the prefix of the name of the copy group structure that stores
information about the copy group for which you want to suspend the copy
pair. Specify the same character string as the one specified in the STEM
parameter of the YKLOAD command that loaded the corresponding copy
group. You must also include a trailing period character.
ATTIME (timevalue)
Applies to ShadowImage, and TrueCopy Asynchronous.
If you use the ATTIME suspend function, specify the time at which suspend
processing is performed.
This parameter is valid for copy groups specified by consistency group ID. If
you do not use the UR ATTIME Suspend Function, this parameter cannot be
specified for a remote storage system. You must use the UR ATTIME Suspend
Function for a copy group in which the P-VOLs are Non Gen'ed volumes. If
you do not use the UR ATTIME Suspend Function, an I/O error will occur.
For a copy group to which the NORMAL ATTIME suspend time has been set,
do not set the UR ATTIME suspend time. If you want to set the UR ATTIME
suspend time for a copy group to which the NORMAL ATTIME suspend time
has been set, cancel the setting of the NORMAL ATTIME suspend time without
using the Remote DKC Control Function, and then set the UR ATTIME suspend
time.
This setting is reset by P/S ON/OFF on the primary storage system.
The format of timevalue is as follows:
YYYYMMDD:HHMMSS:mmmm:ss, {LOCAL|GMT}
YYYY ~ <numeric characters> ((1970-2042))
Specify the year.
MM ~ <numeric characters> ((01-12))
Specify the month.
DD ~ <numeric characters> ((01-31))
Specify the date.
HH ~ <numeric characters> ((00-23))
2-92
CLI commands
Hitachi Business Continuity Manager Reference Guide
Do not specify a time value earlier than the command execution time.
Do not specify a time value larger than the command execution time plus
65,536 minutes.
To check the specified time in another way, see the ISPF log or the
execution result of the script.
If the host on which the command is executed is different from the host
that issues an I/O to the storage system, synchronize the time between
the hosts.
ATOPT ({NORMAL|UR[({STEADY|QUICK})]})
Applies to ShadowImage.
Specify the type of UR ATTIME Suspend Function to be used. If you omit this
parameter, the value specified in the ISPF panel when the ShadowImage
copy pair was defined will be set.
NORMAL
The NORMAL ATTIME Suspend Function is used.
UR
The UR ATTIME Suspend Function is used.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-93
A suspend mode (STEADY or QUICK) is set for the value specified on the
ISPF panel during the ShadowImage copy pair definition.
UR(STEADY)
The UR ATTIME Suspend Function is used. The suspend mode is set to
STEADY.
The S-VOL can be referenced and updated after the data has been
completely copied and the status has changed to SUSPOP.
UR(QUICK)
The UR ATTIME Suspend Function is used. The suspend mode is set to
QUICK.
The S-VOL can be referenced and updated even while data is being
copied.
2-94
CLI commands
Hitachi Business Continuity Manager Reference Guide
same volumes that have the same generation ID when the storage systems
are recovered.
CANCEL
Applies to ShadowImage, and TrueCopy Asynchronous.
If this parameter is used, the ATTIME suspend time is canceled. This
parameter is valid for copy groups specified by consistency group ID.
For TrueCopy Asynchronous, this parameter cannot be specified for a remote
storage system. The following table shows the operation when the ATTIME
suspend time that has been set for the TrueCopy Asynchronous copy group is
canceled.
Specified
Specified
Not specified
Not specified
When the copy type is ShadowImage and you do not use the UR ATTIME
Suspend Function, do not specify this parameter for a remote storage system
or a copy group in which P-VOLs are Non Gen'ed volumes. The following table
shows the operation when the ATTIME suspend time that has been set for the
ShadowImage copy group is canceled:
Storage
system
that is not
directly
NORMAL
ATTIME
suspend time
--
CLI commands
Hitachi Business Continuity Manager Reference Guide
NORMAL
ATTIME
suspend time
--
2-95
Target
storage
system or
copy group
connected
to a host
Copy group
in which
the P-VOLs
are Non
Gen'ed
volumes
Storage
system
that is
directly
connected
to a host
--
Not specified
NORMAL
ATTIME
suspend time
Specified
Not specified
Specified
--
--
Specified
Copy group
which does Not specified
not include
Non
Gen'ed
volumes
Not specified
NORMAL
ATTIME
suspend time
--
The NORMAL
ATTIME suspend
time is not
canceled
because this
operation cannot
be performed.#
The UR ATTIME
suspend time is
not canceled
because it has
not been set.#
The NORMAL
ATTIME suspend
time is not
canceled
because it has
not been set.#
The UR ATTIME
suspend time is
canceled.
--
--
The NORMAL
ATTIME suspend
time is canceled.
The UR ATTIME
suspend time is
not canceled
because it has
not been set.#
The NORMAL
ATTIME suspend
time is not
canceled
because it has
not been set.#
Legend:
--: Not applicable
#
The return code is 0.
DRAIN
Applies to TrueCopy Asynchronous.
Suspends the copy pair after all pending data is synchronized. When this is
specified, since the system will wait for the suspend until no more
unsynchronized data remains, the suspend will not occur as long as updating
continues (and I/O is performed).
PURGE
Applies to TrueCopy Asynchronous, and Universal Replicator.
2-96
CLI commands
Hitachi Business Continuity Manager Reference Guide
When this is specified, the copy pair is suspended when a suspend request is
issued, even if unsynchronized data remains. Unsynchronized data is
managed by main control unit and remote control unit as differential data,
and becomes a differential copy target when the copy pair is synchronized.
FLUSH
Applies to TrueCopy Asynchronous, and Universal Replicator.
Suspends the copy pair after all pending data is synchronized. Since the
suspension is performed when data up until the time of the suspend request
is synchronized, the system does not wait for updating to finish. Data
updated after the suspend request is managed by main control unit and
remote control unit as differential data, and becomes a differential copy
target when the copy pair is synchronized. If the P-VOL of a TrueCopy
Asynchronous copy pair is located in a remote site or is a Non Gen'ed volume,
you cannot specify the FLUSH parameter to suspend the pair. In TrueCopy
Asynchronous, the command is not executed to the remote site if FLUSH is
specified.
This specification is valid for the following models only:
USP
USP V
VSP
VSP G1000
QUICK
Applies to ShadowImage.
Suspends in the QUICK mode.
The S-VOL can be read or written even when data is being copied. When this
parameter is not specified, the S-VOL can be read or written after data
copying, and transition to the SUSPOP status have finished. For details on
what happens when the ATTIME parameter is specified for the NORMAL
ATTIME Suspend Function, see the ShadowImage for IBM z/OS User Guide.
When the UR ATTIME Suspend Function is used, the method of performing
suspensions used depends on the specified ATOPT parameter.
FORWARD
Applies to TrueCopy, TrueCopy Asynchronous, and Universal Replicator.
When the copy direction is forward
Places copy pairs in the SUSPOP status, so that the copy direction goes
from the primary site to the secondary site after RESYNC. If this
parameter is specified for TrueCopy Asynchronous, the data
synchronization method during the suspension will be the same as that
used when the DRAIN parameter is specified. If this parameter is specified
for Universal Replicator, the data synchronization method during the
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-97
suspension will be the same as that used when the FLUSH parameter is
specified.
When the copy direction is reverse
Places copy pairs in the SUSPOP status, so that the copy direction goes
from the primary site to the secondary site after SWAPPING. If this
parameter is specified for TrueCopy Asynchronous or Universal Replicator,
the data synchronization method during the suspension will be the same
as that used when the FLUSH parameter is specified.
REVERSE
Applies to TrueCopy, TrueCopy Asynchronous, and Universal Replicator.
When the copy direction is forward
Places copy pairs in the SWAPPING status, so that the copy direction goes
from the secondary site to the primary site after RESYNC. If this
parameter is specified for TrueCopy Asynchronous or Universal Replicator,
the data synchronization method during the suspension will be the same
as that used when the FLUSH parameter is specified.
When the copy direction is reverse
Places copy pairs in the SUSPOP status, so that the copy direction goes
from the secondary site to the primary site after RESYNC. If this
parameter is specified for TrueCopy Asynchronous, the data
synchronization method during the suspension will be the same as that
used when the DRAIN parameter is specified. If this parameter is specified
for Universal Replicator, the data synchronization method during the
suspension will be the same as that used when the FLUSH parameter is
specified.
When neither the FORWARD parameter nor the REVERSE parameter are
specified, the status of copy pairs become SUSPOP. The copy direction is not
changed at the time of RESYNC.
SVOL ({PROTECT|PERMIT})
Specify whether writing to the S-VOL is permitted or protected after a volume
is suspended (SUSPOP).
When this parameter is not specified, the value specified in the ISPF panel is
assumed. If the ATTIME parameter or CANCEL parameter are both specified,
this specification is disregarded, and the write permissions for the S-VOL
during the suspend are changed as follows, depending on the copy type:
Copy type
ShadowImage
Writable
TrueCopy Asynchronous
Not writable
PROTECT
2-98
CLI commands
Hitachi Business Continuity Manager Reference Guide
This value means that writing to the S-VOL is protected after a volume is
suspended (SUSPOP).
PERMIT
This value means that writing to the S-VOL is permitted after a volume is
suspended (SUSPOP).
VOLUNIT
When this is specified, operation is performed by volume even when the
environment supports operation by group.
Usually, to operate by volume only those copy pairs whose statuses do not
match due to such reasons as failure, specify this along with the
SELECT(COND) parameter.
SELECT ({ALL|COND})
Specify the selection method for the copy pair to be manipulated by the
command. When not specified, ALL is assumed.
ALL
All the copy pairs in the copy group are to be manipulated by the
command. Note that if the DEVN parameter is specified, the copy pair
specified for the parameter is the execution target of the command.
COND
The pairs to be manipulated by the command depend on their volume
status. For more information, see the table describing the copy pair
statuses that are subject to the command, in the Hitachi Business
Continuity Manager User Guide.
Notes
If more than one of the ATTIME, CANCEL, DRAIN, PURGE, FLUSH, QUICK,
FORWARD, and REVERSE parameters is specified, the last specified
parameter takes effect.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-99
After executing the YKSUSPND command, make sure that the statuses for
all copy pairs in the copy group are transitioning to SUSPOP or SWAPPING,
before executing the YKRESYNC command. If the YKRESYNC command is
executed without checking this first, the copy directions in the copy group
might become mixed-up, or transition to the correct status might not
occur.
If the ATTIME suspend function is used, no copy pair can be added to the
copy pair. Execute the YKSUSPND command with the CANCEL parameter
specified or the YKRESYNC command to cancel the ATTIME suspend time
and then add a copy pair.
Return codes
The table shown below lists the return codes to be returned when the
YKSUSPND command terminates.
2-100
Meaning
-4095 to -4040
-3
-1
Since a volume with an invalid status was found in the copy group,
processing for the volume will be skipped.
32
36
40
44
48
CLI commands
Hitachi Business Continuity Manager Reference Guide
Return code
Meaning
128
YKWATCH command
Applies to ShadowImage, TrueCopy, TrueCopy with the HyperSwap attribute,
and TrueCopy Asynchronous.
Format
YKWATCH
1PREFIX(prefix)
1GROUP(copy-group-id)
1GOTO({DUPLEX|SUSPEND|SIMPLEX})
1TIMEOUT(timeout-value)
1DAD(dad-id)
[ 1{USER({user-id|*})|OPERATOR(route-code)|CN({console-id|consolename|INTERNAL})}]
Function
This is a TSO/E command that is called from within a REXX script.
This command monitors the copy pair status transition for a specified copy
group and sends a notification message when all the copy pairs have been
placed in a specified status.
Parameters
PREFIX (prefix) ~ <PREFIX string of 25 or fewer characters>
Specify the prefix of the configuration file name.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-101
GOTO ({DUPLEX|SUSPEND|SIMPLEX})
Specify the status of the copy group to be monitored. When all the copy pairs
in the group change to the specified status, the YKWATCH command
terminates successfully.
DUPLEX
The command waits until all the copy pairs in the group reach the DUPLEX
status. When any copy pair takes a status other than PENDING or DUPLEX,
however, the YKWATCH command terminates abnormally with the return
code 8.
SUSPEND
The command waits until all the copy pairs in the group reach the SUSPOP
status. However, if the status of any copy pair changes to a status other
than a suspend status (SUSPOP, SUSPCU, or SUSPER) or TRANS, the
YKWATCH command terminates abnormally with return code 8.
SIMPLEX
The command waits until the copy pairs attain the SIMPLEX status. When
any copy pair attains a status other than SIMPLEX, however, the YKWATCH
command terminates abnormally with the return code 8.
user-id
Transmits the messages to the terminal with the user ID specified in the
parameter.
*
Transmits the messages to the terminal of the user executing the script.
2-102
CLI commands
Hitachi Business Continuity Manager Reference Guide
CN ({console-id|console-name|INTERNAL}) ~ <numeric
characters> ((0-99)) (for a console ID) or <console name string
from 2 to 8 characters> (for a console name)
Specifies the operator console queue in which the messages issued by the
YKWATCH command are placed.
console-id
Places the messages in the operator console queue with the console ID
specified in the parameter.
console-name
Places the messages in the operator console queue with the console ID
specified in the parameter.
INTERNAL
Sends the messages to the active console in which INTIDS=Y is defined.
Notes
When using a copy pair on a remote site (a site that is not channelconnected directly from the local host), the YKWATCH command cannot
monitor the status transition of the copy pair on the remote site. Use the
YKEWAIT command.
Execute the YKWATCH command when device numbers are assigned for PVOLs of all copy pairs in the copy group specified in the GROUP parameter,
and when the P-VOLs are online.
You cannot specify a console ID for the CN operand when the OS being
used is z/OS V1R8 or later.
You can specify INTERNAL for the CN operand only when the OS being
used is z/OS V1R9 or later.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-103
Return codes
The table shown below lists the return codes to be returned when the
YKWATCH command terminates.
Meaning
A copy pair or copy pairs in the specified group are placed in the
status from which the required status is not reachable.
12
Cannot wait for the status transition, because there is a copy pair
with a P-VOL of which is offline in the specified group.
44
48
YKWTOMSG command
Format
When outputting a single line message
YKWTOMSG(type,text)
Function
This is a REXX function that is called from within a REXX script.
This command outputs the specified message ID and message text to the OS
console.
2-104
CLI commands
Hitachi Business Continuity Manager Reference Guide
Parameters
type
Specify the type of message to be output. This is designated by a code that
corresponds to the specified type:
I
A message that reports information. The message is output in by using
the destination indicating code 11.
W
A warning message. The message is output by using the destination
indicating code 6.
E
An error message. The message is output by using the destination
indicating code 6.
Note
For a multi-line message, the message text can be output to a maximum of
10 lines.
Return codes
The table shown below lists the return codes to be returned when the
YKWTOMSG command terminates.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-105
Meaning
1000
1004
1008
1012
1016
2000
YKDEMO02
YKDEMO03
2-106
Overview
Uses the following CLI commands to demonstrate basic operations on
copy groups:
YKLOAD
YKMAKE
YKSUSPND
YKRESYNC
YKDELETE
YKQUERY
YKEWAIT
YKFCSTAT
YKSLEEP
YKLOAD
YKBLDCMD
YKBLDPTH
CLI commands
Hitachi Business Continuity Manager Reference Guide
YKDEMO04
YKDEMO05
Overview
YKDELCMD
YKDELPTH
YKQRYDEV
YKQRYPTH
YKLOAD
YKEWAIT
YKCONMSG
YKFREEZE
YKSUSPND
YKRUN
YKLOAD
YKQUERY
YKSTATS
YKDEMO06
YKDEMO07
YKDEMO08
YKDEMO09
YKDEMO10
YKDEMO1S
YKQRYDEV
YKWTOMSG
YKDEMO10
YKDEMO11
YKDEMO12
YKDEMO13
YKLOAD
YKEWAIT
YKQEXCTG
YKSLEEP
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-107
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".
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
say "#-- BEGIN YKDEMO01.";
address TSO "YKENV"
/*
* YKLOAD should always be called to make information about a copy
* group available from the REXX environment. In this YKLOAD calling,
* the information about "MYTCS" in "BCM.DEMO" is loaded and stored
* into the REXX variable structure beginning with "DEMO_INFO.".
* One or more error messages that may be generated during execution
* of a CLI command will be stored in the message structure with the
* prefix that is specified by the MSG parameter. In this example,
* the message structure is assumed to have the prefix "DEMO_MSG.".
* Notice that YKLOAD is called with "call" instruction because it is
* a REXX subroutine, not TSO/E command.
*/
call "YKLOAD" "STEM(DEMO_INFO.) PREFIX(BCM.DEMO) GROUP(MYTCS)",
"DAD(PRIM) MSG(DEMO_MSG.) ROUTE(DEMORLST)";
/*
* Make sure that YKLOAD completed successfully. If YKLOAD failed,
* the return value "result" is non-zero.
*/
if result /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* You should always refresh the information in the Copy Group
* structure before calling any copy group-manipulation command such
* as YKMAKE, YKSUSPND and so on.
* To refresh the information, use YKQUERY.
*/
2-108
CLI commands
Hitachi Business Continuity Manager Reference Guide
return code is
YKQUERY, the
in the given
a bad situation.
*/
/*
* Alternatively, you can use YKEWAIT to retrieve the copy group
* status information more quickly as YKEWAIT also updates the Copy
* Group structure (but not entirely. The information items that are
* RCU-dependant such as C/T Delta and C/T Time are not updated).
* Refer to Business Continuity Manager Reference Guide to see how
* YKQUERY and YKEWAIT update the Copy Group structure.
*
* To use YKEWAIT for the purpose of simply updating the Copy Group
* structure, make sure the following parameter specification.
*
- TIMEOUT parameter should have the value zero ("0") for
*
immediate completion of YKEWAIT.
*
- NOINVALIDCHECK parameter should be specified.
*
- GOTO parameter should have the value SIMPLEX.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.) MSG(DEMO_MSG.) GOTO(SIMPLEX)",
"TIMEOUT(0) NOINVALIDCHECK";
/*
* Like YKQUERY, check the return code to see if it is bigger than 8.
* This is because the return code 8 for YKEWAIT indicates unexpected
* status transition. Either 8 or 4 (real time out) is likely to occur
* when TIMEOUT parameter is set to zero.
*/
if rc > 8
then do
call printErrorMessage;
exit;
end;
else
nop;
call printCopyGroupStatus;
/*
* Establish all copy pairs in MYTCS copy group into DUPLEX.
* It is recommended to use SELECT(COND) parameter as it lets YKMAKE
* automatically skip a copy pair that is already established.
*/
address TSO "YKMAKE STEM(DEMO_INFO.) MSG(DEMO_MSG.) SELECT(COND)";
/*
* For YKMAKE, check to see if the return code is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-109
else
nop;
/*
* Use YKEWAIT to wait until "MYTCS" is fully established.
* The value for TIMEOUT is arbitrary. In this example, 30 minutes is
* used just for instance.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.) MSG(DEMO_MSG.) GOTO(DUPLEX)",
"TIMEOUT(30)";
/*
* Unlike when TIMEOUT(0) parameter was used, check the return code
* to see if it is 0 or not because any non-zero return code for
* YKEWAIT indicates that the copy pair state transition did not
* happen as expected.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
call printCopyGroupStatus;
/*
* Suspend all copy pairs in MYTCS copy group.
* Like YKMAKE, use SELECT(COND) to let YKSUSPND skip a copy pair
* which is already being suspended.
* Although you can omit specification of FORWARD/REVERSE parameter,
* it is strongly recommended to specify the parameter to clarify
* your intention.
*/
address TSO "YKSUSPND STEM(DEMO_INFO.) MSG(DEMO_MSG.) FORWARD",
"SELECT(COND)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Wait until all copy pairs in MYTCS copy group become suspended.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.) MSG(DEMO_MSG.) GOTO(SUSPEND)",
"TIMEOUT(30)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
call printCopyGroupStatus;
2-110
CLI commands
Hitachi Business Continuity Manager Reference Guide
/*
* Resynchronize all suspended copy pairs in MYTCS copy group.
* Use SELECT(COND) parameter to let YKRESYNC skip copy pairs which
* are already DUPLEX.
* Just like YKSUSPND, it is recommended to explicitly specify
* FORWARD/REVERSE parameter.
*/
address TSO "YKRESYNC STEM(DEMO_INFO.) MSG(DEMO_MSG.) SELECT(COND)",
"FORWARD";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Wait until all copy pairs in MYTCS copy group become DUPLEX.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.) MSG(DEMO_MSG.) GOTO(DUPLEX)",
"TIMEOUT(30)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
call printCopyGroupStatus;
/*
* Dissolve all copy pairs in MYTCS copy group, putting them back to
* SIMPLEX status.
*/
address TSO "YKDELETE STEM(DEMO_INFO.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Wait until all copy pairs in TCS copy group get fully dissolved.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.) MSG(DEMO_MSG.) GOTO(SIMPLEX)",
"TIMEOUT(30)";
/*
* Check to see if the return code is 0 or not.
*/
if rc /= 0
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-111
then do
call printErrorMessage;
exit;
end;
else
nop;
call printCopyGroupStatus;
say "#-- END YKDEMO01."; /* The sample script completed.
exit;
*/
/*
* printErrorMessage: This procedure prints all of the error messages
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
do x = 1 to DEMO_MSG.0
say "Severity = " || DEMO_MSG.x.Severity;
say "Text
= " || DEMO_MSG.x.Text;
say "Value
= " || DEMO_MSG.x.Value;
end;
return 0;
/*
* printCopyGroupStatus: This procedure prints the status information
*
of copy pairs in the copy group "MYTCS".
*/
printCopyGroupStatus: procedure expose DEMO_INFO.
say DEMO_INFO.ID || " -- status information."
say "
Simplex pairs = " || DEMO_INFO.SimplexCt;
say "
Duplex pairs = " || DEMO_INFO.DuplexCt;
say "
Suspend pairs = " || DEMO_INFO.SuspendOpCt;
return 0;
YKDEMO02
/* REXX
*/
/**********************************************************************/
/*
*/
/* All Rights Reserved. Copyright (C) 2007, 2010, Hitachi, Ltd.
*/
/*
*/
/**********************************************************************/
/*
*/
/* YKDEMO02 - A sample demonstration script that illustrates how to
*/
/*
use the Business Continuity Manager's REXX CLI commands for
*/
/*
linkage with FlashCopy.
*/
/*
*/
/*
This sample script uses the following CLI commands.
*/
/*
- YKFCSTAT
*/
/*
- YKSLEEP
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
say "#-- BEGIN YKDEMO02.";
address TSO "YKENV"
/*
*
*
*
*
*
*
*
2-112
CLI commands
Hitachi Business Continuity Manager Reference Guide
*/
outFlag = "INLOOP";
do i = 1 to 10 while (outFlag == "INLOOP")
/*
* Use YKFCSTAT command to view the current status of the
* FlashCopy processing. You may choose a volume from which
* the status information of the current FlashCopy processing
* is retrieved by specifying a device number of a volume with
* "DEVN" parameter, such as "DEVN(12AB)".
*/
address TSO "YKFCSTAT STEM(DEMO_INFO.) MSG(DEMO_MSG.) DEVN(####)";
/* Check the return code of YKFCSTAT to see if it is 0 or not.
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
*/
/*
* DEMO_INFO.TARGET.STATE0 shows the status of a FlashCopy pair.
* STATE0 = 0 means that there is no FlashCopy relationship so that
* the TrueCopy pairs can be resynchronized.
*/
if DEMO_INFO.TARGET.STATE0 = 0
then
outFlag = "OUTLOOP";
else do
/* Wait for 1 minute and re-enter the loop for YKFCSTAT.
*/
address TSO "YKSLEEP MIN(1)";
end;
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
end;
if i > 10
then
say "FlashCopy processing has not completed.";
else
say "FlashCopy processing has completed.";
say "#-- END YKDEMO02.";
exit;
/*
* printErrorMessage: This procedure prints all of the error messages
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
do x = 1 to DEMO_MSG.0
say "Severity = " || DEMO_MSG.x.Severity;
say "Text
= " || DEMO_MSG.x.Text;
say "Value
= " || DEMO_MSG.x.Value;
end;
return 0;
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-113
YKDEMO03
/* REXX
*/
/**********************************************************************/
/*
*/
/* All Rights Reserved. Copyright (C) 2007, 2010, Hitachi, Ltd.
*/
/*
*/
/**********************************************************************/
/*
*/
/* YKDEMO03 - A sample demonstration script that illustrates how to
*/
/*
use the Business Continuity Manager's REXX CLI commands for
*/
/*
establishing and deleting routes (command devices) and logical */
/*
paths between two storage systems.
*/
/*
This sample script first establishes logical paths from the
*/
/*
primary storage system to the secondary storage system. Once
*/
/*
the logical paths between two storage systems are established, */
/*
the script will then build a command device in the primary
*/
/*
storage system first, then a command device at the secondary
*/
/*
storage system.
*/
/*
Once the command devices are established, the sample script
*/
/*
then deletes the command devices in reverse order, then finally */
/*
deletes the logical paths that it established in the beginning */
/*
of the script.
*/
/*
*/
/*
This sample script uses the following CLI commands.
*/
/*
- YKLOAD
*/
/*
- YKBLDCMD
*/
/*
- YKBLDPTH
*/
/*
- YKDELCMD
*/
/*
- YKDELPTH
*/
/*
- YKQRYDEV
*/
/*
- YKQRYPTH
*/
/*
*/
/*
This sample script assumes the following settings.
*/
/*
*/
/*
1) The definition files are stored in the dataset with the
*/
/*
prefix "BCM.DEMO".
*/
/*
2) The pathset ID is "DEMOPATH". "DEMOPATH" contains the
*/
/*
definition of logical paths in one direction, from the
*/
/*
primary storage system to the secondary storage system.
*/
/*
3) The route list ID is "DEMORLST".
*/
/*
4) The primary Device Address Domain ID is "PRIM".
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
say "#-- BEGIN YKDEMO03.";
address TSO "YKENV"
/*
* YKLOAD should be called to load the information about a pathset
* and a route list into the REXX environment.
*/
call "YKLOAD" "STEM(DEMO_INFO.) PREFIX(BCM.DEMO) PATH(DEMOPATH)",
"DAD(PRIM) ROUTE(DEMORLST) MSG(DEMO_MSG.)";
/*
* Make sure that YKLOAD completed successfully. If YKLOAD failed,
* the return value "result" is non-zero.
*/
if result /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
2-114
CLI commands
Hitachi Business Continuity Manager Reference Guide
* Now build the logical paths between the primary and the secondary
* storage systems in direction from the primary storage system
* to the secondary storage system.
*/
address TSO "YKBLDPTH STEM(DEMO_INFO.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Query for the information of the logical paths that were built
* in the previous call of YKBLDPTH. The updated information will be
* stored in the REXX variable under "DEMO_INFO.PATH".
* You may also check the return code for being larger than 4, as
* 4 also indicates successful completion of the command with some
* logical paths being identified to be in invalid condition.
*/
address TSO "YKQRYPTH STEM(DEMO_INFO.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Print the information in the Path Set structure about the logical
* paths that were built in the previous YKBLDPTH.
* Following lines print the path type and whether it is shared.
* Refer to the Business Continuity Manager Reference Guide for the
* full details about information items available in the Path Set
* structure.
*/
say "-------------------------------------";
do i = 1 to DEMO_INFO.PATH.0
say "Path "i": type
= " || DEMO_INFO.PATH.i.type;
say "Path "i": share? = " || DEMO_INFO.PATH.i.shared;
end;
say "-------------------------------------";
/*
* Build the command device in the primary storage system first.
* You must specify the serial number of the storage system with
* "SN" parameter such as "SN(12345)".
*/
address TSO "YKBLDCMD SN(#####) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-115
end;
else
nop;
/*
* Build the command device in the secondary storage system.
* You must specify the serial number of the storage system with
* "SN" parameter such as "SN(12345)".
*/
address TSO "YKBLDCMD SN(#####) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* YKQRYDEV retrieves the information about a volume device that was
* specified in its parameters. The following example retrieves the
* information about the command device in the primary storage system.
* The information is stored under "DEMO_CDEVP" as specified by the
* STEM parameter.
* The following code shows one way to use YKQRYDEV with SN, CU and
* CCA parameters, such as follows:
*
"SN(12345) CU(10) CCA(20)"
*/
address TSO "YKQRYDEV STEM(DEMO_CDEVP.) SN(#####) CU(##) CCA(##)",
"MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Print the information in the command device in the primary
* storage system.
* Refer to the Business Continuity Manager Reference Guide for the
* full details about information items available by YKQRYDEV.
*/
say "-------------------------------------";
say "CDEV(Primary) DKC's SSID = " || DEMO_CDEVP.SSID;
say "CDEV(Primary) is valid? = " || DEMO_CDEVP.Cdev.Info;
say "CDEV(Primary) is status = " || DEMO_CDEVP.Cdev.Status;
say "CDEV(Primary)'s APID
= " || DEMO_CDEVP.Cdev.APID;
say "-------------------------------------";
/*
*
*
*
*
*
*
2-116
CLI commands
Hitachi Business Continuity Manager Reference Guide
*
"SN(12345) CU(10) CCA(20)"
*/
address TSO "YKQRYDEV STEM(DEMO_CDEVS.) SN(#####) CU(##) CCA(##)",
"MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Print the information in the command device in the secondary
* storage system.
*/
say "-------------------------------------";
say "CDEV(Secondary) DKC's SSID = " || DEMO_CDEVS.SSID;
say "CDEV(Secondary) is valid? = " || DEMO_CDEVS.Cdev.Info;
say "CDEV(Secondary) is status = " || DEMO_CDEVS.Cdev.Status;
say "CDEV(Secondary)'s APID
= " || DEMO_CDEVS.Cdev.APID;
say "-------------------------------------";
/*
* Delete the command device in the secondary storage system.
* Note that the secondary command device is deleted first. This is
* because YKDELCMD command should be sent to the secondary site. If
* the primary command device was deleted first, there is no way for
* BC Manager to send the command to the secondary command device.
* The following code shows one way to use YKDELCMD with SN, CU, CCA
* and APID parameters, such as follows:
*
"SN(12345) CU(10) CCA(20) APID(5613)"
* Please note that if the route list is available, you do not actually
* have to specify CU, CCA and APID parameters.
*/
address TSO "YKDELCMD SN(#####) MSG(DEMO_MSG.) CU(##) CCA(##)",
"APID(####)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Now delete the command device in the primary storage system. As
* in the previous YKDELCMD call, supply the appropriate values to
* SN, CU, CCA and APID parameters for the command device in the
* primary storage system.
* Please note that if the route list is available, you do not actually
* have to specify CU, CCA and APID parameters.
*/
address TSO "YKDELCMD SN(#####) MSG(DEMO_MSG.) CU(##) CCA(##)",
"APID(####)";
/*
* Check the return code to see if it is 0 or not.
*/
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-117
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Delete the logical paths to clean up the configuration.
* If a logical path is defined and built as a "shared" path, the FORCE
* option must be specified to delete such path. When using this
* option, make sure that no one else is using the same path because
* deleting such a shared path will affect other users or applications
* who are using the same path.
*/
address TSO "YKDELPTH STEM(DEMO_INFO.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
say "#-- END YKDEMO03."; /* The sample script completed.
exit;
*/
/*
* printErrorMessage: This procedure prints all of the error messages
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
do x = 1 to DEMO_MSG.0
say "Severity = " || DEMO_MSG.x.Severity;
say "Text
= " || DEMO_MSG.x.Text;
say "Value
= " || DEMO_MSG.x.Value;
end;
return 0;
YKDEMO04
/* REXX
*/
/**********************************************************************/
/*
*/
/* All Rights Reserved. Copyright (C) 2007, 2010, Hitachi, Ltd.
*/
/*
*/
/**********************************************************************/
/*
*/
/* YKDEMO04 - A sample demonstration script that illustrates how to
*/
/*
use the Business Continuity Manager's REXX CLI commands for
*/
/*
using Extended C/T Group feature of TrueCopy Synchronous.
*/
/*
This script will continue monitoring for IEA494I message for
*/
/*
a suspended copy pair in the given TC-Sync copy group for 120
*/
/*
seconds.
*/
/*
*/
/*
This sample script uses the following CLI commands.
*/
/*
- YKLOAD
*/
/*
- YKEWAIT
*/
/*
- YKCONMSG
*/
2-118
CLI commands
Hitachi Business Continuity Manager Reference Guide
/*
- YKFREEZE
*/
/*
- YKSUSPND
*/
/*
- YKRUN
*/
/*
*/
/*
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".
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
say "#-- BEGIN YKDEMO04.";
address TSO "YKENV"
/*
* YKLOAD should be called before manipulating MYTCS to make definition
* information of MYTCS available on the REXX environment.
*/
call "YKLOAD" "STEM(DEMO_INFO.) PREFIX(BCM.DEMO) GROUP(MYTCS)",
"DAD(PRIM) MSG(DEMO_MSG.) ROUTE(DEMORLST)";
/*
* Check the return code of YKLOAD to see if it is 0 or not.
*/
if result /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* As in YKDEMO01, YKEWAIT can be used to update the copy group
* status information quickly.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.) MSG(DEMO_MSG.) GOTO(SIMPLEX)",
"TIMEOUT(0) NOINVALIDCHECK";
/*
* Check the return code to see if it is bigger than 8.
*/
if rc > 8
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Use YKCONMSG with OP(OPEN) parameter to establish the
* interface for monitoring IEA494I message. Use OUTTRAP
* of REXX to acquire the handler value that needs to be
* in the subsequent YKCONMSG calls. The return code for
* completion of YKCONMSG with OP(OPEN) is 0.
*/
temp = OUTTRAP("MyHandle.");
address TSO "YKCONMSG OP(OPEN)";
temp = OUTTRAP("OFF");
EMCS console
instruction
referenced
successful
if rc /= 0
then do
say "YKCONMSG OP(OPEN) failed.";
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-119
end;
else
exit;
nop;
/*
* Get the handler value that was obtained via YKCONMSG OP(OPEN).
*/
parse var MyHandle.1 "HANDLE(x'"HandlerValue"')";
/*
* Start counting the elapsed time for 120 seconds.
*/
elapsedTime = time('e');
/*
* This 'forever' loop keeps invoking YKCONMSG with OP(GET)
* parameter and the handler value that was obtained in the last
* YKCONMSG call to capture the IEA494I message at the EMCS console
* interface.
* The script will exit the loop if either 120 seconds elapsed or
* IEA494I message was successfully captured for a copy pair of
* the given TC-Sync copy group.
*/
do forever
/*
* Invoke YKCONMSG again, but this time with OP(GET) parameter
* and the hander value so that IEA494I message can be
* captured.
*/
dc = OUTTRAP("MyHandle.");
address TSO "YKCONMSG OP(GET) HANDLE(x'"HandlerValue"')";
dc = OUTTRAP("OFF");
/*
* Check the return code of YKCONMSG to see if it is 1 or not.
* YKCONMSG with OP(GET) parameter returns the return code 1
* if it could capture the IEA494I message successfully.
*/
if rc = 1
then do
/*
* Extract the message body from the captured IEA494I string.
*/
parse var MyHandle.1 . IEA494Imsg;
/*
* Check to see if the captured IEA494I message is
* generated due to the relevant copy pair in the TC-Sync
* copy group becoming suspended.
* Modify the value of 'myDevn' below to the device number
* of a volume of a relevant copy pair to run this script.
*/
myDevn = "####";
devnFound = pos(myDevn, IEA494Imsg);
suspFound = pos("PAIR SUSPENDED", IEA494Imsg);
/*
* If the relevant copy pair became suspended, then
* suspend the TC-Sync copy group.
*/
if devnFound /= 0 & suspFound /= 0
then do
2-120
CLI commands
Hitachi Business Continuity Manager Reference Guide
*/
/*
* Close the EMCS console interface that was opened by
* the previous YKCONMSG OP(OPEN) call. Note that the
* return code for YKCONMSG with OP(CLOSE) parameter is
* 6 if it completed successfully.
*/
address TSO "YKCONMSG OP(CLOSE)",
"HANDLE(x'"HandlerValue"')";
/*
* Check the return code to see if it is 6 or not.
* Note that the return code for YKCONMSG with
* OP(CLOSE) is 6 for successful completion.
*/
if rc /= 6
then
say "YKCONMSG OP(CLOSE) failed.";
else
nop;
exit;
end;
else
nop;
end;
end;
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-121
YKDEMO05
/* REXX
*/
/**********************************************************************/
/*
*/
/* All Rights Reserved. Copyright (C) 2007, 2010, Hitachi, Ltd.
*/
/*
*/
/**********************************************************************/
/*
*/
/* YKDEMO05 - A sample demonstration script that illustrates how to
*/
/*
use the Business Continuity Manager's REXX CLI commands for
*/
/*
obtaining various copy group information.
*/
/*
*/
/*
This sample script uses the following CLI commands.
*/
/*
- YKLOAD
*/
/*
- YKQUERY
*/
/*
- YKSTATS
*/
/*
*/
/*
This sample script assumes the following settings.
*/
/*
*/
2-122
CLI commands
Hitachi Business Continuity Manager Reference Guide
/*
1) The definition files are stored in the dataset with the
*/
/*
prefix "BCM.DEMO".
*/
/*
2) TC-Async copy group is used. The copy group ID is "MYTCA".
*/
/*
3) The route list ID is "DEMORLST".
*/
/*
4) The primary Device Address Domain ID is "PRIM".
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
say "#-- BEGIN YKDEMO05.";
address TSO "YKENV"
/*
* YKLOAD should be called before manipulating MYTCA to make definition
* information of MYTCA available on the REXX environment.
*/
call "YKLOAD" "STEM(DEMO_INFO.) PREFIX(BCM.DEMO) GROUP(MYTCA)",
"DAD(PRIM) MSG(DEMO_MSG.) ROUTE(DEMORLST)";
/*
* Check the return code of YKLOAD to see if it is 0 or not.
*/
if result /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Call YKQUERY to refresh the information in the Copy Group structure
* of MYTCA copy group before calling YKMAKE. You may use YKEWAIT with
* TIMEOUT(0) parameter instead, as demonstrated in YKDEMO01.
*/
address TSO "YKQUERY STEM(DEMO_INFO.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is bigger than 8.
*/
if rc > 8
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Establish all copy pairs in MYTCA copy group into DUPLEX. This is
* for demonstration purpose only. In reality you may already have a
* copy group up and running.
*/
address TSO "YKMAKE STEM(DEMO_INFO.) MSG(DEMO_MSG.) SELECT(COND)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Call YKQUERY to fully update the information in the Copy Group
* structure of MYTCA copy group.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-123
2-124
*/
*/
*/
CLI commands
Hitachi Business Continuity Manager Reference Guide
end;
end;
end;
otherwise
nop;
end;
YKDEMO06
/* REXX
*/
/**********************************************************************/
/*
*/
/* All Rights Reserved. Copyright (C) 2007, 2010, Hitachi, Ltd.
*/
/*
*/
/**********************************************************************/
/*
*/
/* YKDEMO06 - A sample demonstration script that illustrates how to
*/
/*
use the Business Continuity Manager's YKWATCH command.
*/
/*
*/
/*
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".
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
say "#-- BEGIN YKDEMO06.";
address TSO "YKENV"
/*
* YKLOAD should be called before manipulating MYTCS to make definition
* information of MYTCS available on the REXX environment.
*/
call "YKLOAD" "STEM(DEMO_INFO.) PREFIX(BCM.DEMO) GROUP(MYTCS)",
"DAD(PRIM) MSG(DEMO_MSG.) ROUTE(DEMORLST)";
/*
* Check the return code of YKLOAD to see if it is 0 or not.
*/
if result /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-125
/*
* Update the Copy Group structure for MYTCS before YKMAKE. You may
* also use YKEWAIT with TIMEOUT(0) for faster update.
*/
address TSO "YKQUERY STEM(DEMO_INFO.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is bigger than 8.
*/
if rc > 8
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Establish all copy pairs in MYTCS copy group into DUPLEX. This is
* for demonstration purpose only. In reality you may already have a
* copy group up and running so that you do not have to use YKMAKE
* before YKWATCH.
*/
address TSO "YKMAKE STEM(DEMO_INFO.) MSG(DEMO_MSG.) SELECT(COND)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Use YKWATCH to let BC Manager notify the state transition of MYTCS
* when it became DUPLEX. You may use YKWATCH for other copy group
* statuses, too.
* In this example, YKWATCH monitors MYTCS copy group to become
* DUPLEX for 30 minutes, and notifies a user about such status
* transition by sending a notification message to the current user's
* console.
*/
call "YKWATCH" "PREFIX(BCM.DEMO) GROUP(MYTCS) GOTO(DUPLEX)",
"TIMEOUT(30) DAD(PRIM)";
/*
* Check the return code to see if it is 0 or not.
*/
if result /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
say "#-- END YKDEMO06.";
exit;
/*
* printErrorMessage: This procedure prints all of the error messages
2-126
CLI commands
Hitachi Business Continuity Manager Reference Guide
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
do x = 1 to DEMO_MSG.0
say "Severity = " || DEMO_MSG.x.Severity;
say "Text
= " || DEMO_MSG.x.Text;
say "Value
= " || DEMO_MSG.x.Value;
end;
return 0;
YKDEMO07
/* REXX
*/
/**********************************************************************/
/*
*/
/* All Rights Reserved. Copyright (C) 2007, 2010, Hitachi, Ltd.
*/
/*
*/
/**********************************************************************/
/*
*/
/* YKDEMO07 - A sample demonstration script that illustrates how to
*/
/*
use the Business Continuity Manager's YKRECVER command.
*/
/*
*/
/*
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".
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
say "#-- BEGIN YKDEMO07.";
address TSO "YKENV"
/*
* YKLOAD should be called before manipulating MYTCS to make definition
* information of MYTCS available on the REXX environment.
*/
call "YKLOAD" "STEM(DEMO_INFO.) PREFIX(BCM.DEMO) GROUP(MYTCS)",
"DAD(PRIM) MSG(DEMO_MSG.) ROUTE(DEMORLST)";
/*
* Check the return code of YKLOAD to see if it is 0 or not.
*/
if result /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Update the Copy Group structure for MYTCS before YKMAKE. You may
* also use YKEWAIT with TIMEOUT(0) for faster update.
*/
address TSO "YKQUERY STEM(DEMO_INFO.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is bigger than 8.
*/
if rc > 8
then do
call printErrorMessage;
exit;
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-127
end;
else
nop;
/*
* Establish all copy pairs in MYTCS copy group into DUPLEX. This is
* for demonstration purpose only. In reality you may already have a
* copy group up and running.
*/
address TSO "YKMAKE STEM(DEMO_INFO.) MSG(DEMO_MSG.) SELECT(COND)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Wait for MYTCS to become fully established.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.) MSG(DEMO_MSG.) GOTO(DUPLEX)",
"TIMEOUT(30)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* The line below shows how to execute YKRECVER.
* The situation in which you have to use this command is rare, but
* this command is useful when the primary site failed and a copy
* group between the primary and the secondary sites cannot be
* dissolved from the primary site. In such a case, YKRECVER should
* be used to forcibly dissolve a copy group from the secondary site.
*/
address TSO "YKRECVER STEM(DEMO_INFO.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
say "#-- END YKDEMO07.";
exit;
/*
* printErrorMessage: This procedure prints all of the error messages
2-128
CLI commands
Hitachi Business Continuity Manager Reference Guide
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
do x = 1 to DEMO_MSG.0
say "Severity = " || DEMO_MSG.x.Severity;
say "Text
= " || DEMO_MSG.x.Text;
say "Value
= " || DEMO_MSG.x.Value;
end;
return 0;
YKDEMO08
/* REXX
*/
/**********************************************************************/
/*
*/
/* All Rights Reserved. Copyright (C) 2009, 2010, Hitachi, Ltd.
*/
/*
*/
/**********************************************************************/
/*
*/
/* YKDEMO08 - A sample demonstration script that illustrates
*/
/*
how to use the Business Continuity Manager's CLI commands to
*/
/*
perform fail-over operations in a 2DC configuration with
*/
/*
HyperSwap and UR.
*/
/*
This script can be used when storage system at the primary
*/
/*
site has been stopped for a storage system maintenance or
*/
/*
because a storage system failure has occurred.
*/
/*
*/
/*
This sample script assumes the following settings:
*/
/*
*/
/*
1) The definition files are stored in the dataset with the
*/
/*
prefix "BCM.DEMO".
*/
/*
2) The TC copy group's copy group ID is MYTCHS.
*/
/*
3) The copy group ID between the primary and
*/
/*
remote sites is MYUR1.
*/
/*
4) The copy group ID between the local and
*/
/*
remote sites is MYUR2.
*/
/*
5) The route list ID is "DEMORLST".
*/
/*
6) The primary Device Address Domain ID is "PRIM".
*/
/*
*/
/*
The details for this sample script are as follows:
*/
/*
*/
/*
1) Call YKLOAD to load configuration definitions.
*/
/*
2) Confirm the ready state for operations in 2DC configuration */
/*
with HyperSwap and UR.
*/
/*
3) Watch for the occurrence of a HyperSwap.
*/
/*
4) Suspend MYUR1.
*/
/*
5) Execute DeltaResync MYUR2.
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
say "#-- BEGIN YKDEMO08."
address TSO "YKENV"
call "YKLOAD" "STEM(DEMO_INFO.MYTCHS.) PREFIX(BCM.DEMO) GROUP(MYTCHS)",
"DAD(PRIM) MSG(DEMO_MSG.) ROUTE(DEMORLST)"
/*
* Check the return code of YKLOAD.
*/
if result /= 0
then do
call printErrorMessage
exit
end
else
nop
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-129
2-130
CLI commands
Hitachi Business Continuity Manager Reference Guide
/*
* Check the status of MYUR2 to confirm the ready status for operations
* in 2DC configuration with HyperSwap and UR.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.MYUR2.) MSG(DEMO_MSG.)",
"GOTO(HOLD) TIMEOUT(0) NOINVALIDCHECK"
/*
* Check the return code of YKEWAIT.
*/
if rc /= 0
then do
call printErrorMessage
exit
end
else
nop
/*
* Use YKCONMSG with the OP(OPEN) and MSGID(IOSHM0414I) parameters
* to establish the EMCS console interface to monitor the IOSHM0414I
* message. Use the REXX instruction OUTTRAP to acquire the handler
* value that needs to be referenced in subsequent YKCONMSG calls.
* The return code for the successful completion of YKCONMSG with the
* OP(OPEN) parameter is 0.
*/
temp = OUTTRAP("MyHandle.")
address TSO "YKCONMSG OP(OPEN) MSGID(IOSHM0414I)"
temp = OUTTRAP("OFF")
if rc /= 0
then do
say "YKCONMSG OP(OPEN) failed."
exit
end
else
nop
/*
* Get the handler value that was obtained via YKCONMSG OP(OPEN).
*/
parse var MyHandle.1 "HANDLE(x'"HandlerValue"')"
/*
* Start the monitoring period of 120 seconds.
*/
elapsedTime = time('e')
/*
* This 'forever' loop will continue to invoke YKCONMSG with OP(GET)
* parameter and the handler value that was obtained in the last
* YKCONMSG call to capture the IOSHM0414I message at the EMCS console
* interface. The script will exit the loop after either 120 seconds has
* elapsed or the IOSHM0414I message is successfully captured.
* IOSHM0414I message is successfully obtained.
*/
do forever
/*
* Invoke YKCONMSG again, but this time with the OP(GET) parameter
* and the hander value so that the IOSHM0414I message can be
* captured.
*/
dc = OUTTRAP("MyHandle.")
address TSO "YKCONMSG",
"OP(GET) HANDLE(x'"HandlerValue"')"
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-131
dc = OUTTRAP("OFF")
/*
* Check the return code of YKCONMSG to see if it is 1 or not.
* YKCONMSG with the OP(GET) parameter returns the return code 1
* if it was able to capture the IOSHM0414I message.
*/
if rc = 1
then do
/*
* Extract the message body from the captured IOSHM0414I string.
*/
parse var MyHandle.1 . IOSHM0414Imsg
/*
* Check to see if the captured IOSHM0414I message is
* generated due to the relevant copy pair in the MYTCHS
* copy group performing a planned or unplanned HyperSwap.
*/
PlannedFound = pos("Planned", IOSHM0414Imsg)
UnplannedFound = pos("Unplanned", IOSHM0414Imsg)
/*
* If a HyperSwap has occurred in the relevant copy pair,
* then resync MYUR2.
*/
if PlannedFound /= 0 | UnplannedFound /= 0
then do
say "#-- IOSHM0414I message was captured."
if UnplannedFound /= 0
then do
/*
* Check the status of the secondary volume that belong
* to the MYTCHS copy pair to see if a DeltaResync
* can be performed.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.MYTCHS.)",
" MSG(DEMO_MSG.) GOTO(SWAPPING)",
" TO(SECONDARY) TIMEOUT(0)"
/*
* Check the return code of YKEWAIT.
*/
if rc /= 0
then do
call printErrorMessage
leave /* Exit the loop. */
end
else
nop
/*
* Suspend the MYUR1 copy pair to change the status of
* MYUR1 into one where a DeltaResync can be performed.
*/
address TSO "YKSUSPND STEM(DEMO_INFO.MYUR1.)",
" MSG(DEMO_MSG.) FLUSH"
/*
* Confirm that the status of MYUR1 copy pair is in a
* status where a DeltaResync can be performed.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.MYUR1.)",
"MSG(DEMO_MSG.) GOTO(SUSPEND) TIMEOUT(10)"
2-132
CLI commands
Hitachi Business Continuity Manager Reference Guide
end
else do
/*
* Confirm that the MYTCHS copy pair is in a status
* where a DeltaResync can be performed.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.MYTCHS.)",
" MSG(DEMO_MSG.) GOTO(SWAPPING)",
" TIMEOUT(0)"
/*
* Check the return code of YKEWAIT.
*/
if rc /= 0
then do
call printErrorMessage
leave /* Exit the loop. */
end
else
nop
/*
* Suspend the MYUR1 copy pair to change the status of
* MYUR1 into one where a DeltaResync can be performed.
*/
address TSO "YKSUSPND STEM(DEMO_INFO.MYUR1.)",
" MSG(DEMO_MSG.) FLUSH"
/*
* Check the return code of YKSUSPND.
*/
if rc /= 0
then do
call printErrorMessage
leave /* Exit the loop. */
end
else
nop
/*
* Confirm that the MYUR1 copy pair is in a status
* where a DeltaResync can be performed.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.MYUR1.) ",
"MSG(DEMO_MSG.) GOTO(SUSPEND) TIMEOUT(10)"
/*
* Check the return code of YKEWAIT.
*/
if rc /= 0
then do
call printErrorMessage
leave /* Exit the loop. */
end
else
nop
end
/*
* Execute a DeltaResync with the MYUR2 copy pair to
* change the status of MYUR1 to HOLD, and
* to change the status of MYUR2 to DUPLEX.
*/
address TSO "YKRESYNC STEM(DEMO_INFO.MYUR2.) ",
"MSG(DEMO_MSG.) DELTAJNL"
/*
* Check the return code of YKRESYNC.
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-133
*/
if rc /= 0
then do
call printErrorMessage
leave /* Exit the loop. */
end
else
nop
/*
* Wait for completion of copying from the local site to
* the remote site.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.MYUR2.) MSG(DEMO_MSG.)",
"GOTO(DUPLEX) TIMEOUT(30)"
/*
* Check the return code of YKEWAIT.
*/
if rc /= 0
then do
call printErrorMessage
leave /* Exit the loop. */
end
else
nop
end
end
2-134
CLI commands
Hitachi Business Continuity Manager Reference Guide
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
do x = 1 to DEMO_MSG.0
say "Severity = " || DEMO_MSG.x.Severity
say "Text
= " || DEMO_MSG.x.Text
say "Value
= " || DEMO_MSG.x.Value
end
return 0
YKDEMO09
/* REXX
*/
/**********************************************************************/
/*
*/
/* All Rights Reserved. Copyright (C) 2009, 2010, Hitachi, Ltd.
*/
/*
*/
/**********************************************************************/
/*
*/
/* YKDEMO09 - A sample demonstration script that illustrates
*/
/*
how to use the Business Continuity Manager's CLI commands to
*/
/*
perform fail-back operations in a 2DC configuration with
*/
/*
HyperSwap and UR.
*/
/*
This script can be used when storage system at the primary
*/
/*
site has been stopped for a storage system maintenance or
*/
/*
because a storage system failure has occurred.
*/
/*
*/
/*
This sample script assumes the following settings:
*/
/*
*/
/*
1) The definition files are stored in the dataset with the
*/
/*
prefix "BCM.DEMO".
*/
/*
2) The TC copy group's copy group ID is MYTCHS.
*/
/*
3) The copy group ID between the primary and
*/
/*
remote sites is MYUR1.
*/
/*
4) The copy group ID between the local and
*/
/*
remote sites is MYUR2.
*/
/*
5) The route list ID is "DEMORLST".
*/
/*
6) The primary Device Address Domain ID is "PRIM".
*/
/*
*/
/*
The details for this sample script are as follows:
*/
/*
*/
/*
*) When the cause of a HyperSwap is a storage system failure,
*/
/*
execute this sample script twice.
*/
/*
When execution for a storage system maintenance or second
*/
/*
execution for a storage system failure, before using this
*/
/*
sample script, change the status of the MYTCHS copy pair to */
/*
Swapping that direction is the primary site to the secondary */
/*
site.
*/
/*
1) Call YKLOAD to load a configuration definitions.
*/
/*
2) Check whether the cause of a HyperSwap was a storage system */
/*
maintenance or a failure.
*/
/*
*) When first execution for a storage system failure, go to
*/
/*
steps 3 and 4.
*/
/*
When execution for a storage system maintenance or second
*/
/*
execution for a storage system failure, go to steps 5 and 6. */
/*
3) Delete the MYUR1 copy pair.
*/
/*
4) Make the MYUR1 copy pair, exit this sample script, and then */
/*
re-execute this sample script again.
*/
/*
5) Suspend the MYUR2 copy pair.
*/
/*
6) Execute a DeltaResync on the MYUR1 copy pair.
*/
/*
*) After using this sample script, resync MYTCHS.
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
say "#-- BEGIN YKDEMO09."
address TSO "YKENV"
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-135
2-136
CLI commands
Hitachi Business Continuity Manager Reference Guide
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-137
end
else
nop
/*
* Confirm that the status of the MYUR1 copy pair is one where a
* DeltaResync can be performed.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.MYUR1.) MSG(DEMO_MSG.)",
"GOTO(HOLD) TIMEOUT(10)"
/*
* Check the return code of YKEWAIT.
*/
if rc /= 0
then do
call printErrorMessage
exit
end
else
nop
exit
end
else
do
end
end
/*
* Confirm that the status of the MYTCHS copy pair is one where a
* DeltaResync can be performed.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.MYTCHS.) MSG(DEMO_MSG.)",
"GOTO(SWAPPING) TIMEOUT(10)"
/*
* Check the return code of YKEWAIT.
*/
if rc /= 0
then do
call printErrorMessage
exit
end
else
nop
/*
* Suspend the MYUR2 copy pair to change the status of MYUR2
* to one where a DeltaResync can be performed.
*/
address TSO "YKSUSPND STEM(DEMO_INFO.MYUR2.)",
"MSG(DEMO_MSG.) FLUSH"
/*
* Check the return code of YKSUSPND.
*/
if rc /= 0
then do
call printErrorMessage
exit
2-138
CLI commands
Hitachi Business Continuity Manager Reference Guide
end
else
nop
/*
* Confirm that the status of the MYUR2 copy pair is one where a
* DeltaResync can be performed.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.MYUR2.) MSG(DEMO_MSG.)",
"GOTO(SUSPEND) TIMEOUT(10)"
/*
* Check the return code of YKEWAIT.
*/
if rc /= 0
then do
call printErrorMessage
exit
end
else
nop
/*
* Execute a DeltaResync on the MYUR1 copy pair to change
* the status of MYUR1 to DUPLEX, and to change
* the status of MYUR2 to HOLD.
*/
address TSO "YKRESYNC STEM(DEMO_INFO.MYUR1.) MSG(DEMO_MSG.)",
"DELTAJNL"
/*
* Check the return code of YKRESYNC.
*/
if rc /= 0
then do
call printErrorMessage
exit
end
else
nop
/*
* Wait for completion of copying from the primary site to
* the remote site.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.MYUR1.) MSG(DEMO_MSG.)",
"GOTO(DUPLEX) TIMEOUT(30)"
/*
* Check the return code of YKEWAIT.
*/
if rc /= 0
then do
call printErrorMessage
exit
end
else
nop
say "#-- END YKDEMO09."
exit
/*
* printErrorMessage: This procedure prints all of the error messages
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-139
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
do x = 1 to DEMO_MSG.0
say "Severity = " || DEMO_MSG.x.Severity
say "Text
= " || DEMO_MSG.x.Text
say "Value
= " || DEMO_MSG.x.Value
end
return 0
YKDEMO10
/* REXX
*/
/**********************************************************************/
/*
*/
/* All Rights Reserved. Copyright (C) 2009, 2010, Hitachi, Ltd.
*/
/*
*/
/**********************************************************************/
/*
*/
/* YKDEMO10 is a sample demonstration script of YKWTOMSG.
*/
/* Using YKWTOMSG, a REXX script can pass a string to another script */
/* through a MCS console.
*/
/*
*/
/* Summary of the procedure is following steps.
*/
/*
1) Issuing YKQRYDEV to retrieve the volume information.
*/
/*
2) Depending on result of YKQRYDEV, either USR000I or USR001E
*/
/*
message will be written to MCS console by YKWTOMSG.
*/
/*
If the command is terminated successfully, the script writes */
/*
USR000I message with some command device related attributes. */
/*
If the command is terminated abnormally, the script writes
*/
/*
USR001E message with return code.
*/
/*
*/
/* To run the script, execute "START YKDEMO1S,DEVN=xxxx" from your
*/
/* MCS console. YKDEMO1S is a sample cataloged procedure of BCM.
*/
/* "xxxx" is device number of a volume. This value is passed to DEVN */
/* parameter of YKQRYDEV. Specify the value to fit your environment. */
/*
*/
/**********************************************************************/
/* Beginning of sample script. */
/*
* Parse DEVN operand of YKDEMO1S cataloged procedure.
*/
parse upper arg "DEVN("op_devn")";
/*
* Retrieve a volume information in the storage system. DEVN
* operand is specified a device number of volume for input. STEM
* operand is specified a variable of volume information for output.
*/
address TSO "YKQRYDEV STEM(DEMO.) DEVN("op_devn") MSG(MSG.)";
retcode = rc;
/*
* Check the return code of YKQRYDEV.
*/
if retcode /= 0
then do
/*
* Found errors during YKQRYDEV. Writing USR001E message with
* return code of the command to MCS console. Then, terminate
* the script.
*/
wtorc = YKWTOMSG("E", "USR001E YKQRYDEV error, rc=" || retcode);
exit retcode;
end;
else
nop;
2-140
CLI commands
Hitachi Business Continuity Manager Reference Guide
/*
* Retrieve volume information successfully. Writing USR000I message
* with some command device related attributes to MCS console.
*/
wtorc = YKWTOMSG("I", ,
"USR000I YKQRYDEV rc=0",
,
" Device is valid? = " || DEMO.CDEV.INFO,
,
" Device status
= " || DEMO.CDEV.STATUS, ,
" CDEV's APID
= " || DEMO.CDEV.APID
);
/*
* Terminate the sample script successfully.
*/
exit 0;
YKDEMO1S
//YKDEMO1S PROC DEVN=
//*********************************************************************
//*
//* All Rights Reserved. Copyright (C) 2009, 2014, Hitachi, Ltd.
//*
//*********************************************************************
//YKDEMO1S EXEC PGM=IKJEFT01,TIME=1440,REGION=4096K,
//
PARM='YKDEMO10 DEVN(&DEVN)'
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY
//SYSABEND DD SYSOUT=*
//SYSEXEC DD DSN=HDSYK.Vnnnnnn.HDSYSAMT,DISP=SHR
Samplib
//
PEND
YKDEMO11
/* REXX
*/
/**********************************************************************/
/*
*/
/*
All Rights Reserved. Copyright (C) 2010, Hitachi, Ltd.
*/
/*
*/
/**********************************************************************/
/*
*/
/* YKDEMO11 is an example script for setting BCM environment
*/
/* variables to local variables and then printing them out.
*/
/*
*/
/* Below is a list of local variables that store BCM environment
*/
/* variables. The default value for each is "N/A".
*/
/*
*/
/*
Local
*/
/*
Variable
Description
*/
/*
-------------------------------------------------------------- */
/*
HostID
Host ID
*/
/*
LicDSN
Prefix of the license information dataset
*/
/*
BCMLog
Output method of the BCM log
*/
/*
CLILog
Output setting for the CLI command-execution logs
*/
/*
*/
/*
*/
/**********************************************************************/
HostID = "N/A"
LicDSN = "N/A"
BCMLog = "N/A"
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-141
CLILog = "N/A"
/* Execute OUTTRAP function on the YKDSPENV-style output. All
*/
/* statuses are stored in LINE.
*/
push_trap = Outtrap()
void
= Outtrap("line.")
Address TSO "YKENV"
/* YKENV indicates YKDSPENV-style output. */
save_retc = rc
void
= Outtrap(push_trap)
/* Parse each line of the LINE array to get the status of
/* environment variables.
If save_retc = 0 Then
Do i = 1 To line.0
Parse Var line.i text ':' value .
Select
When text == 'Host ID'
Then HostID
When text == 'License info DSN prefix' Then LicDSN
When text == 'BCM log output method'
Then BCMLog
When text == 'CLI log output settings' Then CLILog
Otherwise Nop
End
End
Else
Nop
/* Finally, print all variables.
Say '1) Host ID
Say '2) License info DSN prefix
Say '3) BCM log output method
Say '4) CLI log output settings
=
=
=
=
'
'
'
'
HostID
LicDSN
BCMLog
CLILog
the
=
=
=
=
*/
*/
value
value
value
value
*/
Exit save_retc
YKDEMO12
/* REXX
*/
/**********************************************************************/
/*
*/
/*
All Rights Reserved. Copyright (C) 2011, Hitachi, Ltd.
*/
/*
*/
/**********************************************************************/
/*
*/
/* YKDEMO12 is an example script that demonstrates recovery of TC
*/
/* pairs that became inconsistent because of interrupted FlashCopy
*/
/* copy process. This script discovers CONSLOST copy pairs in the TC */
/* group, deletes them, and then re-creates them.
*/
/*
*/
/*
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".
*/
/*
*/
/*
The details for this sample script are as follows:
*/
/*
*/
/*
1) Call YKLOAD to load a configuration definitions.
*/
/*
2) Check whether TC pair became inconsistent because of
*/
/*
interrupted FlashCopy copy process, or not.
*/
/*
*) When TC pair became inconsistent because of interrupted
*/
/*
FlashCopy copy process, go to step 3.
*/
/*
3) Check the status of each pairs.
*/
/*
*) When the status is CONSLOST, go to step 4 and 5.
*/
/*
4) Delete the pair of which the status is CONSLOST in MYTCS.
*/
/*
5) Re-make the deleted pair again.
*/
2-142
CLI commands
Hitachi Business Continuity Manager Reference Guide
/*
*/
/**********************************************************************/
/* Sample script begins. */
Say "#-- BEGIN YKDEMO12."
Call "YKLOAD" "STEM(DEMO_INFO.) PREFIX(BCM.DEMO) GROUP(MYTCS)",
"DAD(PRIM) MSG(DEMO_MSG.) ROUTE(DEMORLST)"
/*
* Check the return code of YKLOAD.
*/
If result /= 0 Then
Do
Call PrintErrorMessage
Exit
End
Else
Nop
/*
* Check the status of the MYTCS copy pair
* to find that TC pair became inconsistent because of interrupted
* FlashCopy copy process.
*/
Address TSO "YKQUERY STEM(DEMO_INFO.) MSG(DEMO_MSG.)"
/*
* Check the return code of YKQUERY.
*/
If rc > 8 Then
Do
Call PrintErrorMessage
Exit
End
Else
Nop
/*
* When TC pair became inconsistent because of interrupted FlashCopy
* copy process, check the status of each the MYTCS copy pairs.
* If the status of pair is CONSLOST, execute recovering process.
*/
If DEMO_INFO.CopyGroup.1.ConslostCt > 0 Then
Do
Do i = 1 To DEMO_INFO.CopyGroup.1.Pair.0
If DEMO_INFO.CopyGroup.1.Pair.i.State == "CONSLOST" Then
Do
/*
* Delete the CONSLOST pair in MYTCS.
*/
P_DEVN = DEMO_INFO.CopyGroup.1.Pair.i.Pri.Devn
S_DEVN = DEMO_INFO.CopyGroup.1.Pair.i.Sec.Devn
Address TSO "YKDELETE STEM(DEMO_INFO.) MSG(DEMO_MSG.)",
"DEVN("P_DEVN","S_DEVN")"
/*
* Check the return code of YKDELETE.
*/
If rc /= 0 Then
Do
Call PrintErrorMessage
Exit
End
Else
Nop
/*
* Confirm that the status of the deleted pair is one where
* the copy pair can be copied.
*/
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-143
2-144
CLI commands
Hitachi Business Continuity Manager Reference Guide
End
Return 0
YKDEMO13
/* REXX
*/
/**********************************************************************/
/*
*/
/*
All Rights Reserved. Copyright (C) 2012, Hitachi, Ltd.
*/
/*
*/
/**********************************************************************/
/*
*/
/* YKDEMO13 - A demo script of Business Continuity Manager REXX CLI
*/
/*
commands used for obtaining EXCTG information.
*/
/*
*/
/*
This sample script uses the following CLI commands.
*/
/*
- YKLOAD
*/
/*
- YKEWAIT
*/
/*
- YKQEXCTG
*/
/*
- YKSLEEP
*/
/*
*/
/*
This sample script assumes the following settings.
*/
/*
*/
/*
1) The definition files are stored in the dataset with the
*/
/*
prefix "BCM.DEMO".
*/
/*
2) UR 4X4 copy group container is used. The copy group ID is
*/
/*
"MYUR4X4".
*/
/*
3) The route list ID is "DEMORLST".
*/
/*
4) The primary Device Address Domain ID is "PRIM".
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
say "#-- BEGIN YKDEMO13.";
address TSO "YKENV"
/*
* YKLOAD should be called before manipulating MYUR4X4 to make
* definition information of MYUR4X4 available on the REXX environment.
*/
call "YKLOAD" "STEM(DEMO_INFO.) PREFIX(BCM.DEMO) GROUP(MYUR4X4)",
"DAD(PRIM) MSG(DEMO_MSG.) ROUTE(DEMORLST)";
/*
* Check the return code of YKLOAD to see if it is 0 or not.
*/
if result /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Call YKQUERY to refresh the information in the Copy Group structure
* of MYUR4X4 copy group container before calling YKMAKE. You may use
* YKEWAIT with TIMEOUT(0) parameter instead, as demonstrated in
* YKDEMO01.
*/
address TSO "YKQUERY STEM(DEMO_INFO.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is bigger than 8.
*/
if rc > 8
then do
call printErrorMessage;
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-145
end;
else
exit;
nop;
/*
* Establish all copy pairs in MYUR4X4 copy group container into DUPLEX.
* This is for demonstration purpose only. In reality you may already
* have a copy group up and running.
*/
address TSO "YKMAKE STEM(DEMO_INFO.) MSG(DEMO_MSG.) SELECT(COND)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Use YKEWAIT to wait until "MYUR4X4" is fully established.
* The value for TIMEOUT is arbitrary. In this example, 30 minutes is
* used just for instance.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.) MSG(DEMO_MSG.) GOTO(DUPLEX)",
"TIMEOUT(30)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Several copy group information items obtained by the YKLOAD command
* are displayed here.
*/
say "Copy Group ID : " ||,
DEMO_INFO.ID;
say "Description
: " ||,
DEMO_INFO.Description;
outFlag = "INLOOP";
do i = 1 to 10 while (outFlag == "INLOOP")
/*
* Calls the YKQEXCTG command to obtain the EXCTG information for
* MYUR4X4. If the copy direction is the reverse direction, specify
* the TO(PRIMARY) parameter.
*/
address TSO "YKQEXCTG STEM(DEMO_INFO.) MSG(DEMO_MSG.)",
"TO(SECONDARY)";
/* Check the return code of YKQEXCTG to see if it is 0 or not.
if rc /= 0
2-146
*/
CLI commands
Hitachi Business Continuity Manager Reference Guide
then do
call printErrorMessage;
exit;
end;
else
nop;
if DEMO_INFO.Exctg2.Info == "Valid"
then do
/*
* Several information items obtained by the YKQEXCTG command
* are displayed here. For details about the information items
* that the YKQEXCTG command can obtain, see the Business
* Continuity Manager Reference Guide.
*/
say "YKQEXCTG End Time
: " ||,
DEMO_INFO.Exctg2.EndTime;
say "EXCTG Consistency Time : " ||,
DEMO_INFO.Exctg2.ArbCTTime;
say "EXCTG CTDelta
: " ||,
DEMO_INFO.Exctg2.ArbCTDelta;
/* Wait for 10 second and re-enter the loop for YKQEXCTG.
address TSO "YKSLEEP SEC(10)";
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
end;
else do
say "Exctg2 REXX structure is not valid."
outFlag = "OUTLOOP";
end;
end;
say "#-- END YKDEMO13.";
exit;
/*
* printErrorMessage: This procedure prints all of the error messages
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
do x = 1 to DEMO_MSG.0
say "Severity = " || DEMO_MSG.x.Severity;
say "Text
= " || DEMO_MSG.x.Text;
say "Value
= " || DEMO_MSG.x.Value;
end;
return 0;
CLI commands
Hitachi Business Continuity Manager Reference Guide
2-147
2-148
CLI commands
Hitachi Business Continuity Manager Reference Guide
3
Data objects
This chapter describes the configuration file dataset formats and required disk
capacity, the XML document type definitions, REXX variable structures, and
CSV files.
Names of configuration files
Dataset formats and required disk capacity for the configuration file
XML document type definitions
Configuration file examples
About REXX variable structures
REXX variables updated by YKQUERY and YKEWAIT commands
CSV files used by the Copy Group Definition File Generation Function
Data objects
Hitachi Business Continuity Manager Reference Guide
3-1
File name
prefix.GRP.copy-group-ID
prefix.DSK.SNnnnnn.device-address-domain-ID
prefix.ROUTE.route-list-ID
prefix.CDEV.device-address-domain-ID
prefix.PATH.path-set-ID
Note:
prefix must be the same in the operation scope of the copy group.
Note: If you execute YKBTSCAN, temporary files will be created. These files
will be deleted after the disk configuration definition file is successfully
created or updated. For this reason, do not create datasets that will have the
same names as the temporary files.
The following shows the names of the temporary files:
prefix.NEW.SNnnnnn.device-address-domain-ID
prefix.OLD.SNnnnnn.device-address-domain-ID
The following table describes the maximum length and characters that can be
specified for the items of the configuration file names.
3-2
Data objects
Hitachi Business Continuity Manager Reference Guide
Table 3-2 Maximum length and characters that can be specified for the
items of the configuration file names
Item
Maximum length
Prefix
16
Copy group ID
44 - (5 + prefix-length)
Device address
domain ID
Route list ID
Path set ID
44 - (6 + prefix-length)
Specifiable characters
A string consisting of one
or more parts, joined by
periods. Each part can
contain from one to eight
characters, and consist of
uppercase alphabetic and
numeric characters. Note
that the first character of
each part must be an
uppercase alphabetic
character.
Meaning
Number of storage systems defined in the routes included in the route list
definition file
Number of digits in the number of copy pairs included in the copy group
definition file
Data objects
Hitachi Business Continuity Manager Reference Guide
3-3
Symbol
K
Meaning
Number of command device groups included in the command device
definition file
The following table lists the dataset formats of the configuration file.
DSORG
RECFM
LRECL
BLKSIZE
(bytes)
PS
VB
256
4,096
PS
VB
256
4,096
PS
VB
256
4,096
PS
VB
256
4,096
PS
VB
256
4,096
Caution: The configuration files are only for reference. If the configuration
files are changed, correct operation cannot be guaranteed.
The following table lists the required disk capacity for the configuration file.
Size (bytes)
600
+A
710
+B
230
+C
+D
Disk configuration definition file
500
+E
400
+F
90
+G
90
400
+H
+K
200
200
300
+I
3-4
180
1,240
Data objects
Hitachi Business Continuity Manager Reference Guide
Tip: If you execute YKBTSCAN for creating the disk configuration definition
file, temporary files will be created. Make sure that there is enough space for
these files.
Be sure to take into consideration that, if the characters in the following table
are included in the volume serial number of a volume that will be scanned or
in the Description item of the ISPF panel, then the required disk capacity
will increase according to the number of included characters.
Size to be increased for each character specified
(bytes)
Character
>
<
&
Type of the
configuration file
Copy group
definition file
Copy group
definition file
Size to be
increased (bytes)
400
+A
210
400
+J
16
+A
16)
(2,760 + J
+B
90
Data objects
Hitachi Business Continuity Manager Reference Guide
3-5
All XML data objects in Business Continuity Manager should be within the
APIInfo elements.
The XML data objects described here are valid within the APIInfo
elements with the attribute Level= "7.6.1".
<!ELEMENT APIInfo(CopyGroupContainer|HostDiscoveredArray|
RouteList|CDEVContainer|CDEVGRP|Paths)>
<!ATTLIST APIInfo
Level
(7.6.1)#REQUIRED
UpdateID
CDATA#IMPLIED
>
The following table gives the meaning of the attribute of the APIInfo
elements.
Attribute name
Meaning
Level
API level
UpdateID
Last update ID
Disk Device
<!ELEMENT DiskDevice (EMPTY)>
<!ATTLIST DiskDevice
SerialNum
CDATA#REQUIRED
CUNum
CDATA#IMPLIED
SSID
CDATA#IMPLIED
CCA
CDATA#IMPLIED
Cyls
CDATA#IMPLIED
External
(Y|N)#IMPLIED
>
<!ELEMENT DiskDevice (EMPTY)>
<!ATTLIST DiskDevice
SerialNum
CDATA#REQUIRED
CUNum
CDATA#IMPLIED
SSID
CDATA#IMPLIED
CCA
CDATA#IMPLIED
POOLID
CDATA#IMPLIED
Cyls
CDATA#IMPLIED
External
(Y|N)#IMPLIED
>
The following table gives the meanings of the attributes of the
DiskDevice elements.
Attribute name
3-6
Meaning
SerialNum
CUNum
SSID
SSID
CCA
POOLID
Cyls
Volume capacity
External
Data objects
Hitachi Business Continuity Manager Reference Guide
Meaning
State
CTDelta
MatchingPerCent
Reversed
Copy Pair
<!ELEMENT CopyPair (PairState,DiskDevice,DiskDevice)>
True Copy Option
<!ELEMENT TC_Options (EMPTY)>
<!ATTLIST TC_Options
GroupID
CDATA#IMPLIED
FenceLevel
(DATA|STATUS|NEVER)#REQUIRED
FreezeScpMode
(Y|N)#IMPLIED
TimeStampMode
(Y|N)#IMPLIED
Map
(CYL|TRK)#IMPLIED
OpenMF
(Y|N)#IMPLIED
>
The following table gives the meanings of the attributes of the
TC_Options elements.
Attribute name
Meaning
GroupID
Consistency group ID
FenceLevel
FreezeScpMode
TimeStampMode
Map
OpenMF
Data objects
Hitachi Business Continuity Manager Reference Guide
3-7
<!ELEMENT TCA_Options
<!ATTLIST TCA_Options
GroupID
ErrorLevel
Map
FlowControl
F_Timer_Type
R_Timer_Type
>
(EMPTY)>
CDATA#REQUIRED
(GROUP|VOLUME)#REQUIRED
(CYL|TRK)#IMPLIED
(Y|N)#REQUIRED
(SYSTEM|LOCAL|NONE)#REQUIRED
(SYSTEM|LOCAL|NONE)#REQUIRED
Meaning
GroupID
Consistency group ID
ErrorLevel
Map
FlowControl
Flow control
F_Timer_Type
R_Timer_Type
ShadowImage Option
<!ELEMENT SI_Options (EMPTY)>
<!ATTLIST SI_Options
GroupID
CDATA#IMPLIED
PresetMode
(NORMAL|UR)#IMPLIED
AttimeSplitMode
(STEADY|QUICK)#IMPLIED
>
The following table gives the meanings of the attributes of the
SI_Options elements.
Attribute name
Meaning
GroupID
Consistency group ID
PresetMode
AttimeSplitMode
3-8
Data objects
Hitachi Business Continuity Manager Reference Guide
Meaning
GroupID
subGroupID
MirrorID
Mirror ID
ErrorLevel
CTTimeMode
PathID
Path group ID
Related
<!ELEMENT Related (EMPTY)>
<!ATTLIST Related
CopyGroupID
ID#REQUIRED
Type
(CCFROM|MTOF|REVERSE|RSI)#REQUIRED
>
The following table gives the meanings of the attributes of the Related
elements.
Attribute name
Meaning
CopyGroupID
Related ID
Type
Related type
DKCState
<!ELEMENT DKCState (EMPTY)>
<!ATTLIST DKCState
SerialNum
CDATA#REQUIRED
WPR_All
CDATA#REQUIRED
RSF_All
CDATA#REQUIRED
RSF_CT
CDATA#REQUIRED
JNL_Meta
CDATA#REQUIRED
JNL_Data
CDATA#REQUIRED
JNL_Trfr
CDATA#REQUIRED
JNL_Cache_Capacity CDATA#REQUIRED
JNL_Data_Capacity
CDATA#REQUIRED
>
The following table gives the meanings of the attributes of the DKCState
elements.
Attribute name
Meaning
SerialNum
WPR_All
RSF_All
RSF_CT
Data objects
Hitachi Business Continuity Manager Reference Guide
3-9
Attribute name
Meaning
JNL_Meta
JNL_Data
JNL_Trfr
JNL_Cache_Capacity
JNL_Data_Capacity
RelatedDKCState
<!ELEMENT RelatedDKCState (DKCState,DKCState)>
<!ATTLIST RelatedDKCState
Sidefile_Threshold CDATA#REQUIRED
Offload_Timer
CDATA#REQUIRED
RCU_Ready_Timer
CDATA#REQUIRED
Copy_Pending_Timer CDATA#REQUIRED
MCU_TO_RCU_KBPS
CDATA#REQUIRED
>
The following table gives the meanings of the attributes of the
RelatedDKCState elements.
Attribute name
Meaning
Sidefile_Threshold
Sidefile threshold
Offload_Timer
Offloading timer
RCU_Ready_Timer
Copy_Pending_Timer
MCU_TO_RCU_KBPS
Copy Group
<!ELEMENT CopyGroup ((TC_Options|TCA_Options|SI_Options|
UR_Options),
Related?,RelatedDKCState*,CopyPair*,ExctgDefDKC?)>
<!ATTLIST CopyGroup
ID
ID#REQUIRED
PrimaryDADID
ID#REQUIRED
SecondaryDADID
ID#REQUIRED
SimplexCt
CDATA#IMPLIED
DuplexCt
CDATA#IMPLIED
PendingCt
CDATA#IMPLIED
RevresyncCt
CDATA#IMPLIED
SuspendOpCt
CDATA#IMPLIED
SuspendVSCt
CDATA#IMPLIED
SuspendCuCt
CDATA#IMPLIED
SuspendErCt
CDATA#IMPLIED
SwappingCt
CDATA#IMPLIED
TransitionCt
CDATA#IMPLIED
InvalidCt
CDATA#IMPLIED
ReversedCt
CDATA#IMPLIED
3-10
Data objects
Hitachi Business Continuity Manager Reference Guide
>
HoldCt
HoldErCt
ChkJnlCt
HoldTrnsCt
NoDeltaCt
ConslostCt
CurrentTime
MatchingPerCent
InitPace
ProtectMode
LinkageOption
CDATA#IMPLIED
CDATA#IMPLIED
CDATA#IMPLIED
CDATA#IMPLIED
CDATA#IMPLIED
CDATA#IMPLIED
CDATA#IMPLIED
CDATA#IMPLIED
(SLOW|NORMAL)#IMPLIED
(PROTECT|PERMIT)#REQUIRED
(NONE|HS)#IMPLIED
The following table gives the meanings of the attributes of the CopyGroup
elements.
Attribute name
Meaning
ID
Copy group ID
PrimaryDADID
SecondaryDADID
SimplexCt
SIMPLEX count
DuplexCt
DUPLEX count
PendingCt
PENDING count
RevresyncCt
REVRSY count
SuspendOpCt
SUSPOP count
SuspendVSCt
SUSPVS count
SuspendCuCt
SUSPCU count
SuspendErCt
SUSPER count
SwappingCt
SWAPPING count
TransitionCt
TRANS count
InvalidCt
INVALID count
ReversedCt
HoldCt
HOLD count
HoldErCt
HOLDER count
ChkJnlCt
CHKJNL count
HoldTrnsCt
HOLDTRNS count
NoDeltaCt
NODELTA count
ConslostCt
CONSLOST count
CurrentTime
MatchingPerCent
Data objects
Hitachi Business Continuity Manager Reference Guide
3-11
Attribute name
Meaning
InitPace
Copy pace
ProtectMode
Protect mode
LinkageOption
Linkage option
3-12
Meaning
ContainerID
Copy group ID
Format
Description
MatchingPerCent
SimplexCt
SIMPLEX count
PendingCt
PENDING count
DuplexCt
DUPLEX count
TransitionCt
TRANS count
SuspendCuCt
SUSPCU count
Data objects
Hitachi Business Continuity Manager Reference Guide
Attribute name
Meaning
SuspendOpCt
SUSPOP count
SuspendVSCt
SUSPVS count
SuspendErCt
SUSPER count
InvalidCt
INVALID count
SwappingCt
SWAPPING count
RevresyncCt
REVRSY count
ReversedCt
HoldCt
HOLD count
HoldErCt
HOLDER count
ChkJnlCt
CHKJNL count
HoldTrnsCt
HOLDTRNS count
NoDeltaCt
NODELTA count
ConslostCt
CONSLOST count
ExctgEnable
ExctgDef
<!ELEMENT ExctgDef(EX_DefInfo)>
EX_DefInfo
<!ELEMENT EX_DefInfo(EMPTY)>
<!ATTLIST EX_DefInfo
FwdEnable
(0|1)#IMPLIED
RevEnable
(0|1)#IMPLIED
FwdExctgID
CDATA#IMPLIED
RevExctgID
CDATA#IMPLIED
FwdSuper_Model
CDATA#IMPLIED
RevSuper_Model
CDATA#IMPLIED
FwdSuper_SerialNum CDATA#IMPLIED
RevSuper_SerialNum CDATA#IMPLIED
>
The following table gives the meanings of the attributes of the
EX_DefInfo elements.
Attribute name
Meaning
FwdEnable
RevEnable
FwdExctgID
RevExctgID
Data objects
Hitachi Business Continuity Manager Reference Guide
3-13
Attribute name
Meaning
FwdSuper_Model
RevSuper_Model
FwdSuper_SerialNum
RevSuper_SerialNum
ExctgDefDKC
<!ELEMENT ExctgDefDKC(EX_DefDKC)>
EX_DefDKC
<!ELEMENT EX_DefDKC(EMPTY)>
<!ATTLIST EX_DefDKC
FwdModel
CDATA#IMPLIED
RevModel
CDATA#IMPLIED
FwdSerialNum
CDATA#IMPLIED
RevSerialNum
CDATA#IMPLIED
FwdArbCmdNo
CDATA#IMPLIED
RevArbCmdNo
CDATA#IMPLIED
>
The following table gives the meanings of the attributes of the EX_DefDKC
elements.
Attribute name
Meaning
FwdModel
RevModel
FwdSerialNum
RevSerialNum
FwdArbCmdNo
RevArbCmdNo
3-14
Data objects
Hitachi Business Continuity Manager Reference Guide
>
STORGRP
CDATA#IMPLIED
Meaning
Devn
Device number
Volser
STORGRP
SoftwareKeys
<!ELEMENT SoftwareKeys (EMPTY)>
<!ATTLIST SoftwareKeys
TC
(0|1)#REQUIRED
SI
(0|1)#REQUIRED
TCA
(0|1)#REQUIRED
UR
(0|1)#REQUIRED
>
The following table gives the meanings of the attributes of the
SoftwareKeys elements.
Attribute name
Meaning
TC
TrueCopy key
SI
ShadowImage key
TCA
UR
POOL
<!ELEMENT POOL(PoolTier*)>
<!ATTLIST POOL
POOLID
CDATA#REQUIRED
Name
CDATA#IMPLIED
Type
CDATA#REQUIRED
PageSize
CDATA#IMPLIED
>
The POOL elements are used in the system.
PoolTier
<!ELEMENT PoolTier(EMPTY)>
<!ATTLIST PoolTier
Tier
CDATA#REQUIRED
Media
CDATA#IMPLIED
>
The PoolTier elements are used in the system.
Logical Path
Paths (CUPath*, DKCPath*)>
<!ATTLIST Paths
ID
CDATA#REQUIRED
Description
CDATA#IMPLIED
Data objects
Hitachi Business Continuity Manager Reference Guide
3-15
>
<!ELEMENT CUPath(Ports*)>
<!ATTLIST CUPath
Shared
(Y|N)#IMPLIED
PriModel
CDATA#IMPLIED
SecModel
CDATA#IMPLIED
PriIFType
CDATA#IMPLIED
SecIFType
CDATA#IMPLIED
PriSerialNum
CDATA#REQUIRED
SecSerialNum
CDATA#REQUIRED
PriSSID
CDATA#REQUIRED
SecSSID
CDATA#REQUIRED
PriCUNum
CDATA#REQUIRED
SecCUNum
CDATA#REQUIRED
PriCCA
CDATA#IMPLIED
SecCCA
CDATA#IMPLIED
>
<!ELEMENT DKCPath(Ports*)>
<!ATTLIST DKCPath
Shared
(Y|N)#IMPLIED
PriModel
CDATA#IMPLIED
SecModel
CDATA#IMPLIED
PriIFType
CDATA#IMPLIED
SecIFType
CDATA#IMPLIED
PriSerialNum
CDATA#REQUIRED
SecSerialNum
CDATA#REQUIRED
PriPathID
CDATA#IMPLIED
SecPathID
CDATA#IMPLIED
PriCUNum
CDATA#IMPLIED
SecCUNum
CDATA#IMPLIED
PriCCA
CDATA#IMPLIED
SecCCA
CDATA#IMPLIED
>
The following table gives the meanings of the attributes of the Paths
elements.
Attribute name
Meaning
ID
Path set ID
Description
The following table gives the meanings of the attributes of the CUPath
elements.
Attribute name
3-16
Meaning
Shared
Existence of sharing
PriModel
SecModel
PriIFType
SecIFType
PriSerialNum
Data objects
Hitachi Business Continuity Manager Reference Guide
Attribute name
Meaning
SecSerialNum
PriSSID
Primary SSID
SecSSID
Secondary SSID
PriCUNum
SecCUNum
PriCCA
SecCCA
The following table gives the meanings of the attributes of the DKCPath
elements.
Attribute name
Meaning
Shared
Existence of sharing
PriModel
SecModel
PriIFType
SecIFType
PriSerialNum
SecSerialNum
PriPathID
SecPathID
PriCUNum
SecCUNum
PriCCA
SecCCA
Physical Path
<!ELEMENT Ports (Port*)>
<!ATTLIST Ports
Direction
(FORWARD|REVERSE)#IMPLIED
Data objects
Hitachi Business Continuity Manager Reference Guide
3-17
>
Type
(FIBRE|ESCON)#IMPLIED
The following table gives the meanings of the attributes of the Ports
elements.
Attribute name
Meaning
Direction
Type
The following table gives the meanings of the attributes of the Port
elements.
Attribute name
Meaning
PriPort
SecPort
Status
Meaning
Device address domain ID to which a command
device belongs
3-18
Data objects
Hitachi Business Continuity Manager Reference Guide
Attribute name
Meaning
DADID
APID
APID#
LABEL
Route label
CYL
HD
SLOTSIZE
Meaning
Devn
Volser
DADID
Host-Discovered Array
<!ELEMENT HostDiscoveredArray
(SoftwareKeys, DKCPaths?, HostAddressedDisk*)>
<!ATTLIST HostDiscoveredArray
Description
CDATA#REQUIRED
DADID
ID#REQUIRED
NGDADIDEnable
(0|1)#IMPLIED
SerialNum
CDATA#REQUIRED
Model
(7700E|9900|9900V|USP|USPV|VSP|VSPG1000)#REQUIRED
Microcode
CDATA#REQUIRED
IFType
CDATA#REQUIRED
PhysicalSerialNum
CDATA#IMPLIED
>
<!ELEMENT HostDiscoveredArray
(SoftwareKeys, POOL*, DKCPaths?, HostAddressedDisk*)>
<!ATTLIST HostDiscoveredArray
Description
CDATA#REQUIRED
DADID
ID#REQUIRED
NGDADIDEnable
(0|1)#IMPLIED
Data objects
Hitachi Business Continuity Manager Reference Guide
3-19
>
SerialNum
Model
Microcode
IFType
PhysicalSerialNum
CDATA#REQUIRED
(7700E|9900|9900V|USP|USPV|VSP)#REQUIRED
CDATA#REQUIRED
CDATA#REQUIRED
CDATA#IMPLIED
Meaning
Description
DADID
NGDADIDEnable
SerialNum
Model
Microcode
Microcode number
IFType
Interface version
PhysicalSerialNum
Disk Controller
<!ELEMENT DKC (EMPTY)>
<!ATTLIST DKC
SerialNum
CDATA#REQUIRED
DADID
CDATA#REQUIRED
>
The following table gives the meaning of the attribute of the DKC
elements.
Attribute name
Meaning
SerialNum
DADID
Route
<!ELEMENT Route (DKC*)>
<!ATTLIST Route
DADID
CDATA#REQUIRED
priority
CDATA#IMPLIED
>
The following table gives the meanings of the attributes of the Route
elements.
Attribute name
DADID
3-20
Meaning
Device address domain ID
Data objects
Hitachi Business Continuity Manager Reference Guide
Attribute name
priority
Meaning
Route priority (fixed value of 1)
RouteList
<!ELEMENT RouteList (Route*)>
<!ATTLIST RouteList
ID
ID#REQUIRED
>
The following table gives the meaning of the attribute of the RouteList
elements.
Attribute name
Meaning
Route list ID
ID
Data objects
Hitachi Business Continuity Manager Reference Guide
3-21
<ExctgDefDKC>
<EX_DefDKC FwdModel="USPV" RevModel="USPV" FwdSerialNum="FGHK2" RevSerialNum="ABCD1"/>
</ExctgDefDKC>
</CopyGroup>
<CopyGroup ID="LOS.TO.NY" PrimaryDADID="LOS" SecondaryDADID="NY"
SimplexCt="0" DuplexCt="0" PendingCt="0" SuspendOpCt="0" SuspendCuCt="0" SuspendVSCt="0"
SuspendErCt="0" TransitionCt="0" SwappingCt="0" RevresyncCt="0" InvalidCt="0" ReversedCt="0"
HoldCt="0" HoldErCt="0" HoldTrnsCt="0" NoDeltaCt="0"
InitPace="NORMAL" ProtectMode="PROTECT">
<UR_Options GroupID="03" subGroupID="04" MirrorID="1" ErrorLevel="GROUP" PathID="01"/>
<CopyPair> <PairState Reversed="0"/>
<DiskDevice SerialNum="14011" CUNum="00" SSID="1350" CCA="18"/>
<DiskDevice SerialNum="14012" CUNum="00" SSID="1340" CCA="18"/>
</CopyPair>
<ExctgDefDKC>
<EX_DefDKC FwdModel="USPV" RevModel="USPV" FwdSerialNum="14012" RevSerialNum="14011"
FwdArbCmdNo="1112" RevArbCmdNo="2222"/>
</ExctgDefDKC>
</CopyGroup>
</CopyGroupContainer>
</APIInfo>
3-22
Data objects
Hitachi Business Continuity Manager Reference Guide
CCA="15"/>
CCA="15"/>
CCA="16"/>
CCA="16"/>
CCA="17"/>
CCA="17"/>
Data objects
Hitachi Business Continuity Manager Reference Guide
3-23
SecPathID="00"
>
<Ports Direction="FORWARD">
<Port PriPort="00" SecPort="00" />
</Ports>
<Ports Direction="REVERSE">
<Port PriPort="01" SecPort="01" />
</Ports>
</DKCPath>
</Paths>
</APIInfo>
Description
UpdateID
Last update ID
ID
Copy group ID
Description
SimplexCt
PendingCt
DuplexCt
TransitionCt
3-24
Data objects
Hitachi Business Continuity Manager Reference Guide
REXX variables
Description
SuspendOpCt
SuspendCuCt
SuspendVSCt
SwappingCt#1
ReversedCt
SuspendErCt
InvalidCt
RevrsyncCt
HoldCt
HoldErCt
ChkJnlCt#20
HoldTrnsCt
NoDeltaCt
ConslostCt
CTDelta#21
MatchingPerCent#2
PriIFMin
PriTCKeys
Data objects
Hitachi Business Continuity Manager Reference Guide
3-25
REXX variables
Description
Discovered Array structure of the
storage system at the Primary site)
PriTCAKeys
PriSIKeys
SecIFMin
SecTCKeys
SecTCAKeys
SecSIKeys
ExctgEnable#11
EXCTG function
Exctg#12
3-26
Fwd
Enable
0: Do not use
1: Use
0: Do not use
1: Use
ExctgID#13
EXCTG ID (0 to 3)
Super_Model#13
USP
USPV
VSP
VSPG1000
Data objects
Hitachi Business Continuity Manager Reference Guide
REXX variables
Rev
Description
Super_SerialNum#13
Enable
0: Do not use
1: Use
ExctgID#14
EXCTG ID (0 to 3)
Super_Model#14
Super_SerialNum#14
USP
USPV
VSP
VSPG1000
Info
StartTime
EndTime
ArbCTTime#25
ArbCTDelta#25
Pair
CopyGroup
Exctg2#24
n#3
ID
Copy group ID
PrimaryDADID
SecondaryDADID
SimplexCt
SIMPLEX count
DuplexCt
DUPLEX count
InvalidCt
INVALID count
PendingCt
PENDING count
Data objects
Hitachi Business Continuity Manager Reference Guide
3-27
REXX variables
SuspendOpCt
SUSPOP count
SuspendCuCt
SUSPCU count
SuspendVSCt
SUSPVS count
SuspendErCt
SUSPER count
TransitionCt
TRANS count
ReversedCt
SwappingCt#1
SWAPPING count
RevrsyncCt
REVRSY count
HoldCt
HOLD count
HoldErCt
HOLDER count
ChkJnlCt#20
CHKJNL count
HoldTrnsCt
HOLDTRNS count
NoDeltaCt
NODELTA count
ConslostCt
CONSLOST count
CurrentTime
CTTime#22
CTDelta#22
MatchingPerCent#4
CopyType
Copy type
InitPace
3-28
Description
ShadowImage
TrueCopy
TrueCopy Asynchronous
Universal Replicator
Copy pace
SLOW
NORMAL
ProtectMode#23
Protect mode
TC_FreezeScpMode#23
TC_TimeStampMode
Data objects
Hitachi Business Continuity Manager Reference Guide
REXX variables
Description
CTGroupID
subCTGroupID
LinkageOption
Linkage option
TC_FenceLevel
TC_Map
NONE
HS
NEVER
STATUS
DATA
TRK
CYL
TC_OpenMF
TCA_ErrorLevel
GROUP
VOLUME
TCA_FlowControl
Flow Control
TCA_Map
TRK
CYL
TCA_F_Timer_Type
TCA_R_Timer_Type
UR_MirrorID
UR_ErrorLevel
UR_CTTimeMode
GROUP
VOLUME
JOURNAL
VOLUME
ASIS
UR_PathID
Related_ID
Related ID
Related_Type
Related type
Data objects
Hitachi Business Continuity Manager Reference Guide
3-29
REXX variables
Description
Whether to use the UR ATTIME
Suspend Function
PresetMode
UR: Use
AttimeSplitMode
Exctg#12
Fwd#13 Model
Model
USP
USPV
VSP
VSPG1000
SerialNum
Serial number
ArbCmdNo#15
ArbCTTime#16
#17
(yyyymmdd hh:mm:ss.nnnnnn)
JNLGValid#16
JNLGType#16
2: EXCTG registration in
progress
3-30
Error code
Model
USP
USPV
Data objects
Hitachi Business Continuity Manager Reference Guide
REXX variables
Description
VSP
VSPG1000
SerialNum
Serial number
ArbCmdNo#15
ArbCTTime#16
#17
(yyyymmdd hh:mm:ss.nnnnnn)
JNLGValid#16
JNLGType#16
2: EXCTG registration in
progress
0
n#5
Error code
Pri_Serialnum
Pri_WPR_All
Pri_RSF_All#9
Pri_RSF_CT
Sec_RSF_All#9,
#19
Sec_RSF_CT
Offloading timer
Data objects
Hitachi Business Continuity Manager Reference Guide
3-31
REXX variables
Description
Copy_Pending_T Copy pending timer
imer
MCU_TO_RCU_KBP Data transmission speed between
main control unit-remote control
S#19
unit (Kbps)
Pri_JNL_Meta
Pri_JNL_Data
0
n#6
State
CTDelta#1, #8,
#19
3-32
Data objects
Hitachi Business Continuity Manager Reference Guide
REXX variables
Description
Volume serial number
Volser
CTtime#1, #8,
Consistency time
#19
Diagnosis
Diagnosis information
Pri
Devn
Sec
CUNum
SSID
Primary SSID
CCA
IFType
Model
Devn
7700E
9900
9900V
USP
USPV
VSP
VSPG1000
SSID
Secondary SSID
CCA
IFType
Model
7700E
9900
9900V
USP
USPV
Data objects
Hitachi Business Continuity Manager Reference Guide
3-33
REXX variables
Description
VSP
VSPG1000
3-34
Details
00
Initial status
10
Start status
Data objects
Hitachi Business Continuity Manager Reference Guide
Cause code
(hexadecimal)
Details
11
20
Interrupted status
22
Interrupted
40
Stopped status
44
Stopped
#19: The value will be invalid if a command is executed for a delta resync
pair.
#20: The value is always 0.
#21: The following table shows the C/T delta values stored in the REXX
variable.
Condition
EXCTG
null
Data objects
Hitachi Business Continuity Manager Reference Guide
3-35
Executing the YKLOAD command to load copy groups, so that the disk
configuration definition file will be converted to the Host-Discovered Array
Index structure.
When the YKLOAD command is used for creating the structure: HCC.HDA.
When the YKSCAN command is used for creating the structure: stemname-specified-in-ARRAYS-parameter
0
n#1
Description
SerialNum
DADID
Prefix
CUMap
CUxx#2
CCAMap
CDEVMap
3-36
Data objects
Hitachi Business Continuity Manager Reference Guide
When the defined CU number is 00, 01, 03, and 05, the value for CUMap is 11
1
1.
Example of CCAMap:
For CCAMap, 1 is assigned to the area that conforms to the command control
address.
When the defined CCA is 01, 02, 05, and 06, the value for CCAMap is
11
1.
Example of CUxx:
If
11
1
11
1.
stem-name is fixed so that the YKLOAD command and the YKSTORE command
can access the structure.
Executing the YKLOAD command to load copy groups, so that the disk
configuration definition file will be converted to the Host-Discovered Array
structure.
When the YKLOAD command is used for creating the structure: stemname-specified-in-STEM-parameter and dad-id
When the YKSCAN command is used for creating the structure: stemname-specified-in-STEM-parameter
Data objects
Hitachi Business Continuity Manager Reference Guide
3-37
Description
UpdateID
Last update ID
Description
SerialNum
Model
7700E
9900
9900V
USP
USPV
VSP
VSPG1000
Microcode
Microcode number
IFType
Interface version
PhysicalSerialNum
LDKCNum#4
Key.SI
ShadowImage key
Key.TC
TrueCopy key
Key.UR
Key.TCA
NGDADIDEnable
CUxx#1
SSID
CCAxx#2
Devn
Device number
Volser
SSID
SSID
Cyls#5
External#3
Y: External volume
3-38
Data objects
Hitachi Business Continuity Manager Reference Guide
Created for each control unit, thus the device information is created for
each defined control unit (control unit number). The xx in CUxx is a
control unit number (hexadecimal value).
Example of CUxx:
If C400 is set to an SSID of CU=05, the value for CU05.SSID is C400.
#2
Created for each command control address, thus the device information is
created for each defined command control address (command control
address number). The xx in CCAxx is a command control address
(hexadecimal value).
Example of CCAxx:
If STRG01 is set to the volume serial number of CCA=FF within CU=05,
the value for CU05.CCAFF.Volser is STRG01.
#3
External volume information can be obtained when Business Continuity
Manager scans a device that exists in either of the models below. If
information cannot be obtained, the value is null.
USP
USP V
VSP
VSP G1000
#4
When Business Continuity Manager scans a device that exists in either of
the following models, a value of 0 is set:
#5
When Business Continuity Manager performs a remote scan or an NG
scan, information cannot be obtained for the following models:
USP
USP V
Data objects
Hitachi Business Continuity Manager Reference Guide
3-39
Description
ID
Route list ID
MultiAccessEnable
APID#3
APID
IF#
CYL
HD
SLOTSIZE
n#1
Priority
n#2
SerialNum
DADID
IFTYPE
CDEV
Devn#3
Volser#3
CUNum#3
SSID#3
CCA#3
n#4
APID#5
APID
Volser
#5
3-40
Data objects
Hitachi Business Continuity Manager Reference Guide
REXX variables
Description
CUNum#5 CU number of the command device in the storage system
SSID#5
CCA#5
Message structure
The table below shows the message structure. The prefix for the name of the
message structure is stem-name-specified-in-MSG-parameter. Each REXX
variable is preceded by a period ('.').
The CLI commands and scripts of Business Continuity Manager return a result
to the caller by using the REXX variable in the message structure. See the
description of each command for how the message structure is used.
0
n#
Description
Severity
Severity level
Text
Value
Additional information
Data objects
Hitachi Business Continuity Manager Reference Guide
3-41
Description
Info#1
SSID
Serialnum
CUNum
CCA
Cyls#2
HostStatus#3
DKC
VOL
Cdev
Pair
ONLINE
OFFLINE
Model
7700E
9900
9900V
USP
USPV
VSP
VSPG1000
Microcode
IFType
Interface version
PPInfo
Info#1
Attr#4
Volume attribute
NORMAL
JOURNAL
COMMAND
Info#1
Status#3
APID#3
APID
Info#1
TC
3-42
Data objects
Hitachi Business Continuity Manager Reference Guide
REXX variables
Description
PENDING (01)
DUPLEX (02)
SUSPOP (03)
SUSPOP (04)
SWAPPING (04)
SUSPOP (05)
SUSPCU (06)
SUSPER (07)
SUSPCU (08)
SUSPER (09)
SUSPER (50)
TRANS (60)
TRANS (61)
SUSPER (62)
SUSPER (A0)
CONSLOST
N: Normal status
Status of path
Path
FenceLevel#5
ErrorLevel#6
Sec
State
Pri
Active
Inactive
Fence level
NEVER
STATUS
DATA
Error level
GROUP
VOLUME
SSID
SSID of P-VOL
Serialnu
m
CUNum
CCA
SSID
SSID of S-VOL
Data objects
Hitachi Business Continuity Manager Reference Guide
3-43
REXX variables
Description
Serialnu
m
CUNum
CCA
MatchingPerCent
Mode
Copy mode
Sync
Async
MAP
ProtectMode#7
FlowControl#6
CYL
TRK
Protect mode
PROTECT
PERMIT
Flow control
FreezeSCPMode#3,
Freeze SCP
#5, #7
InitPace#3
CT
Copy pace
SLOW
NORMAL
ID#6, #8
Consistency group ID
TimerTyp
e#6
SYSTEM
LOCAL
NONE
AT
3-44
Time#6
OpenMF#6
Info#1
GenID#6
Generation ID
Data objects
Hitachi Business Continuity Manager Reference Guide
REXX variables
Description
#9
Tout#5
Status#5
Time#6,
PairCt#6
SuspendO
pCt#6
TransCt#
SI
SuspendE
rCt#6
Trem#6
0
n
State
ProtectMode
PENDING (01)
DUPLEX (02)
TRANS (03)
SUSPOP (04)
PENDING (05)
SUSPER (06)
SUSPVS (07)
REVRSY (08)
TRANS (09)
Protect mode
PROTECT
PERMIT
Copy pace
InitPace
SLOW
NORMAL
MatchingPerCent
Pri
SSID of P-VOL
SSID
Data objects
Hitachi Business Continuity Manager Reference Guide
3-45
REXX variables
Serialnu
m
CUNum
CCA
SSID
SSID of S-VOL
Serialnu
m
CUNum
CCA
CT
ID
Consistency group ID
AT
Info#1
GenID
Generation ID
Time#9
Tout
Status
ATTIME status
Sec
AT_UR
3-46
Description
PairCt
SuspendO
pCt
TransCt
SuspendE
rCt
Trem
PendingC
t
DuplexCt
ResyncCt
Info#1
R_JNL
GenID
Data objects
Hitachi Business Continuity Manager Reference Guide
REXX variables
Description
SplitMod
e
Status
SIStatus
URStatus
UR
ErrorCod
e
Time#9
Tout
Tout2
Trem
CTTime#9
Info#1
State
PENDING (01)
Data objects
Hitachi Business Continuity Manager Reference Guide
3-47
REXX variables
Description
DUPLEX (02)
SUSPOP (03)
SUSPOP (04)
SUSPOP (05)
SUSPCU (06)
SUSPER (07)
SUSPCU (08)
SUSPER (09)
SUSPER (50)
TRANS (60)
TRANS (61)
SUSPER (62)
HOLD (70)
HOLDER (71)
HOLDTRNS (72)
HOLDER (73)
NODELTA (74)
MatchingPerCent
ProtectMode
Protect mode
ExctgRegistFlag
PROTECT
PERMIT
3-48
GROUP
VOLUME
ExctgID
EXCTG ID
PathID#12
Path group ID
Pri
SSID
SSID
Data objects
Hitachi Business Continuity Manager Reference Guide
REXX variables
Sec
CT
Path
CUxx
Description
Serialnu
m
CUNum
CCA
SSID
SSID
Serialnu
m
CUNum
CCA
ID
subID
TimerTyp
e
SYSTEM
LOCAL
NONE
Status
C/T status
TIME
JNL_TIME
SVOL_TIM
E
Info#1
Path type
type
Sec
Model
ESCON
FIBRE
9900
9900V
USP
USPV
VSP
VSPG1000
Serialnu
m
SSID1
Data objects
Hitachi Business Continuity Manager Reference Guide
3-49
REXX variables
P2S
Description
SSID2
SSID3
SSID4
DKC
Sta
tus
ESTABLISHED
INIT FAILED
TIME OUT
NO RESOURCES AT PRI
NO RESOURCES AT SEC
SERIAL# MISMATCH
CONFIG ERROR
Sec
.Po
rt
Sec
.CU
Num
Model
USP
USP V
VSP
VSPG1000
PATHID
Path group ID
3-50
NO PATH
Serialnum
Pri
.Po
rt
Info#1
Sec
Status
NO PATH
ESTABLISHED
INIT FAILED
TIME OUT
Data objects
Hitachi Business Continuity Manager Reference Guide
REXX variables
PSN
Description
NO RESOURCES AT PRI
NO RESOURCES AT SEC
SERIAL# MISMATCH
CONFIG ERROR
Pri.Port
Sec.Port
Info#1
PhysicalSerialNum#13
LDKCNum#13
USP
USP V
USP
USP V
VSP
VSP G1000
#4: When the emulation type of the journal volume is OPEN-V, NORMAL is
displayed.
#5: Information can be acquired for TrueCopy.
#6: Information can be acquired for TrueCopy Asynchronous.
#7: This value is invalid for a PPRC copy pair.
#8: Information can be acquired for TrueCopy with consistency group ID
specified.
#9: Displayed in GMT.
#10: Information can be acquired for P-VOL when the status for the Universal
Replicator copy pair is PENDING or DUPLEX.
#11: When the copy type is Universal Replicator, and the following models
support the relevant attribute settings, information is displayed:
USP
Data objects
Hitachi Business Continuity Manager Reference Guide
3-51
USP V
VSP
VSP G1000
VSP
VSP G1000
Description
UpdateID
Last update ID
ID
Path set ID
Description
Path type
type
3-52
CU
DKC
Existence of sharing
shared
Pri
SerialNum
Model
9900
9900V
USP
USPV
VSP
Data objects
Hitachi Business Continuity Manager Reference Guide
REXX variables
Description
Sec
P2S
IFType
PathID#2
SSID#1
Primary SSID
CUNum
CCA
DEVN
SerialNum
Model
9900
9900V
USP
USPV
VSP
VSPG1000
IFType
PathID#2
SSID#1
Secondary SSID
CUNum
CCA
DEVN
Setting
S2P
VSPG1000
Status#3
Pri
port
Sec
port
Data objects
Hitachi Business Continuity Manager Reference Guide
3-53
REXX variables
n
Setting
Description
Status#3
Pri
port
Sec
port
Target
Description
Existence of FlashCopy information structure (Valid)
State0
Hardware information
State1
Hardware information
State2
Hardware information
State3
Hardware information
State4
Hardware information
State5
Hardware information
State6
Hardware information
State7
Hardware information
State0
State1
0: No
1: Yes (copying)
3-54
0: No
Data objects
Hitachi Business Continuity Manager Reference Guide
REXX variables
Description
State2
State3
Hardware information
State4
Hardware information
State5
Hardware information
State6
State7
0: No
1: Yes
0: No
1: Yes
YKEWAIT
DEVN
DEVN
DEVN
DEVN
not
not
specif
specif
specif
specif
ied
ied
ied
ied
SimplexCt
PendingCt
DuplexCt
TransitionCt
SuspendOpCt
SuspendCuCt
Data objects
Hitachi Business Continuity Manager Reference Guide
3-55
YKQUERY
REXX variables
DEVN
DEVN
DEVN
DEVN
not
not
specif
specif
specif
specif
ied
ied
ied
ied
SuspendVSCt
SwappingCt
ReversedCt
SuspendErCt
InvalidCt
RevrsyncCt
HoldCt
HoldErCt
HoldTrnsCt
NoDeltaCt
ConslostCt
CTDelta
MatchingPerCent
CopyGroup
--
--
--
--
SimplexCt
DuplexCt
InvalidCt
PendingCt
SuspendOpCt
SuspendCuCt
SuspendVSCt
SuspendErCt
TransitionCt
ReversedCt
SwappingCt
RevrsyncCt
HoldCt
HoldErCt
HoldTrnsCt
NoDeltaCt
ConslostCt
0
n
3-56
YKEWAIT
Data objects
Hitachi Business Continuity Manager Reference Guide
YKQUERY
YKEWAIT
DEVN
DEVN
DEVN
DEVN
not
not
specif
specif
specif
specif
ied
ied
ied
ied
REXX variables
CurrentTime
CTTime
CTDelta
MatchingPerCent
ArbCTTime
JNLGValid
JNLGType
JNLState
ErrorCode
--
--
--
--
specified State
-pairs
CTDelta
MatchingPerCe
nt
Reversed
CTtime
Diagnosis
State
CTDelta
MatchingPerCe
nt
Reversed
CTTime
Diagnosis
Exctg
Pair
Fwd/Rev
otherpairs
Legend:
Y: Updated
N: Not updated
--: Not applicable
Data objects
Hitachi Business Continuity Manager Reference Guide
3-57
Table 3-16 REXX variables updated by the YKQUERY command with the TO
parameter specified
Copy
direction:
Reverse#1
Copy
direction:
Forward
REXX variables
SimplexCt
PendingCt
DuplexCt
TransitionCt
SuspendOpCt
SuspendCuCt
SuspendVSCt
SwappingCt
F#2
F#2
ReversedCt
SuspendErCt
InvalidCt
RevrsyncCt
HoldCt
HoldErCt
F#2
F#2
HoldTrnsCt
F#2
F#2
NoDeltaCt
F#2
F#2
ConslostCt
CTDelta
F#4
Y#5
Y#5
F#4
MatchingPerCent
F#2, #3
F#2
CopyGroup
--
--
--
--
0
n
3-58
SECO
PRIMA SECON PRIMA
NDAR
RY
DARY
RY
Y
specifi specifi specifi
specifi
ed
ed
ed
ed
SimplexCt
Data objects
Hitachi Business Continuity Manager Reference Guide
Copy
direction:
Reverse#1
Copy
direction:
Forward
SECO
PRIMA SECON PRIMA
NDAR
RY
DARY
RY
Y
specifi specifi specifi
specifi
ed
ed
ed
ed
REXX variables
DuplexCt
InvalidCt
PendingCt
SuspendOpCt
SuspendCuCt
SuspendVSCt
SuspendErCt
TransitionCt
ReversedCt
SwappingCt
RevrsyncCt
HoldCt
HoldErCt
F#2
F#2
HoldTrnsCt
F#2
F#2
NoDeltaCt
F#2
F#2
ConslostCt
CurrentTime
CTTime
F#4
Y#5
Y#5
F#4
CTDelta
F#4
Y#5
Y#5
F#4
MatchingPerCent
F#2, #3
F#2
ArbCTTime
JNLGValid
JNLGType
JNLState
ErrorCode
ArbCTTime
JNLGValid
JNLGType
Exctg
Fwd
Rev
Data objects
Hitachi Business Continuity Manager Reference Guide
3-59
Copy
direction:
Reverse#1
Copy
direction:
Forward
SECO
PRIMA SECON PRIMA
NDAR
RY
DARY
RY
Y
specifi specifi specifi
specifi
ed
ed
ed
ed
REXX variables
Pair
JNLState
ErrorCode
--
--
--
--
State
CTDelta
F#4
Y#5
Y#5
F#4
MatchingPer
Cent
F#2, #3
F#2
Reversed
CTTime
F#4
Y#5
Y#5
F#4
Diagnosis
F#6, #7
Y#7
Y#7
F#6, #7
0
n
Legend:
Y: Updated
F: Updated to a fixed value
N: Not updated
--: Not applicable
#1: Not applicable if the copy type is ShadowImage.
#2: 0 is set for the value because information cannot be acquired.
#3: A value is set if the copy type is ShadowImage.
#4: Null is set for the value because information cannot be acquired.
#5: A value is set only if the copy type is TrueCopy Asynchronous or
Universal Replicator, and the consistency group timer type is SYSTEM. If
information cannot be acquired, null is set for the value.
#6: 00 is set for the value.
#7: If the copy type is ShadowImage or TrueCopy, null is set for the value
because information cannot be acquired.
3-60
Data objects
Hitachi Business Continuity Manager Reference Guide
Table 3-17 REXX variables updated by the YKEWAIT command with the TO
parameter specified
Copy direction: Copy direction:
Forward
Reverse
REXX variables
SimplexCt
PendingCt
DuplexCt
TransitionCt
SuspendOpCt
SuspendCuCt
SuspendVSCt
SwappingCt
F#
F#
ReversedCt
SuspendErCt
InvalidCt
RevrsyncCt
HoldCt
HoldErCt
F#
F#
HoldTrnsCt
F#
F#
NoDeltaCt
F#
F#
ConslostCt
--
--
--
--
SimplexCt
DuplexCt
InvalidCt
PendingCt
SuspendOpCt
CopyGroup
0
n
Data objects
Hitachi Business Continuity Manager Reference Guide
3-61
REXX variables
SuspendCuCt
SuspendVSCt
SuspendErCt
TransitionCt
ReversedCt
SwappingCt
RevrsyncCt
HoldCt
HoldErCt
F#
F#
HoldTrnsCt
F#
F#
NoDeltaCt
F#
F#
ConslostCt
CurrentTime
Pair
--
--
--
--
Reversed Y
0
n
State
Legend:
Y: Updated
F: Updated to a fixed value
--: Not applicable
#: Because information cannot be acquired, 0 is set.
3-62
Data objects
Hitachi Business Continuity Manager Reference Guide
DSORG
RECFM
PS
VB
PO#
FB
PS
VB
PO#
FB
PS
VB
PO#
FB
BLKSIZE
(bytes)
LRECL
128 or more
Any
128 or more
Any
128 or more
Any
#: The YKEXPORT command does not support a dataset if the DSORG is PO.
The following table shows the disk requirements for CSV files. When you
determine the disk capacity, take into account the need to make backup files
by providing at least twice as much disk capacity as indicated.
Size (bytes)
90 x number-of-copy-pairs
70 x number-of-copy-groups
50 x number-of-copy-groups
Delimit item values with the comma. If there is no value for an item,
you must specify a comma to represent the empty item.
Item values can be enclosed in double-quotation marks. In this case,
only values enclosed in the double-quotation marks are written into
the copy group definition file.
Commas specified within a character string enclosed in doublequotation marks are not handled as delimiters.
Data objects
Hitachi Business Continuity Manager Reference Guide
3-63
3-64
Value to be specified
Data type#1
Length
(charact
ers)
PDEVN
Hexadecimal
number
1-4
PSN
Alphanumeric
characters
1-5
PCU
Hexadecimal
number
1-2
PCCA
Hexadecimal
number
1-2
SDEVN
Hexadecimal
number
1-4
SSN
Alphanumeric
characters
1-5
SCU
Hexadecimal
number
1-2
SCCA
Hexadecimal
number
1-2
Data objects
Hitachi Business Continuity Manager Reference Guide
Item
name
CTID
Value to be specified
Consistency group ID
Length
(charact
ers)
Data type#1
Hexadecimal
number
1-2
Hexadecimal
number
1-2
Decimal number
1-5
#1: For details about data types, see the table of syntax elements in
Appendix B, Symbols used in syntax explanations on page B-1.
#2: Use either of the following methods to specify P-VOL and S-VOL
volumes:
Device number
Storage system serial number, control unit number, and command control
address number
If both methods are used, the device number specification takes
precedence.
#3: For only part of the specified number, the volumes that exist at
consecutive addresses are defined as a copy pairs. The definition depends on
the P-VOL and S-VOL specification method, as described below:
When volumes are specified by the storage system serial number, control
unit number and command control address number
Volumes with consecutive control unit and command control address
numbers are defined as a copy pair.
You must specify 1 even if you do not define copy pairs repeatedly. The
example below shows the copy group definition file that is displayed on
the ISPF panel when the following information is specified:
PDEVN: 7311
SDEVN: 2A01
Data objects
Hitachi Business Continuity Manager Reference Guide
3-65
Number-Of-Pairs: 3
Command ===>
Row 1 to 2 of 2
Scroll ===> PAGE
2008/03/04 10:46:01
F3=Exit
F12=Cancel
F4=Attr
F5=Add
F6=Sort
F7=Backward
Value to be specified
Data type#1
Length
(characters)
PSN
1-5
SSN
Alphanumeric
characters
1-5
CTID
Hexadecimal
number
1-2
SubCTID
Hexadecimal
number
1-2
FEXCTG
Decimal
number
Specify in the
range from 0 to
3.
FSpDKC
3-66
--
Data objects
Hitachi Business Continuity Manager Reference Guide
Item
name
Value to be specified
Data type#1
Length
(characters)
FarbCDE
V
Hexadecimal
number
1-4
REXCTG
Decimal
number
Specify in the
range from 0 to
3.
RSpDKC
--
RarbCDE
V
Hexadecimal
number
1-4
#1: For details about data types, see the table of syntax elements in
Appendix B, Symbols used in syntax explanations on page B-1.
#2: Indicates that the storage system specified in SSN is to be specified as
the supervisor disk controller of the secondary site.
#3: Indicates that the storage system specified in PSN is to be specified as
the supervisor disk controller of the primary site.
Caution:
On a single line, you must specify either the supervisor disk controller or
the arbitration command device. They cannot both be specified on the
same line.
Make sure that only one of the following copy direction settings is used in
the EXCTG information CSV file:
- Forward direction only
- Reverse direction only
- Forward and reverse directions
Value to be specified
Serial number of the primary site storage system (required)
Data type#1
Alphanumeric
characters
Data objects
Hitachi Business Continuity Manager Reference Guide
Length
(characte
rs)
1-5
3-67
Item
name
Value to be specified
Data type#1
Length
(characte
rs)
SSN
1-5
CTID
Hexadecimal
number
1-2
SubCTID
Hexadecimal
number
1-2
PATHID
Hexadecimal
number
1-2
#: For details about data types, see the table of syntax elements in Appendix
B, Symbols used in syntax explanations on page B-1.
Tip: If a line in the pair information CSV file does not have a matching line in
the CTG information CSV file, 0 is set for the path group ID of the copy group
definition to which the copy pair information belongs.
3-68
Data objects
Hitachi Business Continuity Manager Reference Guide
Figure 3-1 Example of a 4x4 configuration that can be defined by using the
YKIMPORT command
//*PDEVN,PSN
F101 ,
F201 ,
,PCU,PCCA,SDEVN,SSN
,
,
,A101 ,
,
,
,A201 ,
,SCU,SCCA,CTID,SubCTID,Number-Of-Pairs
,
,
,01 ,02
,1
,
,
,03 ,04
,1
Data objects
Hitachi Business Continuity Manager Reference Guide
3-69
//*PDEVN,PSN,PCU,PCCA,SDEVN,SSN,SCU,SCCA,CTID,SubCTID,Number-Of-Pairs
F101,14002,01,01,A101,14001,01,01,01,02,1
F201,64051,01,01,A201,64050,01,01,03,04,1
//*PDEVN,PSN,PCU,PCCA,SDEVN,SSN,SCU,SCCA,CTID,SubCTID,Number-OfPairs
F101,14002,01,01,A101,14001,01,01,01,02,1
F201,64051,01,01,A201,64050,01,01,03,04,1
//*PSN,SSN,CTID,SubCTID,FEXCTG,FSpDKC,FarbCDEV,REXCTG,RSpDKC,RarbCDEV
14002,14001,01,02,1,S,
, , ,
64051,64050,03,04,1, ,002F, , ,
//*PSN,SSN,CTID,SubCTID,PATHID
14002,14001,01,02,01
64051,64050,03,04,02
3-70
Data objects
Hitachi Business Continuity Manager Reference Guide
4
BCM Monitor parameter files
This chapter contains an overview of and the format of BCM Monitor
parameter files.
Overview of BCM Monitor parameter files
YKMONOPT file
YKMONCG file
4-1
Description
YKMONOPT file
YKMONCG file
Dataset format
The following table shows the dataset format of BCM Monitor parameter files.
DSORG
RECFM
LRECL
(bytes)
BLKSIZE
(bytes)
YKMONOPT file
PS or PO
V, VB, F, or FB 80 or more
Multiple of
LRECL
YKMONCG file
PS or PO
V, VB, F, or FB 80 or more
Multiple of
LRECL
4-2
Specifying comments
Specify a comment symbol (* or #) at the beginning of a line or anywhere in
a line that follows a space, and then specify any comments after the
comment symbol. Any characters following a comment symbol are not
treated as part of the parameter.
The comment symbols (* and #) have no functional difference.
YKMONOPT file
This section describes the YKMONOPT file.
If the same parameter is specified multiple times, the last time the parameter
is specified takes effect.
4-3
Parameters details
Format
[CYCLETIME=cycle-time]
[WAITTIMEOUT=timeout-value]
[MSGLEVEL=SYSTSPRT-message-level,console-message-level]
[ONACTIONERROR={SKIPONLY|STOP|EXIT(return-code)}]
Information to be set
This parameter file sets the option information required for starting BCM
Monitor.
Parameters
CYCLETIME=cycle-time ~ <numeric character>((10 to
999999))<<300>>
Specifies the cycle time in seconds for monitoring the copy group status.
The following figure shows the concept of the copy group status monitoring
cycle.
MSGLEVEL=SYSTSPRT-message-level,console-message-level ~
<<INFO,CONS>>
Specifies the message level of the messages to be output to SYSTSPRT and
the console.
The following table lists the values that can be specified for the message level
and the messages that are output for each level.
4-4
Table 4-4 Values that can be specified for the message level and the
messages that are output for each level
Message level
CONS
YK80nnZ, YK81nnZ
ERROR
STATUS
INFO
YK80nnZ: These are messages that are output regardless of the specified
message level. However, note that some messages might be output only
to SYSTSPRT or the console.
ONACTIONERROR={SKIPONLY|STOP|EXIT(return-code)} ~
<<SKIPONLY>>
Specifies the default error action to be used when no error action is specified
in the ACTION parameter in the YKMONCG file.
SKIPONLY
Skips the cycle where an error occurred, but starts monitoring again from
the next cycle.
STOP
Places the monitoring status of all copy groups specified in the CGID
parameter to INACTIVE.
EXIT(return-code) to <numeric character> ((0 to 4095))
Stops BCM Monitor with the specified return code. We recommend that
you specify a value other than 0, 4, 8, or 12 because these numbers are
already used as BCM Monitor return codes.
Notes
Even if you choose to omit all the parameters, you still need to create an
empty YKMONOPT file.
You can decrease the amount of log data to be output by specifying CONS
for the SYSTSPRT message level in the MSGLEVEL parameter. However,
4-5
Example
This example has the following operating environment:
YKMONCG file
This section describes the YKMONCG file.
4-6
You can specify more than one STATUS parameter under a single CGID
parameter.
An error occurs if more than one CGID parameter with the same copy
group ID is specified.
The following subsections describe the copy group parameters and the action
parameters.
4-7
Information to be set
You can specify the startup status of a copy group that you want to monitor,
and the startup action to be executed if the copy group is not in startup
status.
The table below lists the values that can be specified for the startup status
and startup action.
Table 4-5 Values that can be specified in the startup status and startup
action parameters
Item
Startup status
Value
SIMPLEX
DUPLEX
SUSPOP
HOLD
Startup action
EXIT
STOP
ADJUST
Parameters
CGID=copy-group-ID
Specifies the copy group name.
CGPREFIX=prefix
Specifies the prefix of the copy group definition file for the copy group.
CGDAD=DADID
Specifies the host device address domain ID of the copy group.
CGROUTE=route-list-ID[,{route-label|'*'}]
Specifies the route list ID to be used during monitoring.
4-8
CGMONSTAT={ACTIVE|INACTIVE}
Specifies the monitoring status of the copy group (whether to monitor the
copy group).
ACTIVE
Monitors the copy group.
If you specify ACTIVE for more than one copy group, the first copy group
that is specified will be monitored. When the status of this copy group
changes to INACTIVE while BCM Monitor is running, the next copy group
for which ACTIVE is specified is placed in the monitoring status.
INACTIVE
Does not montior the copy group.
CGSTARTUPSTATUS=startup-status,startup-action[,NOCANCEL]
If this parameter is specified and the copy group status is not the specified
startup status when BCM Monitor starts, the specified startup action is
executed.
The processing of this parameter is also for copy groups that has ACTIVE or
INACTIVE specified for the CGMONSTAT parameter.
The YKSUSPND command with the CANCEL parameter specified is executed if
all of the following conditions are satisfied:
If you do not want to execute the YKSUSPND command with the CANCEL
parameter specified, specify NOCANCEL.
If the copy group contains a copy pair in the TRANS or HOLDTRNS status,
CGSTARTUPSTATUS parameter processing is executed after the following
processing is performed.
4-9
The value for WAITTIMEOUT is the value specified for the WAITTIMEOUT
parameter in the YKMONOPT file.
startup-status
Checks whether all the copy pair statuses in the copy group are the
specified startup status. The permitted values are SIMPLEX, DUPLEX,
SUSPOP, or HOLD.
startup-action
Specifies the action to be executed if the copy group contains a copy pair
that is not in the specified startup status. The permitted values are as
follows:
EXIT(return-code) ~ <numeric characters> ((0 to 4095))
Stops BCM Monitor with the specified return code. We recommend
that you specify a value other than 0, 4, 8, or 12 because these
numbers are already used as BCM Monitor return codes.
STOP
Changes the monitoring status of all the copy groups specified in the
CGID parameter to INACTIVE.
ADJUST
Changes the copy pair status to the specified startup status.
Processing depends on the status of copy pairs in the copy group. For
details on the processing for changing the status to the startup status,
see Processing for changing to the startup status on page 4-10.
NOCANCEL
Does not execute the YKSUSPND command with the CANCEL parameter
specified. You can specify this value only if you specified DUPLEX as the
startup status.
4-10
Processing
All SIMPLEX
Does nothing.
SWAPPING
TRANS
INVALID
SUSPVS
REVRSY
CONSLOST
PENDING
DUPLEX
1.
YKDELETE
2.
YKEWAIT GOTO(SIMPLEX)
SUSPOP
SUSPCU
SUSPER
HOLD
HOLDER
HOLDTRNS
NODELTA
DUPLEX
All DUPLEX
Does nothing.
PENDING
SIMPLEX
SWAPPING
SUSPER
TRANS
HOLD
HOLDER
HOLDTRNS
NODELTA
REVRSY
INVALID
CONSLOST
SUSPOP
SUSPCU
1.
YKRESYNC
2.
YKEWAIT GOTO(DUPLEX)
SUSPVS
4-11
Specified startup
status
SUSPOP
Processing
Does nothing.
SUSPVS
SIMPLEX
SWAPPING
REVRSY
SUSPER
TRANS
HOLD
HOLDER
HOLDTRNS
NODELTA
INVALID
CONSLOST
DUPLEX
PENDING
1.
YKRESYNC
2.
YKEWAIT GOTO(DUPLEX)
3.
YKSUSPND
4.
YKEWAIT GOTO(SUSPEND)
SUSPCU
HOLD
All HOLD
Does nothing.
SIMPLEX
DUPLEX
PENDING
SWAPPING
SUSPOP
SUSPCU
SUSPER
TRANS
HOLDTRNS
INVALID
SUSPVS
REVRSY
NODELTA
CONSLOST
HOLDER
4-12
Specified startup
status
Processing
1.
YKRESYNC PREPARE
2.
YKEWAIT GOTO(HOLD)
Action parameters
An action parameter specifies an action for the copy group.
Format
[STATUS=target-status,ACTION=action;[error-action;]]...
Information to be set
Specifies the target status, action, and error action for the copy group.
If the copy group is in the specified target status, the specified action will be
executed. If the action execution results in an error, the specified error action
will be executed.
If you want to execute multiple actions, specify the parameters with the same
target status in the order you desire. An example is shown below:
STATUS=SUSPOP,ACTION=RESYNC(MYSI,0,FORWARD);
STATUS=SUSPOP,ACTION=WAITFOR(MYSI,DUPLEX);
STATUS=SUSPOP,ACTION=SUSPEND(MYSI,FORWARD);
STATUS=SUSPOP,ACTION=WAITFOR(MYSI,SUSPEND);
The table below shows the combinations of target statuses and actions that
can be specified.
Table 4-7 Combinations of target statuses and actions that can be specified
Action
NOP
EXI
T
WAI
SUS
SEN STO
REP
RES
DEL MAK
PAU
TFO
PEN
DMS PPO
ORT
YNC
ETE
E
SE
R
D
G
INT
INVALID
CONSLOST
SUSPER
NODELTA
HOLDER
SUSPCU
SIMPLEX
PENDING
TRANS
Target status
4-13
Action
NOP
EXI
T
WAI
SUS
SEN STO
REP
RES
DEL MAK
PAU
TFO
PEN
DMS PPO
ORT
YNC
ETE
E
SE
R
D
G
INT
HOLDTRNS
REVRSY
SUSPVS
SUSPOP
HOLD
SWAPPING
DUPLEX
Target status
Legend:
Y: This combination can be specified.
N: This combination cannot be specified.
Parameters
target-status
Specifies the status of the copy group on which the action is to be executed.
For the specifiable values, see Table 4-7 Combinations of target statuses and
actions that can be specified on page 4-13.
For details on how the copy group status is determined when there are
multiple copy pair statuses in the copy group, see When there are multiple
copy pair statuses in a copy group on page 4-19.
action
Specifies the action to be executed if the copy group is in the target status.
The copy group specified in the YKMONCG file can be specified for the copy
group ID in the ACTION parameter. This copy group can be specified for copy
group that has ACTIVE or INACTIVE status specified for CGMONSTAT
parameter.
The following table lists and describes the values that can be specified as
actions.
4-14
Overview
NOP
Does nothing.
EXIT(return-code)
Stops BCM
Monitor.
Specifiable value
Overview
REPORT(copy-group-ID[,{SUMMARY|DETAIL|STATS|RPO}][,{CONS|ERROR|
STATUS|INFO}]])
Outputs
report
information.
WAITFOR(copy-group-ID,{DUPLEX|SUSPEND|SIMPLEX|SUSPVS|HOLD}
[,timeout-value])
Executes the
YKEWAIT
command.
RESYNC(copy-group-ID,command-wait-time[,'command-parameter'])
Executes the
YKRESYNC
command.
SUSPEND(copy-group-ID[,'command-parameter'])
Executes the
YKSUSPND
command.
DELETE(copy-group-ID)
Executes the
YKDELETE
command.
MAKE(copy-group-ID[,'command-parameter'])
Executes the
YKMAKE
command.
SENDMSG(output-message,{CONS|ERROR|STATUS|INFO})
Outputs the
specified
character
string as a
message.
STOPPOINT(label-name)
Specifies the
point at which
BCM Monitor
is to be
stopped or
sleeped.
PAUSE(sleep-time)
Sleeps BCM
Monitor.
Below are details about the values that can be specified as actions.
NOP
Does nothing.
EXIT(return-code) ~ <numeric characters> ((0 to 4095))
Stops BCM Monitor with the specified return code. We recommend that
you specify a value other than 0, 4, 8, or 12 because these numbers are
already used as BCM Monitor return codes.
REPORT(copy-group-ID[,{SUMMARY|DETAIL|STATS|RPO}[,{CONS|ERROR|
STATUS|INFO}]])
Outputs report information for the specified copy group.
{SUMMARY|DETAIL|STATS|RPO}
Specifies the type of report information:
SUMMARY
4-15
4-16
4-17
error-action
Specifies the error action that is to be executed in the event that the action
results in an error. If this value is omitted, the error action specified in the
ONACTIONERROR parameter in the YKMONOPT file is executed.
Specifiable values are as follows:
STOP
Places the monitoring status of all copy groups specified in CGID in
INACTIVE status.
SKIPONLY
4-18
Skips the cycle where an error occurred, but starts monitoring again from
the next cycle.
EXIT(return-code) ~ <numeric characters> ((0 to 4095))
Stops BCM Monitor with the specified return code. We recommend that
you specify a value other than 0, 4, 8, or 12 because these numbers are
already used as BCM Monitor return codes.
INVALID
CONSLOST
SUSPER
NODELTA
HOLDER
SUSPCU
SIMPLEX
PENDING
TRANS
10
HOLDTRNS
11
REVRSY
12
SUSPVS
13
SUSPOP
14
HOLD
15
SWAPPING
16
DUPLEX
Example
The following is an example of the STATUS parameter:
4-19
STATUS=SUSPOP,ACTION=RESYNC(SICG,0,FORWARD); EXIT(64);
Notes
4-20
If the attempted action fails, summary information about the copy group
will be output regardless of the specified message level.
If you specify parameters for a single copy group without grouping them
by the target status, actions are grouped by the target status.
The following is an example of when parameters are not grouped together
by the target status.
5
Parameters for YKBTSCAN
This chapter describes the parameters for YKBTSCAN.
Functionality
Format
Return codes
JCL example
5-1
Functionality
YKBTSCAN executes local scans by batch.
YKBTSCAN locally scans the volume of the device number or volume serial
number that you entered from SYSIN, and then creates a disk configuration
definition file for the detected volume. If the disk configuration definition file
already exists, YKBTSCAN updates the file by adding the newly obtained
volume information to the existing disk configuration definition file.
Tip: The following describes how the scanned volume information is added to
the existing disk configuration definition file:
When both the scanned volume information and the existing disk
configuration definition file contain a volume with the same storage
address (SN, CU, and CCA), the scanned volume information is added,
and the existing volume information is deleted.
When the scanned volume information and the existing disk configuration
definition file contain a volume with the same host address (DEVN) but
different storage addresses, the scanned volume information is added,
and the existing volume information is deleted.
When the scanned volume information and the existing disk configuration
definition file contain a volume with the same volume serial number
(VOLSER) but different storage addresses, the scanned volume
information is added, and only the volume serial number in the existing
volume information is deleted.
Format
Specify YKBTSCAN to PGM in an EXEC statement.
// EXEC PGM=YKBTSCAN,PARM='[SPACE(quantity,increment)]
5-2
Parameters
PREFIX(prefix)~ <PREFIX string of 25 or fewer characters>
Specify the prefix in the disk configuration definition file.
Notes
If there are multiple PREFIX and DAD parameters, the last specified value
will be valid.
5-3
RECFM
PS
VB
PO
FB
LRECL
80
BLKSIZE
Optional
For scanning the volumes with the device numbers 1100 and 1101:
PREFIX(PREFIX1)
DAD(DAD1)
DEVN(1100,1101)
For scanning the volumes with the device numbers ranging from
1100 to 1105 and the device number 1107:
PREFIX(PREFIX1)
DAD(DAD1)
DEVN(1100:1105,1107)
For scanning the volumes with the volume serial numbers VOL001,
VOL005, and VOL009, and the volume serial numbers ranging from
VO020 to VOL030:
PREFIX(PREFIX1)
DAD(DAD1)
VOLSER('VOL001','VOL005','VOL009')
VOLSER('VOL020':'VOL030')
For scanning the volumes with the device numbers ranging from
1100 to 1105, and the volumes with the volume serial numbers
ranging from VOL001 to VOL009:
PREFIX(PREFIX1)
DAD(DAD1)
DEVN(1100:1105)
VOLSER('VOL001':'VOL009')
Return codes
The table shown below lists the return codes to be returned when YKBTSCAN
terminates.
5-4
Meaning
The command skipped a volume with an I/O path that was not
available. The information about the volumes that was
successfully detected was output to the disk configuration
definition file.
16
64
JCL example
The following is an example of JCL that executes YKBTSCAN:
//*********************************************************************
//*
//* All Rights Reserved. Copyright (c) 2013, Hitachi, Ltd.
//*
//*********************************************************************
//BTCSCANA JOB CLASS=A,MSGCLASS=A,NOTIFY=&SYSUID,TIME=1440,REGION=0M
//YKBTSCAN EXEC PGM=YKBTSCAN,PARM='SPACE(5,1)'
//SYSEXEC DD DSN=HDSYK.VXXXXXX.HDSYEXET,DISP=SHR
//STEPLIB DD DSN=HDSYK.VXXXXXX.HDSYLNKT,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//SYSTSIN DD DUMMY
//SYSIN
DD *
PREFIX(YUKON.PREF1)
DAD(DADP)
DEVN(0000,0002,0005:0007,0009) /* DEVN specification */
VOLSER('VOL001','VOL003','VOL007':'VOL009') /* VOLSER specification */
/*
5-5
5-6
A
Example of the scan results of PPRC
copy pairs
This appendix provides an example of the scan results of PPRC copy pairs.
Example of the scan results of PPRC copy pairs
A-1
(1)
The scan results of PPRC copy pairs are displayed. For details on the
displayed messages, see Hitachi Business Continuity Manager Messages.
If a value of RC other than 0 displayed in the YKB001I message, see the
messages that were output before the YKB001I message for details.
A-2
Underlined values are those specified for each item in the Scan Copy Pair
Inside Storage System panel. The following indicates the correspondence
between values specified for each item in the Scan Copy Pair Inside Storage
System panel and items to be displayed in the underlined values in italics:
DEVN(value-specified-in-Device-Num-Start,value-specified-in-Device-Num-End) DAD(value-specified-inPrimary,value-specified-in-Secondary,value-specified-in-SI-Pair-(S-VOL)-Non-Gen'ed) CGNAME1(valuespecified-in-TC-Copy-Group-ID) CGNAME2(value-specified-in-TCA-Copy-Group-ID) CGNAME3(valuespecified-in-SI-Copy-Group-ID) HS(value-specified-in-HS)
A-3
A-4
B
Symbols used in syntax explanations
This chapter describes the symbols used in syntax explanations and the
syntax elements that are used.
Symbols used in syntax explanations
B-1
Convention
database-name
SD
[ ]
{ }
...
_ (underscore)
< >
<< >>
(( ))
The following table shows the syntax elements that are used.
B-2
Specifiable characters
0|1|2|3|4|5|6|7|8|9
Example
--
Syntax
element
Specifiable characters
Example
Upper-case
alphabetic
characters
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|
T|U|V|W|X|Y|Z
--
Alphabetic
characters
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|
T|U|V|W|X|Y|Z|
--
a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|
t|u|v|w|x|y|z
Alphanumeric
characters
A123
Hexadecimal
number
0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F
--
Symbolic name
A1234567
REXX start
symbol
alphabetic-characters|!|?|_
--
REXX prefix
A?.A123.!12.
DAD string
ABC.DEF
A string consisting of one or more parts,
joined by periods. Each part consists of
upper-case alpha-numeric characters. Note
that the first character of each part must be
an upper-case alphabetic character. Each part
can contain from 1 to 8 characters.
GROUP string
PATH string
PREFIX string
ROUTE string
ROUTELABEL
string
User ID string
a123
Console name
string
a123
Command
parameter
string
'AAA B(C)'
Label string
Ab123
B-3
Syntax
element
Message string
B-4
Specifiable characters
A string consisting of alphanumeric
characters, spaces, or parentheses (( and )).
Note that the first and last characters of the
string must both be a single quotation mark
(').
Example
'A b'
A
AP
application program
API
application programming interface
B
Business Continuity Manager
A generic name for the following products:
Hitachi Business Continuity Manager Basic
Hitachi Business Continuity Manager UR 4x4 Extended CTG
C
CCA
command control address
CCW
channel command word
CHA
channel adapter
W X
Acronyms-1
Hitachi Business Continuity Manager Reference Guide
CLI
command line interface
CSA
common service area
CSB
channel status byte
CU
controller unit
D
DAD
device address domain
DASD
direct access storage device
DBCS
double byte character set
Device Manager
Hitachi Device Manager Software
DKC
disk controller
DLIB
distribution library
DSB
device status byte
DSORG
data set organization
E
EXCTG
extended consistency group
Acronyms-2
Hitachi Business Continuity Manager Reference Guide
W X
F
FTP
file transfer protocol
G
GTF
generalized trace facility
GUI
graphical user interface
H
HDPz
Hitachi Dynamic Provisioning Software for Mainframe
HDTz
Hitachi Dynamic Provisioning Software for Mainframe
HTTP
HyperText Transfer Protocol
HTTPS
HyperText Transfer Protocol Security
I
IBM HTTP Server
IBM HTTP Server for z/OS
ID
identifier
IPv4
Internet Protocol Version 4
IPv6
Internet Protocol Version 6
W X
Acronyms-3
Hitachi Business Continuity Manager Reference Guide
ISPF
interactive system productivity facility
L
LDEV
logical device
LPAR
logical partition
LRECL
logical record length
M
M-JNL
master journal
Mainframe Agent
Hitachi Device Manager Mainframe Agent
MCU
main control unit
MIH
missing interrupt handler
O
OS
operating system
P
P-VOL
primary volume
PSW
program status word
Acronyms-4
Hitachi Business Continuity Manager Reference Guide
W X
R
R-JNL
restore journal
RACF
resource access control facility
RAID
redundant array of independent disks
RCU
remote control unit
RECFM
record format
Replication Manager
Hitachi Replication Manager Software
REXX
restructured extended executor
RPO
Recovery Point Objective
S
S-VOL
secondary volume
SAF
system authorization facility
SCP
state change pending
SDSF
system display and search facility
ShadowImage
ShadowImage for Mainframe
SMP/E
system modification program extended
W X
Acronyms-5
Hitachi Business Continuity Manager Reference Guide
SSID
storage system ID
SVC
supervisor call interruption
SVP
service processor
T
TC
TCA
TrueCopy for Mainframe (TrueCopy Asynchronous)
Tiered Storage Manager for Mainframe
Hitachi Tiered Storage Manager for Mainframe
TPC-R
IBM Tivoli Storage Productivity Center for Replication for System z
TSE
track space-efficient
TSO/E
Time Sharing Option/Extensions
U
Universal Replicator
Universal Replicator for Mainframe
USP
A generic name for the following products:
Hitachi Universal Storage Platform
Hitachi Network Storage Controller
USP V
A generic name for the following products:
Hitachi Universal Storage Platform V
Hitachi Universal Storage Platform VM
Acronyms-6
Hitachi Business Continuity Manager Reference Guide
W X
V
VM
virtual machine
VSP
Hitachi Virtual Storage Platform
VSP G1000
Hitachi Virtual Storage Platform G1000
X
XML
extensible markup language
z
z/Linux
Linux on IBM System z
W X
Acronyms-7
Hitachi Business Continuity Manager Reference Guide
Acronyms-8
Hitachi Business Continuity Manager Reference Guide
W X
Index
A
action 4-14
action parameters (YKMONCG file)
Add Attribute panel 1-51
Add Copy Group panel 1-69
Add Path Set panel 1-57
Add Route Entry panel 1-52
Add Route List ID panel 1-43
APID parameter
YKBLDCMD command 2-9
YKDELCMD command 2-18
ARRAYS parameter
YKSCAN command 2-84
Assign Port panel 1-64
ATOPT parameter
YKSUSPND command 2-93
ATTIME parameter
YKSUSPND command 2-92
4-13
B
BCM Monitor parameter file 4-1
Browse Copy Group Detail Definition panel 1-96
Browse Copy Group Pair Detail panel 1-97
C
CANCEL parameter
YKSUSPND command 2-95
Cancellation Warning panel 1-12
Capacity Warning panel 1-14
CCA parameter
YKBLDCMD command 2-9
Index-1
Hitachi Business Continuity Manager Reference Guide
D
DAD parameter
YKLOAD command 2-53
YKWATCH command 2-102
data object 3-1
dataset format of BCM Monitor parameter files 4-2
Define Command Device panel 1-47
Define Remote Command Device panel 1-50
device information structure 3-42
DEVN command
YKQUERY command 2-70
DEVN parameter
YKBLDCMD command 2-9
YKDELCMD command 2-18
YKDELETE command 2-21
YKEWAIT command 2-36
YKFCSTAT command 2-40
YKMAKE command 2-57
YKQRYDEV command 2-63
YKRECVER command 2-74
YKRESYNC command 2-77
YKSUSPND command 2-99
Discover Hitachi Storage System panel 1-29
Discover/Define Configuration panel 1-28
DRAIN parameter
YKSUSPND command 2-96
E
Edit Attribute panel 1-51
Edit Device Number for CU panel 1-37
Edit Logical Path Definition panel 1-59
Edit Port Definition panel 1-63
Edit Route Entry panel 1-54
ERRCODE command format 1-7
Error Code Help panel 1-12
error level 1-79
error-action 4-18
example
command device definition file 3-23
configuration file 3-21
copy group definition file 3-21
disk configuration definition file 3-22
path set definition file 3-23
route list definition file 3-22
example (action parameters) 4-19
example (YKMONOPT file) 4-6
example of scan result
Index-2
Hitachi Business Continuity Manager Reference Guide
3-66
YKDELPTH 1-113
YKEWAIT 1-170
YKLOAD 1-112, 1-121
YKMAKE 1-158
YKQRYDEV command 1-104
YKQRYPTH 1-113
YKQRYPTH with RESTRUCT specified 1-117
YKQUERY 1-123
YKRECVER 1-172
YKRESYNC 1-165
YKSUSPND 1-160
YKWATCH 1-169
Extra Command Device Direct Operation panel1-98
F
fence level 1-78
FlashCopy information structure
FLUSH parameter
YKSUSPND command 2-97
FORCE parameter
YKDELPTH command 2-25
format
YKBLDPTH command 2-11
YKCONMSG command 2-14
YKDELCMD command 2-17
YKDELETE command 2-20
YKDELPTH command 2-23
YKEWAIT command 2-32
YKFCSTAT command 2-39
YKFREEZE command 2-41
YKMAKE command 2-56
YKQRYDEV command 2-62
YKQRYPTH command 2-65
YKQUERY command 2-69
YKRECVER command 2-73
YKRESYNC command 2-75
YKRUN command 2-82
YKSCAN command 2-83
G
3-54
GENID parameter
YKSUSPND command 2-94
GOTO parameter
YKEWAIT command 2-33
YKSUSPND command 2-102
GROUP parameter
YKLOAD command 2-53
YKWATCH command 2-101
H
HANDLE parameter
YKCONMSG command 2-16
Help panel 1-9
HOLD parameter
YKMAKE command 2-57
Host ID Settings Information panel 1-21
host-discovered array index structure 3-35
host-discovered array structure 3-37
Index-3
Hitachi Business Continuity Manager Reference Guide
I
Import SMS Storage Group panel 1-89
Import SMS Storage Group Result panel 1-90
information to be set (action parameters) 4-13
information to be set (copy group parameters) 4-8
information to be set (YKMONOPT file) 4-4
Installation Verification Summary panel 1-17
ISPF panel system 1-2
ISPF panels 1-2
L
LOAD Option panel 1-121
when loading copy group 1-121
LOCATE command format 1-4
Logical Path Status of Copy Group Pair panel 1-174
Logical Path Status panel 1-115
N
names of configuration files 3-2
NOCOPY parameter
YKMAKE command 2-57
NOINVALIDCHECK parameter
YKEWAIT command 2-35
NORMAL parameter
YKRESYNC command 2-76
notes (YKMONCG file) 4-20
notes (YKMONOPT file) 4-5
M
Main Menu panel 1-15
Make Options panel 1-159
Manage Copy Groups panel 1-117
Manage Licenses panel 1-26
Manage Path Set panel 1-110
Manage Route panel 1-97
maximum number of characters (BCM Monitor
parameter files) 4-3
Message Panel 1-28
message structure 3-41
MIN parameter
YKSLEEP command 2-86
MSG parameter
YKBLDCMD command 2-9
YKBLDPTH command 2-11
YKDELCMD command 2-18
YKDELETE command 2-20
YKDELPTH command 2-23
YKEWAIT command 2-33
YKFCSTAT command 2-40
YKFREEZE command 2-42
YKLOAD command 2-54
YKMAKE command 2-56
YKQEXCTG command 2-60
YKQRYDEV command 2-63
YKQRYPTH command 2-66
YKQUERY command 2-70
O
ONLINE parameter
YKMAKE command 2-58
YKRESYNC command 2-79
OP parameter
YKCONMSG command 2-15
operating procedures 1-3
OPERATOR parameter
YKWATCH command 2-103
overview of sample script
YKDEMO01 2-106
YKDEMO02 2-106
YKDEMO03 2-106
YKDEMO04 2-107
YKDEMO05 2-107
YKDEMO06 2-107
YKDEMO07 2-107
YKDEMO08 2-107
YKDEMO09 2-107
YKDEMO10 2-107
YKDEMO11 2-107
YKDEMO12 2-107
YKDEMO13 2-107
YKDEMO1S 2-107
Index-4
Hitachi Business Continuity Manager Reference Guide
P
pair information CSV file format 3-64
Pair Selection List (Primary) panel 1-87
Pair Selection List (Secondary) panel 1-90
panel help information 1-9
panel transition
from Copy Group Status Summary panel 1-123
from Discover Hitachi Storage System panel1-29
from Main Menu 1-15
from Manage Route panel 1-98
from Path Set Selection List panel 1-56
from Route Config panel 1-41, 1-42
when browsing copy group information 1-67
when creating copy group 1-66
when updating copy group 1-67
parameters (action parameters) 4-14
parameters (copy group parameters) 4-8
parameters of YKBTSCAN
5-1
parameters (YKMONOPT file) 4-4
PATH parameter
YKLOAD command 2-54
YKQRYDEV command 2-64
YKSTORE command 2-89
Path Set Detail panel 1-57
Path Set Selection List panel 1-55
Path Set Status of Copy Group Pair panel 1-172
Path Set Status panel 1-113
path set structure 3-52
PCU parameter
YKBLDPTH command 2-12
YKDELPTH command 2-24
YKQRYPTH command 2-66
PPRC Copy Pair
scan result A-1
PREFIX parameter
YKLOAD command 2-53
YKSTORE command 2-89
YKWATCH command 2-101
processing for changing to startup status 4-10
PSN parameter
YKDELPTH command 2-23
YKQRYPTH command 2-66
PURGE parameter
YKSUSPND command 2-96
Q
QUICK parameter
YKRESYNC command
YKSUSPND command
2-76
2-97
R
RESTRUCT parameter
YKQRYPTH command 2-68
Resync Options panel 1-165
return code
YKBLDCMD command 2-10
YKBLDPTH command 2-14
YKCONMSG command 2-17
YKDELCMD command 2-19
YKDELETE command 2-22
YKDELPTH command 2-26
YKEWAIT command 2-36
YKFCSTAT command 2-40
YKFREEZE command 2-42
YKLOAD command 2-55
YKMAKE command 2-59
YKQEXCTG command 2-60
YKQRYDEV command 2-64
YKQRYPTH command 2-68
YKQUERY command 2-71
YKRECVER command 2-74
YKRESYNC command 2-81
YKRUN command 2-82
YKSCAN command 2-85
YKSLEEP command 2-86
YKSTATS command 2-88
YKSTORE command 2-90
YKSUSPND command 2-100
YKWATCH command 2-104
REVERSE parameter
YKBLDPTH command 2-13
YKDELPTH command 2-25
YKMAKE command 2-57
YKQRYPTH command 2-67
YKRESYNC command 2-76
YKSUSPND command 2-98
REXX variable
updated by YKQUERY and YKEWAIT commands
3-55
REXX variable structure 3-24
Route Config panel 1-41
Route List Information panel 1-43
route list structure 3-39
ROUTE parameter
Index-5
Hitachi Business Continuity Manager Reference Guide
1-101
1-101
S
sample script
YKDEMO01 2-108
YKDEMO02 2-112
YKDEMO03 2-114
YKDEMO04 2-118
YKDEMO05 2-122
YKDEMO06 2-125
YKDEMO07 2-127
YKDEMO08 2-129
YKDEMO09 2-135
YKDEMO10 2-140
YKDEMO11 2-141
YKDEMO12 2-142
YKDEMO13 2-145
YKDEMO1S 2-141
sample scripts stored in HDSYSAMT 2-106
Scan Copy Pair Inside Storage System panel 1-93
Scan Device Address Extent panel 1-31
Scan Remote Device Address Extent panel 1-40
SCANPAIR command format 1-7
SCU parameter
YKBLDPTH command 2-12
YKDELPTH command 2-24
YKQRYPTH command 2-67
SEC parameter
YKSLEEP command 2-86
Security Settings Information panel 1-18
SELECT command format 1-4
SELECT parameter
YKMAKE command 2-57
YKRESYNC command 2-76
YKSUSPND command 2-99
Select SSID panel 1-62
Select Storage System panel 1-62
Set Defaults panel 1-23
Setting C/T ID Attributes panel 1-83
Setting Information panel 1-9
SI Copy Group Make Options panel 1-159
SI Copy Group Resync Options panel 1-165
SI Copy Group Suspension Options panel 1-161
Index-6
Hitachi Business Continuity Manager Reference Guide
1-53
1-37
B-2
T
target-status 4-14
TC & TCA Copy Group Make Options panel 1-159
TC & TCA Copy Group Resync Options panel 1-166
TC Copy Group Suspension Options panel 1-161
TCA Copy Group Performance Statistics panel
1-127
TCA Copy Group Suspension Options panel 1-161
text parameter
YKWTOMSG command 2-105
text-1 parameter
YKWTOMSG command 2-105
text-2 parameter
YKWTOMSG command 2-105
TIMEOUT parameter
YKCONMSG command 2-15
YKEWAIT command 2-34
YKFREEZE command 2-42
YKSUSPND command 2-94
YKWATCH command 2-102
TO parameter
YKQEXCTG command 2-60
YKQUERY command 2-70
YKSCAN command 2-84
TOVSN parameter
YKSCAN command 2-84
TYPE parameter
YKDELPTH command 2-25
YKQRYPTH command 2-68
type parameter
YKWTOMSG command 2-105
U
Update Warning panel 1-13
UR Copy Group Make Options panel 1-159
UR Copy Group Performance Statistics panel 1-130
UR Copy Group Resync Options panel displayed
from the Copy Group Pair Status panel 1-166
UR Copy Group Resync Options panel displayed
from the Manage Copy Groups panel 1-166
UR Copy Group Suspension Options panel
displayed from the Copy Group Pair Status panel
1-162
UR Copy Group Suspension Options panel
displayed from the Manage Copy Groups panel
1-162
USER parameter
YKWATCH command 2-102
User SVC Information panel 1-19
V
values specified in startup status and startup
action parameters 4-8
values that can be specified as actions 4-14
VERIFY parameter
YKQUERY command 2-71
Volume Query Information (SI) panel 1-138
Volume Query Information (TC) panel 1-143
Volume Query Information (TCA) panel 1-147
Volume Query Information (UR) panel 1-152
VOLUNIT parameter
YKEWAIT command 2-36
YKRESYNC command 2-77
YKSUSPND command 2-99
W
Wait Options panel 1-170
Watch Options panel 1-169
X
XML document type definition 3-5
CDEV 3-19
CDEVGRP 3-18
CopyGroup 3-10
CopyGroupContainer 3-12
CopyPair 3-7
Index-7
Hitachi Business Continuity Manager Reference Guide
DiskDevice 3-6
DKC 3-20
DKCState 3-9
HostAddressedDisk 3-14
HostDiscoveredArray 3-19
PairState 3-7
Paths 3-15
Port 3-18
Ports 3-17
Related 3-9
RelatedDKCState 3-10
Route 3-20
RouteList 3-21
SI_Options 3-8
SoftwareKeys 3-15
TC_Options 3-7
TCA_Options 3-8
UR_Options 3-8
Y
YKBLDCMD command 2-8
APID parameter 2-9
CCA parameter 2-9
CU parameter 2-9
DEVN parameter 2-9
executing 1-107
format 2-8
MSG parameter 2-9
return code 2-10
SN parameter 2-9
YKBLDPTH command 2-11
format 2-11
FORWARD parameter 2-13
MSG parameter 2-11
PCU parameter 2-12
PSN parameter 2-11
PTID parameter 2-12
return code 2-14
REVERSE parameter 2-13
SCU parameter 2-12
SSN parameter 2-12
STEM parameter 2-11
TYPE parameter 2-13
YKBTSCAN
DAD parameter 5-3
DEVN parameter 5-3
PREFIX parameter 5-3
Index-8
Hitachi Business Continuity Manager Reference Guide
2-106
2-106
2-106
YKDEMO04
overview of sample script
sample script 2-118
YKDEMO05
overview of sample script
sample script 2-122
YKDEMO06
overview of sample script
sample script 2-125
2-107
2-107
2-107
YKDEMO07
overview of sample script 2-107
sample script 2-127
YKDEMO08
overview of sample script 2-107
sample script 2-129
YKDEMO09
overview of sample script 2-107
sample script 2-135
YKDEMO10
overview of sample script 2-107
sample script 2-140
YKDEMO11
overview of sample script 2-107
sample script 2-141
YKDEMO12
overview of sample script 2-107
sample script 2-142
YKDEMO13
overview of sample script 2-107
sample script 2-145
YKDEMO1S
overview of sample script 2-107
sample script 2-141
YKDROP command 2-27
ALL parameter 2-27
GRP parameter 2-27
PTH parameter 2-27
stem-name parameter 2-27
2-35
Index-9
Hitachi Business Continuity Manager Reference Guide
TO parameter 2-60
YKQHPATH command 2-61
YKQRYDEV command 2-62
CCA parameter 2-63
CU parameter 2-63
DEVN parameter 2-63
executing 1-104
format 2-62
MSG parameter 2-63
PATH parameter 2-64
return code 2-64
SMODEL parameter 2-64
SN parameter 2-63
SSN parameter 2-64
STEM parameter 2-63
YKQRYPTH command 2-65
format 2-65
FORWARD parameter 2-67
MSG parameter 2-66
PCU parameter 2-66
PSN parameter 2-66
PTID parameter 2-67
RESTRUCT parameter 2-68
return code 2-68
REVERSE parameter 2-67
SCU parameter 2-67
SSN parameter 2-66
STEM parameter 2-66
TYPE parameter 2-68
Index-10
Hitachi Business Continuity Manager Reference Guide
format 2-88
MSG parameter 2-89
PATH parameter 2-89
PREFIX parameter 2-89
return code 2-90
STEM parameter 2-89
UIDCHK parameter 2-89
YKSUSPND command 2-90
ATOPT parameter 2-93
ATTIME parameter 2-92
CANCEL parameter 2-95
DEVN parameter 2-99
DRAIN parameter 2-96
FLUSH parameter 2-97
format 2-90
FORWARD parameter 2-97
GENID parameter 2-94
MSG parameter 2-92
PURGE parameter 2-96
QUICK parameter 2-97
return code 2-100
REVERSE parameter 2-98
SELECT parameter 2-99
STEM parameter 2-92
SVOL parameter 2-98
TIMEOUT parameter 2-94
VOLUNIT parameter 2-99
YKWATCH command 2-101
CN parameter 2-103
DAD parameter 2-102
format 2-101
GOTO parameter 2-102
GROUP parameter 2-101
OPERATOR parameter 2-103
PREFIX parameter 2-101
return code 2-104
TIMEOUT parameter 2-102
USER parameter 2-102
YKWTOMSG command 2-104
text parameter 2-105
text-1 parameter 2-105
text-2 parameter 2-105
type parameter 2-105
Index-11
Hitachi Business Continuity Manager Reference Guide
Index-12
Hitachi Business Continuity Manager Reference Guide
MK-96HC135-20