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

Chapter 4 Backup Operations (Normal Transaction Volumes)

This chapter explains backup operations for normal transaction volumes of AdvancedCopy Manager.

4.1 Overview 

This chapter describes the backup and restore 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 a 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 maintain status has been achieved.

When backing up an Oracle database, it is combining with the sample script which AdvancedCopy Manager's offers, and on-line backup can be performed.

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

Synchronized high-speed backup performs processing as follows:

  1. Execute the backup synchronized processing start command ((1) in Figure 4.3). 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.3). 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.3 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.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.

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

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

Determine the server that will be used to perform backup.

The following servers can be used to perform backup:

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.5 Configuration of servers on which the backup operation should be performed]

4.2.2 Deciding a backup target

AdvancedCopy Manager backs up data in units of slices. A slice that stores work data is called a transaction volume. A transaction volume to be backed up must be placed on the disk array unit ETERNUS storage system.

For the supported units, refer to "Managing a Device on AdvancedCopy Manager".

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

Slices must be allocated for transaction volumes in the following manner:

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

For any slice that defines an entire volume, do not register it as a transaction volume.

No file system of SynfinityFILE consisting of multiple slices can be processed. When backing up or restoring a file system of SynfinityFILE consisting of multiple slices, handle the multiple slices at the same time while they are unmounted.

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. Thus, backup volumes for (number of backup generations + 1) are necessary.

+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 a backup policy".

4.2.4 Preparing a backup volume

Prepare the backup volume.

The backup unit of AdvancedCopy Manager is a slice. In AdvancedCopy Manager, the slice 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

Slices must be allocated for backup volumes in the following manner:

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 Operation Manager, 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 backup synchronous processing start command and the backup execution command must be started separately, as described below.

++Starting the backup synchronous processing start command

At first, theoretically calculate the time required for the synchronized backup processing. Execute the backup synchronous 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 the backup operation is started, the daemons of AdvancedCopy Manager must be started on the storage management server and the Storage servers. 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 a Daemons ".

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

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.

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 [Add Server]. The following window will be displayed.

For a storage server to be added, specify a server name, IP address, and port number required for communications. The port number is specified as the "communications service port number", when Agent of AdvancedCopy Manager was installed.

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 [OK] 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).

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, the [Operation] menu, select [Refresh Server]. The following window will be displayed.

Check the server from which device information should be acquired and then press the [Yes] 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).

After performing the above operations, press the OK button to reflect the configuration information.

In addition, this processing can be carried out also by the device information collection/reflection command (stgxfwcmsetdev).

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.

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.

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 [Operation] menu. The following setup window will be displayed.

If the target Storage server is Solaris or Linux and the Symfoware database exists in the Storage server, a recovery control file output place directory and a work directory are inputted. When a Symfoware database does not exist in a Storage server, or when a Storage server is HP-UX or AIX, this input item cannot serve as a half-tone display, and cannot be inputted.

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.

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

For any slice that defines an entire volume, do not register it as a transaction volume.

To change the configuration of a partition (slice) 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).

Backup volume needs to be the same size as operating volume.

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

The mounted device cannot be set to backup volume. (It is possible to set it to the transaction volume. )

You can check what has been registered as follows:

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

You can check what has been defined as follows:

4.4.11 Customizing preprocessing and postprocessing scripts 

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.
The backup or restore processing is not executed when the transaction volume can not be unmounted.

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

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

Refer to "Preprocessing and Postprocessing of Backup and Restoration," for details on the customization.

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.

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.

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. Restoration is carried out from the backup volume managed for the newest generation's backup history.

  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.

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

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.

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. Please be sure to do this work before removing the operating volume for deletion.

  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. Please be sure to do this work before removing the operating volume for deletion.

  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 delete 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 5. For more information, see "Setting backup policy".

4.6.4 Deleting a storage server

To delete a storage server follow the steps as shown below. Please be sure to do this work before removing the operating volume 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 [Delete Server] from the Operation menu. The following window will be displayed.

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

    You can delete a server information also using the server information deletion command (stgxfwcmdelsrv).

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.

You can stop an individual daemon if you need to do so for some reason. For more information, see "Starting and Stopping Daemons".

4.8 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 on GDS, refer to the "PRIMECLUSTER(TM) Global Disk Services User's Guide (Solaris(TM) Operating Environment)."

4.8.1 Units of SDX object operations

There are two types of the operations (with different copy units for each type):

  1. Backup operation in units of logical volumes (method with GDS Snapshot)

  2. Backup operation in units of slices (method without GDS Snapshot)

