Chapter 8. TotalStorage Productivity Center for Replication use 411
Approve - Yes or no. Indicates if all copysets are approved
Description - User-defined session description.
In Example 8-2 you can see the result of showsess command for defined sessions. You can
compare parameters to information you can get using graphical interface as described in
“Managing a Continuous Synchronous Remote Copy” on page 395.
Example 8-2 showsess - defined sessions
repcli> showsess PPRC_800_to_F20
Name PPRC_800_to_F20
Type pprc
State Defined
Status warning
Group PPRC_src
Source Volumes 2
Approval Status Automatic
Copysets 2
Non-approved 0
Invalid 0
Seq "Remote Target"
Pool Criteria F20
Shadow No
Recover No
Err No
Approve Yes
Description Remote copy of 2 volumes from ESS 800 to F20
AWN007080I Command completed successfully.
repcli> showsess FC_F20_800
Name FC_F20_800
Type flash
State Defined
Status warning
Group FC_src
Source Volumes 4
Approval Status Automatic
Copysets 4
Non-approved 0
Invalid 0
Seq "Flashed Target"
Pool Criteria P%
Shadow No
Recover No
Err No
Approve Yes
Description Point in time copy of 4 volumes, 2 on ESS F20 and 2 on ESS 800
AWN007080I Command completed successfully.
8.3.2 Starting a session
This section shows the commands to start a replication session.
flashess command
To run a created or terminated Point-in-Time Copy session invoke flashsess command:
flashsess [-quiet] session_name [. . .]
412 Managing Disk Subsystems using IBM TotalStorage Productivity Center
session_name
specifies the session name to be activated. Separate multiple session names with a
white space between each name. Alternatively, use the dash (-) to specify that input for
this parameter comes from an input stream (STDIN).
-quiet
An optional parameter that turns off the confirmation prompt for this command.
Example 8-3 shows an example of the flashess command.
Example 8-3 flashsess command
repcli> flashsess -quiet FC_F20_800
AWN007110I Command completed successfully.
To start a created, terminated or suspended Continuous Synchronous Remote Copy session
invoke the startsess command as shown in Example 8-4:
Example 8-4 startsess command
repcli> startsess PPRC_800_to_F20
AWN007100I Command completed successfully.
Example 8-5 shows the status of started sessions. Point-in-Time Copy was created
successfully which confirms normal status and yes value of recover parameter. However,
Continuous Synchronous Remote Copy is running (Active State) but not synchronized which
show in the Recover and Status parameters.
Example 8-5 lssess - started sessions
repcli> lssess
Name Status State Group Type Recover Shadow Err
================================================================
PPRC_800_to_F20 warning Active PPRC_src pprc No Yes No
FC_F20_800 normal Active FC_src flash Yes Yes No
lsseq command
You should use two additional commands lsseq and lspair to get more details about current
state of sessions.
lsseq [ { -l |-s } ] [-recov yes|no] [-shadow yes|no] [-err yes|no] session_name
-s
An optional parameter that displays volumes only.
-l
An optional parameter that displays all valid output. This is the default.
-recov yes | no
An optional parameter that indicates whether any sequences in the session can be
considered recoverable.
-shadow yes | no
Note: In a batch program use the quiet parameter where available, otherwise the program
will wait for your confirmation.

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.