ETERNUS SF AdvancedCopy Manager Operator's Guide for Tape Backup Option 13.0 -Microsoft(R) Windows(R) 2000/Microsoft(R) Windows Sever(TM) 2003-, -Solaris-, -HP-UX-, -Linux-, -AIX-
Contents Index PreviousNext

Chapter 5 Backup Operations (Normal Transaction Volumes)

This chapter explains the backup operation for ordinary transaction volumes by Tape Backup of AdvancedCopy Manager.

5.1 Overview

This section explains the backup and restoration functions of Tape Backup of AdvancedCopy Manager.

The Tape Backup of AdvancedCopy Manager uses the Advanced Copy Function (OPC/EC function) of disk arrays (ETERNUS storage system) to implement high-speed backup between volumes regardless of the volume capacity. Furthermore, the data thus backed up to the disk volume is written to tape. Thus, data can be backed up to tape as well by stopping transaction just for the same duration as when data is backed up only to a disk.

Backup that uses the One Point Copy (OPC) or Remote One Point Copy (ROPC) function of ETERNUS storage system disk array unit is called snapshot fast backup. Backup that uses the Equivalent Copy (EC) or Remote Equivalent Copy (REC) function is called synchronized high-speed backup.

Automatic snapshot backup can be scheduled without first estimating the time required because it does not require backup synchronous processing. Note, however, that when the save number is 1, a state in which there is no backup data may occur, because a snap shot backup deletes the history prior to copy processing.

Because synchronized high-speed backup deletes the history after the completion of backup processing, there is no status in which backup data does not exist even though the generation number is 1. However, synchronized high-speed backup requires one more backup volume than snapshot fast backup. Synchronized high-speed backup also requires synchronized backup processing before the backup execution command is entered. Therefore, execution of automatic synchronized high-speed backup must be scheduled so that the time required for synchronized processing is estimated in advance. Synchronized backup processing is then started based on the estimated time, and the backup execution command is entered after equivalency maintain status has been achieved.

The Tape backup of

AdvancedCopy Manager automatically selects and manages media (backup volume, tape) used for backup.
The Tape Backup of AdvancedCopy Manager also manages the history and generations of backup data, so backup data can be restored from past generations to the latest generation.

[Figure 5.1 Backup volume management]

[Figure 5.2 Tape management]

5.1.1 Snapshot backup processing 

The OPC (One Point Copy) /ROPC (Remote One Point Copy) function of the disk array unit ETERNUS storage system is used to copy data from a transaction volume to an unused backup volume. Backup data is then copied from the backup volume to tape.

Snapshot high-speed backup is performed as follows:

  1. When the "Backup command (acmbackup)" is executed ((1) in Figure 5.3), the following processing is performed:
  2. Data on the transaction volume will be copied to the acquired unused backup volume ((2) to (4) in Figure 5.3). Copy from the backup volume to tape is also performed. The timing for starting copy to tape can be selected from either (2) or (4) in Figure 5.3.
  3. Backup carrier information will be set.

[Figure 5.3 Snapshot high-speed backup processing]

In the snapshot high-speed backup operation, backup to a disk is complete at the time of 1 in the Figure and backup history information is created. The actual data copying will be internally performed by the OPC function of the disk array unit ETERNUS storage system.
The command completion timing can be selected from either the time disk backup history information has been created or the time tape backup history information has been created. (Option specification)

Using the QuickOPC function in the snapshot high-speed backup, physically copying only the difference data from the start of the previous backup can create a complete snapshot image, which can greatly reduce the time taken for physical copying.

For information on the QuickOPC function, see "Backup Operations Using the QuickOPC Function."

5.1.2 Synchronized high-speed backup processing 

The Equivalent Copy (EC) or The Remote Equivalent Copy (REC) function of the ETERNUS storage system of disk array units is used to copy data from a transaction volume to an unused backup volume. Backup data is then copied from the backup volume to tape.

Synchronous high-speed backup is performed as follows:

  1. When the "Backup synchronous processing start command (acmstartsync)" is executed ((1) in Figure 5.4), an unused backup volume with the same size of the relevant transaction volume is selected from the unused backup volume management area and backup synchronous processing begins.
  2. The transaction and backup volumes are both placed in equivalence status. From this point on, equivalence between the transaction volume and backup volume is maintained. This status is referred to as equivalency maintain status ((3) in Figure 5.4).
  3. When the "Backup command (acmbackup)" is executed ((4) in Figure 5.3), backup synchronous processing stops and copy from the backup volume to tape begins. Backup history information is set.
  4. If the backup data exceeds the number of generations when backup has been completed, the oldest backup volume is treated as an unused backup volume.

The backup execution command cannot be executed before the transaction and backup volumes have become equivalent.

[Figure 5.4 Synchronous high-speed backup processing]

The command completion timing can be selected from either the time disk backup history information has been created or the time tape backup history information has been created. (Option specification)

During synchronous high-speed backup using the Suspend/Resume function, the equivalency maintain status of EC can be set to Suspend or Resume. Consequently, the synchronous backup process can be made faster because the function can create a differential copy from the Suspend state.
For the Suspend/Resume function, see "Backup processing using the Suspend/Resume function".

5.1.3 Backup processing using the Suspend/Resume function

The Suspend/Resume function sets Suspend/Resume for the equivalency maintain status by EC. Using this function for differential copying from the Suspend state enables higher-speed synchronous backup operation.

AdvancedCopy Manager provides two backup functions: snapshot high-speed backup and synchronous high-speed backup. In snapshot high-speed backup, OPC is used to create a backup; whereas in the synchronous high-speed backup, EC is used to create a backup. The Suspend/Resume function is a kind of synchronous high-speed backup that uses EC.

In ordinary synchronous high-speed backup, the synchronous processing start command starts copying with EC and sets the equivalency maintain status after the copying is completed. After that, the backup execution start command is executed. This cancels EC and creates a backup. Copy to tape is implemented from the backup volume the same as ordinary synchronous high-speed backup.

In synchronous high-speed backup that uses the Suspend/Resume function, when the backup execution start command with -suspend specified is executed, EC is suspended, the backup process is completed, and the EC session is maintained. The next time that the synchronous processing start command is executed, EC resumes and only data that has been updated since the suspend state was last set is copied. As a result, the backup preparation time is shorter.

A comparison between ordinary synchronous high-speed backup and synchronous high-speed backup using the Suspend/Resume function is shown below.

[Figure 5.5 Comparison between ordinary synchronous high-speed backup and synchronous high-speed backup using the Suspend/Resume function]

Perform synchronous high-speed backup using the Suspend/Resume function as follows:

