Note the following:
If failover occurs while running a replication command, you must ensure consistency by using the swsrprecoverres command as a recovery measure.
You must perform replication on the active system of the cluster group because AdvancedCopy Manager is placed in the cluster group and operates as part of it.
You cannot perform replication from a standby node or another cluster group.
If the copy destination volume is registered as a disk resource for the cluster, run a snapshot replication.
If EC is used, perform inter-server replication by connecting the copy destination to a non-cluster Managed Server. For reverse replication, use snapshot replication using OPC.
If REC is used, also connect the copy destination to a non-cluster Managed Server to perform inter-server replication. For reverse replication, use synchronous replication using REC.
If the replication destination volume has been registered as cluster disk resources, it is recommended that you copy the partition unit.
When cluster disk resources are copied in Logical Unit units, do not do the copy that the administrative information of the disk overlaps. If the disk management information signature (MBR disk format) or GUID (GPT disk format) is modified, it may make it impossible to recognize the replication destination disk resources from the cluster.
Before copying in Logical Unit units, refer to "15.1.1.17 Notes on Executing Logical Unit (Disk) Unit Copy".
Maintenance Mode
If volumes are inaccessible, set the maintenance mode of the physical disk resources to ON because a failover may occur due to a resource check in the cluster. In addition, if a resource is using the targeted physical disk resource, take actions such as taking the resource offline in advance.
In the following cases, volumes become inaccessible at replication:
Volume is locked at pre-processing of replication
Volume is a destination volume of synchronous replication.
In either of the following cases, AdvancedCopy Manager sets maintenance mode automatically at pre- and post-processing of replication:
One partition exists on one disk and maintenance mode is OFF before replication is performed.
Copy on a per LUN basis and maintenance mode is OFF before replication is performed.
For details about pre- and post-processing of replication, refer to "Appendix C Pre-processing and Post-processing of Replication".
When setting maintenance mode of physical disk resources manually, use the following procedure to perform backup/restore.
Replication using OPC
If the copy destination volume has been registered as a physical disk resource for the cluster, turn on the maintenance mode for physical disk resources.
> cluster [ClusterName] res <CopyDestinationVolumePhysicalDiskResourceName> /maint:on
If the copy source volume has been registered as a physical disk resource for the cluster, turn on the maintenance mode for physical disk resources.
> cluster [ClusterName] res <CopySourceVolumePhysicalDiskResourceName> /maint:on
Execute the replication.
> C:\Win32app\AdvancedCopyManager\bin\swsrpmake <From-Volume-Name> <To-Volume-Name> FROM=<From-Volume-Name> TO=<To-Volume-Name> swsrpmake completed >
If the copy source volume has been registered as a physical disk resource for the cluster, turn off the maintenance mode for physical disk resources.
> cluster [ClusterName] res <CopySourceVolumePhysicalDiskResourceName> /maint:off
If the copy destination volume has been registered as a physical disk resource for the cluster, turn off the maintenance mode for physical disk resources.
> cluster [ClusterName] res <CopyDestinationVolumePhysicalDiskResourceName> /maint:off
Replication using EC or REC
Start synchronous processing.
> C:\Win32app\AdvancedCopyManager\bin\swsrpstartsync <From-Volume-Name> <To-Volume-Name> FROM=<From-Volume-Name> TO=<To-Volume-Name> swsrpstartsync completed >
Check the equivalency maintenance state.
Turn on the maintenance mode for physical disk resources (the copy source volume).
> cluster [ClusterName] res <CopySourceVolumePhysicalDiskResourceName> /maint:on
Execute the replication.
> C:\Win32app\AdvancedCopyManager\bin\swsrpmake <From-Volume-Name> <To-Volume-Name> FROM=<From-Volume-Name> TO=<To-Volume-Name> swsrpmake completed >
Turn off the maintenance mode for physical disk resources (the copy source volume).
> cluster [ClusterName] res <CopySourceVolumePhysicalDiskResourceName> /maint:off > cluster [ClusterName] res DiskResourceName /maint
Reverse replication using REC
Turn on the maintenance mode for physical disk resources (i.e., the copy destination volume).
> cluster [ClusterName] res <CopyDestinationVolumePhysicalDiskResourceName> /maint:on
Start synchronous processing.
> C:\Win32app\AdvancedCopyManager\bin\swsrpstartsync <From-Volume-Name> <To-Volume-Name> FROM=<From-Volume-Name> TO=<To-Volume-Name> swsrpstartsync completed >
Check the equivalency maintenance state.
Execute the replication.
> C:\Win32app\AdvancedCopyManager\bin\swsrpmake <From-Volume-Name> <To-Volume-Name> FROM=<From-Volume-Name> TO=<To-Volume-Name> swsrpmake completed >
Turn off the maintenance mode for physical disk resources (i.e., the copy destination volume).
> cluster [ClusterName] res <CopyDestinationVolumePhysicalDiskResourceName> /maint:off
Note that once physical disk resources have been set offline during synchronous processing (between step 2 and step 4) they cannot be set online again.
If physical disk resources have been set offline during synchronous processing, use the following procedure to resolve the problem:
Stop the synchronous processing from the non-cluster Managed Server.
> C:\Win32app\AdvancedCopyManager\bin\swsrpcancel -m <From-Volume-Name> <To-Volume-Name> FROM=<From-Volume-Name> TO=<To-Volume-Name> swsrpcancel completed >
Set the physical disk resources online, and then execute the reverse replication again.
Point
Enter a command using the following syntax to check the maintenance mode status of a physical disk resource.
cluster [ClusterName] res DiskResourceName /maint
If "Online" is displayed as the "Status", the maintenance mode is "OFF".
If "Online (maintenance)" is displayed as the "Status", the maintenance mode is "ON".
For backup and restoration of an SQL Server database in cluster operation, perform the following steps to operate the SQL Server backup function in WSFC cluster operations:
Create SQL Server transactions and AdvancedCopy Manager transactions in one cluster group. (Do not share a logical IP address with SQL Server and AdvancedCopy Manager.)
To execute the swsrpbackup_sql command, specify the name of the logical node for AdvancedCopy Manager in the environment variable SWSTGNODE beforehand.
To execute the swstbackup_sqlsvr or swstrestore_sqlsvr command, use the -Xserver option and specify the virtual server name of the SQL Server as an argument.
Place the device map file so that both the primary node and secondary node can reference it. (i.e., place it on a shared disk or local disks in both nodes)
For backups and restorations performed with a Hyper-V guest OS operating under the clustered system, there are the following items of caution.
If performing cluster operation of the Hyper-V backup function with WSFC, do the following.
Use the AdvancedCopy Manager's agent installed to each physical server. As such, do not set the environment variable SWSTGNODE when executing commands.
Place the guest OS list files such that it is possible to refer to them from both the primary node and the secondary node.
Place the files either on a shared disk or on the local disks of both nodes.
When Using WSFC for Cluster Operation
When a cluster group to which AdvancedCopy Manager belongs is operating, replication operation is enabled only on the active node. The standby node environment is not ready (to provide necessary resources) for replication operation, thus disabling replication operation. Likewise, if the cluster group has been stopped, the environment is not ready and disables replication operation.
However, only when the cluster group has been stopped is the replication operation enabled by temporarily arranging the minimum essential resources.
Note
If any of the following resources cannot start (i.e., cannot be brought online), replication operation is disabled:
AdvancedCopy COM Service_logicalNodeName
IP address resource (when created by the cluster setup command of AdvancedCopy Manager, the resource is named in "AdvancedCopy IP Address_logicalNodeName" format.)
Disk resource for a shared disk for AdvancedCopy Manager shared data
Disk resource for the shared disk for the AdvancedCopy Manager repository (only for a Management Server transaction)
Replication operation disks (source volume/destination volume to operate)
Perform replication the operation during the stoppage of a cluster group by performing the following steps:
Confirm that the cluster group has been stopped (i.e., that it has been set offline) on both nodes. For details on how to stop a cluster group, refer to "Chapter 2 Starting and Stopping Services".
Start (i.e., set online) the resources required for operation.
Start the following resources:
AdvancedCopy COM Service_logicalNodeName
IP address resource (when created by the cluster setup command of AdvancedCopy Manager, the resource is named in "AdvancedCopy IP Address_logicalNodeName" format.)
Disk resource for a shared disk for AdvancedCopy Manager shared data
Disk resource for the shared disk for the AdvancedCopy Manager repository (only for a Management Server transaction)
Replication operation disks (source volume/destination volume to operate)
Note
Be sure to start the resources from only one of these nodes. For details on how to start a resource, refer to the WSFC manual.
Since the dependency between AdvancedCopy COM Service_logicalNodeName and transaction disk has been set, starting AdvancedCopy COM Service_logicalNodeName starts all dependent disk resources.
In the environment variable SWSTGNODE, set the logical node name for the relevant task.
Set the environment variable as shown below.
[Execution example]
set SWSTGNODE=logicalNodeName
Perform replication operation.
You can perform replication operation in the same way as for regular cluster operations.
Stop (i.e., set to offline) the resources you started in step 2.
For details on how to stop a resource, refer to the WSFC manual.
Start (i.e., set to online) the cluster group.
Start the cluster group, if necessary.
For details on how to start a cluster group, refer to the WSFC manual.