Chapter 8. TotalStorage Productivity Center for Replication use 407
Shadowing - No - sequence is not shadowing
Exception volumes - 0 - no volume is in exception state
Recoverable pairs - 0- no pair is recoverable
Shadowing pairs - 0 -no pair is shadowing
Total pairs - 2 - total number of pairs is two
Recoverable timestamp - n/a, recovery is not possible so there is no time information
Notice that state is Suspended but a session is not recoverable.
In a Sequence states panel you see that two pairs are in Suspended state but the
Recoverable value is false. To see more details, select Sequence in Sequences panel and
click Pairs. A new window opens as shown in Figure 8-74.
Figure 8-74 Pairs of suspended not synchronized session
When a session was suspended in inconsistent state, you will see the following values in the
Pairs pane:
State - Suspended
Recoverable - No
Shadowing - No
–New - Yes
8.3 Using Command Line Interface (CLI) for replication
This section introduces the command-line interface (CLI) for TotalStorage Productivity Center
for Replication. We will focus on main commands used for managing session. See IBM
TotalStorage Productivity Center for Disk and Replication: Command-Line Interface User’s
Guide, SC30-4109, for detailed description of all available commands.
Using the CLI you can create, delete sessions, groups, pools and related copy pairs as well
as run, suspend and terminate replication sessions. You can use CLI installed together with
TotalStorage Productivity Center for Replication on main server or install CLI on other
machine and invoke commands remotely. See “Installing CIM agent for ESS” on page 124 for
installation instructions.
408 Managing Disk Subsystems using IBM TotalStorage Productivity Center
repcli utility
To use the CLI you have to run the repcli utility. The default folder location of CLI for
Replication Manager is c:\Program Files\IBM\mdm\rm\rmcli. This utility can also run
commands in interactive mode, single command or a set of commands from a script.
Syntax of repcli command:
repcli [ { -ver|-overview|-script file_name|command | - } ] [ { -help|h|-? } ]
where
-ver
Displays the current version
-overview
Displays the overview information about the repcli utility, including command modes,
standard command and listing parameters, syntax diagram conventions, and user
assistance.
-script filename
Runs the set of command strings in the specified file outside of a repcli session. You
must specify a file name. The format options specified using the setoutput command
apply to all commands in the script. Output from successful commands routes to
stdout. Output from unsuccessful commands route to stderr. If an error occurs while
one of the commands in the script is running, the script exits at the point of failure and
return to the system prompt.
example:
repcli -script start_backup.scr
-command_string
Runs the specified command string outside of a repcli session.
example:
repcli lssess
cli commands for Replication
Following is a list of all commands available in CLI for TotalStorage Productivity Center for
Replication V2.1:
approvecpset lsgrp mksess showattribute
chcpset lslss mktgtpool showcpset
chgrp lspair quit showdev
chsess lspath repcli showgrp
chtgtpool lsseq rmcpset showmessage
exit lssess rmgrp showsess
flashsess lstgtpool rmpath showtgtpool
generatecpset lsvol rmsess startsess
help mkcpset rmtgtpool stopflashsess

Get Managing Disk Subsystems using IBM TotalStorage Productivity Center now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.