For details on how to confirm and select the type of operation, refer to "Setting the unit of SDX object operations."

The two types of operation cannot be performed on a single Storage server.

4.8.1.1 Setting the unit of SDX object operations

The unit of SDX object operations is normally set as follows:

When PRIMECLUSTER GDS Snapshot has been included PRIMECLUSTER GDS 4.1A30 or later - Units of logical volumes
Others - Units of slices

For operation in units of slices in an environment with PRIMECLUSTER GDS 4.1A30 or later installed, use the command described in "SDX object management unit setting command (stgxfwcmsetsdx)," and then set operation in units of slices by taking action as described in "Fetching device information from a Storage server."

If PRIMECLUSTER GDS has already been upgraded from version 4.1A20 or earlier to 4.1A30 or later, follow the procedure below to change the setting to operation in units of logical volumes.
  1. Refer to "Deleting the Storage server," and delete the Storage server.

  2. Use the command described in "SDX object management unit setting command (stgxfwcmsetsdx)," to specify management in units of logical volumes.

  3. Take action as described in "Registering the Storage server," and perform the subsequent operations.

For operation in units of slices as before, the above procedure need not be followed.

If AdvancedCopy Manager has been upgraded from version 10.3 or earlier in an environment that includes PRIMECLUSTER GDS 4.1A30 or later, the operation described in "Fetching device information from a Storage server" results in a change to the unit of SDX object operations and detection of a change to a managed device.
To keep operation in units of slices, abort the fetching operation without accepting the detected change, use the command described in "SDX object management unit setting command (stgxfwcmsetsdx)," " to set operation in units of slices, and then specify necessary values again.

4.8.2 Backup operation in units of logical volumes (method with GDS Snapshot)

Operation in units of logical volumes is possible with operation in linkage with GDS Snapshot.

The physical structure of the logical volumes need not be considered.

[Figure: Backup operation in units of logical volumes]

To specify a GDS logical volume in the AdvancedCopy Manager command, specify the GDS logical volume name.

dev/sfdsk/class-name/dsk/volume-name

Configuration and conditions of unsupported SDX objects

AdvancedCopy Manager does not support the following SDX objects (volumes):

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]

4.8.2.1 Designing the backup operation 

Note the following about performing the backup operation.

For backup with the function in linkage with GDS Snapshot, AdvancedCopy Manager processes binding, separation, and release of volumes by using the GDS Snapshot function.

Therefore, an SDX object used by AdvancedCopy Manager must be set to a state in which the object can operate as a master object or proxy object.

A transaction volume operates as a master object, and a backup volume as a proxy object.

Specify the GDS volume structure before registering a volume with AdvancedCopy Manager.

When setting SDX objects of GDS for use by AdvancedCopy Manager, pay careful attention to the structure conditions of "Transaction volume" and "Backup volume" described in the next sections.

For details on GDS Snapshot and premises of the proxy structure, refer to the "PRIMECLUSTER(TM) Global Disk Services User's Guide (Solaris(TM) Operating Environment)."

4.8.2.2 Transaction volume 

To use an SDX object (logical volume) for transactions, register it as a transaction volume.

The transaction volume operates as a master object of GDS Snapshot.

Therefore, note the following about designing the backup operation:

4.8.2.3 Backup volumes 

Register an SDX object (logical volume) as a backup volume.

The backup volume operates as a proxy object of GDS Snapshot.

Therefore, note the following about designing the backup operation:

4.8.2.4 Copy functions available in linkage with GDS Snapshot 

The following copy functions can be used in linkage with GDS Snapshot:

The following table shows the relationship between SDX object structures and their available copy functions.

[Table 4.1 Copy functions available in linkage with GDS Snapshot (backup)]

Unit

Volume

SDX object structure

Stripe- and concatenation-type objects cannot be copied.

Available copy function

Logical volume

Transaction

Single

Advanced copy

Software-copy

Mirror

No subordinate group exists.

Advanced copy

Software-copy

A subordinate group exists.

Software-copy

Backup

Single

Advanced copy

Software-copy

Mirror

This consists of one disk.

Advanced copy

Software-copy

This consists of multiple disks.

Software-copy

[Table 4.2 Copy functions available in linkage with GDS Snapshot (restore)]

Unit

Volume

SDX object structure

Stripe-, concatenation-, and switch-type objects cannot be copied.

Available copy function

Logical volume

Backup

Single

Advanced copy

