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

G.2.3 Preparations

This section describes the preparations that are required for backing up and restoring ZFS storage pools.

For details on each procedure and a setup required in advance for using AdvancedCopy Manager, refer to "Chapter 6 Replication" and the AdvancedCopy Manager Operation Guide for Copy Control Module.

Whereas this document states some typical methods for controlling ZFS for your reference, refer to the operating system manuals for more details on usage.

Point

Below examples of command execution are based on the configurations described for replication operations and AdvancedCopy Manager CCM operations in "G.3.2 System Configuration". Adapt any real control actions to your actual configuration.

Implement the following procedures for preparation:

  1. Fetching Lists of Devices in Transaction Storage Pools

  2. Copy Settings for Backup and Restoration

Fetching Lists of Devices in Transaction Storage Pools

On the business servers, check the devices that constitute the transaction storage pools to be backed up.

[Example]

Check the disk information of the storage pool. In below example, storage pool (STP1) consists of 1 physical disk (c1t1d1).

# zpool status STP1
  pool: STP1
 state: ONLINE
 scrub: none requested
config:
        NAME       STATE     READ WRITE CKSUM
        STP1      ONLINE        0     0     0
          c1t1d1   ONLINE       0     0     0

errors: No known data errors
#

Copy Settings for Backup and Restoration

Make the following three copy settings:

Use the following combinations to register them in AdvancedCopy Manager:

Table G.1 Copy Groups

Used for

Copy Source

Copy Destination

Group Name (ex.)

Backup/Restoration

Transaction storage pool

Backup storage pool

STP1

Backup

Backup storage pool

Backup volume

BKSTP1

Restoration

Backup volume

Transaction storage pool

RSSTP1

Table G.2 Registered Devices

Device Name

Devices to Be Registered

Example (*1)

Device Name

LUN

Transaction storage pool

Devices that you confirmed in "Fetching Lists of Devices in Transaction Storage Pools" to be devices constituting the transaction storage pool

c1t1d1

0x01

Backup storage pool

Devices that constitute the backup storage pool

c2t1d11

0x11

Backup volume

Devices you prepared as backup volumes for older generations

c2t1d12s1

0x12

*1: When using replication management function, use device name. When using AdvancedCopy Manager CCM, use LUN number.

For Using Replication Management Function

Register copy sources indicated at "Table G.1 Copy Groups" as copy destination volumes, and copy destinations as copy destination volumes. Then register the devices indicated at "Table G.2 Registered Devices" respectively.

Since these are controlled synchronously in processing for backup and restoration, you have to register all devices that constitute a storage pool as a single group. For details on controlling groups, refer to "6.4.7 Creating Groups".

[Example]

Specify the source volumes and copy destination volumes to create the 3 groups shown in the chart.

# /opt/FJSVswsrp/bin/swsrpsetvol -o BOTH -Xgroup STP1 /dev/dsk/c1t1d1@SV /dev/dsk/c2t1d11@BKSV
swsrpsetvol completed
# /opt/FJSVswsrp/bin/swsrpsetvol -Xgroup BKSTP1 /dev/dsk/c2t1d11 /dev/dsk/c2t1d12s1
swsrpsetvol completed
# /opt/FJSVswsrp/bin/swsrpsetvol -o BOTH -Xgroup RSSTP1 /dev/dsk/c2t1d12s1@BKSV /dev/dsk/c1t1d1@SV
swsrpsetvol completed
# /opt/FJSVswsrp/bin/swsrpvolinfo -L
Server Original-Volume         Size       Replica-Volume           Size       Copy          Op-Server   Group
BKSV   /dev/dsk/c1t1d1@SV      4.0 Gbyte  /dev/dsk/c2t1d11@BKSV    4.0 Gbyte  bi-direction  both        STP1
BKSV   /dev/dsk/c2t1d11@BKSV   4.0 Gbyte  /dev/dsk/c2t1d12s1@BKSV  4.0 Gbyte  bi-direction  original    BKSTP1
BKSV   /dev/dsk/c2t1d12s1@BKSV 4.0 Gbyte  /dev/dsk/c1t1d1@SV       4.0 Gbyte  bi-direction  both        RSSTP1
#
For Using AdvancedCopy Manager CCM

Register each combination of copy sources and copy destinations.

Since these are controlled synchronously in processing for backup and restoration, you have to register all devices that constitute a storage pool as a single group. For details on controlling groups, refer to "Creating Copy Groups" and "Adding Copy Pairs" in the AdvancedCopy Manager Operation Guide for Copy Control Module.

  1. Creation of copy groups

    Create a copy group for each copy setting.

    [Example]

    Create the 3 copy groups shown in the chart. (Copying type: OPC)

    # acgroup create -g STP1 -type OPC -a DX440
    Successful completion.
    #
    # acgroup create -g BKSTP1 -type OPC -a DX440
    Successful completion.
    #
    # acgroup create -g RSSTP1 -type OPC -a DX440
    Successful completion.
    #
  2. Registration of copy pairs

    In the created copy groups, register the combinations of copy sources and copy destinations. Register all devices that constitute a storage pool.

    [Example]

    In the created copy groups, register each device shown in the chart.

    # acpair add -g STP1 -p DX440/0x01:DX440/0x11
    Successful completion.
    # acpair add -g BKSTP1 -p DX440/0x11:DX440/0x12
    Successful completion.
    # acpair add -g RSSTP1 -p DX440/0x12:DX440/0x01
    Successful completion.