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

Chapter 11 Notes on Operations

This chapter provides notes on the operations of AdvancedCopy Manager.

11.1 Notes on Backup Operation 

This chapter provides notes on the backup operation.

11.1.1 General notes

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

+Exclusion from Backup or Replication Targets

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

+Data integrity with data in a volume

Data in transaction volume

Maintenance of data integrity

Operation

Oracle database space being used

Linkage with Oracle is required.

Use a sample script designed for linkage with Oracle.

For details on sample scripts, refer to Appendix B, "Sample Scripts", in this manual.

File system

A AdvancedCopy Manager command unmounts the file system to maintain the integrity.

See Appendix A, "Preprocessing and Postprocessing of Backup and Restoration", and Appendix B, "Preprocessing and Postprocessing of Replication".

Other than the above

The data integrity must be maintained in operations.

Take appropriate action, such as stopping transactions during execution of backup or replication.


+Fetching of Device Information

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

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

+Size of a Logical Disk

A transaction volume and a backup volume must have the same size. However, not all of a size specified on the fdisk command will be usable for the following disks because the OS control space is automatically allocated.

Thus, decide a transaction/backup volume as follows:

In sum, combine only a transaction volume and a backup volume in the same color as shown in the above figure.

Moreover, please make the capacity of the volume a combination of the same colors as the above figure when you make original volume/ replica volume the same size when you operate the replication.

To prevent an operation error, you are recommended to define as extended logical disks all the logical disks on a GR unit to be managed by AdvancedCopy Manager.
If you cannot define all the logical disks as extended logical disks, you are recommended to use the same configuration for a partition including a device defined as a transaction volume and a partition including a device defined as a backup volume. This means the relationship between Disks 2 and 4 in the above figure.

To back up a GDS volume, set up the backup volume device with the disk labeled in SUN's format and the following disk geometry: heads: 64 and sectors: 256. Then, set up a partition of the same size as the GDS volume.
Note that the appropriate number of cylinders according to the disk size must be specified. Before changing the setting, execute the p command to check the status, and calculate the number of cylinders for the setting. The number of cylinders can be calculated with the following formula (round up the final figure).
Specify 2 as the number of alternative cylinders.
For the other values, specify appropriate values according to the environment.
Example:
# /sbin/fdisk /dev/sdj
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklab
el
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
Command (m for help): p
Disk /dev/sdj: 133 heads, 62 sectors, 1017 cylinders
Units = cylinders of 8246 * 512 bytes
     Device Boot    Start       End    Blocks   Id  System
Command (m for help): s
Building a new sun disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
Drive type
   ?   auto configure
   0   custom (with hardware detected defaults)
   a   Quantum ProDrive 80S
   b   Quantum ProDrive 105S
   c   CDC Wren IV 94171-344
   d   IBM DPES-31080
   e   IBM DORS-32160
   f   IBM DNES-318350
   g   SEAGATE ST34371
   h   SUN0104
   i   SUN0207
   j   SUN0327
   k   SUN0340
   l   SUN0424
   m   SUN0535
   n   SUN0669
   o   SUN1.0G
   p   SUN1.05
   q   SUN1.3G
   r   SUN2.1G
   s   IOMEGA Jaz
Select type (? for auto, 0 for custom): 0
Heads (1-1024, default 133): 64
Sectors/track (1-1024, default 62): 256
Cylinders (1-65535, default 1015): 510
Alternate cylinders (0-65535, default 2): 
Using default value 2
Physical cylinders (0-65535, default 512): 
Using default value 512
Rotation speed (rpm) (1-100000, default 5400): 
Using default value 5400
Interleave factor (1-32, default 1): 
Using default value 1
Extra sectors per cylinder (0-256, default 0): 
Using default value 0
Command (m for help): p
Disk /dev/sdj (Sun disk label): 64 heads, 256 sectors, 510 cylinders
Units = cylinders of 16384 * 512 bytes
   Device Flag    Start       End    Blocks   Id  System
