Creating a consistency group

To create a consistency group, you must configure the consistency group on both the source and the target systems with the same paths. The vfradmin cgrp create command creates a consistency group. Only one consistency group can be associated with a replication job. If no consistency group is associated with a replication job, the entire file system is replicated. After creating a consistency group, you must set up the include and exclude lists, and then use the vfradmin job set cgrp command to associate the consistency group with a file system.

To create a consistency group, type the following command on both the source and the target systems:

# vfradmin cgrp create cgrp_name mntpt 

where:

cgrp_name is the name of the consistency group you are creating.

mntpt is the mount point on the source or the target system.

Prior to associating a consistency group with a replication job, you must specify the paths to include or exclude using the vfradmin cgrp include add and vfradmin cgrp exclude add commands.

See Modifying a consistency group.

To associate a consistency group with a replication job, type the following command on both the source and the target systems:

# vfradmin job set cgrp job_name mnpt cgrp_name

where:

job_name is the name of the replication job that you want to associate the consistency group with.

mnpt is the mount point on the source or the target system.

cgrp_name is the name of the consistency group that you want to associate with the replication job.

Alternately, you can associate a consistency group while creating a replication job by specifying the -g option when using the vfradmin job create command.