ETERNUS SF AdvancedCopy Manager Operator's Guide 13.0 -Microsoft(R) Windows(R) 2000- -Microsoft(R) Windows Server(TM) 2003-
Contents Index PreviousNext

Chapter 8 Replication

This chapter explains AdvancedCopy Manager replication in a Windows2000/2003 system. AdvancedCopy Manager uses a partition as the replication unit. In this manual, the term "volume" is used instead of "partition."

8.1 Overview

This chapter explains the AdvancedCopy Manager replication function.

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

Snapshot replication is replication that uses the One Point Copy (OPC) or Remote One Point Copy (ROPC) function of an ETERNUS storage systemdisk array unit. Replication that uses the Equivalent Copy (EC) or Remote Equivalent Copy (REC) function is called synchronized replication.

The replication function creates copies so that the information at a certain point of time can be used for different purposes. It can be used independently of or combined with the backup function.

8.1.1 Snapshot replication processing

Replicas are created by copying from an source volume to a destination volume using the OPC or ROPC function of an ETERNUS storage system disk array unit.

The snapshot replication performs the following two types of processing:

  1. When a copy is created, the snapshot processing (OPC or ROPC) from the original volume to the replica volume is executed with the replication creation command (swsrpmake). The replication creation command locks and unlocks the original volume. This processing determines the original data (for details, refer to "Preprocessing and Postprocessing of Replication "). ((1) to (4) in Figure 8.1)

  2. If the user wants to re-create a replica, only the replication creation command is required. If the previous snapshot processing is in progress, it is stopped and new snapshot processing is started.

[Figure 8.1 Snapshot replication processing]

Snapshot replication is completed when the replication creation command is issued. The actual data is internally copied by the OPC or ROPC function of the ETERNUS storage system disk array unit.

Disk array devices must support the ROPC function in order to use it in the Advanced Copy function snapshot replication.

+QuickOPC Snapshot type replication

If the disk array supports the QuickOPC function, differential snapshot replication can be performed.

The QuickOPC function copies only the data generated after the previous physical copy. Snapshot high-speed backup using the differential function is called differential snapshot replication.

Ordinary snapshot replication performs a physical copy of the entire source volume to the destination volume every time replication (OPC) is activated. However, differential snapshot replication performs the copies only the data generated after the previous physical copy, which can greatly reduce physical copy time.

The comparison between ordinary snapshot replication and differential snapshot replication is shown below.

To execute differential snapshot replication using the QuickOPC function, hardware that supports the QuickOPC function is required.
The QuickOPC function can be used only for copying within a cabinet (OPC). The function cannot be used for copying between cabinets (ROPC).
The QuickOPC function also cannot be used for replicating SDX objects in the units of logical volumes.

Hardware using the QuickOPC function records the updates made to the copy source or destination after the completion of OPC logical copying. The status in which the hardware records updates is referred to as the "tracking status."

+SnapOPC type replication

SnapOPC is a function that enables only data that has been updated to the copy source disk area since a certain point in time (logical copy) to be copied to the copy destination disk area.

Comparison of the ordinary snapshot replication (Normal OPC), the QuickOPC snapshot replication (QuickOPC), and the SnapOPC snapshot replication (SnapOPC) is shown below.

Normal OPC

With normal OPCs, all data for a certain point in time(logical copy) is copied to the copy destination disk area.

The copy destination disk must have (at least) the same capacity as the copy source disk area.
The copy time is the time needed to copy all data.

QuickOPC

With QuickOPCs, for the first copy, all data for a certain point in time (logical copy) is copied to the copy destination disk area.
For second and subsequent copies, only data that has been updated since the last copy is copied.

The copy destination disk must have (at least) the same capacity as the copy source disk area.
The copy time for second and subsequent copies is the time needed to copy differential data.

SnapOPC

With SnapOPCs, only data that has been updated from the data at a certain point in time (logical copy) is copied to the copy destination disk area.

