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 "14.1.1.18 Notes on Executing Logical Unit (Disk) Unit Copy".
Maintenance Mode
If volumes are inaccessible, set maintenance mode of physical disk resources to ON, for failover may occur by resource check in cluster.
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 of 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 Exchange Server 2007 database in cluster operation, perform the following steps to operate the Exchange linkage function in MSCS:
Create Exchange transactions and AdvancedCopy Manager transactions in one cluster group.
Use the same logical IP address for Exchange Server and AdvancedCopy Manager. (Create the Exchange transaction, and then create the AdvancedCopy Manager transaction.)
To execute an AdvancedCopy Manager's command, specify the name of the logical node for AdvancedCopy Manager in the environment variable SWSTGNODE beforehand.
To execute the Exchange Server associated commands (swsrpXXX_exchange) of AdvancedCopy Manager, use the -evs option and specify the virtual server name of the Exchange Server as an argument.
Place the device map file so that both the primary node and secondary node can reference it (place it on a shared disk or local disks in both nodes).
For backup and restoration of an SQL Server database in cluster operation, perform the following steps to operate the SQL Server backup function in MSCS or 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, please do the following.
Use the AdvancedCopy Manager's agent installed to each physical server. As such, please 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.
Please place the files either on a shared disk or on the local disks of both nodes.
When Using MSCS or 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.
Since the dependency between AdvancedCopy COM Service_logicalNodeName and transaction disk has been set, starting AdvancedCopy COM Service_logicalNodeName starts all dependent disk resources.
For details on how to start a resource, refer to the MSCS or WSFC manual.
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 MSCS or 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 MSCS or WSFC manual.