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

Chapter 4 Backup Operations

This chapter explains backup operations of AdvancedCopy Manager.

AIX version AdvancedCopy Manager's Agent enables the backup operation described in this chapter by linking with AdvancedCopy Manager's Manager running under Windows, Solaris or Linux.

For information on the relationships between the configurations of supported devices and the copy operation, see "Managing a Device on ETERNUS SF AdvancedCopy Manager" in this manual.

4.1 Overview 

This chapter describes the backup and restores functions of AdvancedCopy Manager.

AdvancedCopy Manager performs high-speed backup between volumes, regardless of the volume capacities, using the advanced copy function (OPC or EC function) of a disk array unit.

Backup that uses the One Point Copy (OPC) or Remote One Point Copy (ROPC) function of an 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 snap shot 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 maintains status has been achieved.

AdvancedCopy Manager automatically manages and selects a medium to be used for backup (a backup volume).

AdvancedCopy Manager also manages the backup carriers and generations and allows you to restore data from the latest or other past generations.

[Figure 4.1 Managing a backup volume]

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

The snapshot fast backup performs processing as follows:

  1. Execute the backup execution command ((1) in Figure 4.2). The following processing will be performed:

  2. Data on the transaction volume will be copied to the acquired unused backup volume ((2) to (4) in Figure 4.2).

  3. Backup carrier information will be set.

[Figure 4.2 Snapshot fast backup processing]

The snapshot fast backup is completed as soon as you specify to execute backup. The actual data copying will be internally performed by the OPC function of the disk array unit ETERNUS storage system.

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 Operation by the QuickOPC Function."

4.1.1.1 Snapshot backup processing of Volume Group 

When the transaction volume is a volume group, copy processing by OPC/ROPC function of disk array equipment ETERNUS storage system is performed to the physical whole disk corresponding to the volume group. Therefore, when two or more logical volumes exist in a volume group, the data of all logical volumes is backed up (Figure 4.3).

If using a volume group for backup operation, it needs to be cautious of the following points.

[Figure 4.3 Transaction volume and backup volume for two or more logical disks]

4.1.2 Synchronized high-speed backup processing 

The Equivalent Copy (EC) or 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.

Synchronized high-speed backup performs processing as follows:

  1. Execute the backup synchronous processing start command ((1) in Figure 4.4). An unused backup volume having the same capacity as the transaction volume is selected from the unused backup management area, and the synchronized backup processing starts.

  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 4.3).

  3. Execute the backup execution command ((4) in Figure 4.4). The backup synchronization processing stops and the 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 4.4 Backup using the synchronized high-speed backup function]

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 information on the Suspend/Resume function, see "Backup Operation That Uses the Suspend/Resume Function."

4.1.2.1 Synchronized high-speed backup processing of Volume Group 

When the transaction volume is a volume group, copy processing by EC/REC function of disk array equipment ETERNUS storage system is performed to the physical whole disk corresponding to the volume group. Therefore, when two or more logical volumes exist in a volume group, the data of all logical volumes is backed up (Figure 4.3).

If using a volume group for backup operation, it needs to be cautious of the following points.

4.1.3 Restoration processing 

This chapter describes restoring data on AdvancedCopy Manager.

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 addition, although restoration processing is performed to the operating volume which becomes a backing up agency, it is also possible to change a restoration place.

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 4.5 Notes on restore operations in AdvancedCopy Manager]

4.1.3.1 Restoration processing of Volume Group

When the transaction volume is a volume group, copy processing by OPC/ROPC function of disk array equipment ETERNUS storage system is performed to the physical whole disk corresponding to the volume group. Therefore, when two or more logical volumes exist in a volume group, the data of all logical volumes is backed up (Figure 4.6).

If using a volume group for backup operation, it needs to be cautious of the following points.

[Figure 4.6 Restoration for two or more logical disks]

4.2 Operation Design

This chapter describes the backup operation on AdvancedCopy Manager.

Design a backup operation as follows:

4.2.1 Deciding a server on which the backup operation should be performed

The backup operation can be performed on one of the following servers.

The locale of the internal code system (code system specified when installing AdvancedCopy Manager on the Storage management server) used by AdvancedCopy Manager must be installed on all Storage servers.

[Figure 4.7 Configuration of servers on which the backup operation should be performed]

4.2.2 Deciding a backup target

The backup/restoration unit of the AIX AdvancedCopy Manager is a physical disk (LU: Logical Unit). But in the case of the physical disk which constitutes LVM (Logical Volume Manager), it is managed / operated per volume group. The disk which is managed / operated is called a transaction volume. A transaction volume to be backed up must be placed on the disk array unit ETERNUS storage system.

For information on setting up a transaction volume, see "Setting the operation type for a device".

The following is note for using a volume group as operating volume:

For backup targets, do not select disks in which a system is stored or AdvancedCopy Manager is installed.

Refer to "General notes" of this manual as a point which it is careful of when deciding the candidate for backup.

4.2.3 Deciding a backup policy

To setup a backup policy on a transaction volume, set the following items:

+Number of preservation generations

The number of preservation generations refers to how many generations of backup data should be kept.
The snapshot fast backup first releases the oldest generation from the generation management. If a system failure or any other failure occurs while the backup is running, there may not be as many generations of backup data as required. In such a case, you are recommended to perform backup immediately again.
By snapshot type high-speed backup, when employing the number of preservation generations as 1, we recommend you also backup data to a tape.
A synchronous high-speed backup operation releases the oldest generation from generation management after backup of the latest generation is completed. Therefore, the number of backup volumes that must always be kept in history information is the number of preservation generations plus 1.