The copy destination disk area can be smaller than the copy source disk area.
The copy time is the time needed to copy data that has been updated.

Snapshot type replications that use SnapOPC are referred to as "SnapOPC snapshot type replications".

In some ways, SnapOPC is superior to conventional OPCs, since copy times are shorter and copy destination volumes have a smaller capacity. However, there are problems in terms of access performance and the reliability of copy data.

Access performance
Since the data copy from the copy source to the copy destination occurs as for the inside of SnapOPC, sometimes the access performance of the copy source drops, as well as the access performance of the copy destination.
Reliability of copy data
Copy data is made up of two parts: the "copy source" and "updated part of the copy source". Therefore, a hardware fault with the copy source can cause copy data to be lost.
Additionally, performing a restoration is equivalent to losing the "copy source" data, and so even if there are multiple "updated parts of the copy source", these become invalid from the point when the restoration is performed.

These points suggest that SnapOPC should be used as temporary areas for tape backups for systems where access performance is not an important consideration.

SnapOPC can only be used for replications (OPC) within a single cabinet. SnapOPC cannot be used for inter-cabinet replications (ROPC).

The disk at the copy destination of SnapOPC is called Snap Data Disk.

8.1.2 Synchronized replication processing 

Replicas are created by copying from the original volume to the replica volume using the EC or REC function of an ETERNUS storage system disk array unit.

Synchronized replication uses two methods to create a copy: full copying and incremental copying. In full copying, all of the original volume is completely copied. In incremental copying, only the data from the previous copy that has been updated is copied.)

The following steps comprise the procedure for synchronized replication:

  1. When synchronized processing using the synchronous processing start command (swsrpstartsync) starts from the original volume to the replica volume, full copying starts. ((1) in Figure 8.2)

  2. Full copying is complete. The original volume and replica volume both enter the equivalence status. From this point on, updates in the original volume are sequentially reflected in the replica volume so that data equivalence is always maintained (equivalency holding state). (States in (2) and (3) in Figure 8.2)

  3. Synchronized processing is temporarily stopped with the replication creation command (swsrpmake) to create a copy of the original volume. The replication creation command locks and unlocks the original volume. This processing determines the original data (for details, refer to "Preprocessing and Postprocessing of Replication "). After execution of the replication creation command, the replica volume can be accessed (copy established status). (States in (3) and (4) in Figure 8.2)

  4. To create another copy, the synchronized processing that has been temporarily stopped is restarted with the synchronous processing start command. For this copy, the only data copied to the replica volume is the (incremental) data on the original volume that has been updated since the previous copy was made until the restart of synchronized processing((4) in Figure 8.2)
    When the replica volume has been updated after the previous copy is made, the content of the update of the replica volume is cleared.

  5. When the incremental data has been copied, the status returns to the equivalency holding state again. (States in (5) and (6) in Figure 7.2)

  6. When this status has been set, the copy is re-created with the replication creation command. ((6) in Figure 8.2)

[Figure 8.2 Synchronized replication processing]

8.1.3 Device name 

A device (partition) in the disk array unit is the target of AdvancedCopy Manager replication. AdvancedCopy Manager manages the device with a unique name in the form "AdvancedCopy Manager device name." For details of the AdvancedCopy Manager device name, see "Managing a Device on AdvancedCopy Manager" .

8.2 Operation Design

This chapter explains the operation of AdvancedCopy Manager replication.

Design replication using the following procedures:

Refer to "Notes of the design in SnapOPC replication", when the SnapOPC snapshot replication is used.

8.2.1 Determining the server that performs replication

Determine the server that performs replication.

The following servers are used to perform replication:

[Figure 8.3 Configuration of the servers that perform replication]

The following requirements apply when box-to-box replication is performed using the remote copying function (ROPC or REC) of an ETERNUS storage system disk array unit:

When performing a replication between servers, and data needs to be returned to a reproducing agency from a duplicate place like backup server employment and data is returned, it needs to be cautious of the handling of the data in a duplicate place so that it can access normally.

8.2.2 Determining a replication target

Determine the original volume and replica volume to be used in the replication.

In addition, determine the following attributes to be assigned to the original volume and replica volume:

  1. Copy direction

    Determine the direction of copying used in replication. Specify one of the following directions:

  2. Operation servers (used only for server-to-server replication)

    In replication between servers, you can specify whether to allow replication to be performed on only the copy source server or copy destination server, or on both servers:

It is possible to create a group by arranging multiple copy source volumes and copy destination volumes. In addition, the operation for multiple copy source volumes and copy destination volumes can be performed in a unit of group. For details, refer to "Creating groups".

[Figure 8.4 Servers used in performing replication]

In this manual, a storage server used to perform replication is called the operation server. An original server or replica server is specified as the operation server.

An operation server can use all of the replication functions. In contrast, any other type of server can use only the information display function and operation release function.

In order to set up volume as operating volume, there are some points which should be taken into consideration. For details, please refer to "General notes."

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

Refer to "General notes", for notes on determining a replication target.

8.2.3 Notes of the design in SnapOPC replication

8.2.3.1 Notes on session settings 

Only one session can be set up for each Snap Data Disk.

Accordingly, multiple sessions cannot be set up for a single Snap Data Disk, as shown in the following figure:

It is not possible to copy from the Snap Data Disk to a disk other than the copy source disk

8.2.3.2 Creating a Snap Data Disk 

Create a Snap Data Disk by performing the following steps:

  1. Calculate the physical capacity for the Snap Data Disk.

  2. Define and initialize the Snap Data Disk.

  3. Connect to the host.

  4. Create partitions, and file systems.

+Calculate the physical capacity for the Snap Data Disk.

The formula for estimating the physical capacity of Snap Data Disks is as follows:

Physical capacity = (number of updated blocks for the copy source volume) x (safety factor)

To be precise, both the number of blocks that have been updated on the Snap Data Disk and the management area used by the hardware (about 0.1% of the logical capacity) should also be taken into account before the SnapOPC is taken, however this can be covered by increasing the safety factor.

The number of blocks that have been updated on the copy source volume can be estimated using the update amount measurement command (swstestupdate).

Make this measurement using the following procedure:

  1. Start measuring the update amount by setting up a pseudo SnapOPC session on the copy source volume.

    C:\Win32App\AdvancedCopyManager\bin>swstestupdate start g1d1p1
    g1d1p1 swstestupdate completed
    C:\Win32App\AdvancedCopyManager\bin>
  2. Start transactions. Blocks that are updated by transactions will be recorded on the hardware.

  3. After the measurement period has elapsed, check the number of blocks that have been updated.

    C:\Win32App\AdvancedCopyManager\bin>swstestupdate status g1d1p1
    Volume-Name       Update
    g1d1p1            644333
    C:\Win32App\AdvancedCopyManager\bin>
  4. After the measurements are complete, cancel the pseudo SnapOPC session.

    C:\Win32App\AdvancedCopyManager\bin>swstestupdate stop g1d1p1
    g1d1p1 swstestupdate completed
    C:\Win32App\AdvancedCopyManager\bin>

+Define and initialize the Snap Data Disk.

Define and initialize the Snap Data Disk using ETERNUSmgr. At this point, set the logical capacity to that of the copy source disk (in order to use the same partition configuration for both the copy source disk and the copy destination disk).

+Connect to the host.

Connect the created Snap Data Disk to the host. Refer to the manual for the disk array device (the Server Connection Guide) for information on this procedure.

+Create partitions, and file systems.

Create partitions, and file systems so that a copy source volume can be created on the Snap Data Disk.

Once file systems have been created, limit updates to the copy destination volume as much as possible, to avoid unnecessarily using up the physical capacity of the Snap Data Disk.

8.2.3.3 Cluster Operations 

Do not use Snap Data Disks as shared disks for cluster systems. This is to avoid the danger of the cluster system failing over when the physical capacity of the Snap Data Disk is exceeded.

For cluster operations, use one of the following methods to prevent the Snap Data Disk from being used as a shared disk.

  1. Permit the Snap Data Disk to be referenced from all the nodes in the cluster system.

  2. Use inter-server replication between the cluster system and a non-cluster system.

8.3 Flow of Operations 

The following figure shows the flow of the replication operations.

8.4 Preparations

The following preparations are required before replication can start.

8.4.1 Starting a service 

Before replication is started, the AdvancedCopy Manager service must be started on the storage management server and storage server. In general, the service is automatically started at system startup. However, if the service failed to start for some reason or has stopped, both servers must restart the service. For information about starting the service, see "Starting and Stopping a Service".

8.4.2 Starting the initial window

Use the following URL to start the AdvancedCopy Manager initial window. In cluster operation, the 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 display.

When using the command line only, without using the GUI, it is not necessary to perform this step.

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 (refer to "Configuring the authentication-related file" in the ETERNUS SF AdvancedCopy Manager User's Guide) to use Web screens.

8.4.3 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 does not need to add a server.

Select the [Operation] menu, and then select [Add Server]. The following window displays.

To add a storage server, specify a server name, IP address, and the port number required for communications. The port number was specified as the "communications service port number", when AdvancedCopy Manager's Agent was installed.

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

Click [OK] after entering the information. The Storage server processing is then performed.

This processing can also be carried out by the server information addition command (stgxfwcmaddsrv).

8.4.4 Fetching device information from a storage server

As part of replication management, device information on a storage server must first be stored in the repository. To a storage server device, select [Refresh Server] on the [Operation] menu. The following window appears.

After checking the server from which device information should be acquired, click the [Yes] button.

After the device information has been obtained from each server, the following dialog box displays:.

There are 5 list boxes in the dialog box: the top list box, which is displayed when a new device is detected; the second list box, which lists the devices not currently detected from the devices being managed; the bottom list box, which lists the devices whose information has been updated(for example, the mount point name was changed); the left list box; and the right list box. Move the device to be managed to the left list box , wehereas, move the device to be excluded from the management to the right list box.

Please note that the device name displayed here is "AdvancedCopy Manager device-name".

After the above operations, click the [OK] button to accept 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 depends on 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) under no-load conditions.

When backup synchronous processing or synchronous replication processing is being performed, device information may be unable to be acquired correctly. Therefore, when you take in device information, where all synchronous processings are canceled, please carry out.

8.4.5 Setting the original volume and replica volume

Use the replication volume information setting command (swsrpsetvol) to set the original volume and replica volume that will be used in the replication. The information on the registered original volume and replica volume can be checked with the replication volume information display command (swsrpvolinfo).

When specifying the volume of another storage server in server-to-server replication, specify the volume in the format "volume-name@storage-server-name."

8.4.6 Customizing preprocessing and postprocessing 

Replication on AdvancedCopy Manager must be performed while access to a volume from other processes is inhibited. Therefore, when replication is executed, lock and unlock of the volume is done by using the preprocessing and postprocessing script.
The replication processing is not executed when the volume is not lockable.

For details of the preprocessing and postprocessing script , refer to "Preprocessing and Postprocessing of Replication."
Moreover refer to "Running Software" in "General notes." too.

When the operation is as follows, the replication preprocessing and postprocessing need to be customized:

Refer to "Preprocessing and Postprocessing of Replication," for information 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.

8.4.7 Creating groups

8.4.7.1 Conditions for the replication volume information that makes up the group 

