ETERNUS SF AdvancedCopy Manager Operator's Guide 13.0 -AIX-
Contents Index PreviousNext

Chapter 10 Notes on Operations

This chapter provides notes on the operations of AdvancedCopy Manager.

10.1 Notes on Backup and Replication Operation 

This chapter provides notes on the backup and replication operation.

10.1.1 General notes

This chapter provides general notes on the backup and replication operation.

+Exclusion from Backup or replication Targets

The following devices must not be subject to the backup or replication operation.

+Consistency of data on volumes

Data on transaction volumes

Data consistency

Action to take

File system

The commands of AdvancedCopy Manager unmount the filesystem and the correspondence is secured.

Please refer to 'Preprocessing and Postprocessing of Backup and Restoration' and 'Preprocessing and Postprocessing of Replication' of this manual.

Other than above

It is necessary to secure the correspondence of data by operation.

Please deal with the business of the stop etc. when you execute the replication the backup.


+Fetching of Device Information

Before starting the backup or replication operation, fetch device information managed by all the storage servers on the Web window of AdvancedCopy Manager. This operation will take time proportional to the total number of devices defined on the selected storage servers. If many devices are involved, perform this operation while the CPU load or I/O load is low.

As a guide, about 0.5 seconds are required per device (disk) under a no-load condition.

+Notes at the time of multipass employment

When the device is being made multipass composition, even if one of the two's path is blockaded, a path shift is not carried out automatically.

When one of the two's path is blockaded, please re-perform backup or replication after the following management implementation.

  1. The following commands are carried out and a path is switched. Please execute the following commands to a normal device.

    /usr/sbin/lspv hdisk*

  2. A backup or replication command is executed again.

+Mounting of disks from other servers

Before backup/restoration or replication of a volume that can be mounted from multiple servers, cancel mounting from the other servers.

For disks that need not be mounted from other servers, prevent multiple servers from detecting or accessing the same logical disk by setting up hardware, such as devices in the ETERNUS storage system and Fibre Channel switches, accordingly.

+Notes on copy operations targeted at file systems

For a copy operation targeted at a file system, unmount the applicable volume to prevent data access and maintain the data integrity.

If backup/restoration and replication are performed without unmounting the volume, an error occurs since a volume in use cannot be unmounted.

Note the following about the processing in such a state in which unmounting is enabled:

Unmounting is required only during command execution. Operation can be resumed after command execution.

10.1.2 Notes on the snapshot high-speed backup 

This chapter provides notes on the snapshot high-speed backup.

+Number of Required Backup Volumes

The snapshot high-speed backup requires as many backup volumes as the number of specified generations. Thus, the snapshot backup is disabled if:

+Continuous Backup

Performing the snapshot high-speed backup continuously with the same transaction volume specified will perform the backup operation in parallel.

Performing the snapshot high-speed backup continuously more often than the number of preservation generations will cancel the backup operations starting from the oldest one. In other words, you cannot simultaneously perform the backup operation more often than the specified number of generations.

10.1.3 Notes on synchronous high-speed backup 

This chapter includes some notes on synchronous high-speed backup.

+Backup processing

The backup execution command cannot be executed before the transaction and backup volumes have become equivalency holding state.

+Backup policy settings

Backup policies can be set if the number of registered backup volumes is enough for snapshot-type high-speed backup operation even if the number is not enough for synchronous high-speed backup operation. In this event, synchronized backup may not be possible.

10.1.4 Notes on restoration

This chapter provides notes on restoration.

+Timing of Restoration

If data on a transaction volume has been rewritten since the latest backup data is collected to a backup volume and until restoration is performed, the rewritten data shall not be guaranteed.

[Figure 10.1 Notes on restoration of AdvancedCopy Manager]

+Procedure which mounts backup volume

AIX uses LVM to manage all devices. Therefore, executing backup rewrites the LVM management information in the backup volume with that in the transaction volume. As a result, the backup volume cannot be activated and the logical volume of the backup volume cannot be mounted.

