Replication Manager (RM) provides two types of copy services, continuous remote copy and point-in-time copy. These data-copy services maintain consistent copies of data on source volumes that are managed by Multiple Device Manager. This topic lists the different Replication Manager commands that you can issue. These commands enable you to replicate data, to list detailed copy information, to create, modify, and delete sessions, groups, and pools, and to start and stop replication sessions.
Creating a replication session: Replication Manager supports the session concept in which multiple pairs are handled as a consistent unit. You can create and manage copy relationships between source and target volume pairs or source volume groups, and among target pools through a Replication Manager copy session You use the mksess command to create and name a session. To create a session you provide the name of the volume group to be copied and the name to be assigned to the session that manages the copy of this group (the copy instance). You also select the copy type and a set of pool criteria that allows Replication Manager to know from which pool to choose a target. This is the sequence of events for a session:
Creating a copy set: A copy set is all volumes that make up a solution for a given copy type. For example, if a copy type calls for four volumes where the copy goes sequentially from A to B and then from B to C, and then from C to D, then the copy set is the sequential, linear, horizontal path and collection of those volumes. A is the original source and B, C, and D are all considered targets. There are two ways that copy sets are created for Replication Manager. One way is with automated target volume selection using the mktgtpool command. The other way is where you know what targets you want to go with their source. This is the sequence of events if you want to specify a copy set yourself using the mkcpset command: