Top
ETERNUS SF AdvancedCopy Manager V16.8 Operation Guide
FUJITSU Storage

11.1.1 General Notes

11.1.1.1 Size of Partition

A transaction volume and a backup volume must have the same size.

However, not all of the size specified by the fdisk command is usable for the following disks because the OS control space is automatically allocated.

Figure 11.1 Available Size of Partition

Create partitions for the transaction and backup volumes in the same size and combination as shown below.

Figure 11.2 Combination of Transaction and Backup Volume

Figure 11.3 Example of Disk with Partitions of Different Sizes

If you are creating the source and destination volumes in the same size for replication, create partitions in the combination as shown above.

Point

To prevent an operational error, you are recommended to define as extended logical disks all the logical disks on the ETERNUS Disk storage system 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 with a device defined as a backup volume.

Note

To Back Up PRIMECLUSTER GD Volume

To back up a PRIMECLUSTER GD volume, take the following procedure to create a backup volume:

  1. Find out the accurate size and number of the PRIMECLUSTER GD volumes to be backed up.

  2. Use one of the following methods to create a backup volume.

    • When the size of a PRIMECLUSTER GD volume is less than 2 TB

      1. Check that the format of the disk for which to create a backup volume using the parted command is msdos format.
        If the disk format is not msdos, execute "/sbin/parted deviceName mklabel msdos" to make it msdos.

      2. Check the number of bytes per sector as to the disk for which to create a backup volume.

        In the following example, "sectors of 512 bytes" indicates that the size of each sector is 512 bytes.

        # /sbin/sfdisk -uS -l /dev/sdp
        
        Disk /dev/sdp: 1017 cylinders, 133 heads, 62 sectors/track
        Units = sectors of 512 bytes, counting from 0
        
          Device Boot    Start       End   #sectors  Id  System
        /dev/sdp1             0         -          0   0  Empty
        /dev/sdp2             0         -          0   0  Empty
        /dev/sdp3             0         -          0   0  Empty
        /dev/sdp4             0         -          0   0  Empty

        If no msdos label exists on the disk, such an error as "sfdisk: ERROR: sector 0 does not have an msdos signature" is displayed. Create an msdos disk label on a target disk with the fdisk or parted command beforehand.

        For example, when creating an msdos disk label with the parted command, execute the parted command as follows.

        # /sbin/parted /dev/sdp mklabel msdos
      3. Calculate the number of sectors in the backup volume to be created.

        218,103,808 bytes / 512 bytes = 425,984 sectors

        However, the partition descriptor is located in the first sector of a logical volume, so this sector cannot be used. Therefore, add one sector to the number of sectors obtained in this calculation.

        425,984 sectors + 1 = 425,985 sectors

        Thus, the number of sectors to create is 425,985.

      4. Execute the sfdisk command to create the files to be input.

        Since files need to be created as logical partitions in extension partitions in a backup volume, files like the following are created.

        # cat ./sdp-partition.dat
        ,,E
        ;
        ;
        ;
        ,128,L
        ,425985,L
        ,425985,L
        ,425985,L

        The first logical partition (/dev/sdp5) cannot be made the same size as the other logical partitions for reasons related to partition descriptors. Therefore, the first logical partition is created to be the appropriate size (in this case, 128 sectors) and is not used as part of the backup volume.

      5. Execute the sfdisk command to create the partitions.

        #  /sbin/sfdisk -uS --force /dev/sdp < ./sdp-partition.dat
        Checking that no-one is using this disk right now ...
        OK
        
        Disk /dev/sdp: 1017 cylinders, 133 heads, 62 sectors/track
        Old situation:
        Units = sectors of 512 bytes, counting from 0
        
           Device Boot    Start       End   #sectors  Id  System
        /dev/sdp1             0         -          0   0  Empty
        /dev/sdp2             0         -          0   0  Empty
        /dev/sdp3             0         -          0   0  Empty
        /dev/sdp4             0         -          0   0  Empty
        New situation:
        Units = sectors of 512 bytes, counting from 0
        
           Device Boot    Start       End   #sectors  Id  System
        /dev/sdp1             1   8386181    8386181   5  Extended
        /dev/sdp2             0         -          0   0  Empty
        /dev/sdp3             0         -          0   0  Empty
        /dev/sdp4             0         -          0   0  Empty
        /dev/sdp5             2       129        128  83  Linux
        /dev/sdp6           131    426114     425984  83  Linux
        /dev/sdp7        426116    852099     425984  83  Linux
        /dev/sdp8        852101   1278084     425984  83  Linux
        Warning: partition 5 does not end at a cylinder boundary
        Successfully wrote the new partition table
        
        Re-reading the partition table ...
        
        If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
        to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
        (See fdisk(8).)

        Use the created /dev/sdp6, /dev/sdp7, and /dev/sdp8 as the backup volume.

    • When the size of a PRIMECLUSTER GD volume is 2 TB or more

      1. Check that the format of the disk for which to create a backup volume using the parted command is GPT format.
        If the disk format is not GPT, execute "/sbin/parted deviceName mklabel gpt" to make it GPT.

      2. Specify "Unit B" for the parted command to create a backup volume corresponding to the PRIMECLUSTER GD volume intended for backup in size.