Software-copy

Mirror

No subordinate group exists.

Advanced copy

Software-copy

A subordinate group exists.

Software-copy

Transaction

Single

Advanced copy

Software-copy

Mirror

This consists of one disk.

Advanced copy

Software-copy

This consists of multiple disks.

Advanced copy

Software-copy

4.8.2.5 Setting options 

Specify options when performing backup to a backup volume in a cabinet that does not contain the transaction volume.

Backup in linkage with GDS Snapshot does not require a setting to indicate inter-cabinet copying.

4.8.2.6 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, refer to the section titled "Fetching device information from a Storage server. "

4.8.2.7 Setting the operation type for a device 

Register a GDS logical volume as a transaction volume or backup volume.

# /opt/FJSVswsts/bin/swstdevinfoset -t /dev/sfdsk/CLS1/dsk/vol1
swstdevinfoset completed
# /opt/FJSVswsts/bin/swstdevinfoset -b /dev/sfdsk/CLS1/dsk/bvol1
swstdevinfoset completed

The following SDX objects cannot be registered as transaction volumes or backup volumes:

4.8.2.8 Setting a backup policy 

+Checking the number of backup generations

Before setting a backup policy, the required number of backup volumes for operation must be prepared according to the backup policy. (For details, refer to the section titled "Setting a backup policy.")
If the transaction volume is an SDX object, verify that there are as many backup volumes that can be proxy objects as the number of backup generations.
If the transaction volume is a GDS logical volume, each backup volume must be also a GDS logical volume.
#/opt/FJSVswsts/bin/swstbkpolset -s 3 /dev/sfdsk/CLS01/dsk/VOL01
/dev/sfdsk/CLS01/dsk/VOL01 swstbkpolset completed
#

In the following cases, SDX objects are not counted as available backup volumes:

+Limit on the number of slices

For backup of an SDX object, the transaction volume and a backup volume are associated as a master and proxy. Therefore, the total number of the slices that make up the transaction volume and slices that make up the backup volume used for backup of the transaction volume must be 32 or less.
Consequently, the number of backup generations that can be used is limited according to the GDS structure. Pay careful attention to this fact when designing a backup policy.
For example, if both the transaction volume and backup volume are single volumes, you can set the number of backup generations to 31, which is the maximum value. However, if both the transaction volume and backup volume are in a two-slice structure, the number of backup generations is limited to 15. If 16 or a higher value is set, the 16th generation and subsequent generations are not backed up.

4.8.2.9 Backup 

+Backup in units of logical volumes

If the transaction volume is an SDX object, select a backup volume that can be a proxy object for backup.
AdvancedCopy Manager automatically selects it from the registered backup volumes.
# /opt/FJSVswsts/bin/swstbackup /dev/sfdsk/CLS1/dsk/vol1
/dev/sfdsk/CLS1/dsk/vol1 swstbackup completed

+Available copy processing methods

The available copy processing methods vary depending on the hardware where the GDS logical volumes are located.
EC/OPC cannot be used in the following cases:

Hardware

Available copy processing method

EC/OPC can be used.

Synchronous high-speed backup: EC, software-copy

Snapshot-type high-speed backup: OPC

Only OPC can be used.

Synchronous high-speed backup: Software-copy

Snapshot-type high-speed backup: OPC

EC/OPC cannot be used.

Synchronous high-speed backup: Software-copy

Snapshot-type high-speed backup: Unavailable


4.8.2.10 Restore 

+Restoration to a transaction volume in units of logical volumes

For restoration to a transaction volume in units of GDS logical volumes, copy the proxy to the master.
# /opt/FJSVswsts/bin/swstrestore /dev/sfdsk/CLS1/dsk/vol1
/dev/sfdsk/CLS1/dsk/vol1 swstrestore completed

+Restoration with the restore destination specified

If the transaction volume is a GDS logical volume, restoration cannot be performed with the restore destination specified.

+Available copy processing methods

The available copy processing methods vary depending on the hardware where the GDS logical volumes are located.
OPC cannot be used in the following case:

Hardware

Available copy processing method

OPC can be used.

OPC, software-copy

OPC cannot be used.

Software-copy


4.8.2.11 Operation notes  

Do not use the sdxproxy command directly to change the state of a volume registered for backup management.

Otherwise, the sdxproxy command may create an inconsistency between the backup management information and the actual volume state. In such cases, perform recovery by executing the resource match command (swstsrsemtch).

4.8.3 Backup operation in units of slices (method without GDS Snapshot) 

