Scenario for a copy task Replication sessions Creating a replication session

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:

  1. Create a connection between source and target storage devices.
    Note:Note: Source and target storage devices must have been discovered, and they must be supported by MDM.
  2. Create a copy session.
  3. 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:

  1. Access the ESS Specialist and ESS Copy Services Web interfaces. (You can use the ESS Master Console, which includes browser software for this access.)
  2. 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:

  1. In the IBM Director Task pane, click Multiple Device Manager.
  2. Click Manage Replication.
  3. Double-click Paths. The Paths panel opens.
  4. 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:

  1. In the IBM Director Task pane, click Multiple Device Manager.
  2. Click Manage Replication.
  3. Double-click Sessions. The Sessions panel opens.
  4. Click Session actions. The Session actions list opens.
  5. Click Create. The Create session wizard opens.
  6. Click Next. The Choose copy type and source group page opens.
  7. Click Copy type.
  8. From the Copy type list, select Continuous Synchronous Remote Copy.
  9. Click Available groups. The Available groups table opens.
  10. Select a source group of volumes from the Available groups table, for example Group1.
    Note: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.
  11. Click Next. The Choose target pool page opens.
  12. 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*.
  13. Click Apply to update the information in the Location criteria column.
  14. Click Sequences. The Sequences table opens.
  15. 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: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.
  16. If there are no locations listed in the Locations list, select at least one pool from the Available pools list as the target.
  17. Click Next. The Save session page opens.
  18. Type a name for the session in the Name field, for example, copytask1. The name is required and must not exceed 250 characters.
  19. 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.
  20. Select Automatic (default) in the Approval box.
  21. 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:

  1. In the IBM Director Task pane, click Multiple Device Manager.
  2. Click Manage Replication.
  3. Double-click Sessions. The Sessions panel opens.
  4. Select the replication session on which you want to perform a copy task in the Sessions table, for example, copytask1.
  5. Click Start. Replication Manager performs the copy task defined in the selected session.
Related topics Replication sessions Creating a replication session

(C) Copyright International Business Machines Corporation 2004