/dev/sdj1             0       504   4128768   83  Linux native
/dev/sdj2  u        504       510     49152   82  Linux swap
/dev/sdj3             0       510   4177920    5  Whole disk
Command (m for help): d
Partition number (1-8): 1
Command (m for help): d
Partition number (1-8): 2
Command (m for help): n
Partition number (1-8): 1
First cylinder (0-510): 1
Last cylinder or +size or +sizeM or +sizeK (1-510, default 510): 101
Command (m for help): n
Partition number (1-8): 2
First cylinder (0-510): 101
Last cylinder or +size or +sizeM or +sizeK (101-510, default 510): 201
Command (m for help): n
Partition number (1-8): 4
First cylinder (0-510): 201
Last cylinder or +size or +sizeM or +sizeK (201-510, default 510): 301
Command (m for help): n
Partition number (1-8): 5
First cylinder (0-510): 301
Last cylinder or +size or +sizeM or +sizeK (301-510, default 510): 401
Command (m for help): n
Partition number (1-8): 6
First cylinder (0-510): 401
Last cylinder or +size or +sizeM or +sizeK (401-510, default 510): 
Using default value 510
Command (m for help): p
Disk /dev/sdj (Sun disk label): 64 heads, 256 sectors, 510 cylinders
Units = cylinders of 16384 * 512 bytes
   Device Flag    Start       End    Blocks   Id  System
/dev/sdj1             1       101    819200   83  Linux native
/dev/sdj2  u        101       201    819200   83  Linux native
/dev/sdj3             0       510   4177920    5  Whole disk
/dev/sdj4           201       301    819200   83  Linux native
/dev/sdj5           301       401    819200   83  Linux native
/dev/sdj6           401       510    892928   83  Linux native
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
#

+Mirroring in GDS

For cabinet-to-cabinet mirroring, both systems of the mirroring must be backed up if restoration is required by OPC in the event of a cabinet failure. In such cases, the size of the backup volume must be a physical volume size, not logical volume size.

+Mounting of disks from other servers

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

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

+Notes on copy operations targeted at file systems

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

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

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

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

11.1.2 Notes on the snapshot high-speed backup 

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

+Number of Required Backup Volumes

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

+Continuous Backup

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

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

11.1.3 Notes on synchronous high-speed backup 

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

+Backup processing

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

+Backup policy settings

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

11.1.4 Notes on restoration 

This chapter provides notes on restoration.

+Timing of Restoration

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

[Figure 11.1 Notes on restoration of AdvancedCopy Manager]

11.1.5 Notes on SDX object operations (backup management)

Note the following about the backup operation of SDX objects.

+Device information setting command (swstdevinfoset)

Note the following about operation with an SDX object in units of logical volumes:

+Backup synchronous processing start command (swststartsync)

Note the following about operation with an SDX object in units of logical volumes.