When the equivalency maintain status is reached after the start of synchronous processing, execute the "Backup command (acmbackup)" with the suspend specification to suspend synchronous processing.
After that, when history information is deleted because the number of generations has been exceeded or by the history information deletion command, the backup volume enters the Suspend state without history information. If new synchronous processing starts at this time, then the suspended backup volume without history information is selected with priority, and differential copying starts. Since only data that has been updated since the Suspend state was last set is copied, the equivalency maintain status can be reached quickly.

The flow of synchronous high-speed backup operations using the Suspend/Resume function is shown below.

[Figure 5.6 Synchronous high-speed backup operation using the Suspend/Resume function]

5.1.4 Backup processing without using the advanced copy function 

The Tape Backup of AdvancedCopy Manager also enables backup only to tape without using backup volumes. Data is written directly to tape from transaction volumes without using the advanced copy function.
This mode of backup is thus not a high-speed backup.

5.1.5 Restore processing 

This sub-section explains how the Tape Backup of AdvancedCopy Manager restores backup data.

Restore processing refers to restoring the data of a transaction volume from the backup volume or tape that is managed with backup history information. The restoration operation refers to restoring data from a backup volume managed by the backup carrier information to a transaction volume. The restoration operation from a backup volume refers to using the OPC function provided by the disk array unit to restore data from a backup volume to a transaction volume. If the data on a backup volume under carrier management is restored to a transaction volume, the carrier management information will not change.
In restoration from tape, tape data is read and written directly to the restoration destination transaction volume.

When data backed up to both a disk and tape is restored based on history information, the Tape Backup of AdvancedCopy Manager automatically selects disk data, unless otherwise specified, and restores it by OPC.

Note that data will be restored to a transaction volume that is the backup source. However, you can change the restoration destination.

If transaction volume contents are rewritten in the period between collection of the latest backup volume and a subsequent restore operation, rewritten data is not assured.

[Figure 5.7 Notes on restoration with AdvancedCopy Manager]

5.2 Operation Design

The flow of backup operation for ordinary transaction volumes is shown below:

  1. Activating daemons
  2. Registering a Storage server (Only once at first)
  3. Fetching device information on a Storage Server (Only at first and at a device change)
  4. Setting the environment for a backup operation server (Only when the operation mode is changed)
  5. Setting the operation type for a device (Only when the operation mode is changed)
  6. Setting options (Only when inter-cabinet backup is performed)
  7. Setting backup policies (Only when the operation mode is changed)
  8. Customizing the preprocessing and postprocessing scripts (Only when the operation mode is changed)
  9. Preparing a device map file (Only when the backup destination is changed)
  10. Operation
  11. Stopping the daemon

5.3 Preparations

The following preparations are required before the backup operation is started.

5.3.1 Activating daemons

When backup operation is started, the daemon of Tape Backup of AdvancedCopy Manager must be started in advance on the Storage Management Server, Tape Server, and Storage Server. Normally, these daemons are automatically started up when the system is started. If the startup of a daemon fails for some reason or if a daemon has been stopped, you need to start the daemon on each server. For information on starting a daemon, see "Starting and Stopping Daemons".

5.3.2 Registering a Storage Server

The Storage Management Server registers the Storage Server to be managed. When the Storage Server is operated as a Storage Management Server, the server does not need to be added.
Use the "Server information addition command (stgxfwcmaddsrv)" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the operating system of the target Storage Management Server.

5.3.3 Fetching device information on a Storage Server

Before the backup management can be performed, device information on a Storage Server must be temporarily stored to the repository.
Use the "Device information collection/reflection command (stgxfwcmsetdev)" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the operating system of the target Storage Management Server.

The time required for this operation is proportional to the total number of devices defined on the Storage Server. If the number of devices is large, perform this operation while the CPU load and I/O load are low.
As a guideline for reference, each operation takes about 0.5 s per device (partition) in a state without load.

5.3.4 Setting the environment for a backup operation server

Set the environment for each Storage Server.
You need to make this environment setting also on the Storage Management Server if it serves also as a Storage Server. This step is not required if the environment setting has already been made on the Storage Servers.
Use the "Storage Server configuration information setting command (acmsvrset)".

5.3.5 Setting the operation type for a device

Set up the following device operation type, before backing up in a Storage Server. The operation type is as follows:

Backup operation type

Number of required backup volumes

Snapshot fast backup

Number of backup generations

Synchronized high-speed backup

Number of backup generations + 1

Use the "Device information setting command (acmdevinfoset)" for this operation.

[Execution example on Solaris]
# /opt/FJSVswstc/bin/acmdevinfoset -t /dev/dsk/c1t1d0s6
acmdevinfoset completed
# /opt/FJSVswstc/bin/acmdevinfoset -b /dev/dsk/c1t2d1s6
acmdevinfoset completed
#

For notes on setting the device operation type, see "Setting the operation type for a device" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the operating system of the target Storage Server.

The information on the registered transaction volumes and backup volumes can be referenced using the "Device operating status display command (acmdevdisp)".

If no more backup volumes than the number of preservation generations can be prepared for synchronous high-speed backup, you can implement backup operation in combination with the backup history deletion function.
The operation procedure is as follows:
  1. Start backup synchronous processing.
  2. Confirm the equivalency maintain status.
  3. Execute backup (to both disk and tape).
  4. Delete disk backup history information.
  5. Return to step 1.
If restoration occurs before completion of the next backup after history information is deleted, backup data is restored from tape because disk history information is not available.

5.3.6 Setting options

Set options when performing backup to a backup volume in a cabinet that is not the same as the cabinet containing the transaction volume.

Create a check.ini file and specify options in it. For information on the file path and on how to specify options, see "Setting Options" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the operating system of the target Storage Server.

5.3.7 Setting backup policies

A backup policy for the backup destination disk or tape must be set for the transaction volume registered in the Storage Server. When data is backed up to both disk and tape, a backup policy must be set for each of them.

5.3.7.1 Backup policy for using disks 

Set the following backup policy.

Use the "Disk backup policy setting command (acmbkpolset)" to set the backup policy.

[Execution example on Solaris]
#/opt/FJSVswstc/bin/acmbkpolset -s 3 /dev/dsk/c1t1d0s6
/dev/dsk/c1t1d0s6 acmbkpolset completed
#

Information on the backup policy that has been set can be referenced using the "Disk backup policy display command (acmbkpoldisp)".

5.3.7.2 Backup policy for using tapes 

5.3.7.2.1 Tape backup management class

Set the tape backup management class. Define the following in the management class:

The tape backup management class can be set using the "Tape backup management class setting command (acmtpmgmtclassset)".

[Execution example on Solaris]
# /opt/FJSVswstc/bin/acmtpmgmtclassset -g copypool -d arcpool -s 5 -t 30 ACM_CLASS1
ACM_CLASS1 acmtpmgmtclassset completed
#