11.1.1.2 Backup and Replication Exclusions

The following devices must not be backed up or replicated:

11.1.1.3 Consistency of Data on Volumes

Table 11.1 Consistency of Data on Volumes

Data in Transaction Volume

Maintenance of Data Integrity

Operation

Oracle database space that is currently in use

Linkage with Oracle is required.

Use a sample script designed for linkage with Oracle.

For details, refer to "Appendix B Sample Script for Backup Operations".

Symfoware database space that is currently in use

AdvancedCopy Manager commands link with Symfoware to ensure data consistency.

Refer to "Chapter 4 Backup Operations (Symfoware)".

File system

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

Refer to "Appendix A Pre-processing and Post-processing of Backup and Restoration" and "Appendix C Pre-processing and Post-processing 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.

11.1.1.4 Fetching Device Information

Before starting either the backup or replication operation, The "3.4.4 Fetching Device Information on Managed Server" that is managed by all Managed Servers using Web Console. The time taken to complete this operation is proportional to the total number of devices defined on the selected Managed Servers. If many devices are involved, perform this operation while the CPU or I/O load on the system is low.

As a guide, about 0.5 seconds are required per device (i.e., partition) when there is no load on the system.

11.1.1.5 Running Software

All the devices are always in use while any of the following software is running. Therefore, before performing backup, restoration, or replication, perform the following steps:

Software Which Locks Disk (e.g., Antivirus Software, System Surveillance Software, etc.)

When performing backup/restore operation and replication operation, to prevent software from accessing a device targeted for service, suspend the software or specify the device for services other than check or monitoring by the software. For the setting method, refer to the manuals for respective software.

11.1.1.6 Maximum Number of Simultaneously Executing Operations

There is an upper limit (maximum value) to the number of Advanced Copy sessions that can be simultaneously executed. For this reason, make an operational design so that Advanced Copies exceeding the maximum number of copy sessions cannot simultaneously be executed.
Also, when creating partitions in one Logical Unit (LU) and running Advanced Copy at the same time, be sure not to exceed the maximum number of copy sessions simultaneously executable per LU.

For the upper limit to the number of copy sessions simultaneously executable, refer to the ETERNUS Disk storage system manuals.

11.1.1.7 Mounting of Disks from Other Servers

Before backup/restoration or replication of a volume that can be mounted from multiple servers, unmount and cancel any pending mount on the other servers.

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

11.1.1.8 Notes on Copy Operations Targeted at File Systems

For a copy operation targeted at a file system, unmount the relevant 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 processing where unmounting is enabled:

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

11.1.1.9 Mirroring in PRIMECLUSTER GD

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

11.1.1.10 Notes on Executing Logical Unit (Disk) Unit Copy

Logical Unit (disk unit) copy can be used for replication operations.
Note the following points if Logical Unit (disk unit) copy is executed:

Copying Between Logical Units (Disks) of Different Sizes

When copying between Logical Units (disks) of different sizes, the physical copy matches the size of the smaller Logical Unit (disk). If the copy direction is from the smaller Logical Unit (disk) to the larger Logical Unit (disk), part of the area on the larger disk is not physically copied to, and data from before the copy operation remains. If this remaining area contains the Logical Unit (disk) management information, partitioning tools may identify the disk format incorrectly. Therefore, format the copy destination Logical Unit (disk) before copying to it.

About GPT Disks

To copy the GPT disks by each Logical Unit (disk), create the source and destination volumes in the same size for replication in the unit of bytes.
When copying between volumes of different sizes, the GPT label of the destination volume may be changed. If you restore the destination volume whose GPT label is changed, you cannot use the destination volume.