In the following cases, backup synchronous processing of a GDS transaction volume cannot be started. In these cases, take appropriate action according to [System administrator's action] in the output message.

In the following cases, backup synchronous processing with EC cannot be started. In these cases, only software-copy with GDS is available. To use the software-copy function of GDS, specify the -Xgds-softcopy option.

If a backup volume satisfies any of the following conditions, it is not selected as the backup destination because it cannot be used as a proxy object of the transaction volume. Even if it is specified as the backup destination, it cannot be used.

+Backup synchronous processing cancel command (swstcancelsync)

Note the following about operation with an SDX object in units of logical volumes.

If synchronous processing is cancelled at the following time during the backup operation of an SDX object, the backup volume enters the invalid data state (INVALID):

Perform synchronous processing or snapshot processing again, and the volume enters the stop state (STOP), which automatically clears the data invalid state.

To restore the state by using another method, refer to Section F.1.3, "Errors Related to Volume States," in the "PRIMECLUSTER(TM) Global Disk Services User's Guide (Solaris(TM) Operating Environment)," and take appropriate action.

+Backup execution command (swstbackup)

Note the following about operation with an SDX object in units of logical volumes.

In the following cases, backup of a GDS transaction volume cannot be performed. In these cases, take appropriate action according to [System administrator's action] in the output message.

If a backup volume satisfies any of the following conditions, it is not selected as the backup destination because it cannot be used as a proxy object of the transaction volume. Even if it is specified as the backup destination, it cannot be used.

In the following cases, backup with the output destination backup volume specified cannot be performed:

Note the following about operation with an SDX object in units of slices.

In the following cases, backup cannot be performed. In these cases, take appropriate action according to [System administrator's action] in the output message.

An SDX object does not satisfy the following conditions:

In the following case, the preprocessing and postprocessing scripts are not executed:

+Restore execution command (swstrestore)

Note the following about operation with an SDX object in units of logical volumes.

In the following cases, a GDS transaction volume cannot be restored. In these cases, take appropriate action according to [System administrator's action] in the output message.

In the following cases, restoration with OPC cannot be performed for a GDS transaction volume. In these cases, only software-copy is available. To use the software-copy function of GDS, specify the -Xgds-softcopy option.

If the restore execution command (swstrestore) using the software-copy function of GDS is suspended, such as for a forced termination, the started software-copy processing continues. In such cases, wait for the software-copy processing to finish, and then execute the resource match command (swstsrsemtch).

Note the following about operation with an SDX object in units of slices.

If the transaction volume is a slice of an SDX object and it is not a single volume, restoration using this command cannot be performed. This is because advanced copy cannot be performed on a mirror volume.

For restoration to the transaction volume of an SDX object, follow the procedure below.

  1. Confirm the backup volume by using the backup history list view/history information display command.

  2. For restoration, use the dd command to copy data to the volume.

11.1.6 Notes on SDX object operations (replication management)

Note the following about the replication operation of SDX objects.

+Replication volume information setting (swsrpsetvol)

Note the following about operation with an SDX object in units of logical volumes.

If any of the following is true, replication volume information for the replication operation of an SDX object cannot be set:

+Replication volume information deletion (swsrpdelvol)

Note the following about operation with an SDX object in units of logical volumes.

If the original volume and replica volume are bound, or if they are separated when a copy session exists, the replication volume information cannot be deleted.

+Replication start command (swsrpstartsync)

Note the following about operation with an SDX object in units of logical volumes.

If any of the following is true, the replication start command in the replication operation of an SDX object cannot be executed:

In the replication operation of an SDX object registered with the replication function, do not use the sdxproxy command directly to change the state of the SDX object. Otherwise, the sdxproxy command may create an inconsistency between the management information of the replication function and the actual object state. In such cases, use the replication cancellation command (swsrpcancel) described in Section 10.3.2.4 to cancel the replication operation.

Note the following about operation with an SDX object in units of slices.

Note the following for the replication operation of an SDX object:

+Replication creation command (swsrpmake)

Note the following about operation with an SDX object in units of logical volumes.

If any of the following is true, replication in the replication operation of an SDX object cannot be created:

In the replication operation of an SDX object registered with the replication function, do not use the sdxproxy command directly to change the state of the SDX object. Otherwise, the sdxproxy command may create an inconsistency between the management information of the replication function and the actual object state. In such cases, use the replication cancellation command (swsrpcancel) described in Section 10.3.2.4 to cancel the replication operation.

Note the following about operation with an SDX object in units of slices.

In the following cases, replication cannot be created:

In the following cases, preprocessing of the copy source volume is not performed:

+Replication cancellation command (swsrpcancel)

Note the following about operation with an SDX object in units of logical volumes.

If any of the following is true, replication in the replication operation of an SDX object cannot be cancelled:

If replication cancellation is executed at either of the following times during the replication operation of an SDX object, the copy destination volume enters the invalid data state (INVALID):

Perform synchronous processing or snapshot processing again, and the volume enters the stop state (STOP), which automatically clears the data invalid state.

To restore the state by using another method, refer to Section F.1.3, "Errors Related to Volume Statuses," in the "PRIMECLUSTER(TM) Global Disk Services User's Guide (Solaris(TM) Operating Environment)," and take appropriate action.

Note the following about operation with an SDX object in units of slices.

In the following cases, synchronous processing in the equivalency maintain state cannot be stopped:

11.1.7 Notes on cluster operation 

Note the following general points on cluster operation:

For a storage server transaction (storage management server transaction) operating together with a transaction in scalable operation, note the following points that do not apply to regular operation or cluster operation:

11.1.8 Notes on backup operation in cluster operation 

+SynfinityCLUSTER or PRIMECLUSTER

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

+PRIMECLUSTER

++PRIMECLUSTER 4.0A20 or earlier

Note the following points if a file system has been created on a transaction volume and the file system has been registered as a cluster resource:

++PRIMECLUSTER 4.0A30 or later

If a file system has been created on a transaction volume, and the file system has been registered as a cluster resource, use the following procedure to back up and restore data.

Perform snapshot backups and restorations using the following procedure:

  1. Switch the userApplication to Maintenance mode.

    # hvutil -m on userApplication
    #

  2. Execute the backup or restoration.

    # /opt/FJSVswsts/bin/swstbackup Device-Name
    Device-Name swstbackup completed
    #
  3. Turn Maintenance mode off for the userApplication.

    # hvutil -m off userApplication
    #

Execute synchronized backups using the following procedure.

  1. Start synchronous processing.

    # /opt/FJSVswsts/bin/swststartsync Device-Name
    Device-Name swststartsync completed
    #
  2. Check equivalency maintenance state.

  3. Switch the userApplication to Maintenance mode.

    # hvutil -m on userApplication
    #
  4. Execute the backup.

    # /opt/FJSVswsts/bin/swstbackup Device-Name
    Device-Name swstbackup completed
    #
  5. Turn Maintenance mode off for the userApplication.

    # hvutil -m off userApplication
    #

11.1.8.1 Making a backup and restoration during stoppage of a userApplication

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

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

  1. Confirm that the userApplication has been stopped on both nodes.
    For details on how to stop a userApplication, see the PRIMECLUSTER manual.

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

  3. Enable the shared disk.
    Start (set online) the shared disk.
    Mount the shared disk for AdvancedCopy Manager shared data.
    When the transaction volume is a file system, mount it.

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

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

  6. Start (set online) the userApplication.
    Start the userApplication, if necessary.
    For details on how to start a userApplication, see the PRIMECLUSTER manual.

11.1.9 Notes on replication operation in cluster operation 

+SynfinityCLUSTER or PRIMECLUSTER

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

+PRIMECLUSTER

++PRIMECLUSTER 4.0A20 or earlier

Note the following points if a file system has been created on a copy source volume and the file system has been registered as a cluster system resource.

++PRIMECLUSTER 4.0A30 or later

Note the following points if a file system has been created on a copy source volume and the file system has been registered as a cluster system resource.

Execute snapshot replications using the following procedure.

  1. Switch the userApplication to Maintenance mode.

    # hvutil -m on userApplication
    #
  2. Execute the replication.

    # /opt/FJSVswsrp/bin/swsrpmake From-Volume-Name To-Volume-Name
    FROM=From-Volume-Name TO=To-Volume-Name swsrpmake completed
    #
  3. Turn Maintenance mode off for the userApplication.

    # hvutil -m off userApplication
    #

Execute synchronized replication using the following procedure.

  1. Start synchronous processing.

    # /opt/FJSVswsrp/bin/swsrpstartsync From-Volume-Name To-Volume-Name
    FROM=From-Volume-Name TO=To-Volume-Name swsrpstartsync completed
    #
  2. Check equivalency maintenance state.

  3. Switch the userApplication to Maintenance mode.

    # hvutil -m on userApplication
    #
  4. Execute the replication.

    # /opt/FJSVswsrp/bin/swsrpmake From-Volume-Name To-Volume-Name
    FROM=From-Volume-Name TO=To-Volume-Name swsrpmake completed
    #
  5. Turn Maintenance mode off for the userApplication.

    # hvutil -m off userApplication
    #

11.1.9.1 Making a replication during stoppage of a userApplication

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

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

Perform replication operation during stoppage of a userApplication by taking the following steps:

  1. Confirm that the userApplication has been stopped on both nodes.
    For details on how to stop a userApplication, see the PRIMECLUSTER manual.

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

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

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

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

  6. Start (set online) the userApplication.
    Start the userApplication, if necessary.
    For details on how to start a userApplication, see the PRIMECLUSTER manual.

11.2 Notes on the Web Window Environment 

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


Contents Index PreviousNext

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