The replication volume information that makes up the group (the copy source volume and the copy destination volume pairs) must meet the following conditions:

  1. The copy source servers and copy destination servers respectively must all match.

  2. The operation servers and the copy directions respectively must all match. (The values for the operation servers and the copy directions can be checked using the "Op-Server" and "Copy" columns of the execution results of the replication volume information display command (swsrpvolinfo).

  3. The replication volume information being registered must not be registered in any other group.

  4. Copy source volumes and copy destination volumes must not be duplicated within the group.

[Condition 1]

[Condition 3]

[Condition 4]

8.4.7.2 How to create groups 

Groups are created using the replication volume information setting command (swsrpsetvol).

Information for created groups can be displayed using the replication volume information display command.

[Execution example]

Two groups (GRP1) composed of an original volume and the replica volume are made.

C:\Win32App\AdvancedCopyManager\bin> swsrpsetvol -Xgroup GRP1 g1d1p1@SRC g1d11p1@TARG-1
swsrpsetvol completed
C:\Win32App\AdvancedCopyManager\bin> swsrpsetvol -Xgroup GRP1 g1d2p1@SRC g1d12p1@TARG-1
swsrpsetvol completed
C:\Win32App\AdvancedCopyManager\bin> swsrpvolinfo -L
Server Original-Volume Size     Replica-Volume Size     Copy         Op-Server Group 
SRC    g1d1p1@SRC      4.0Gbyte g1d11p1@TARG-1 4.0Gbyte bi-direction both      GRP1
SRC    g1d2p1@SRC      4.0Gbyte g1d12p1@TARG-1 4.0Gbyte bi-direction both      GRP1
C:\Win32App\AdvancedCopyManager\bin>

8.5 Operations 

This chapter explains AdvancedCopy Manager replication.

Before performing replication, see "Preparations" to set up the environment required for replication.

This section describes the operation by the command.Refer to "Replication Management Operations" of a "ETERNUS SF AdvancedCopy Manager User's Guide" about operation by the Web screen.

8.5.1 Executing snapshot replication 

Use the replication creation command (swsrpmake) to perform snapshot replication.

Refer to "Snapshot replication processing" about explanation of snapshot replication.

The operation status of a physical copy can be checked by executing the operation status display command (swsrpstat).

+QuickOPC snapshot replication

Execute differential snapshot replication by specifying the -T option in the replication creation command (swsrpmake).

If no OPC session exists when the replication creation command is executed, the command starts snapshot processing (OPC physical copying), and tracks processing from the source volume to the destination volume.

To check the execution status of physical copying, use the operation status display command (swsrpstat) in the same way as for an ordinary snapshot replication.

After snapshot processing (OPC physical copy) is complete, only tracking processing is active.

To check the tracking status, use the operation status display command (swsrpstat) with the -L option specified.

Entering the replication creation command (swsrpmake) with the -T option specified during tracking processing performs the physical copying of only the data that has been generated since the previous snapshot processing. This means that physical copying can be accomplished in a short period of time.

When you try to perform a restoration with a tracking processing being executed, you need to perform a restoration by OPC (you need to execute swsrpmake without -T option).

The replication operation using QuickOPC is done as follows:

[backup]
swsrpmake -T <original volume name> <replica volume name>
[restore]
swsrpmake <replica volume name> <original volume name>

Though a restoration is executed with OPC, not all the data but only the data that has been updated after the previous replication (it can be referred at 'Update' column of swsrpstat) is copied. Therefore, in replication operation using QuickOPC, not only a physical copy for backup but also that for restoration is completed in a short period of time.

+SnapOPC type replication

Execute SnapOPC type replications with the -C option specified in the replication creation command (swsrpmake).

When the replication creation command is executed, a SnapOPC session will be set up between the copy source volume and the copy destination volume.

[Execution example]

C:\Win32App\AdvancedCopyManager\bin> swsrpmake -C g1d1p1 g1d2p1
FROM=g1d1p1@SV1,TO=g1d2p1@SV1 swsrpmake completed
C:\Win32App\AdvancedCopyManager\bin>

Unlike normal OPCs and QuickOPCs, SnapOPCs do not copy all of the data from the copy source volume, but instead copy only the data that has been updated on the copy source or copy destination since the SnapOPC started. This kind of copy processing is referred to as "Copy-on-Write".

Note: The units for host I/O and storage device copies are different (512 bytes for host I/O and 8 kilobytes for storage device copies), and therefore data copies also occur when the copy destination is updated.

The status of SnapOPC sessions can be checked using the operation status display command (swsrpstat).

The following example shows the execution of the operation status display command immediately after a SnapOPC snapshot has started. While SnapOPC is being performed, "copy-on-write" is displayed in the Status field, and the amount of data updated since the last copy was created is displayed in the Update field as a percentage.

[Execution example]

C:\Win32App\AdvancedCopyManager\bin> swsrpstat -L g1d1p1
Server Original-Volume Replica-Volume Direction Status        Execute Trk  Update Rcv  Split Xfer
SV1    g1d1p1@SV1      g1d1p1@SV1     regular   copy-on-write ----    off  0%     ---- ----  ----
C:\Win32App\AdvancedCopyManager\bin>

If the replication creation command is executed again during SnapOPC processing the SnapOPC session that has already been set up will be canceled, and a new SnapOPC session will be set up.

If the physical capacity of the Snap Data Disk is exceeded, the SnapOPC session will become error-suspended. This can be confirmed if "failed" is displayed in the Status field of the operation status display command.
[Execution example]
C:\Win32App\AdvancedCopyManager\bin> swsrpstat -L g1d1p1
Server Original-Volume Replica-Volume Direction Status Execute Trk  Update Rcv  Split Xfer
SV1    g1d1p1@SV1      g1d2p1@SV1     regular   failed ----    off  ----   ---- ----  ----
C:\Win32App\AdvancedCopyManager\bin>
If the physical capacity of the Snap Data Disk is exceeded, the SnapOPC session must be canceled using the replication cancellation command (swsrpcancel), and extra physical capacity must be added to the Snap Data Disk.

Perform restorations from Snap Data Volumes by running an OPC using the replication creation command (swsrpmake).

C:\Win32App\AdvancedCopyManager\bin> swsrpmake g1d2p1 g1d1p1
FROM=g1d2p1@SV1,TO=g1d1p1@SV1 swsrpmake completed
C:\Win32App\AdvancedCopyManager\bin>

When restorations are executed, the SnapOPC session from the copy source volume to the copy destination volume is maintained as is, and a normal OPC from the backup volume to the transaction volume is started. At this point, the time taken to restore the physical copy is reduced, because only data that has been updated since the last copy is copied.

The execution status of restorations can be checked by specifying the -E option with the operation status display command (swsrpstat).

C:\Win32App\AdvancedCopyManager\bin> swsrpstat -E g1d1p1
Server Original-Volume Replica-Volume Direction Status Execute
SV1    g1d1p1@SV1      g1d2p1@SV1     reverse   snap   80%    
C:\Win32App\AdvancedCopyManager\bin>

If a SnapOPC is being performed between the copy source volume and the copy destination volume, restorations to volumes other than the copy source volume cannot be executed. To restore to a volume other than the copy source volume, operating system copy functions (such as the cp command or the copy command) must be used.

Additionally, if SnapOPCs are being performed to multiple copy destination volumes, restoration cannot be performed.

In this case, restoration using an OPC can be performed by canceling the other SnapOPCs. However, the backup data on the copy destination volumes whose SnapOPC sessions were canceled will be lost.

To perform a restoration while still maintaining all SnapOPC sessions, operating system copy functions (such as the cp command or the copy command) must be used for the restoration. However, if restoration is performed using operating system functions, the amount of updated data on the copy source volume will increase, and there is a risk that the capacity of the SnapOPC volume will be exceeded.

8.5.2 Executing synchronized replication 

To perform synchronized replication, use the following procedure:

  1. Start synchronized processing using the synchronous processing start command (swsrpstartsync). Use the replication cancellation command (swsrpcancel) to cancel synchronized processing that has already started.

  2. After making sure that equivalency holding state has been established with the operation status display command (swsrpstat), temporarily stop synchronized processing with the replication creation command (swsrpmake) to create a replica of the original volume.

  3. To copy the updated (incremental) data, restart synchronized processing with the synchronous processing start command (swsrpstartsync).

8.5.2.1 Intra-box synchronous replication 

Intra-box synchronous replication creates a replication from a source volume to a destination volume by using the EC function of the disk array.

The EC function operates in a mode in which a copy is made to a destination volume in synchronization through a write to a source volume (in synchronous write mode).

8.5.2.2 Inter-box synchronous replication 

Inter-box synchronous replication creates a replication from a source volume to a destination volume by using the REC function of the disk array.

The REC function provides three copy operation modes that can be selected for operation:

In addition, the REC function enables the copy direction to be reversed in suspended status.

+Transfer mode

The transfer mode provides the REC data transmission modes described below.

Mode

Description

Synchronous

When a write operation to a source volume occurs, this transfer mode returns the completion of write operation to the host after copying is completed.

In synchronous transfer mode, the performance of a write response depends on the performance of the circuit between the boxes. Thus, any deterioration in circuit performance adversely affects the performance of a write response.

Asynchronous
(sequential transfer)

This transfer mode starts sending data to a destination volume immediately after a response is made to a write operation to the source volume. The order of write operations is thus secured.

If the volume of updates made to the source volume is excessive compared with transmission performance between the boxes, data to be copied remains stored, and write operations to the host are queued until the data is copied to some extent. To use asynchronous mode, the circuit must have at least the same performance as the update speed to source volumes.

Stack

This mode stores (stacks) data in the source box to be transferred and copies the data at irregular intervals to lower the speed of data transferred to the destination box. Update data on the source volume is transferred to the destination volume at irregular intervals, thus the order of write operations is not guaranteed.

Consistency

This transfer mode guarantees the order in which multiple synchronous processes reflect data. Data updates in multiple synchronous processes are copied periodically and collectively, thus the order of write operations can be secured among multiple synchronous processes.

To perform a synchronous replication operation in Stack mode or Consistency mode, use the replication start command (swsrpstartsync), replication execution command (swsrpmake), and synchronization mode change command (swsrpchsync). The figures below show how synchronous replication operation is done in Stack mode or Consistency mode.

+Recovery mode

Recovery mode includes two modes to restart copying after recovery from an inter-box path error (halt status).

Mode

Description

Automatic Recovery

In this mode, the REC session automatically switches from HALT status to regular status, and copy processing resumes when the inter-box FCRA path is recovered.

Manual Recovery

In this mode, the REC session remains in HALT status and copy processing does not resume even if the inter-box FCRA path is recovered. Manually resume copying. This mode is used, for example, when operating a standby database.

+Split mode

Split mode includes two modes for write operation to the source volume when REC is used for synchronous transfer mode and for recovery from an inter-box path error (halt status).

Mode

Description

Automatic Split

This split mode forcibly executes successful write operations to source volumes even if the inter-box FCRA path is fully blocked and HALT status occurs. This mode enables write operations to source volumes even if the inter-box FCRA path is fully blocked, thus this mode does not affect transactions.

When the inter-box FCRA path is recovered, copy processing resumes according to the recovery mode settings.

Manual Split

This split mode rejects write operations to source volumes (returns an error) if the inter-box FCRA path is fully blocked and HALT status occurs. This mode enables source volumes and destination volumes to be fully synchronized even if the FCRA path is fully blocked.

When the inter-box FCRA path is recovered, copy processing resumes according to the recovery mode settings.

+Copy direction reverser

The copy direction reverser allows you to smoothly switch among center sites.

The following figures show an example of how to switch the copy direction:

  1. Assume that Site A is operating and REC is operating from Site A to Site B.

  2. To switch the sites, execute the replication execution command to make a replication to Site B. Then, stop operating Site A.

  3. Execute the synchronization reverse command to reverse the copy direction.

  4. Put Site B into operation. At this stage, synchronization is still suspended, thus any update to the volume at Site B is not reflected at Site A.

  5. Start (resume) synchronization from Site B to Site A. Updates made to the volume in Site B while synchronization is suspended are reflected into Site A with differential copies.

8.5.2.2.1 Initial copy skip function 

The initial copy skip function is used when the initial copy cannot be executed because of the insufficient line capacity.

  1. Suppose that operations at Site A have stopped.

  2. Next, synchronous processing begins, using the initial copy skip function. At this point, an REC session is set up, and the status is Replication Established. Data is not copied to the copy destination volume.

  3. Next, the data on the copy source volume is backed up to tape.

  4. The tape medium is sent to Site B, and jobs at Site A restart.

  5. The data on the tape medium is restored to the copy destination volume. At this point, the data on the copy destination volume is the same as the data on the copy source volume that existed before operations restarted.

  6. Synchronous processing restarts in Remain mode. Restarting synchronous processing in Remain mode means that only data that has been updated on the copy source volume is reflected on the copy destination volume. (If Remain mode is not used, all data on the copy source volume is copied.)

8.5.2.3 Concurrent suspension function 

The concurrent suspension function simultaneously suspends multiple EC/REC sessions for disk array systems.

By using this function, the copy with consistency can be easily taken.

For example, it is useful for a database composed of multiple volumes.

The behavior that takes places within the disk array system is shown below.

Replication using the concurrent suspension function is performed by specifying the -Xconcur option for the replication creation command (swsrpmake ).

Additionally, if concurrent suspension is performed using the Consistency transfer mode, it is no longer necessary to make temporary mode changes during multiple creation processes. (Refer to the figure below.) Accordingly, the operating procedure used when concurrent suspension is executed in Consistency mode is the same as the procedure for asynchronous mode and synchronous mode.

8.5.3 Backup and restoration using the replication function

Data can be restored from the replica volume to the original volume if a volume pair has been defined bi-direction copying with the replication volume information setting command (swsrpsetvol).

Restoration can be executed according to the following procedures.

  1. Execute the replication cancellation command (swsrpcancel) when the target volume for restoration has a EC session.

  2. Execute the replication creation command (swsrpmake). The specification of an original volume and the replica volume is reversed at time when the replication was executed. The reproduction making command is executed specifying neither -T option nor -C option at the backup operation that uses QuickOPC/SnapOPC.

8.6 Changing the Setting Information 

When a storage server or device required in the replication operation has been changed, the information set in AdvancedCopy Manager must be changed. This chapter explains how to change the information set in AdvancedCopy Manager.

8.6.1 Changing an original volume or replica volume 

To change the attributes (copy direction, operation servers of server-to-server replication) of the original volume and replica volume that are set, delete the information with the replication volume information deletion command (swsrpdelvol) and then reexecute the replication volume information setting command (swsrpsetvol).

8.6.2 Deleting an original volume or replica volume

To delete the original volume or replica volume that are set, use the replication volume information deletion command (swsrpdelvol).

8.6.3 Changing the device information of an original or replica volume 

When making the size of device information and composition change which are used for an original / replica volume, a device composition is changed after deletion processing of the original / replica volume, and setting processing of the volume is performed.

Be sure to do the following work before making the size of an original / replica volume or a composition change. When not doing this work, deletion of the original / replica volume after device composition change may not be able to be performed.

  1. Perform deletion processing to the original / replica volume for device change. For details, see "Deleting an original volume or replica volume".

  2. Change the device composition.

  3. Perform the additional processing of a device. For more information, see "Fetching device information from a storage server".

  4. Perform setting of the original / replica volume.

8.7 Stopping the Operation 

To stop the replication processing, that is in progress, or to change the snapshot replication into the synchronized replication, use the replication cancellation command (swsrpcancel).

To stop replication operation, stop the service on the storage server. In general, the service stops when the system stops.

The service can be stopped independently if it needs to be stopped for some reason. For more information, see "Starting and Stopping a Service".

When the service stops, all functions of AdvancedCopy Manager running on the storage server stop.
Before stopping the storage management server service, make sure that operations on all storage servers under management have stopped.

Contents Index PreviousNext

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