This backup operation uses only the AdvancedCopy Manager function without linkage to GDS Snapshot. For its proper design and operation, you need to know the type of physical volumes that make up the logical volume.

[Figure: Backup operation in units of slices]

When specifying a name in the AdvancedCopy Manager command, use the following name format that combines a logical volume name and AdvancedCopy Manager device name.

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

For notes on SDX object operations, refer to "Notes on SDX object operations (backup management)," and "Notes on SDX object operations (replication management)."

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.

4.8.3.1 Designing the backup operation 

For notes on designing the backup operation, refer to the section titled "Notes on SDX object operations (backup management)."

4.8.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, refer to the section titled "Fetching device information on a storage server."

4.8.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.
#/opt/FJSVswsts/bin/swstdevinfoset -t /dev/sfdsk/CLS01/dsk/VOL01:c1t0d1
swstdevinfoset completed
#

+Backup volume

Slices of an SDX object cannot be registered as a backup volume.
Use general slices for a backup volume.
#/opt/FJSVswsts/bin/swstdevinfoset -b /dev/dsk/c1t0d2s6
swstdevinfoset completed
#

4.8.3.4 Backup 

++Backup example

#/opt/FJSVswsts/bin/swstbackup /dev/sfdsk/CLS01/dsk/VOL01:c1t0d1
/dev/sfdsk/CLS01/dsk/VOL01:c1t0d1 swstbackup completed
#

+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.
(AdvancedCopy Manager checks the state of the SDX object by using the sdxinfo command of SafeDISK/PRIMECLUSTER GDS.)
  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:

4.8.3.5 Restore 

For operation in units of slices, restoration can be performed only if the transaction volume is a single volume.

An SDX object that is not a single volume cannot be restored.

For details on restoration of an SDX object that is not a single volume, refer to "Notes on SDX object operations (backup management)."

++Restoration example

#/opt/FJSVswsts/bin/swstrestore  /dev/sfdsk/CLS01/dsk/VOL01:c1t0d1
/dev/sfdsk/CLS01/dsk/VOL01:c1t0d1 swstrestore completed
#

4.9 VxVM Volume Operation

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

4.9.1 Backup operation in units of logical volumes 

When the VxVM volume configuration satisfy the conditions for operation in units of logical volumes, backup operation can be performed by operation in units of logical volumes.

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

4.9.1.1 Designing the operation 

4.9.1.1.1 Supported VxVM volume structures 

For the supported VxVM volume structures, refer to "Managing a device on AdvacnedCopy Manager."

4.9.1.1.2 Preparing a backup volume 

The following two types of volumes can be used as backup volumes of VxVM logical volumes:

For this backup volume, however, use a VxVM logical volume in the same structure as that of the transaction volume, in anticipation of mounting of the backup volume or its use by other applications.

The same volume structure means the following conditions are satisfied:

If the backup volume is the same size as the public region, a backup volume of a VxVM volume can be made into a normal device (slice). However, it is generally not possible to mount the backup volume and have other applications use it.
Similarly, a backup volume of a normal device (slice) can be made into a VxVM volume. However, it is generally not possible to mount the backup volume and have other applications use it.

4.9.1.2 Preparations 

4.9.1.2.1 Setting the operation type of a device 

If the target VxVM logical volume satisfies the condition of logical volumes:VM disk = N:1 (N>1), use one of the logical volume names included with each VM disk to register a transaction volume or backup volume.

As an example, assume the transaction volume and backup volume in the following volume structure.

In the above example, use the logical volume names tranvol01 and backvol01 when setting the device information.

# /opt/FJSVswsts/bin/swstdevinfoset -t /dev/vx/dsk/AGT01/tranvol01
swstdevinfoset completed
# /opt/FJSVswsts/bin/swstdevinfoset -b /dev/vx/dsk/AGT01/backvol01
swstdevinfoset completed

The logical volume specified in the device information setting command is used to specify the VM disk (slice) for backup processing. This means that tranvol02 or tranvol03 instead of tranvol01 can be set in the above example (and this is also true for backvol01). However, if tranvol01 and backvol01 are already registered, the other volumes (tranvol02, tranvol03, backvol02, and backvo03) cannot be registered.

4.9.1.2.2 Customizing preprocessing and postprocessing scripts

If the target VxVM logical volume satisfies the condition of logical volumes:VM disk = N:1 (N>1) and unmount/mount processing of the transaction volume with a constructed file system is to be avoided for operational reasons, customize the backup preprocessing script (OpcBackup.pre) so that the transaction volume cannot be unmounted.