Notes When Executing Copy
  • If the replication source/destination volume areas for replication management, and the transaction/backup volume areas for backup management duplicate each other, replication management and backup management operations cannot be performed simultaneously for volumes that have duplicate areas.

  • Execute copy operations when the partitions included in the Logical Unit (disk) are in the unmounted state. If copy is executed when the partitions are in the mounted state, the partitions included in the copy destination disk may not be able to be made consistent as a file system.

SDX Objects

Logical Unit (disk unit) copying cannot be used for SDX objects.

11.1.1.11 Notes on Executing Copy Between Different Operating Systems

Copies can be made between different operating systems by using replication operations.
Use the following combinations to execute copy between different operating systems:

Table 11.2 Combinations for Executing Copy Between Different Operating Systems

Copy Source

Copy Destination

Slices

Logical Unit (Disk)

Partition

A

N/A

Logical Unit (disk)

A

N/A

(A=Available, N/A=Not Available)

Note

If SnapOPC+ is to be used for executing copy operations between different operating systems, perform copy between operating systems that can use SnapOPC+.

11.1.1.12 Notes on Executing Copy from Logical Unit (Disk) to Partition Using Replication Function

When a copy is performed, the Logical Unit (disk) data is written in the replication destination volume (partition). If a copy is performed with a file system existing on the replication destination volume (partition), because a data overwrite can occur to the file system depending on the copy, not only will the data in the file system become inaccessible but the copied data will become inaccessible through the file system as well.

11.1.1.13 Supported Disk Formats

The MBR disk format (recommended) and GPT disk format are supported.

11.1.1.14 Operations That Use Device Names (by-id and by-path) Generated by udev Facility

Note the following points if AdvancedCopy Manager operations use device names generated by the udev facility.
The device names used when a file system is mounted must be the same as the device names used by AdvancedCopy Manager.

11.1.1.15 Notes When Using -m Option

When replication occurs between servers, the -m option can be specified in the following commands in order to avoid communication processing to non-operating servers:

When the -m option is specified, any one of the following conditions must apply in order to ensure that problems do not arise as a result of not performing volume pre-processing and post-processing at the non-operating server:

11.1.1.16 Notes When Using -t Option

When you execute the swsrpstartsync command with the -t option, volume lock fails with the swsrpmake command and the swsrp3607 message may be output.

If you execute the swsrpstartsync command with the -t option to perform independent pre-processing, check whether the pre-processing has properly been done.

If you determine that pre-processing and post-processing for replication destination volume is not needed and execute the swsrpstartsync command with the -t option, execute the swsrpmake command with the -t option.

11.1.1.17 Copy Processing Performance of Advanced Copy

The Advanced Copy processing is performed by the ETERNUS Disk storage system. Therefore, direct enquiries concerning copy processing performance to the support department for the ETERNUS Disk storage system.

11.1.1.18 Mount by Label/UUID

In the case where a source volume has a filesystem label/UUID and where the following conditions hold, Advanced Copy can encounter the case where multiple volumes with the same label/UUID exist in one system.

When there are multiple volumes with the same label/UUID, operations such as the system may not operate correctly or mount may not work as expected.
To avoid this situation, specify a device (e.g. /dev/sda1) for /etc/grub.conf file and /etc/fstab file.

11.1.1.19 Moving of VM Guest of VMware

Refer to the manual of the VMware vCenter Server for information on how to move the VM guest by using the functions of the VMware vCenter Server.

Do not move the VM guest that changes the disk type by utilizing the functions of the VMware vCenter Server.
When the disk type has been changed, the following situations may occur.

When the above-mentioned situation has occurred, confirm the device configuration of the virtual machine and confirm if whether the type of disk has been changed.

When the type of disk has been changed, reconfigure the configuration information of the AdvancedCopy Manager.

When the type of disk has not been changed, there is the possibility that a hardware failure has occurred.
Confirm the status of the hardware, and when a hardware failure has occurred, re-execute the operations after removing the cause of the error. Refer to the following sections for details.

11.1.1.20 Executing the Command That Displays the Advanced Copy Status

If multiple commands that display the Advanced Copy status, such as the copy status display command and operation status display command, are executed simultaneously, the response speed from the storage device is reduced and may affect command executions and transactions.
For this reason, design the operation so that multiple commands cannot be executed at the same time.