+Interval days

The interval days refers to an interval at which backup should be performed.
The delay of backup is displayed if more days than the specified number of interval days have passed after the last backup date.
Note that backup is not performed periodically even if you have specified the interval days.

For information on setting a backup policy, see "Setting backup policies".

4.2.4 Preparing a backup volume

Prepare the backup volume.

In AdvancedCopy Manager, the disk in which the transaction data used as the candidate for backup is stored is called transaction volume. A backup volume must be placed on the disk array unit ETERNUS storage system.

The backup volume size must be equal the transaction volume size. The number of backup volumes used for snapshot-type high-speed buffer operations and that for synchronous high-speed buffer operations are listed below:

Backup

Number of required backup volumes

For snapshot fast backup

Number of backup generations

For synchronized high-speed backup

Number of backup generations + 1


When backup policies have already been set for multiple transaction volumes, the registration of a backup policy for a newly registered transaction volume requires that the following number of backup volumes be registered beforehand:

Backup

Number of required backup volumes

For snapshot fast backup

Total number of backup generations in the registered backup policies + number of generations in the new backup policy being set

For synchronized high-speed backup

Total number of backup generations in the registered backup policies + number of registered transaction volumes + number of generations in the new backup policy being set + 1

The following is note for using a volume group as operating volume:

For backup volumes, do not select disks in which a system is stored or AdvancedCopy Manager is installed.
For information on setting a backup volume, see "Setting the operation type for a device".

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.
In such cases, follow the procedure below.
  1. Start backup synchronization.

  2. Confirm the equivalency maintain status.

  3. Execute backup.

  4. Save the backup volumes to secondary media.

  5. Delete history information.

  6. Return to step 1.

If the history information is deleted, the restore execution command cannot be used for restoration of data of the period beginning from the time of deletion until the time of the next backup is completed. In this event, the data must be restored directly from the secondary media.

4.2.5 Preparing the automatic backup operation

The backup operation of AdvancedCopy Manager can be automated using SystemWalker/OperationMGR, etc.

+Automatic snapshot fast backup

Automatic snapshot fast backup can be executed in one of the following two ways.

+Automatic synchronized high-speed backup

For synchronized high-speed backup, the transaction and backup volumes must have maintained equivalency status at the scheduled time for backup.

For this reason, if synchronized high-speed backup is automated, the synchronized backup processing start command and the backup execution command must be started separately, as described below.

++Starting the synchronized backup processing start command

At first, theoretically calculate the time required for the synchronized backup processing. Execute the synchronized backup processing start command by specifying the time obtained by subtracting that theoretical time or more from the time that the backup execution command is to start. The transaction and backup volumes will then have maintained equivalency status when backup is executed.

The time between the start of synchronized backup processing and the transition to equivalency status being maintained depends on the capacity of the volume to be copied.

++Starting the backup execution command

Use either of the following methods to automatically execute the backup execution command:

4.3 Flow of Operation 

The following shows the flow of backup operation on a regular transaction volume.

4.4 Preparations

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

4.4.1 Activating daemons 

Before starting a backup operation, daemons on the Storage management server and Storage servers must be activated. Normally, they are automatically activated when the system starts.

When starting goes wrong for a certain reason, and when a demon is stopped at once, it is necessary to start a demon by each server. Please Refer to "Starting and Stopping Daemons" of this Manual of Service about Starting of Demon.

4.4.2 Setting an access permission 

When performing backup employment from a backup management screen, an access permission of each operation of a backup management screen is set up. For details of the Setting Method, see "Security Operation Using Authentication Feature" in "Windows, Solaris or Linux ETERNUS SF AdvancedCopy Manager Operator's Guide".

When only a command performs backup employment, a setup of access permission is not required.

4.4.3 Starting the initial window

Specify the following URL to start the initial window of AdvancedCopy Manager. In cluster operation, URL is different. For details, please refer to "Initial Window," in the ETERNUS SF AdvancedCopy Manager User's Guide."

http://storage-management-server-address(:port-number)/swstorage/index.html


The following GUI (server list view) will be started.

When applying only by the command, without using GUI, it is not necessary to perform this operation.

All GUI operations of AdvancedCopy Manager are available on a Storage management server. For more about GUI operation, see "ETERNUS SF AdvancedCopy Manager User's Guide".

When the storage management server is in cluster operation

