Top
ETERNUS SF AdvancedCopy Manager 14.2 Operator's Guide

7.8.1 Replication in units of volume groups

Provided that all volume group configurations satisfy the following conditions, the replication can be performed in units of volume groups.

If the above conditions are not satisfied, replication must be performed in units of physical disks.

Figure 7.47 Example of configuration in which replication can be performed in units of volume groups


7.8.1.1 Operation design

Ensure that the following conditions are met when designing volume groups for use as source or replica volume groups:


7.8.1.2 Preparations


7.8.1.2.1 Saving the volume group configuration information file

The standard post-processing script restores a volume group configuration information file from the following file. Confirm that a volume group configuration information file has been saved.

/etc/lvmconf/<volume-group-name>.conf

Note

Replication cannot be performed if a volume group configuration information file has not been saved. In this case, target volume post-processing will result in an error during replication.
Customize the post-processing script for the target volume if volume group configuration information has been saved to another file.


7.8.1.2.2 Configuring the source volume and the replica volume

When configuring the source volume and the replica volume, specify their volume groups.

Example
# /opt/FJSVswsrp/bin/swsrpsetvol /dev/vg01 /dev/vg02
swsrpsetvol completed
#

7.8.1.2.3 Customizing the pre-processing and post-processing scripts

If a volume group is to be replicated, the pre-processing and post-processing scripts must be customized.
Refer to "Appendix C Pre-processing and Post-processing of Replication" for information on the customization procedure.

Note

If replication is attempted without customization of the scripts, pre-processing for the source volume causes an error, so that replication cannot be achieved.


7.8.1.3 Replication in units of volume groups

Execute replication with a volume group specified.

Example of snapshot replication
# /opt/FJSVswsrp/bin/swsrpmake /dev/vg01 /dev/vg02
FROM=/dev/vg01@SV1, TO=/dev/vg02@SV1 swsrpmake completed
#
Example of synchronous replication
# /opt/FJSVswsrp/bin/swsrpstartsync /dev/vg01 /dev/vg02
FROM=/dev/vg01@SV1, TO=/dev/vg02@SV1 swsrpstartsync completed
(After state of equivalency upkeep)
# /opt/FJSVswsrp/bin/swsrpmake /dev/vg01 /dev/vg02
FROM=/dev/vg01@SV1, TO=/dev/vg02@SV1 swsrpmake completed
#