To set up asynchronous replication, you must
define your resource managers to the library server, define each resource
manager to each other, and define your collections.
When you define a replica resource manager to a library
server, you define a connection between a primary resource manager
collection and a replica resource manager collection. A replication
process initiated by the administrator replicates stored objects from
the primary resource manager collection to the replica resource manager
collection. In the following steps, an example is used to help clarify
the steps that you must complete. In the example, the primary resource
manager is
RMDB1 and the replica resource manager
is
RMDB1_replica1.
Important: The scheduling for asynchronous replication is set up on the resource
manager through the replication service. The target resource managers
for asynchronous replication are set up on the collection. In contrast,
synchronous replication is set up by selecting a check box on the
collection. Synchronous replication uses the same target resource
managers that are configured for asynchronous replication.
To set up asynchronous replication:
- From the system administration client, expand the library
server in the tree view, right-click Resource Manager, and click New to define the RMDB1 resource manager.
Requirement: Each of the primary and replica resource managers must point to the
same library server.
- Supply information for the fields to define a resource
manager to the library server, for example, RMDB1 for the Name field.
- Select the operating system for the resource manager
application in the Application server operating system field. The default collection for the resource manager
is generated based on the selection that you make in the Application server operating system field.
- Click OK to save the new resource
manager definition.
- Optional: Create a new collection in the resource
manager to be replicated. In the system administration client tree
view, add collections for the RMDB1 resource manager. (You can also use one of the default collections as the collection
to be replicated.)
- Expand the RMDB1 resource manager to display the collection type. If the
operating system of the resource manager application is z/OS®, the collection type is MVS
Collections. For any other operating system, the collection
type is Workstation Collections.
- Right-click the collection type to create a collection
for the resource manager. Type a name, select a migration
policy, and enter other required data for the new collection. For
a collection on a z/OS resource
manager, only the name of the collection is required.
- Repeat the process used in Step 1 to define the RMDB1_replica1 resource manager to the library server.
If you do not want to use one of the default collections for RMDB1_replica1 as the replica collection, use the process
in Step 2 to define collections for RMDB1_replica1.
- Add the information for the replica resource manager RMDB1_replica1 to RMDB1.
- Expand the RMDB1 resource manager and select the collection type to display the collections.
- Right-click the collection name for which you want to
create a replica and click Properties.
- In the Collection Properties window, click Add to enable the collection for replication and to add
the replica information.
- In the New Workstation Collection window, select RMDB1_replica1 as the replica resource
manager and select a collection name for the replica.
- Save your selections on the New Workstation Collection
window and Collection Properties window to complete the setup for
replication.
In this example, the collection selected for RMDB1 is the source collection that replicates to the target collection
on RMDB1_replica1.