In such cases, add processing before unmount processing of the backup preprocessing script (OpcBackup.pre) to clear the mount point of the VxVM logical volume, as shown below.

[Customization example]

79:   exit 0
80:  fi
81:  post_file="/etc/opt/FJSVswsts"$swstg_node"/data/DEFAULT/"$dev".pre"
82:  fstype_file="/etc/opt/FJSVswsts"$swstg_node"/data/DEFAULT/"$dev".fstype"
83:  bd_file="/etc/opt/FJSVswsts"$swstg_node"/data/DEFAULT/"$dev".bd"
84:  
      if [ "$device" = "/dev/vx/dsk/AGT01/tranvol01" ]
      then
          mount_point=""
      fi
85:  if [ "$mount_point" != "" ]
86:  then
87:  
88:  # When device cannot be unmounted
89:  #
90:  # if [ "$device" = "/dev/dsk/c*t*d*s*" ]

4.9.1.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/dsk/AGT01/tranvol01    /dev/vx/dsk/AGT01/backvol01

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

4.9.1.3 Operations 

4.9.1.3.1 Executing backup 

If the target VxVM logical volume satisfies the condition of logical volumes:VM disk = N:1 (N>1), the transaction volume cannot be unmounted/mounted using the preprocessing or postprocessing script.

For this type of structure, unmount the file system before executing backup, and mount the file system after backup.

If the target VxVM logical volume satisfies the condition of logical volumes:VM disk = 1:1, the transaction volume is unmounted and mounted in the same way as in operation with normal slices, and the following procedure is not required.

[Backup procedure]

# umount /global/AGT01/tranvol01 <-- unmount tranvol01
# umount /global/AGT01/tranvol02 <-- unmount tranvol02
# umount /global/AGT01/tranvol03 <-- unmount tranvol03
# /opt/FJSVswsts/bin/swstbackup /dev/vx/dsk/AGT01/tranvol01
/dev/vx/dsk/AGT01/tranvol01 swstbackup completed
# mount -F ufs /dev/vx/dsk/AGT01/tranvol01 /global/AGT01/tranvol01 <-- mount tranvol01
# mount -F ufs /dev/vx/dsk/AGT01/tranvol02 /global/AGT01/tranvol02 <-- mount tranvol02
# mount -F ufs /dev/vx/dsk/AGT01/tranvol03 /global/AGT01/tranvol03 <-- mount tranvol03

To prevent unmount/mount processing of the transaction volume for operational reasons, take action as described in "Customizing preprocessing and postprocessing scripts," and execute backup by using the procedure described below.

[Backup procedure (while preventing unmount/mount processing of the transaction volume)]

# lockfs -w /global/AGT01/tranvol01 <-- lock file system tranvol01
# lockfs -w /global/AGT01/tranvol02 <-- lock file system tranvol02
# lockfs -w /global/AGT01/tranvol03 <-- lock file system tranvol03
# /opt/FJSVswsts/bin/swstbackup /dev/vx/dsk/AGT01/tranvol01
/dev/vx/dsk/AGT01/tranvol01 swstbackup completed
# lockfs -u /global/AGT01/tranvol01 <-- unlock file system tranvol01
# lockfs -u /global/AGT01/tranvol02 <-- unlock file system tranvol02 
# lockfs -u /global/AGT01/tranvol03 <-- unlock file system tranvol03 
# fsck -n -F ufs /dev/vx/dsk/AGT01/backvol01 <-- check file system backvol01
# fsck -n -F ufs /dev/vx/dsk/AGT01/backvol02 <-- check file system backvol02 
# fsck -n -F ufs /dev/vx/dsk/AGT01/backvol03 <-- check file system backvol03 

Even if lockfs -w is used to flush the file system cache and restrict subsequent update, file contents are not guaranteed for the file in Write Open (excluding the database space of Oracle used to support on-line backup).
If there is a process under renewal of metadata, consistency of data of the file system itself is also not guaranteed because lockfs is specified.
To handle this problem, perform fsck processing after backup to check the consistency of the backup data.
Even if the following message is output in fsck processing, there is no problem with the consistency of the file system. Execute fsck -y for restoration.
FILE SYSTEM STATE IN SUPERBLOCK IS WRONG; FIX?

4.9.1.3.2 Executing restoration 

If the target VxVM logical volume satisfies the condition of logical volumes:VM disk = N:1 (N>1), the transaction volume cannot be unmounted/mounted using the preprocessing or postprocessing script.