To mount the backup volume, the LVM management information in the backup volume must be rewritten. However, this operation is not recommended because it results in an inability to use the normal procedure to restore the transaction volume. If circumstances require mounting of the backup volume, the procedure given below can be used to mount the backup volume. Follow the procedure very carefully; otherwise, transaction data may be destroyed. For information on each command, refer to the AIX manuals. Also, see "Restoration procedure after LVM management information in the backup volume is rewritten" in the next part of this section.

  1. Using, for example, the lspv command, specify the physical volume name of the backup volume.

    # /usr/sbin/lspv
    hdisk0         0004f10aa92e686c    rootvg
    hdisk1         0004f10a1c7879c5    vg01

    In the above example, the volume group name of the backup volume is vg01, and the physical volume name is hdisk1.

  2. Use the chdev command to temporarily remove the backup volume from LVM.

    # /usr/sbin/chdev -l hdisk1 -a pv=clear
  3. Use the exportvg command to export the backup volume.

    # /usr/sbin/exportvg vg01
  4. Use the recreatevg command to rewrite the LVM management information in the backup volume.

    # /usr/sbin/recreatevg -y vg01 hdisk1
  5. Executing the recreatevg command changes the logical volume name in the volume group. Use the lsvg command to confirm the new logical volume name.

    # /usr/sbin/lsvg -l vg01
    vg01:
    LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
    fslv01              jfs        2     2     1    closed/syncd  N/A
  6. Mount a file system by specifying the logical volume name confirmed in step 5. Unmount the logical volume before the next time that backup is performed. If the logical volume in the backup volume is mounted, backup fails.

+Restoration procedure after the LVM management information for the backup volume is rewritten

Rewriting the LVM management information in the backup volume makes it inconsistent with that in the transaction volume and prevents use of the normal procedure to restore the backup volume. In such cases, follow the procedure given below to restore it. Follow the procedure very carefully; otherwise, transaction data may be destroyed. For information on each command, refer to the AIX manuals.

  1. Refer to "Preprocessing and Postprocessing of Backup and Restoration," and edit the post-processing script for restoration.

  2. Execute restore processing. The transaction volume is now inactive because of the action taken in step 1.

  3. Using, for example, the lspv command, specify the physical volume name of the transaction volume.

    # /usr/sbin/lspv
    hdisk0         0004f10aa92e686c    rootvg
    hdisk1         0004f10a1c7879c5    vg01

    In the above example, the volume group name of the transaction volume is vg01, and the physical volume name is hdisk1.

  4. Use the chdev command to temporarily remove the transaction volume from LVM.

    # /usr/sbin/chdev -l hdisk1 -a pv=clear
  5. Use the exportvg command to export the transaction volume.

    # /usr/sbin/exportvg vg01
  6. Use the recreatevg command to rewrite the LVM management information in the transaction volume.

    # /usr/sbin/recreatevg -y vg01 hdisk1
  7. Executing the recreatevg command changes the logical volume name in the volume group. Use the lsvg command to confirm the new logical volume name.

    # /usr/sbin/lsvg -l vg01
    vg01:
    LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
    fslv01              jfs        2     2     1    closed/syncd  N/A
  8. Mount a file system by specifying the logical volume name confirmed in step 7.

+Procedure for restoration to a volume other than a transaction volume

