Using The Ds Cli Application; Single-Shot Mode - IBM System storage DS6000 Series Redbook

Copy services with ibm system z
Hide thumbs Also See for System storage DS6000 Series:
Table of Contents

Advertisement

Command
unfreezepprc
pausegmir
resumegmir
chsession
Important:
The Remote Mirror and Copy commands are asynchronous. This means that the
command is issued to the DS CLI server and if it is accepted successfully, you receive
a successful completion code; however, background activity may still be occurring. For
example, a Metro Mirror pair will take some time to establish, as the tracks need to be
copied across from the primary to the secondary device. In this example, you should
check the state of the volumes using the lspprc command until the pairs have reached
the Duplex state.
The mkflash and mkpprc commands offer the -wait flag, which delays command
response until copy complete status is achieved. You may choose to use this flag, if
you want to be sure of successful completion.

4.7 Using the DS CLI application

You have to log into the DS CLI application to use the command modes. There are three
command modes for DS CLI:

Single-shot mode

Interactive mode
Script mode
4.7.1 Single-shot mode
Use the DS CLI single-shot command mode if you want to issue an occasional command, but
do not want to keep a history of the commands that you have issued.
You must supply the login information and the command that you want to process at the
same time. Use the following example for the single-shot mode:
1. Enter dscli -HMC1 <hostname or ip address> -user <user name> -passwd <pwd>
<command>
2. Wait for the command to process and display the results.
Example 4-1 shows the use of the single-shot command mode.
Example 4-1 Single-shot command mode
C:\Program Files\ibm\dscli>dscli -HMC1 10.10.10.1 -user admin -passwd adminpwd
lsuser
Date/Time: 24 de Maio de 2005 14h38min20s BRT IBM DSCLI Version: X.X.X.X
Name
=====================
admin
admin
exit status of dscli = 0
Description
Thaws an existing Remote Mirror and Copy Consistency Group
Pauses a Global Mirror processing for a session
Resumes a Global Mirror processing for a session
Allows to modify a Global Mirror session
Group State
admin locked
admin active
Chapter 4. DS Command-Line Interface
31

Advertisement

Table of Contents
loading

Table of Contents