For this type of structure, unmount the file system before executing restoration, and mount the file system after restoration.

If the target VxVM logical volume satisfies the condition of logical volumes:VM disk = 1:1, the transaction volume is unmounted and mounted in the same way as in operation with normal slices, and the following procedure is not required.

[Restoration procedure]

# umount /global/AGT01/tranvol01 <-- ummount tranvol01
# umount /global/AGT01/tranvol02 <-- ummount tranvol02
# umount /global/AGT01/tranvol03 <-- ummount tranvol03
# /opt/FJSVswsts/bin/swstrestore /dev/vx/dsk/AGT01/tranvol01
/dev/vx/dsk/AGT01/tranvol01 swstrestore completed
# mount -F ufs /dev/vx/dsk/AGT01/tranvol01 /global/AGT01/tranvol01 <-- mount tranvol01
# mount -F ufs /dev/vx/dsk/AGT01/tranvol01 /global/AGT01/tranvol02 <-- mount tranvol02
# mount -F ufs /dev/vx/dsk/AGT01/tranvol01 /global/AGT01/tranvol03 <-- mount tranvol03

4.9.1.4 Changing the setting information 

To change the volume structure during the backup operation, follow the procedure given below.

  1. Specify the -z option described in "History information deletion command (swsthistdel)," to delete all history information.

  2. Use the backup policy deletion command (swstbkpoldel) to delete the backup policies.

  3. Delete the registration of the transaction volume by specifying the -o option in the device information setting command (swstdevinfoset). If the backup volume is a VxVM volume, also delete the registration of the backup volume by specifying the -o option in the device information setting command (swstdevinfoset).

  4. Change the transaction volume. If the backup volume is a VxVM volume, also change the volume structure of the backup volume so that the backup volume and transaction volume can be in the same structure.

  5. On the initial screen, execute [Get and reflect information on all devices].

  6. Register the transaction volume and backup volume again by using the device information setting command (swstdevinfoset).

  7. Use the backup policy setting command (swstbkpolset) to set a backup policy.

  8. Resume the backup operation.

4.9.2 Backup operation in units of physical disks 

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

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

It is only VM disk of the nopriv type that a physical slice becomes the unit of management.

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

4.9.2.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.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/c1t0d10s2
swstdevinfoset completed
# /opt/FJSVswsts/bin/swstdevinfoset -t /dev/vx/dmp/c1t0d11s2
swstdevinfoset completed
# /opt/FJSVswsts/bin/swstdevinfoset -b /dev/vx/dmp/c1t0d20s2
swstdevinfoset completed
# /opt/FJSVswsts/bin/swstdevinfoset -b /dev/vx/dmp/c1t0d21s2
swstdevinfoset completed
#

4.9.2.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/c1t0d10s2          /dev/vx/dmp/c1t0d20s2
/dev/vx/dmp/c1t0d11s2          /dev/vx/dmp/c1t0d21s2

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

4.9.2.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/c1t0d10s2
/dev/vx/dmp/c1t0d10s2 swstbackup completed
# /opt/FJSVswsts/bin/swstbackup /dev/vx/dmp/c1t0d11s2
/dev/vx/dmp/c1t0d11s2 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/c1t0d10s2
/dev/vx/dmp/c1t0d10s2 swststartsync completed
# /opt/FJSVswsts/bin/swststartsync /dev/vx/dmp/c1t0d11s2
/dev/vx/dmp/c1t0d11s2 swstsstartsync completed
(State of equivalency upkeep)
(Perform preprocessing for the transaction volumes.)
# /opt/FJSVswsts/bin/swstbackup /dev/vx/dmp/c1t0d10s2
/dev/vx/dmp/c1t0d10s2 swstbackup completed
# /opt/FJSVswsts/bin/swstbackup /dev/vx/dmp/c1t0d11s2
/dev/vx/dmp/c1t0d11s2 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 the 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. f 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 c1t0d20s2 ...
    Installing volume manager disk header for c1t0d21s2 ...
    -
    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.2.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/c1t0d10s2
/dev/vx/dmp/c1t0d10s2 swstrestore completed
# /opt/FJSVswsts/bin/swstrestore /dev/vx/dmp/c1t0d11s2
/dev/vx/dmp/c1t0d11s2 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 the 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 c1t0d10s2 ...
    Installing volume manager disk header for c1t0d11s2 ...
    -
    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.
    #

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.


Contents Index PreviousNext

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