Information on the tape backup management class that has been set can be referenced using the "Tape backup management class display command (acmtpmgmtclassdisp)".

5.3.7.2.2 Tape backup policy 

Set the tape backup policy. Define the following in the tape backup policy:

The tape backup policy can be set using the "Tape backup policy setting command (acmtpbkpolset)".

[Execution example on Solaris]
#/opt/FJSVswstc/bin/acmtpbkpolset -i 10 -c ACM_CLASS1 /dev/dsk/c1t1d0s6
/dev/dsk/c1t1d0s6 acmtpbkpolset completed
#

Information on the tape backup policy that has been set can be referenced using the "Tape backup policy display command (acmtpbkpoldisp)".

5.3.8 Customizing preprocessing and postprocessing scripts

Backup with the Tape Backup of AdvancedCopy Manager must basically be performed when the transaction volume is unmounted. Therefore, when backup or restore is executed, mount and unmount processing of the transaction volume is done by using the preprocessing and postprocessing script.

The backup or restore processing is not executed when the transaction volume cannot be unmounted.

When backup history information is copied to tape, preprocessing is performed over the backup volume. When copying to tape is performed, the backup volume is unmounted before data is written to the tape. The backup volume is not automatically mounted upon completion of writing to tape.
For details of preprocessing and postprocessing scripts, see Appendix "Preprocessing and Postprocessing of Backup, Restoration, and Tape Copy".

In the case of one of the two operations explained below, the backup preprocessing and postprocessing scripts need to be customized.

For information on the customization method, see Appendix "Preprocessing and Postprocessing of Backup, Restoration, and Tape Copy".

5.3.9 Preparing a device map file

For the backup operation, the Tape Backup of AdvancedCopy Manager automatically selects a volume having the same size of the transaction volume from those registered as backup volumes and uses it as the backup destination.

If the backup volume is recognized in a "Device map file", i.e., a file defining the correspondence between transaction and backup volumes, it must be created.
Create a device map file anywhere on the storage server that performs backup. If you specify this file while performing backup, an operation in recognition of the backup destination is enabled.

To manage multiple generations, multiple device map files must be prepared.
Moreover, the device map file which can be used when backing up or starting synchronous processing should meet either of the following requirements.
Therefore, it is necessary to use the device map file properly according to the situation of the backup volume at operation which uses two or more backup volumes.
If the number of backup volumes that can be prepared in synchronized high-speed backup is only the number of preservation generations, the backup operation can be carried out by saving the backup volumes to secondary media, such as tapes, and then deleting history information.
In such cases, the device map file that is subsequently specified at the start of backup synchronous processing is the device map file specifying the backup volumes that become unused because of the last deletion of history information.

5.3.9.1 Describing a device map file

For the description of a device map file, see "Describing a device map file" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the operating system of the Storage Server.

5.3.10 Backup schedule

Tape backup operation must be scheduled by considering the number of concurrent backup and/or restore operations and the number of drives in the tape library. In this case, the number of backup and restore operations is not in reference to a single Storage Server but instead needs to be in reference to all Storage Servers.

If the number of drives is insufficient, some backup and/or restore operations that are activated later must wait for idle drives. When a backup or restore operation that was activated earlier is complete and the relevant drive is released, tape I/O processing for a backup or restore operation that has been made to wait begins. In this case, the backup or restore time is calculated by adding the drive wait time to the time during which tape I/O has actually been performed.

The following figure shows the backup processing time when three transaction volumes are backed up concurrently in an environment with two drives.

In light of the above, consider the following two points for scheduling:

5.4 Operation

The backup operation with Tape Backup of AdvancedCopy Manager is explained.

5.4.1 Backup to disks and tapes 

5.4.1.1 Snapshot high-speed backup

Perform the snapshot fast backup as follows:

  1. Before backing up a general file system, stop transaction.
  2. Execute the "Backup command (acmbackup)" to perform backup operation.
  3. This completes backup. Now you can restart transaction. When the -o option is specified, physical copying of a volume has not been completed at this point. Also, when the -w option is specified, writing to tape has not been completed at this point. To check the status of the physical copying or writing to tape, see "Checking the backup status".
  4. If you have stopped transaction in Step 1, restart the trsnsaction.

Refer to "Executing backups" in "Backup Operations Using the QuickOPC Function" in this manual for information about executing backups with the QuickOPC function.

5.4.1.2 Synchronous high-speed backup

Perform the synchronized high-speed backup for a transaction volume as follows:

  1. Use the "Backup synchronous processing start command (acmstartsync)" to start backup synchronous processing.
  2. Physical copying from the transaction volume to backup volume now starts. To cancel synchronous processing that has been started, see "To cancel synchronous processing that has been started". To check the physical copy status, perform the following operation.
  3. To check the status of backup synchronous processing, use the "Backup synchronous processing progress display command (acmsyncstat)".
  4. When the [Status] field changes to "equivalent," the transaction volume and backup volume are put in the equivalency maintain status.
    [Execution example on Solaris]
    # /opt/FJSVswstc/bin/acmsyncstat /dev/dsk/c1t1d0s6
    Server Transaction-Disk  Backup-Disk       Status    Execute
    server1 /dev/dsk/c1t1d0s6 /dev/dsk/c1t2d1s6 equivalent 100% 
    #
  5. Execute the "Backup command (acmbackup)" to perform backup operation.

+To cancel synchronous processing that has been started

The "Backup synchronous processing cancel command (acmcancelsync)" can be used to cancel synchronous processing (EC session). The statuses of the synchronous processing cancelled by the synchronous processing cancel command are explained below.
If the synchronous processing is cancelled with no options specified, then the EC session in the synchronous processing status or in the equivalency maintain status is cancelled.
If one transaction volume has multiple synchronous processing (EC sessions), then only the specific EC sessions as the backup volume can be cancelled. All of the synchronous processing of the transaction volume can be cancelled by specifying the synchronous processing.

5.4.1.3 Backup using the Suspend/Resume function