When the storage management server is in cluster operation, you must configure an authentication-related file (according to "Configuring the authentication-related file" in the ETERNUS SF AdvancedCopy Manager User's Guide) to use Web screens.

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

Select the [Operation] menu, select [Addition of Server]. The following window will be displayed.

For storage server to be added, specify a server name, IP address, and port number required for communications.

In cluster operation, specify the logical IP address of the Storage server as IP address. And specify the port number registered at the time of the cluster setup of Storage server transaction.

The port number is specified as the "communications service port number", when AdvancedCopy Manager's Agent was installed.

The [O.K.] button is pushed after inputting the above item, and additional processing of a Storage server is carried out.

In addition, this processing can be carried out also by the server information addition command (stgxfwcmaddsrv). Please refer to the Operator's Guide to OS of a Storage management server.

4.4.5 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. To acquire information on a device on the storage manager server, select [Acquisition and reflection of Information of all devices]. The following window will be displayed.

Check the server from which device information should be acquired and then press the [OK] button.

After device information is acquired from each server, the following dialog will be displayed.

The new devices detected will be displayed in the uppermost list box. Move a device to be managed to the list box on the left. The second list box displays devices currently under management but not detected. Move a device that you no longer want to manage to the list box on the right. The lowermost list box displays devices whose device information has been updated (e.g., the mount point name has been changed).

The [OK] button is pushed after carrying out the above operation, and acquisition processing of device information is carried out.

In addition, this processing can be carried out also by the device information collection/reflection command (stgxfwcmsetdev). Please refer to the Operator's Guide to OS of a Storage management server.

4.4.6 Displaying the backup management window

On the server list view, select the [File] menu and then [Backup Management]. The server list view for the backup management will be displayed.

All GUI operations of AdvancedCopy Manager are available on a Storage management server. For more about GUI operation, see "ETERNUS SF AdvancedCopy Manager User's Guide".

4.4.7 Setting the environment for a backup operation server

Set the environment for each storage server. From the server list view, select backup management in the tree displayed on the left side. Then, select the storage server in a list panel displayed on the right side of the window. Finally, select [Set Storage Server Configuration Information] from the [Operations] menu. The following setup window will be displayed.

After completing the input of necessary items, click the [OK] button.

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.

You can also make this environment setting also using the storage server configuration information setting command.

For operation only with commands, the storage server configuration information setting command must be executed as part of startup operations.

All GUI operations of AdvancedCopy Manager are available on a Storage management server. For more about GUI operation, see "ETERNUS SF AdvancedCopy Manager User's Guide".

4.4.8 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

Number of required backup volumes

Snapshot fast backup

Number of backup generations

Synchronized high-speed backup

Number of backup generations + 1


Set an operation type on the server list view. On the server list view, select a storage server and select the [Operation] menu and then [Set Device Information]. The following setup window will be displayed.

A volume displayed in "Other Volume" field has no specified device operation type. Set a device operation type as follows:

After making settings for all the volumes, click the [OK] button.

You can make this setting also using the device information setting command (swstdevinfoset).

The size of backup volume must be equal to that of transaction volume.

For using a volume group as a transaction volume, it is necessary to create a logic disk as follows:

Backup is not supported for the system disk or the disk where AdvancedCopy Manager is installed.

To change the configuration of a disk registered as the transaction volume or backup volume, take the following steps. First, delete the registered configuration, and then change the configuration. Next, try to fetch the device information on the storage server. Lastly, register the information by executing the device information setting command (swstdevinfoset).

All GUI operations of AdvancedCopy Manager are available on a Storage management server. For more about GUI operation, see "ETERNUS SF AdvancedCopy Manager User's Guide".

For a volume group registered as a backup volume, manually unmount all logical volumes in the volume group before performing this operation.

You can check what has been registered as follows:

When the registered contents are checked by the GUI screen or the command, the value displayed on the "Size" column is physical disk size. When a volume group is registered, it is also the physical disk size which constitutes a volume group.

4.4.9 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 the following files to set options:

For normal operation (non-cluster)
/etc/opt/FJSVswsts/data/DEFAULT/check.ini
For cluster operation
/etc/opt/FJSVswsts/<logical-node-name(*1)>/data/DEFAULT/check.ini

(*1) Logical node name of AdvancedCopy Manager specified during setting up of a cluster.

Code as follows:

[check]
RemoteCopy=Yes

4.4.10 Setting backup policies

For a transaction volume registered on a storage server, set the following backup policy:

Specify the backup policy settings from the Transaction Volume List view. Select "Transaction Volume" of the storage server from the tree to display the transaction volume list. After selecting a transaction volume for which you want to set a backup policy, click the right mouse button. From the popup menu, select [Set Backup Policy]. The following setup window will be displayed.

On this window, specify the number of interval days and the number of preservation generations and click the [OK] button. Perform this procedure on all the transaction volumes. You can set a backup policy also using the backup policy setting command (swstbkpolset).

All GUI operations of AdvancedCopy Manager are available on a Storage management server. For more about GUI operation, see "ETERNUS SF AdvancedCopy Manager User's Guide".

You can check what has been defined as follows:

4.4.11 Customizing a script of Preprocessing and Postprocessing 

In AdvancedCopy Manager, backup or restore processing must be performed while transaction volumes are 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.

AIX AdvancedCopy Manager implements the transaction volume unmount/mount operation by customizing pre-processing and post-processing scripts. If a pre-processing script ends with an error during execution of backup/restoration, backup/restore processing is not performed.

For details of the preprocessing and postprocessing script, refer to "Preprocessing and Postprocessing of Backup and Restoration."

When the operation corresponds to following either, it is necessary to customize the script used for preprocessing and postprocessing of backup.

About customize method, see "Preprocessing and Postprocessing of Backup and Restoration".

When AdvancedCopy Manager is upgraded

The script after upgrade may be updated.
Therefore, customize the script after upgrade rather than reusing the script which was being used by the previous version.

4.4.12 Preparing a device map file

In the backup operation on AdvancedCopy Manager, a backup volume with the same capacity as a transaction volume is automatically selected from the registered backup volumes.

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.

4.4.12.1 Describing a device map file

The following shows a description example of a device map file.

The following lists rules for creating a device map file.

4.5 Operation 

This chapter describes the backup operation on AdvancedCopy Manager.

Before performing the backup operation, make environment settings required for the backup operation according to "Preparations".

AdvancedCopy Manager has two kinds of backup operation as follows.

4.5.1 Performing the snapshot fast backup 

Perform the snapshot fast backup as follows:

  1. Before backing up a general file system, stop work.

  2. Display the transaction volume list view and select a volume to be backed up.

  3. From the [Operation] menu, select [Backup] to display the following window.

  4. Check the displayed server names and transaction volume names and perform the following:

  5. After the backup is completed, the following window will be displayed. Click the [OK] button and you will be sent back to the transaction volume list view.

  6. This completes backup. Now you can restart work. At this point, however, the physical copying of a volume is not completed at the back end. To check the status of physical copying, do as follows:

  7. Display the transaction volume list view and check the [Status] field of a target transaction volume. You can check the current copying status because this field displays the progress status of copying processing.

  8. To check the latest copying status, either:

  9. If you have stopped work in Step 1, restart the work.

All GUI operations of AdvancedCopy Manager are available on a Storage management server. For more about GUI operation, see "ETERNUS SF AdvancedCopy Manager User's Guide".

When the QuickOPC function is used for snapshot high-speed backup, the operations listed below cannot be performed from the Transaction Volume List view. Enter the appropriate command for each operation.

4.5.2 Performing the synchronized high-speed backup 

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

  1. Display the transaction volume list view and select a volume to be backed up.

  2. On the [Operation] menu, select [Start Synchronization processing] to display the following window.

  3. Check the displayed server name and transaction volume name, and perform one of the following operations:

  4. When the synchronized backup processing is completed, the window shown below appears. Click the [OK] button to return to the transaction volume list view.

  5. Physical copying from the transaction volume to backup volume now starts. To check the status of the physical copying, do the following:

  6. Display the transaction volume list view and check the [Status] field of the target transaction volume. This field displays the progress of the coping processing. Use it to check the current status of the copying.

  7. To check the latest copying status, perform one of the following operations:

  8. The transaction and backup volumes have obtained equivalency status when the [Status] field indicates [Backup Preparation Completed].

  9. To create a backup history, select the target transaction volume from the transaction volume list view and select [Backup] from the [Operation] menu. The following window appears.

  10. Check the displayed server name and transaction volume name, and click the [OK] button.

  11. When the backup is completed, the window shown below appears. Click the [OK] button to return to the transaction volume list view.

All GUI operations of AdvancedCopy Manager are available on a Storage management server. For more about GUI operation, see "ETERNUS SF AdvancedCopy Manager User's Guide".

When the Suspend/Resume function is used for synchronous high-speed backup, the operations listed below cannot be performed from the Transaction Volume List view. Enter the appropriate command for each operation.

4.5.3 Performing restoration

This chapter describes restoring a volume or data that has been backed up.

4.5.3.1 Restoring an entire volume 

Restore all the data in a volume, which has been backed up in the snapshot fast backup as follows:

  1. Stop work if you want to perform restoration on a general file system.

  2. Display the transaction volume list view. Select a volume to be restored.

  3. From the [Operation] menu, select [Restore] to display the following window. As the restore source volume, the latest backup destination volume for the concerned transaction volume will be selected.

  4. Check the name of volume to restore.

    As the name of volume to restore, a transaction volume name selected in the transaction volume list view will be displayed. Click the [OK] button to restore data to this transaction volume. To change the restore destination, mark the Name of volume to restore checkbox, and then click the [...] button. The following window will be displayed.

    Select a volume to which you want to restore data and then click the [OK] button. You will be sent back to the restore window.

    Check that the name of volume to restore is correct and then click the [OK] button on the [Restore Window].

  5. The following window will appear when the restoration is completed. Click the [OK] button and you will be sent back to the transaction volume list view.

  6. This completes restoration. Now you can restart the work. At this point, however, the physical copying of a volume is not completed at the back end. To check the status of physical copying, do as follows:

  7. Display the transaction volume list view and check the [Status] field of a target transaction volume. You can check the current restoration (physical copying) status because this field displays the progress status of copying processing.

  8. To check the latest information, either:

  9. If the transaction was stopped in 1, restart it.

Because there are notes about restoration of a volume group, be sure to look through "Restoration processing of Volume Group".

All GUI operations of AdvancedCopy Manager are available on a Storage management server. For more about GUI operation, see "ETERNUS SF AdvancedCopy Manager User's Guide".

Changing the restoration target volume to a volume other than the backup source transaction volume requires a procedure different from the normal procedure. For the procedure, see "Notes on restoration."

4.5.3.2 Restoring an individual file 

Restore an individual file as shown below. Note that you cannot restore an individual file on the GUI window.

  1. Mount backup volume. A special procedure is necessary to do the backup volume in the mount. Moreover, when the backup volume is done in the mount, consideration is needed in the procedure of usual restore. For the procedure, see "Notes on restoration." To check backup volume by the history list view or executing history information display command.

  2. Copy files to restore by the cp command.

  3. Unmount backup volume.

4.5.4 Managing a backup history 

Display backup history information to check backup volume names, backup date, etc. of backup data under generation management for a transaction volume.

4.5.4.1 Displaying a backup history 

You can display a backup history on the backup history list view. To display the backup history list view, first access the server list view, display a storage server in a tree view, and select a transaction volume on the storage server.

You can display a backup history also using the history information display command.

All GUI operations of AdvancedCopy Manager are available on a Storage management server. For more about GUI operation, see "ETERNUS SF AdvancedCopy Manager User's Guide".

4.5.4.2 Deleting a backup history

Delete a backup history on the server list view. If you display a storage server in a tree view on the server list view, a list of transaction volumes on this storage server will be displayed. After selecting a transaction volume history for which you want to delete a backup history, click the right mouse button and, from the popup menu, select [Delete History]. The following setup window will be displayed.

Carefully check the displayed server name and transaction volume name and click the [OK] button.

You can delete a backup history also using the history information delete command.

All GUI operations of AdvancedCopy Manager are available on a Storage management server. For more about GUI operation, see "ETERNUS SF AdvancedCopy Manager User's Guide".

4.6 Changing the setting information 

You need to change the setting information of AdvancedCopy Manager if any change is made on a storage server or device used in the backup operation. This chapter describes changing the setting information when various changes are made.

4.6.1 Adding a device

After a device is added to any storage server, incorporate it in the backup operation of AdvancedCopy Manager as follows:

  1. Display the initial window. For more information, see "Starting the initial window".

  2. 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".

  3. Display the backup management window. For more information, see "Displaying the backup management window".

  4. Set the operation type for a device that has been added. For more information, see "Setting the operation type for a device".

  5. If the added device has been defined as a transaction volume, set a backup policy for it. For more information, see "Setting backup policies".

4.6.2 Deleting a device

This chapter describes deleting a device depending on the device type.

4.6.2.1 Deleting a transaction volume

To delete a transaction volume, follow the steps shown below.

  1. Display the backup management window. For more information, see "Displaying the backup management window".

  2. Delete a backup history for the transaction volume to be deleted. For more information, see "Deleting a backup history".

  3. Delete a backup policy for the transaction volume to be deleted.

    If you display a storage server in a tree view, a list of transaction volumes on this storage server will be displayed. After selecting the transaction volume for which you want to delete, select delete backup policy. You can click the right mouse button or from the popup menu, select [Delete backup policy]. The following setup window will be displayed.

    Carefully check the displayed server name and transaction volume name and click the [OK] button.

  4. Delete device information for a transaction volume to be deleted.

    After selecting a storage server, select [Set Device Information] from the [Operation] menu. The following setup window will be displayed.

    Move a target transaction volume displayed in the "Transaction Volume" field to the "Other Volume" field. Click the [>] button to move a transaction volume.

You can execute this processing also using the history information delete command, backup policy deletion command, or device information setting command.

4.6.2.2 Deleting a backup volume

To delete a backup volume follow the steps as shown below.

  1. Display the backup management window. For more information, see "Displaying the backup management window".

  2. 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. If the volume is already unused, skip to the next step.

  3. Delete device information for the backup volume to be deleted.

    After selecting a Storage server, select [Set Device Information] from the [Operation] menu. Then, the following setup window will be displayed.

    Move a target backup volume displayed in the "Backup Volume" field to the "Other Volume" field. Click the [>] button to move a backup volume.

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.

You can execute this processing also using the history information deletion command, or device information setting command.

4.6.3 Adding a storage server 

Add a storage server to the backup operation as follows:

  1. Display the initial window. For more information, see "Starting the initial window.

  2. Register a storage server. For more information, see "Registering a storage server".

  3. Fetch all the information of devices connected to the added storage server. For more information, see "Fetching device information on a storage server".

  4. Display the backup management window. For more information, see "Displaying the backup management window".

  5. Set the information for the storage server. For more information, see "Setting the environment for a backup operation server".

  6. 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".

  7. Set a backup policy for all the transaction volumes registered in Step 6. For more information, see "Setting backup policies".

4.6.4 Deleting a Storage server 

To delete storage server follow the steps as shown below. In addition, be sure to do this work before removing the Storage server for deletion.

  1. Display the backup management window. For more information, see "Displaying the backup management window".

  2. Delete the backup history for all the transaction volumes on the Storage server to be deleted. For more information, see "Deleting a backup history".

  3. Delete the backup policy for all the transaction volumes on the storage server to be deleted.

    If you display a Storage server in a tree view, a list of transaction volumes on this Storage server will be displayed. After selecting a transaction volume for which you want to delete, delete the backup policy. Click the right mouse button and from the popup menu, select [Delete backup policy]. The following setup window will be displayed.

    Carefully check the displayed server name and transaction volume name and click the [OK] button.

  4. Delete device information on the Storage server to be deleted.

    After selecting a Storage server, select [Set Device Information] from the [Operation] menu. The following setup window will be displayed.

    Move all the volumes displayed in the "Transaction Volume" and "Backup Volume" fields to the "Other Volume" field. Click the [>] button to move volumes.

  5. Display the initial window. For more information, see "Starting the initial window".

  6. Delete a Storage server.

    Select a Storage server and select [Deletion of Server] from the [Operation] menu. The following window will be displayed.

    Carefully check the server name and click the [OK] button.

    In addition, this processing can be carried out also by the server information deletion command. Please refer to the Operator's guide to OS of a Storage management server.

4.7 Stopping the Operation 

To stop a backup operation, stop daemons on the Storage server. Normally, they are automatically stopped when the system stops.

It is possible to also make it stop individually to stop a demon by a certain reason. For more Details, see "Starting and Stopping a Deamons" of this Manual.

4.8 LVM Volume Operation 

The backup operation of LVM volumes can be classified into the following two modes depending on the volume group configuration:

Before starting this operation, be sure to understand the basic operation of ordinary volumes.

4.8.1 Backup operation in volume group units 

Provided that all volume group configurations satisfy the following conditions, backup operation can be performed in units of volume groups.

If the above conditions are not satisfied, backup operation must be performed in units of physical disks.

[Figure Example of configuration in which backup operation can be performed in volume group units ]

4.8.1.1 Operation design 

Observe the following conditions regarding the design of volume groups when designing volume groups for use as transaction volumes or backup volumes:

4.8.1.2 Preparations 

4.8.1.2.1 Setting the transaction volume and backup volume 

When setting the transaction volume and backup volume, specify their volume groups.

Example:

# /opt/FJSVswsts/bin/swstdevinfoset -t /dev/vg01
swstdevinfoset completed
# /opt/FJSVswsts/bin/swstdevinfoset -b /dev/vg02
swstdevinfoset completed
#

4.8.1.2.2 Customizing the preprocessing and postprocessing scripts 

If a volume group is to be backed up, the preprocessing and postprocessing scripts must be customized.

See "Preprocessing and Postprocessing for Backup and Restoration" for information on the customization procedure.

If backup is attempted without customization of the scripts, preprocessing results in an error and backup cannot be achieved.

4.8.1.3 Backup in units of volume groups 

When a transaction volume is a volume group, copy processing covers the entire physical disk corresponding to the volume group. Therefore, if the volume group contains multiple logical volumes, data on all the logical volumes is backed up.

Example of snapshot backup

# /opt/FJSVswsts/bin/swstbackup /dev/vg01
/dev/vg01 swstbackup completed
#

Example of synchronous backup

# /opt/FJSVswsts/bin/swststartsync /dev/vg01
/dev/vg01 swststartsync completed
(After state of equivalency upkeep)
# /opt/FJSVswsts/bin/swstbackup /dev/vg01
/dev/vg01 swstbackup completed
#

When using a volume group for backup operation, note the following:

4.8.1.4 Restoration in units of volume groups 

When a transaction volume is a volume group, copy processing covers the entire physical disk corresponding to the volume group. Therefore, if the volume group contains multiple logical volumes, data on all the logical volumes is restored.

Example of restoration

# /opt/FJSVswsts/bin/swstrestore /dev/vg01
/dev/vg01 swstrestore completed
#

When using a volume group for restoration, note the following:

4.8.2 Backup operation in units of physical disks 

When the volume group configuration does not satisfy the conditions for operation in units of volume groups, backup operation can be performed by operation in units of physical disks.

When backup operation is performed in units of physical disks, volume group integrity must be maintained and, therefore, all the physical disks in the volume group must be operated synchronously.

Refer to "Device information display command (stgxfwcmdispdev)" of this manual, or the "Confirmation of devices in the save logical group" of a ETERNUS SF AdvancedCopy Manager User's Guide for the method of checking the physical volume which should take a synchronization.

[Figure Sample configuration for operation in units of physical disks ]

4.8.2.1 Operation design 

To use the replica volume after replication in case that the original volume is a volume group, the replica volume must have the same logical volume configuration as the original volume and must be a volume group of the same physical size.

4.8.2.2 Preparations 

4.8.2.2.1 Setting the transaction volume and backup volume 

When setting the transaction volume and backup volume, specify all disks in the volume group.

Example:

# /opt/FJSVswsts/bin/swstdevinfoset -t /dev/hdisk10
swstdevinfoset completed
# /opt/FJSVswsts/bin/swstdevinfoset -t /dev/hdisk11
swstdevinfoset completed
# /opt/FJSVswsts/bin/swstdevinfoset -b /dev/hdisk20 
swstdevinfoset completed
# /opt/FJSVswsts/bin/swstdevinfoset -b /dev/hdisk21
swstdevinfoset completed
#

4.8.2.2.2 Preparing a device map file 

For the backup operation of a LVM volume, a device map file must be created because a backup volume in the same volume structure as the transaction volume must be specified.

[Example of a device map file]

# Transaction volume           Backup volume
/dev/hdisk10                   /dev/hdisk20
/dev/hdisk11                   /dev/hdisk21

For details on the device map file, refer to "Preparing a device map file."

4.8.2.3 Backup in units of physical disks 

Perform operation by synchronizing all physical disks in the volume 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.

Example of snapshot backup

(Perform preprocessing for the transaction and backup volumes.)
# /opt/FJSVswsts/bin/swstbackup /dev/hdisk10
/dev/hdisk10 swstbackup completed
# /opt/FJSVswsts/bin/swstbackup /dev/hdisk11
/dev/hdisk11 swstbackup completed
#
(Perform postprocessing for the transaction and backup volumes.)

Example of synchronous backup

(Perform preprocessing for the backup volume.)
# /opt/FJSVswsts/bin/swststartsync /dev/hdisk10
/dev/hdisk10 swststartsync completed
# /opt/FJSVswsts/bin/swststartsync /dev/hdisk11
/dev/hdisk11 swststartsync completed
(After state of equivalency upkeep)
(Perform preprocessing for the transaction volume.)
# /opt/FJSVswsts/bin/swstbackup /dev/hdisk10
/dev/hdisk10 swstbackup completed
# /opt/FJSVswsts/bin/swstbackup /dev/hdisk11
/dev/hdisk11 swstbackup completed
#
(Perform postprocessing for the transaction and backup volumes.)

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

Preprocessing

Postprocessing

Transaction volume

  1. Secure data integrity by stopping access to all logical volumes in the volume group.

  2. If file systems are included, unmount all file systems in the volume group.

  1. If file systems are included, remount the volumes that were unmounted by preprocessing.

Backup volume

  1. Stop access to all logical volumes in the volume group.

  2. If file systems are included, unmount all file systems in the volume group.

  3. Deactivate the volume group.

Postprocessing is not required.

+Deactivate the volume group

Deactivate the volume group as follows:

# /usr/sbin/varyoffvg vg02
#

4.8.2.4 Restoration in units of physical disks 

Perform this operation by synchronizing all physical disks in the volume 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.

Example of restoration

(Perform preprocessing for the transaction and backup volumes.)
# /opt/FJSVswsts/bin/swstrestore /dev/hdisk10
/dev/hdisk10 swstrestore completed
# /opt/FJSVswsts/bin/swstrestore /dev/hdisk11
/dev/hdisk11 swstrestore completed
#
(Perform postprocessing for the transaction and backup volumes.)

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

Preprocessing

Postprocessing

Backup volume

  1. Secure data integrity by stopping access to all logical volumes in the volume group.

Postprocessing is not required.

Restoration destination volume

  1. Stop access to all logical volumes in the volume group.

  2. If file systems are included, unmount all file systems in the volume group.

  3. Deactivate the volume group.

  1. Activate the volume group

  2. If file systems are included, remount the volumes that were unmounted by preprocessing.

+Deactivate the volume group

Deactivate the volume group as follows:

# /usr/sbin/varyoffvg vg01
#

+Activate the volume group

Activate the volume group as follows:

# /usr/sbin/varyonvg vg01
#

4.9 VxVM Volume Operation 

VxVM volumes are backed up in units of the physical disks that constitute each VxVM volume.

When the backup operation is performed in units of physical disks, disk group integrity must be maintained and, therefore, all the physical disks in the disk group must be operated synchronously.

Refer to "Device information display command (stgxfwcmdispdev)" of this manual, or the "Confirmation of devices in the save logical group" of a ETERNUS SF AdvancedCopy Manager User's Guide for the method of checking the physical volume which should take a synchronization.

Before starting this operation, be sure to understand the basic operation of ordinary volumes.

Snapshot backup is recommended in operation in units of physical disks. In the case of synchronized backup, the command (VxVM command etc.) which disk access produces to a copy destination disk during a copy cannot be executed.

4.9.1 Operation design 

Design disk groups that are to be used as transaction volumes or backup volumes. Observe the following conditions when designing the disk groups:

4.9.2 Preparations 

4.9.2.1 Confirming the disk group configuration information file 

The disk group must be reconfigured in backup postprocessing. Confirm that a volume group configuration information file has been saved.

/etc/vx/cbr/bk/<disk group name>.<disk group ID>

4.9.2.2 Setting the transaction volume and backup volume 

When setting the transaction volume and backup volume, specify all disks in the volume group.

Example:

# /opt/FJSVswsts/bin/swstdevinfoset -t /dev/vx/dmp/hdisk10
swstdevinfoset completed
# /opt/FJSVswsts/bin/swstdevinfoset -t /dev/vx/dmp/hdisk11
swstdevinfoset completed
# /opt/FJSVswsts/bin/swstdevinfoset -b /dev/vx/dmp/hdisk20
swstdevinfoset completed
# /opt/FJSVswsts/bin/swstdevinfoset -b /dev/vx/dmp/hdisk21
swstdevinfoset completed
#

4.9.2.3 Preparing a device map file 

For the backup operation of a VxVM volume, a device map file must be created because a backup volume in the same volume structure as the transaction volume must be specified.

[Example of a device map file]

# Transaction volume           Backup volume
/dev/vx/dmp/hdisk10            /dev/vx/dmp/hdisk20
/dev/vx/dmp/hdisk11            /dev/vx/dmp/hdisk21

For details on the device map file, refer to "Preparing a device map file."

4.9.3 Backup 

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

Example of snapshot backup

(Perform preprocessing for the transaction and backup volumes.)
# /opt/FJSVswsts/bin/swstbackup /dev/vx/dmp/hdisk10
/dev/vx/dmp/hdisk10 swstbackup completed
# /opt/FJSVswsts/bin/swstbackup /dev/vx/dmp/hdisk11
/dev/vx/dmp/hdisk11 swstbackup completed
#
(Perform postprocessing for the transaction and backup volumes.)

Example of synchronous backup

(Perform preprocessing for the backup volumes.)
# /opt/FJSVswsts/bin/swststartsync /dev/vx/dmp/hdisk10
/dev/vx/dmp/hdisk10 swststartsync completed
# /opt/FJSVswsts/bin/swststartsync /dev/vx/dmp/hdisk11
/dev/vx/dmp/hdisk11 swstsstartsync completed
(State of equivalency upkeep)
(Perform preprocessing for the transaction volumes.)
# /opt/FJSVswsts/bin/swstbackup /dev/vx/dmp/hdisk10
/dev/vx/dmp/hdisk10 swstbackup completed
# /opt/FJSVswsts/bin/swstbackup /dev/vx/dmp/hdisk11
/dev/vx/dmp/hdisk11 swstbackup completed
#
(Perform postprocessing for the transaction and backup volumes.)

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

Preprocessing

Postprocessing

Transaction volume

  1. Secure data integrity by stopping access to all logical volumes in the disk group.

  2. If file systems are included, unmount all file systems in the disk group.

  3. Import a disk group, when the disk group is not imported.

  1. If file systems are included, mount the volumes that were unmounted during preprocessing.

Backup volume

  1. Stop access to all logical volumes in the disk group.

  2. If file systems are included, unmount all file systems in the disk group.

  3. Deport the disk group.

  4. A disk group subordinate's physical disk is set to offline.

  1. The physical disk set to offline with preprocessing is set to online.

  2. Reconfigure the disk group

  3. If file systems are included, remount the volumes that were unmounted during preprocessing.

+Reconfiguring the disk group

Reconfigure the disk group as follows:

  1. Pre-commit analysis for restoration

    # /etc/vx/bin/vxconfigrestore -p dstdg
    Diskgroup dstdg configuration restoration started ......
    
    Installing volume manager disk header for hdisk20 ...
    Installing volume manager disk header for hdisk21 ...
    -
    dstdg's diskgroup configuration is restored (in precommit state).
    Diskgroup can be accessed in read only and can be examined using
    vxprint in this state.
    
    Run:
      vxconfigrestore -c dstdg ==> to commit the restoration.
      vxconfigrestore -d dstdg ==> to abort the restoration.
    #
  2. Commit the change required for restoring the configuration of the copy destination disk group.

    # /etc/vx/bin/vxconfigrestore -c dstdg
    Committing configuration restoration for diskgroup dstdg ....
    
    dstdg's diskgroup configuration restoration is committed.
    #

In case of a cluster system, when a disk group or a mount resource has been defined, instead of using the import/deport command for the disk group use the online/offline process, and instead of using the file system mount/unmount commands use the online/offline processing.

When performing a system disk exchange, there are cases when conflicting backup configuration information may exist.

In such cases, the disk group ID after executing the above command needs to be set instead of the disk group.

After this operation, in case the volumes within a disk group are needed to be run in synchronous mode in the background, then depending on the volume configuration it may take some time for synchronous processing.

It is also possible to use the volumes during this time.

4.9.4 Restoration 

Perform this operation by synchronizing all physical disks in the disk group.

Perform the required preprocessing or postprocessing work for each disk group before or after restoration operation. Disable preprocessing and postprocessing when operating individual physical disks.

Example of restoration

(Perform preprocessing for the transaction and backup volumes.)
# /opt/FJSVswsts/bin/swstrestore /dev/vx/dmp/hdisk10
/dev/vx/dmp/hdisk10 swstrestore completed
# /opt/FJSVswsts/bin/swstrestore /dev/vx/dmp/hdisk11
/dev/vx/dmp/hdisk11 swstrestore completed
#
(Perform postprocessing for the transaction and backup volumes.)

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

Preprocessing

Postprocessing

Backup volume

  1. Secure data integrity by stopping access to all logical volumes in the disk group.

  2. Import a disk group, when the disk group is not imported.

Postprocessing is not required.

Restoration destination volume

  1. Stop access to all logical volumes in the disk group.

  2. If file systems are included, unmount all file systems in the disk group.

  3. Deport the disk group.

  4. A disk group subordinate's physical disk is set to offline.

  1. The physical disk set to offline with preprocessing is set to online.

  2. Reconfigure the disk group

  3. If file systems are included, remount the volumes that were unmounted by preprocessing.

+Reconfiguring the disk group

Reconfigure the disk group as follows:

  1. Restoration pre-commit analysis

    # /etc/vx/bin/vxconfigrestore -p srcdg
    Diskgroup srcdg configuration restoration started ......
    
    Installing volume manager disk header for hdisk10 ...
    Installing volume manager disk header for hdisk11 ...
    -
    srcdg's diskgroup configuration is restored (in precommit state).
    Diskgroup can be accessed in read only and can be examined using
    vxprint in this state.
    
    Run:
      vxconfigrestore -c srcdg ==> to commit the restoration.
      vxconfigrestore -d srcdg ==> to abort the restoration.
    #
  2. Commit the change required for restoring the configuration of the copy destination disk group.

    # /etc/vx/bin/vxconfigrestore -c srcdg
    Committing configuration restoration for diskgroup srcdg ....
    
    srcdg's diskgroup configuration restoration is committed.
    #

If the disk group have been registered to a cluster transaction, set the disk group resource online/offline from the cluster transaction instead of import/deport the volumes.

If the mount point have been registered to a cluster transaction, set the mount point resource online/offline from the cluster transaction instead of mount/umount the volumes.

When performing a system disk exchange, there are cases when conflicting backup configuration information may exist.

In such cases, the disk group ID after executing the above command needs to be set instead of the disk group.

After this operation, in case the volumes within a disk group are needed to be run in synchronous mode in the background, then depending on the volume configuration it may take some time for synchronous processing.

It is also possible to use the volumes during this time.


Contents Index PreviousNext

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