VERITAS Cluster Server
For backup operation in a clustered system, note the following points that do not apply to regular operation:
If failover occurs while running a backup command, you must ensure consistency by using swstsrsemtch (Resource adjustment command) as a recovery measure.
To use synchronous high-speed backup, do not register a backup to any cluster transaction.
You must perform backups on the active server of the service group because AdvancedCopy Manager is placed into the service group and operates as a part of it.
You cannot make a backup from a standby node or another service group.
To perform backup/restoration using AdvancedCopy Manager, you usually must unmount transaction volumes beforehand and mount the volumes later.
If the mount point of transaction volumes have been registered to a cluster transaction, set the mount point resource online or offline from the cluster transaction instead of mounting or unmounting the volumes. Alternatively, modify the backup/restoration pre-processing and post-processing scripts so that the transaction volumes are set offline or online instead of being unmounted or mounted.
Moreover, the Volume is immediately placed offline/online for a mount point resource whereas there will be a time delay when mount/unmount is used. Therefore, please add into the pre-processing script, after the statement where the success or failure value of offline/online is returned, the df or sleep command to function until mount/unmount is actually complete.
For details and examples on the pre-processing and post-processing scripts, refer to "Appendix A Pre-processing and Post-processing of Backup and Restoration". For details on the commands used to set resources offline and online, refer to the relevant cluster software manual.
VERITAS Cluster Server
When a service group to which AdvancedCopy Manager belongs is operating, backup is enabled only on the active node. The standby node environment is not ready (to provide necessary resources) for backup operation, therefore backup is disabled. Likewise, if the service group has been stopped, the environment is not ready and disables backup operation.
However, backup is temporarily enabled when the service group is stopped.
Note
If any of the following types of shared disks cannot be enabled (i.e., set online or mounted in a system), backup is disabled:
Shared disk for AdvancedCopy Manager shared data
Backup operation disk (transaction volume/backup volume to operate)
The following operations are not allowed in backup:
Backup/restoration through Web Console
Manipulation for backup operation from a Management Server (host specification with the -h option)
Addition or deletion of a transaction volume/backup volume, or change in policy
To execute a display command for backup management to a Management Server transaction that also functions as a Managed Server transaction, you must specify options for the command. For details on the display command for backup management, refer to "8.2 Backup Management Commands".
If the service group has been stopped, perform a backup by taking the following steps:
Confirm that the service group has been stopped on both nodes.
For details on how to stop a service group, refer to the VERITAS Cluster Server manual.
Log in (for example, using Telnet) to the node on which you want to make a backup.
You cannot use the logical IP address. Use a node that is operable via the physical IP address.
Enable the shared disk.
Start (set online) the shared disk.
Mount the shared disk for AdvancedCopy Manager shared data.
When the transaction volume is a file system, mount it.
Note
Be sure to enable the shared disk from either node. Do not enable the shared disk from both nodes.
In the environment variable SWSTGNODE, set the logical node name for the relevant task.
Set the environment variable as shown below.
<Execution example>
# SWSTGNODE=logical-node-name # export SWSTGNODE |
Perform the backup.
You can perform the backup in the same way as for regular operations in a cluster environment.
You can use swstrestore (Restore execution command) to perform restoration.
Release all the shared disks you enabled in Step 3.
unmount the file systems you mounted.
Stop (set offline) the shared disk.
Start (set online) the service group.
Start the service group, if necessary.
For details on how to start a service group, refer to the VERITAS Cluster Server manual.