Back up a transaction volume using the Suspend/Resume function as follows:

  1. Use the "Backup synchronous processing start command (acmstartsync)" to start backup synchronous processing.

    If there is a suspended backup volume at the start of the synchronous processing, then the following devices are selected with priority, and EC resumes (differential copying starts).

    If there is no suspended backup volume at the start of the synchronous processing, EC starts (start of full copy).

    Figure 5.8 shows backup volume selection at the start of synchronous processing.

    If synchronous processing is started with a device map specified, other transaction volumes and suspended backup volumes cannot be used as the backup destination. The "Backup synchronous processing progress display command (acmsyncstat)" can be used to determine the transaction volume with which the backup volume is suspended.
  2. Physical copying from the transaction volume to backup volume now starts. Physical copying from the transaction volume to backup volume now starts. To cancel synchronous processing that has been started, see "To cancel synchronous processing that has been started". To check the physical copy status, perform the following operation.
  3. To check the status of backup synchronous processing, use the "Backup synchronous processing progress display command (acmsyncstat)".

    If one transaction volume has multiple EC sessions, then this command displays the status of all EC sessions. The statuses displayed for synchronous processing are explained below.

    Figure 5.9 shows the progress information displayed by the synchronous processing progress display command.

  4. When the [Status] field changes to "equivalent," the transaction volume and backup volume are put in the equivalency maintain status.
    [Execution example on Solaris]
    # /opt/FJSVswstc/bin/acmsyncstat /dev/dsk/c1t1d0s6
    Server  Transaction-Disk  Backup-Disk       Status    Execute
    server1 /dev/dsk/c1t1d0s6 /dev/dsk/c1t2d1s6 equivalent 100% 
    #
  5. Execute the "Backup command (acmbackup)" with the suspend specification to perform backup operation.

    If backup is performed without the suspend specification in synchronous high-speed backup operation mode, the EC session is released. If backup is performed with the suspend specification, the EC session is not released but is suspended.

    Figure 5.10 shows the ordinary backup operation and the backup operation with the suspend specification.

    [Figure 5.8 Backup volume selection at start of synchronous processing]

    [Figure 5.9 Progress information displayed by the synchronous processing progress display command]

    [Figure 5.10 Ordinary backup, and backup with the suspend specification]

+To cancel synchronous processing that has been started

The "Backup synchronous processing cancel command (acmcancelsync)" can be used to cancel synchronous processing (EC session). The statuses of the synchronous processing cancelled by the synchronous processing cancel command are explained below.
After the backup command with -suspend specified is executed, the Suspend state is maintained even if history information is deleted. A suspended EC session cannot be released unless the synchronous processing is cancelled.
If the synchronous processing is cancelled with no options specified, then the EC session in the synchronous processing status or in the equivalency maintain status is cancelled.
If one transaction volume has multiple synchronous processing (EC sessions), then only the specific EC sessions as the backup volume can be cancelled. All of the synchronous processing of the transaction volume can be cancelled by specifying the synchronous processing.
Operations when the synchronous processing is cancelled are shown below.

[Figure 5.11 Operation at canceling synchronous processing]

5.4.2 Backup to only tape

To perform backup to only tape, follow the procedure below:

  1. To back up a general file system, stop the application.
  2. Execute the "Backup command (acmbackup)" to perform backup.
  3. This completes the backup procedure. Restart the application.
  4. If the application was stopped in step 1, restart the application.

5.4.3 Copying backup data once saved to a disk to a tape

Backup data once saved to a disk can be copied to a tape later. The data thus saved to the tape is managed as backup history information. The same generation number as the backup history on the source disk is assigned to this backup history for management.

This function can be used in the following cases:

Follow the procedure below for copy to tape:

  1. Determine the backup history to be copied. Use the "History information display command (acmhistdisp)" to display backup history information. If a backup history exists on the disk, a relative generation number is displayed in the "Generation" field. From the backup history information on the disk, select the history you want to copy to tape.
    [Execution example on Solaris]
    # /opt/FJSVswstc/bin/acmhistdisp /dev/dsk/c1t1d0s6
    Generation Management Backup
    Server=server1 Device/dev/dsk/c1t1d0s6 Mount-Point=/mnt/Tran1 (ufs)
    Generation Version Backup-Date      Backup-Device     Status    Execute    Tape-Gen
       1         10    2004/11/12 22:00 /dev/dsk/c1t0d2s6 succeeded ----       1
       2          9    2004/11/11 22:00 /dev/dsk/c1t0d4s6 succeeded ----       -
    
    Day Management Backup
    Server=server1 Device=/dev/dsk/c1t1d0s6 Mount-Point=/mnt/Tran1 (ufs)
    TapeCopy-Date        Backup-Date        Expiration-Date
    #

  2. Execute the "Tape copy command (acmtphistcopy)" for copy to tape.
  3. This completes the procedure for copying to tape.

5.4.4 Checking the backup status

The backup status can be checked with the "Execution status display command (acmexecstat)" or "History information display command (acmhistdisp)".

You can check the following with the execution status display command:

In backup to tape, the execution status display command does not display information on whether writing to tape is complete or terminated with an error. The "History information display command (acmhistdisp)" must be used to check whether a backup history has been created.

When backup is performed to only tape or to both a disk and tape, you can check whether the backup to tape is complete as follows:

  1. Execute the "Execution status display command (acmexecstat)" to check the execution status of backup to tape. Backup to tape is not complete while [TapeExecute] is [Writing]. When [TapeExecute] is [----], backup to tape is complete, so perform the following to check a backup history.
  2. Execute the "History information display command (acmhistdisp)" to check whether a backup history has been created. If a tape backup history has been created, a relative generation number is displayed at [Tape-Gen]. If [idle] is displayed in step 1 for the relevant backup and also a hyphen "-" is displayed at [Tape-Gen] as a result of this command, the attempt to back up data to tape terminated with an error. The error cause is indicated on the standard error output of the backup command.
    [Execution example on Solaris/Linux]
    <Checking the status of backup to tape using the acmexecstat command.>
    # /opt/FJSVswstc/bin/acmexecstat /dev/dsk/c1t1d0s6
    Generation Management Backup
    Server Device            Last-Backup-Date DiskInterval Status Mount-Point (Method) DiskExecute  TapeInterval  TapeEcecute
    server1 /dev/dsk/c1t1d0s6 2004/12/10 12:20 DELAY=1     EXEC   /usr2 (ufs)             sync(22%)    OK     Writing(50%)
    
    Day Management Backup
    Server Device            Last-Backup-Date Status Mount-Point (Method)  TapeInterval  TapeEcecute
    server1 /dev/dsk/c1t1d0s6 2004/12/11 12:20 IDLE   /usr1 (ufs)         OK     ----
    
    <Writing to tape is in progress (Writing), so execute the acmexecstat command later.>
    Generation Management Backup
    Server Device            Last-Backup-Date DiskInterval Status Mount-Point (Method) DiskExecute  TapeInterval  TapeEcecute
    server1 /dev/dsk/c1t1d0s6 2004/12/10 12:20 DELAY=1     IDLE   /usr2 (ufs)             ----    OK     ----
    
    Day Management Backup
    Server Device            Last-Backup-Date Status Mount-Point (Method)  TapeInterval  TapeEcecute
    server1 /dev/dsk/c1t1d0s6 2004/12/11 12:20 IDLE   /usr1 (ufs)         OK     ----
    
    <Writing to tape is finished (----), check for backup history.>
    # /opt/FJSVswstc/bin/acmhistdisp /dev/dsk/c1t1d0s6
    Generation Management Backup
    Server=node1 Device=/dev/dsk/c1t1d0s6 Mount-Point=/mnt/Tran1 (ufs)
    Generation Version Backup-Date      Backup-Device     Status    Execute    Tape-Gen
       1          1    2004/12/11 12:20 /dev/dsk/c1t0d2s3 succeeded ----       1
    
    Day Management Backup
    Server=node1 Device=/dev/dsk/c1t1d0s6 Mount-Point=/mnt/Tran1 (ufs)
    TapeCopy-Date        Backup-Date        Expiration-Date
    #
    
    <A backup history has been created. This means that the backup to tape is finished successfully.>

