Top
ETERNUS SF AdvancedCopy Manager V15.1 Operation Guide
ETERNUS

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

Backup operation in units of logical volumes is possible in collaboration with GDS Snapshot.
The physical structure of the logical volumes is not important.

Figure 3.11 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>

Note

Configuration and conditions of unsupported SDX objects

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

  • Volume of a shadow class

  • Stripe volume

  • Switch volume

  • Volume in a concatenation group
    Stripe groups and concatenation groups, however, can be used as subordinate groups of a mirror group.

Copying cannot be processed in the following circumstances:
If the total number of the slices that make up the transaction volume plus all 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.
If either the source volume (the transaction volume for backup processing or the backup volume for restore processing) are in an invalid state.

Point

To confirm the type of volume being used, (that is: single, mirror, stripe, concatenation, or switch), execute "sdxinfo -e long" at the command line and check the volume type attribute values returned.
The value in the TYPE column on the line indicated for the volume in the OBJ column will match one of the following:

Volume object type attributes
  • single : Single volume (supported)

  • mirror : Mirror volume (supported)

  • stripe : Stripe volume (not supported)

  • concat : Volume in a concatenation group (not supported)

  • switch : Switch volume (not supported)


3.8.2.1 Designing the backup operation

The following information about performing the backup operation should be noted.

For a backup performed in collaboration 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 either a master object or proxy object.

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

Configure the GDS volume structure accordingly before registering a volume with AdvancedCopy Manager.

When configuring SDX objects of GDS for use by AdvancedCopy Manager, pay careful attention to the relevant structure attributes of "3.8.2.2 Transaction volume" and "3.8.2.3 Backup volumes" 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)".


3.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 configuring the backup operation:

3.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 configuring the backup operation:

3.8.2.4 Copy functions available when used 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 3.4 Copy functions available in linkage with GDS Snapshot (backup)

Unit

Volume

SDX object structure(*1)

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

(*1) Stripe- and concatenation-type objects cannot be copied.

Table 3.5 Copy functions available in linkage with GDS Snapshot (restore)

Unit

Volume

SDX object structure(*1)

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

(*1) Stripe-, concatenation-, and switch-type objects cannot be copied.


3.8.2.5 Configuration options

Specify options when performing backup to a backup volume in a box that does not contain the transaction volume.
Backup with GDS Snapshot does not require a setting to indicate inter-box copying.


3.8.2.6 Fetching device information from the Managed Server

To perform the backup operation with a Managed Server and obtain information of a subordinate device related to the Managed Server, you must register the server.
For details on how to fetch the device information, refer to the section titled "3.4.4 Fetching device information on a Managed Server".


3.8.2.7 Configuring 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

Note

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

  • Object of a shadow class

  • Stripe-type object

  • Concatenation-type object

  • Switch-type object


3.8.2.8 Configuring a backup policy

Checking the number of backup generations

Before configuring 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 "3.4.7 Setting a backup policy".)

If the transaction volume is an SDX object, verify that there are enough backup volumes registered as proxy objects to match the required 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
#

Note

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

  • Where the backup volume is an object whose class is different from that of the transaction volume

  • Where the size of the backup volume is different from that of the transaction volume

Limit on the number of slices

Where an SDX object is to be backed up, the transaction volume is described as the master and its associated backup volume is described as the proxy. Therefore, the total number of the slices that make up the transaction volume plus the number of slices that make up the associated backup volume must not exceed 32. Consequently, the number of backup generations that can be used is limited according to the GDS structure. This will be important when configuring 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 have 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.


3.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 valid 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 methods vary depending on the hardware environment or configuration supporting the GDS logical volumes.

EC/OPC cannot be used in the following cases:

Table 3.6 Hardware and the available copy processing methods

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


3.8.2.10 Restore

Restoration to a transaction volume in units of logical volumes

This process can be carried out using either the Web Console or a command.

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 environment or configuration supporting the GDS logical volumes.

OPC cannot be used in the following case:

Table 3.7 Hardware and the available copy processing methods

Hardware

Available copy processing method

OPC can be used.

OPC, software-copy

OPC cannot be used.

Software-copy


3.8.2.11 Operational notes

Do not use the "sdxproxy" command directly to change the state of a volume registered for backup management.
Use of the "sdxproxy" command may create inconsistencies between the backup management information and the actual volume state. In such cases, perform recovery by executing swstsrsemtch (Resource match command).