When a backup volume is restored to a volume other than a transaction volume, the pre-processing and post-processing scripts for restoration are not executed. This operation also makes the LVM management information in the backup volume inconsistent with that in the restoration destination volume. Accordingly, the LVM management information must be rewritten. For these reasons, to restore a backup volume to a volume other than a transaction volume, follow the procedure given below. Follow the procedure very carefully; otherwise, transaction data may be destroyed. For information on each command, refer to the AIX manuals.

  1. Unmount all logical volumes in the volume group of the restoration destination volume.

  2. Use the varyoffvg command to deactivate the volume group of the restoration destination volume. The execution example shown below uses volume group named vg01 for the restoration destination volume.

    # /usr/sbin/varyoffvg vg01
  3. Execute restoration for the restoration destination volume. For the procedure, see "Performing restoration."

  4. Using, for example, the lspv command, note the physical volume name of the restoration destination volume.

    # /usr/sbin/lspv
    hdisk0         0004f10aa92e686c    rootvg
    hdisk1         0004f10a1c7879c5    vg01

    In the above example, the volume group name of the restoration destination volume is vg01, and the physical volume name is hdisk1.

  5. Use the chdev command to temporarily remove the restoration destination volume from LVM.

    # /usr/sbin/chdev -l hdisk1 -a pv=clear
  6. Use the exportvg command to export the restoration destination volume.

    # /usr/sbin/exportvg vg01
  7. Use the recreatevg command to rewrite the LVM management information in the restoration destination volume.

    # /usr/sbin/recreatevg -y vg01 hdisk1
  8. Executing the recreatevg command changes the logical volume name in the volume group. Use the lsvg command to confirm the new logical volume name.

    # /usr/sbin/lsvg -l vg01
    vg01:
    LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
    fslv01              jfs        2     2     1    closed/syncd  N/A
  9. Mount a file system by specifying the logical volume name confirmed in step 8.

10.1.5 Notes on cluster operation 

Note the following general points on cluster operation:

10.1.6 Notes on backup operation in cluster operation 

+VERITAS Cluster Server

For backup operation in a cluster system, note the following points that do not apply to regular operation:

10.1.6.1 Making a backup and restoration during stoppage of the package 

+VERITAS Cluster Server

When a service group to which AdvancedCopy Manager belongs is operating, backup operation is enabled only on the active node. The standby node environment is not ready (to provide necessary resources) for backup operation, thus disabling backup operation. Likewise, if the service group has been stopped, the environment is not ready and disables backup operation.

However, only when the service group has been stopped is backup operation enabled by temporarily arranging the minimum essentials.

If the service group has been stopped, perform backup operation by taking the following steps:

  1. Confirm that the service group has been stopped on both nodes.
    For details on how to stop a service group, see the VERITAS Cluster Server manual.

  2. Log in to the node on which you want to make a backup through telnet, for example.
    You cannot use the logical IP address. Directly use a node that is operable by using the physical IP address.

  3. 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.

  4. Perform backup operation.
    You can perform backup operation in the same way as for regular operations for cluster operation.
    You can use the restore command to perform restoration.

  5. Release all the shared disks you enabled in Step 3.
    Unmount the file systems you mounted.
    Stop (set offline) the shared disk.

  6. Start (set online) the service group.
    Start the service group, if necessary.
    For details on how to start a service group, see the VERITAS Cluster Server manual.

10.1.7 Notes on replication operation in cluster operation 

+VERITAS Cluster Server

For replication operation in a cluster system, note the following points that do not apply to regular operation:

10.1.7.1 Making a replication during stoppage of the package 

+VERITAS Cluster Server

When a service 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 service group has been stopped, the environment is not ready and disables replication operation.

However, only when the service group has been stopped is replication operation enabled by temporarily arranging the minimum essentials.

Perform replication operation during stoppage of the service group by taking the steps below.

  1. Confirm that the service group has been stopped on both nodes.
    For details on how to stop a service group, see the VERITAS Cluster Server manual.

  2. Log in to the node on which you want to perform replication operation through telnet, for example.
    You cannot use the logical IP address. Directly use a node that is operable by using the physical IP address.

  3. Enable the shared disk.
    Start (set online) the shared disk.
    Mount the shared disk for AdvancedCopy Manager shared data.
    When the original volume and replica volume have been mounted as file systems for operation, mount the volumes.

  4. Perform replication operation.
    You can perform replication operation in the same way as for regular operations for cluster operation.
    You can also perform restoration from the replica volume to the original volume.

  5. Release all the shared disks you enabled in Step 3.
    Unmount the file systems you mounted.
    Stop (set offline) the shared disk.

  6. Start (set online) the service group.
    Start the service group, if necessary.
    For details on how to start a service group, see the VERITAS Cluster Server manual.

10.2 Notes on the Web Window Environment 

For notes on the Web screen environment, see "Setting up a client" in the ETERNUS SF AdvancedCopy Manager User's Guide.


Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2002-2006