5.4.5 Restoration

This sub-section describes restoring a volume or data that has been backed up.

5.4.5.1 Restoring an entire volume 

To restore all data in a volume that was backed up, follow the procedure below:

  1. Stop transaction if you want to perform restoration on a general file system.
  2. If there is any EC session that is set for the transaction volume, cancel it using the "Backup synchronous processing cancel command (acmcancelsync)". You can check for EC sessions that are set for the transaction volume by using the "Backup synchronous processing progress display command (acmsyncstat)".
  3. Use the "Restore command (acmrestore)" to execute restoration.
  4. This completes the restoration procedure. Continue to resume the application. Note, however, that if restoration was performed from the disk, physical copying of the volume has not been completed at this point in time in backend processing. For information on checking the status of the physical copy, see "Checking the status of restoration".
  5. If the transaction was stopped in step 1, restart it.

If the transaction volume has a backup volume being copied by EC, backup volume under the equivalency maintain status, or suspended backup volume, then restoration is not possible.
A suspended backup volume cannot be used as the restore destination volume.

If the -g, -v, and -t options are all omitted, the latest backup history is selected from those subject to generation management. Any backup history subject to day management is not selected even if it is the latest backup history.
If you want to restore the latest backup data and it is subject to day management, specify the -t option.

5.4.5.2 Restoring an individual file 

Restore an individual file as shown below.

+When backup data exists on a disk

  1. Mount backup volume. Use the "History information display command (acmhistdisp)" to confirm the backup volume.
  2. Use the copy command provided by the operating system to copy the file to be restored.
  3. Unmount backup volume.

+When backup data exists on tape

  1. Perform restoration by specifying (-r option) a volume other than transaction volumes. To do so, use the "Restore command (acmrestore)".
  2. Mount the restoration destination volume specified in step 1.
  3. Use the copy command provided by the operating system to copy the file to be restored.

5.4.6 Checking the status of restoration

Use the "Execution status display command (acmexecstat)" to check the status of restoration.
You can check the following with the execution status display command:

The [DiskExecute] field shows the status of OPC physical copy.
The [TapeExecute] field shows the status of reading from tape.

Execute the acmexecstat command to check the status of restoration.
[Execution example on Solaris/Linux]
# /opt/FJSVswstc/bin/acmexecstat /dev/dsk/c1t1d0s6
Generation Management Backup
Server Device            Last-Backup-Date DiskInterval Status Mount-Point (Method) DiskExecute  TapeInterval  TapeEcecute
server1 /dev/dsk/c1t1d0s6 2004/12/10 12:20  OK         EXEC   /usr2 (ufs)             ----      OK            Reading(50%)

Day Management Backup
Server Device            Last-Backup-Date Status Mount-Point (Method)  TapeInterval  TapeEcecute
server1 /dev/dsk/c1t1d0s6 2004/12/11 12:20 IDLE   /usr1 (ufs)           OK     ----
#

This example shows that backup data is being read (restored) from tape.

5.4.7 Managing a backup history 

Backup history information includes the backup volume name, tape name, date of backup of backup data subject to generation management or day management with regard to a transaction volume.

5.4.7.1 Displaying a backup history

To display backup history information, use the "History information display command (acmhistdisp)".

5.4.7.2 Deleting a backup history 

To delete backup history information, use the "History information delete command (acmhistdel)".

Backup history that exceeds the preservation generations or preservation days specified in the backup policy is automatically deleted.

Even when the history information created during backup operations with the suspend specification is deleted, an associated EC session is not released.
If history information is deleted after ordinary synchronous high-speed backup is performed, the relevant backup volume is released and "Backup (free)" is displayed in the Device-Mode field when the "Device operating status display command (acmdevdisp)" is executed. However, if backup with the suspend specification is performed, the backup volume is not released even after deletion of history information and "Backup (used)" is displayed in the Device-Mode field by the "Device operating status display command (acmdevdisp)".
The figure below shows the ordinary deletion of a backup history and the deletion of backup with the suspend specification.

[Figure 5.12 Ordinary deletion of a backup history and the deletion of backup with the suspend specification]

5.4.8 Canceling backup or restoration 

5.4.8.1 Canceling backup

Backup processing in progress cannot be canceled.

To finish physical copying to a disk, execute the "History information delete command (acmhistdel)" to delete the backup history.

5.4.8.2 Canceling restoration

In restoration from a disk, OPC physical copying in progress can be canceled using the "Restore cancellation command (swstcancelrest)". The "Restore execution status display command (swstreststat)" can be used to check whether OPC physical copying is in progress.
For details of the commands, see Chapter "Commands" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the operating system of the target Storage Server.

5.5 Changing the setting information 

If a Storage server/device configuration for backup operation is changed, the settings of Tape Backup of AdvancedCopy Manager must also be changed.

5.5.1 Adding ETERNUS storage system

When adding ETERNUS storage system to the current ETERNUS storage system environment, change the settings on the Tape Server as follows: This sub-section describes changing the setting information when various changes are made.

  1. Create an access path partition for the added ETERNUS storage system .
    For details, see "Creation of Access Path Partition" in the "ETERNUS SF AdvancedCopy Manager Installation Guide for Tape Backup Option".
  2. Edit the /etc/opt/FJSVswstm/conf/devpath.conf file to add the access path of the added ETERNUS storage system.
    For details, see "Setting Access Path Definition Files" in the "ETERNUS SF AdvancedCopy Manager Installation Guide for Tape Backup Option".
  3. Execute the "Tape Server definition file check command (tbochkconf)".
  4. When ETERNUS3000 disk array unit has been added, follow the procedure below:
    1. Execute the "ETERNUS3000 information acquisition command (tbogetoluinfo)" with the IP address of the added ETERNUS3000 disk array unit.
      # /opt/FJSVswstm/bin/tbogetoluinfo -l 200.30.40.30
      200.30.40.30 comleted. [total olu = 3]
      /var/opt/FJSVmplb/mplb_ext.conf was update.
      #
    2. Load information into the GR multi-path driver.
      # mplpconfig -q
      #

5.5.2 Deleting ETERNUS storage system

