Scenario for a copy task
This scenario provides a hypothetical
example of how to use Replication Manager to copy a group of storage units.
Prerequisites
If neither a source group nor a target pool of volumes is displayed when
you create the copy session, perform the create groups and create pools tasks.
The links to these tasks are listed in the Related topics section at the end
of this scenario.
Scenario overview
Perform the following steps in the sequence given to perform a copy task
with Replication Manager:
- Create a connection between source and target storage devices.
 | Note: Source and target storage devices must have been discovered, and they must
be supported by MDM. |
- Create a copy session.
- Start or schedule the copy task
Create a connection between
the source and target devices
For an IBM TotalStorage Enterprise Storage Server (ESS), use the ESS Specialist
to establish a path between a logical subsystem (LSS) in a source ESS and
an LSS in a target ESS. Perform the following tasks from your ESS:
- Access the ESS Specialist and ESS Copy Services Web interfaces. (You can
use the ESS Master Console, which includes browser software for this access.)
- Establish paths between the source ESS and the target ESS.
For more detailed information about how to establish paths between ESS
storage devices, see the IBM TotalStorage
Enterprise Storage Server: Web Interface User's Guide.
For an IBM TotalStorage SAN Volume Controller, use the SAN Volume Controller
Console to establish a partnership between a cluster in a source SAN Volume
Controller and a cluster in a target SAN Volume Controller. For information
about how to establish partnerships between SAN Volume Controller storage
devices, see the IBM TotalStorage SAN Volume Controller: Configuration Guide
You can use the Replication Manager Paths panel to view these paths and
relationships after they are established:
- In the IBM Director Task pane, click Multiple Device
Manager.
- Click Manage Replication.
- Double-click Paths. The Paths panel opens.
- View the established paths in the Paths table.
You can also view the paths by issuing the lspath command
within the reptool command program, for example:
reptool lspath -devtype ess | svc
Create a copy session
Perform the following steps to create a copy session:
- In the IBM Director Task pane, click Multiple Device
Manager.
- Click Manage Replication.
- Double-click Sessions. The Sessions panel opens.
- Click Session actions. The Session actions list
opens.
- Click Create. The Create session wizard opens.
- Click Next. The Choose copy type and source group
page opens.
- Click Copy type.
- From the Copy type list, select Continuous Synchronous Remote Copy.
- Click Available groups. The Available groups table
opens.
- Select a source group of volumes from the Available groups table, for
example Group1.
 | Note: If the Available groups table is
empty, you must create the groups. See the link to the scenario for creating
copy groups in the Related topics section. |
- Click Next. The Choose target pool page opens.
- Specify a location in the Location criteria field:
- You can specify an explicit list of pool IDs.
- You can specify a filter for the location that will select all pools that
have an attribute of that location. You can enter an asterisk (*) as a wildcard
for the first or last character of the filter, for example, ESSa*.
- Click Apply to update the information in the Location
criteria column.
- Click Sequences. The Sequences table opens.
- Select a sequence (row) in the Sequence table, for example sequenceA. (A sequence defines two volumes that exist as a pair in the session.)
The following information is displayed:
- The Locations list shows all locations that satisfy
the filter (or an explicit list of pool IDs) that you entered in the Location criteria field.
- The Available pools table shows all pools that meet the criteria specified
in the Location criteria field.
 | Note: If the
Available pools table is empty, you must create the pools. See the link to
the scenario for creating copy pools in the Related topics section. |
- If there are no locations listed in the Locations list,
select at least one pool from the Available pools list
as the target.
- Click Next. The Save session page opens.
- Type a name for the session in the Name field, for
example, copytask1. The name is required and must not exceed 250
characters.
- Type a description for the session in the Description field, for example, my copy task. The description is optional
and can be 0 - 250 characters.
- Select Automatic (default) in the Approval box.
- You have completed the criteria for the session. Click Finish.
Alternatively, you can use the mksess command to
create a session.
reptool -cptype pprc -srcgrp group1 -tgtpool sequenceA -approve auto
-desc "my copy task" copytask1
Start the copy task
Perform the following steps to start the copy task:
- In the IBM Director Task pane, click Multiple Device
Manager.
- Click Manage Replication.
- Double-click Sessions. The Sessions panel opens.
- Select the replication session on which you want to perform a copy task
in the Sessions table, for example, copytask1.
- Click Start. Replication Manager performs the copy
task defined in the selected session.
Related topics