When deleting ETERNUS storage system from the current ETERNUS storage system environment, change the settings on the Tape Server as follows:

  1. Follow the "Deleting a device" procedure for all devices of the ETERNUS storage system to be deleted.
  2. Edit the /etc/opt/FJSVswstm/conf/devpath.conf file to delete the access path of the ETERNUS storage system to be deleted.
    For details, see "Setting Access Path Definition Files" in the "ETERNUS SF AdvancedCopy Manager Installation Guide for Tape Backup Option".
  3. Execute the "Tape Server definition file check command (tbochkconf)".

5.5.3 Adding a device

If a device is added to a Storage Server, incorporate it into the backup operation of Tape Backup of ETERNUS SF AdvancedCopy Manager as follows:

  1. Fetch all the device information for a Storage Server. When device information is fetched, a newly added device will be detected. Move it to the [Device to be added] field. For information on fetching device information, see "Fetching device information on a Storage Server".
  2. Set the operation type for a device that has been added. For more information, see "Setting the operation type for a device".
  3. If the added device has been defined as a transaction volume, set a backup policy for it. For more information, see "Setting backup policies".

5.5.4 Deleting a device

This sub-section describes deleting a device depending on the device type.

5.5.4.1 Deleting a transaction volume

To delete a transaction volume, follow the steps shown below. Please be sure to do this transaction before removing the operating volume for deletion.

  1. Delete a backup history for the transaction volume to be deleted.
    # /opt/FJSVswstc/bin/acmhistdel -z /dev/dsk/c1t1d0s6
    /dev/dsk/c1t1d0s6 acmhistdel completed
    #

    For details, see "History information delete command (acmhistdel)".

  2. Delete a backup policy for the transaction volume to be deleted.
    # /opt/FJSVswstc/bin/acmbkpoldel /dev/dsk/c1t1d0s6
    /dev/dsk/c1t1d0s6 acmbkpoldel completed
    # /opt/FJSVswstc/bin/acmtpbkpoldel /dev/dsk/c1t1d0s6
    /dev/dsk/c1t1d0s6 acmtpbkpoldel completed
    #

    For details, see "Disk backup policy delete command (acmbkpoldel)" and "Tape backup policy delete command (acmtpbkpoldel)".

  3. Delete device information for a transaction volume to be deleted.
    # /opt/FJSVswstc/bin/acmdevinfoset -o /dev/dsk/c1t1d0s6
    acmdevinfoset completed
    #

    For details, see "Device information setting command (acmdevinfoset)".

5.5.4.2 Deleting a backup volume

To delete a backup volume follow the steps as shown below. Please be sure to do this transaction before removing the operating volume for deletion.

  1. Send the backup volume to be deleted into the unused status.

    When a volume is unused, this volume does not exist in a backup history. If the volume exists in a backup history, delete the backup history. When the same backup history also exists on tape, the history on tape need not be deleted. For details, see "History information delete command (acmhistdel)".
    If the volume is already unused, skip to the next step.

    # /opt/FJSVswstc/bin/acmhistdel -m DISK -g 1 /dev/dsk/c1t1d0s6
    /dev/dsk/c1t1d0s6 acmhistdel completed
    #

     

  2. Delete device information for the backup volume to be deleted.
    # /opt/FJSVswstc/bin/acmdevinfoset -o /dev/dsk/c1t2d1s6
    acmdevinfoset completed
    #

    For details, see "Device information setting command (acmdevinfoset) ".

If a backup volume is deleted, an already defined backup policy may no longer be met (e.g., the number of backup volumes is less than the number of preservation generations). In such a case, the backup operation can no longer be continued. To avoid such a status, be sure to check already defined backup policies before deleting a backup volume.
If only an insufficient number of backup volumes exist as described earlier, first register a backup volume and then delete the target backup volume.

5.5.5 Adding a Storage Server

Add a Storage Server to the backup operation as follows:

  1. Register a Storage Server. For details, see "Registering a Storage Server".
  2. Fetch all the information of devices connected to the added storage server. For more information, see "Fetching device information on a Storage Server".
  3. Set the information for the Storage Server. For more information, see "Setting the environment for a backup operation server".
  4. Set the operation type for a device whose information has been fetched in Step 3. For more information, see "Setting the operation type for a device".
  5. Set a backup policy for all the transaction volumes registered in Step 4. For more information, see "Setting backup policies".

5.5.6 Deleting a Storage Server

To delete a Storage Server follow the steps as shown below. Please be sure to do this transaction before removing the operating volume for deletion.

  1. Delete device information on the Storage Server to be deleted. For information on deleting device information, see "Deleting a device".
  2. Delete a Storage Server. Execute the "Server information deletion command (stgxfwcmdelsrv)". For details of the command, see "Commands" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the operating system of the target Storage Management Server.

5.6 Stopping the Operation

To stop a backup operation, stop daemons on the Storage Server. Normally, they are automatically stopped when the system stops.
You can stop an individual daemon if you need to do so for some reason. For more information, see "Starting and Stopping Daemons".

5.7 SDX Object Operations

This section describes the backup and restore operations of SDX objects. A good understanding of the basic operation of normal volumes is required for these operations.
For details of GDS, see GDS manual "PRIMECLUSTER(TM) Global Disk Services Handbook".

5.7.1 Supported Storage server platforms 

The following platforms support the backup of SDX objects:

5.7.2 Units of SDX object operations

Tape backup operation can be performed in units of the following:

Backup in units of logical volumes is not possible.

5.7.2.1 Configuration and conditions of unsupported SDX objects

The Tape Backup of AdvancedCopy Manager cannot handle the following SDX object (volume):

If the total number of the slices that make up the transaction volume and slices that make up all backup volumes associated with the transaction volume at the start of synchronous processing or snapshot-type backup processing is 33 or greater, copying cannot be processed.

Also, if the source volume (the transaction volume for backup processing or the backup volume for restore processing) is in the invalid state, copying cannot be processed.

To confirm the type of volume being used, which is single, mirror, stripe, concatenation, or switch, execute "sdxinfo -e long" and see the volume type attribute that is displayed (the value in the TYPE column on the line indicated for the volume in the OBJ column).

[Volume object type attributes]

5.7.3 Backup operation (without using GDS Snapshot) 

Backup operation can be performed using only the tape backup function of AdvancedCopy Manager function without linkage with GDS Snapshot. For its proper design and operation, you need to know the type of physical volumes that make up the logical volume.

[Figure 5.13 Backup operation in units of slices]

When specifying an SDK object in the command of Tape Backup of AdvancedCopy Manager, use a name in the following format that combines a logical volume name and AdvancedCopy Manager device name.

/dev/sfdsk/class-name/dsk/volume-name: sdxinfo DEVNAM value

For notes on operating SDX objects, see "Notes on SDX Object Operations".

If mirroring between cabinets is enabled and restoration by OPC is required in the event of a cabinet failure, both mirrored systems must be backed up. In such cases, the required capacity of the backup volume is not the size of the logical volume but the size of the physical volume.

5.7.3.1 Designing the backup operation 

For notes on designing backup operation, see "Notes on SDX Object Operations".

5.7.3.2 Fetching device information from a Storage server 

To perform the backup operation with a Storage Server and get information of a subordinate device of the Storage Server, register the server.
For details on how to fetch the device information, see "Fetching device information on a Storage Server".

5.7.3.3 Setting the operation type for a device 

+Transaction volume

Register the slices that make up the logical volume used for transactions as a transaction volume.
[Execution example on Solaris/Linux]
#/opt/FJSVswstc/bin/acmdevinfoset -t /dev/sfdsk/CLS01/dsk/VOL01:c1t0d1
acmdevinfoset completed
#

+Backup volume

Slices of an SDX object cannot be registered as a backup volume. Use general slices for a backup volume.
[Execution example on Solaris/Linux]
#/opt/FJSVswstc/bin/acmdevinfoset -b /dev/dsk/c1t0d2s6
acmdevinfoset completed
#

5.7.3.4 Customizing preprocessing and postprocessing 

When a transaction volume is registered as a cluster resource, modify the backup preprocessing script so that the volume is not unmounted. For information on how to modify the script, see "When you do not want to unmount a transaction volume" in Appendix "Preprocessing and Postprocessing of Backup and Restoration," in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the operating system of the target Storage Server.

5.7.3.5 Backup 

+Backup example

[Execution example on Solaris/Linux]
#/opt/FJSVswstc/bin/acmbackup /dev/sfdsk/CLS01/dsk/VOL01:c1t0d1
/dev/sfdsk/CLS01/dsk/VOL01:c1t0d1 acmbackup completed
#
From a transaction volume registered in the cluster resource, do not perform backup by specifying only tape. This is because the integrity of collected backup data cannot be checked when backup is performed to only tape without unmounting.

+Backup states

Backup can be performed when the SDX object that makes up the applicable logical volume is in one of the states listed below. If the object is in any other state, backup cannot be performed. (The Tape Backup of AdvancedCopy Manager checks the status of an SDX object using the SafeDISK/PRIMECLUSTER GDS sdxinfo command.)
  1. The state of the volume is ACTIVE or STOP.
  2. The state of the physical disk is ENABLE.
  3. The state of the slice is ACTIVE or TEMP.

+Backup preprocessing and postprocessing

In the following case, the preprocessing and postprocessing script is not executed:

5.7.3.6 Restore 

The "Restore command (acmrestore)" is used to perform restoration.

[Execution example on Solaris/Linux]
#/opt/FJSVswstc/bin/acmrestore /dev/sfdsk/CLS01/dsk/VOL01:c1t0d1
/dev/sfdsk/CLS01/dsk/VOL01:c1t0d1 acmrestore completed
#

When a transaction volume (restoration destination volume) is registered as a cluster resource, the backup data of an SDX object slice can be restored as follows:

  1. Stop the cluster service of the Storage server subject to restoration.
  2. Set the shared disk of the restoration destination to online.
    # sdxvolume -N -c class-name
    #
  3. If the restoration destination volume is a mirror volume, disconnect the mirror volume. If it is a single volume, proceed to the next step.
    # sdxslice -M -c class-name -d mirror-disk-name -v volume-name -a jrm=off
    #

    Be sure to set the high-speed equivalency recovery mode to off (-a jrm=off). If restoration is performed without setting it to off, the data before restoration is restored when the mirror volume is incorporated after restoration.
  4. Execute the "Restore command (acmrestore)". For information on the procedure, see Appendix "Restoring from Tape while the Cluster Service is Stopped".
  5. If the mirror volume was disconnected in step 3, incorporate the mirror volume.
    # sdxslice -R -c class-name -d mirror-disk-name -v volume-name
    #
  6. Set the shared disk of the restoration destination to offline.
    # sdxvolume -F -c class-name
    #
  7. Start the cluster service.

5.8 VxVM Volume Operation

This section describes the backup operation for volumes under VERITAS Volume Manager (VxVM).

The following table shows the operation modes available for each platform.

Platform

Backup operations for each physical slice on the logical volume

Backup operations for each physical disk in the disk group

Solaris

Supported

Supported

HP-UX

Not Supported

Supported

AIX

Not Supported

Supported

5.8.1 Backup operation in units of physical slice

For the backup of VxVM volumes, backup operation can be performed in units of physical slice where the logical volume of VxVM exists.

Before starting this operation, be sure to understand the basic operation for physical slice units where the logical volume of VxVM exists.
For the basic operation, see "Backup operation in units of logical volumes" of "VxVM Volume Operation" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for Solaris OS.

5.8.2 Backup operation in units of physical disk

For the backup of VxVM volumes, backup operation can be performed in units of physical disk where VxVM volume is composed.
When backup operation is performed in units of physical disk, disk group integrity must be maintained. Therefore, all the physical disks in the disk group must be operated synchronously.

Before starting this operation, be sure to understand the basic operation for physical disk units where VxVM volume is composed.
For information about basic operations, refer to "Backup operation for each physical disk in the disk group" under "VxVM Volume Operation" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the relevant operating system.

5.8.2.1 Executing backup

It is necessary to perform the operation by synchronizing all physical disks in the disk group.
Perform the required preprocessing or postprocessing work for each volume group before respectively after the backup operation. Disable preprocessing and postprocessing when operating individual physical disks.

+Backup to both disk and tape

Make the backup history by the following procedures when you want to backup to both disk and tape. Because, if the Storage Server is rebooted while writing the data to tape, both transaction volume and backup volume become the same composition and the adjustment of VxVM is lost.

  1. Execute the preprocessing for backup to disk.
  2. Execute Backup command (acmbackup) by specifying "DISK" for -m option.
  3. Execute the postprocessing for backup to disk.
  4. Execute the preprocessing for tape copy.
  5. Execute Tape copy command (acmtphistcopy).
  6. Execute the postprocessing for tape copy.

+Backup to tape

The table below summarizes the preprocessing and postprocessing work to be performed before and after the backup to tape.

Object

Preprocessing

Postprocessing

Transaction volume

  1. Stop access to all logical volumes in the disk group.
  2. Unmount all file systems in the disk group, if file systems are included.
  3. Import the disk group.
  1. Remount the volumes that were unmounted by preprocessing, if file systems are included.

+Backup to disk

For information about backing up to disk, refer to "Backup operation for each physical disk in the disk group" under "VxVM Volume Operation" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the relevant operating system.

5.8.2.2 Executing tape copy

It is necessary to perform the operation by synchronizing all physical disks in the disk group.
Perform the required preprocessing or postprocessing work for each volume group before respectively after the tape copy operation. Disable preprocessing and postprocessing when operating individual physical disks.

Before executing the tape copy operation, reconfigure the disk group for backup volume. Because, when the tape copy operation for backup volume that the disk group is not reconfigured is executed and the Storage Server is rebooted while writing data to tape, both transaction volume and backup volume become the same composition and the adjustment of VxVM is lost. (In cluster system environment, this occurs the timing of node change.)

The table below summarizes the preprocessing and postprocessing work to be performed before and after the tape copy.

Object

Preprocessing

Postprocessing

Backup volume

  1. Stop access to all logical volumes in the disk group.
  2. Unmount all file systems in the disk group, if file systems are included.
  1. Remount the volumes that were unmounted by preprocessing, if necessary.

5.8.2.3 Executing restoration

It is necessary to perform the operation by synchronizing all physical disks in the disk group.
Perform the required preprocessing or postprocessing work for each volume group before respectively after the restoration operation. Disable preprocessing and postprocessing when operating individual physical disks.

The backup histories made by the method that is indicated in the following sections only can be restored.

+Restoration from tape

The table below summarizes the preprocessing and postprocessing work to be performed before and after restoration from tape.

Object

Preprocessing

Postprocessing

Restoration destination volume

  1. Stop access to all logical volumes in the disk group.
  2. Unmount all file systems in the disk group, if file systems are included.
  3. Deport the disk group.
  1. Reconfigure the disk group. (*1)
  2. Remount the volumes that were unmounted by preprocessing, if file systems are included.
*1: For the reconfiguration condition of disk group, see the table below.

Making method of backup history on tape

Restoration destination

Reconfiguration of disk group

Backup to tape directly

Transaction volumes

No need

Volumes other than transaction volume

Need

Tape copy

All volumes

Need

+Restoration from disk

For information about restoring from disks, refer to "Backup operation for each physical disk in the disk group" under "VxVM Volume Operation" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the relevant operating system.

5.9 LVM Volume Operations 

This section explains backup operations for volumes that are managed by an LVM (Logical Volume Manager).

The following table shows the operation modes available for each platform.

Platform

Operations for each volume group

Backup operations for each physical disk in the disk group

HP-UX

  1. Supported
  1. Supported

AIX

  1. Supported
  1. Supported

5.9.1 Operations for each volume group 

When LVM volumes are backed up, backups are taken for each LVM volume group.

You should ensure that you understand the basic operations of LVM volume group units before using them. For information about basic operations, refer to "Operation for each volume group" under "LVM Volume Operation" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the relevant operating system.

5.9.2 Backup operations for each physical disk in the disk group 

When LVM volumes are backed up, backups are taken for each physical disk in the LVM volume.
Backup operations must maintain consistency as disk groups and operations on all physical disks in a disk group must be synchronized.

You should ensure that you understand the basic operations of the physical disk units that make up the LVM volume before using them. For information about basic operations, refer to "Backup operations for each physical disk that makes up the disk group" under "LVM Volume Operations" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the relevant operating system.

5.9.2.1 Executing backups 

Synchronize all of the physical disks in the disk group when operating on them.
Perform the necessary pre- and post-processing for each disk group before and after backup operations, and prevent pre- and post-processing from being performed when each physical disk is being used.

+Backups with both a disk and a tape specified as backup destination media

For backups to both disk and tape, if the Storage Server restarts while data is being written, the transaction volume and the backup volume will both have the same configuration, and an inconsistency with VxVM will occur when the Storage Server starts. (For cluster systems, this event will occur when the node fails over.) Accordingly, use the following procedure to create a backup log if backups are being made to both disk and tape.

  1. Execute the pre-processing for the backup to disk.
  2. Execute only the backup to the disk by specifying DISK for the -m option in the Backup command (acmbackup).
  3. Execute the post-processing for the backup to disk.
  4. Execute the pre-processing for the tape copy.
  5. Execute the tape copy using the "Tape copy command (acmtphistcopy)".
  6. Execute the post-processing for the tape copy.

+Backups with only tape specified as the backup destination medium

The following table shows the pre- and post-processing that is performed before and after data is backed up to tape.

Volume type

Pre-processing

Post-processing

Transaction volume

  1. Prohibits access to all logical volumes in the disk group.
  2. Unmounts any file systems in the disk group.
  3. Imports the disk group.
  1. Mounts any file system volumes that were unmounted as part of the pre-processing.

+Backups with only disk specified as the backup destination medium

For information about backing up to disk, refer to "Backup operation for each physical disk in the disk group" under "LVM Volume Operation" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the relevant operating system.

5.9.2.2 Executing tape copies 

Synchronize all of the physical disks in the disk group when using them.
Perform the necessary pre- and post-processing for each disk group before and after tape copy operations, and prevent pre- and post-processing from being performed when each physical disk is used.

Before making tape copies, reconfigure the disk group for the backup volume. This is necessary because if a tape copy is made from a backup volume where the disk group has not been reconfigured and the Storage Server restarts during the tape copy, the transaction volume and the backup volume will both have the same configuration, and an inconsistency with VxVM will occur when the Storage Server starts. (For cluster systems, this event will occur when the node fails over.)

The following table shows the pre- and post-processing that is performed before and after tape copies.

Volume type

Pre-processing

Post-processing

Backup volume

  1. Prohibits access to all logical volumes in the disk group
  2. Unmounts any file systems in the disk group.
  1. If necessary, mounts any volumes that were unmounted as part of the pre-processing.

5.9.2.3 Executing restorations 

Synchronize all of the physical disks in the disk group when using them.
Perform the necessary pre- and post-processing for each disk group before and after restoration operations, and prevent pre- and post-processing from being performed when each physical disk is used.

Only backup logs that have been taken using the following methods can be restored:

+Restorations with tape specified as the restoration-source media

The following table shows the pre- and post-processing that is performed before and after restoration from tape.

Volume type

Pre-processing

Post-processing

Restoration destination volume

  1. Prohibits access to all logical volumes in the disk group.
  2. Unmounts any file systems in the disk group.
  3. Deports the disk group.
  1. Reconfigures the disk group. (*1)
  2. Mounts any file system volumes that were unmounted as part of the pre-processing.
*1: The conditions for reconfiguring the disk group are as follows:

Method for creating backup logs on the tape

Restoration destination

Reconfigure the disk group

Backup directly to tape

Transaction volumes

No

Volumes other than transaction volumes

Yes

Tape copy

All volumes

Yes

+Restorations with disk specified as the restoration source medium

For information about restoring from disks, refer to "Backup operations for each physical disk that makes up the disk group" under "LVM Volume Operations" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for the relevant operating system.


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006