Top
ETERNUS SF AdvancedCopy Manager V15.1 Operation Guide
ETERNUS

G.3.4 Operation

This section describes procedures for backing up and restoring ZFS storage pools.

For details on the settings (device settings) to be made in advance for using AdvancedCopy Manager, or on the backup and restoration procedures, refer to "Chapter 6 Replication" and the "ETERNUS SF Operation Guide for Copy Control Module".

Note that the procedures and commands shown here are examples of snapshot-type copying (OPC). For using other types of copying, replace the procedures and commands as needed for each type of copying.

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.

Backup and restoration of system areas

Backup

This section shows the procedure for backing up a system area (root pool).

No.

Description

Controlling server

1

Stop the backup source server.

Business server

2

Use AdvancedCopy Manager to back up the devices in the storage pool that is to be backed up.

Backup server

3

Start the backup source server.

Business server

The procedure for backup is as follows:

  1. Stop the backup source server.

    For information on how to stop a server, refer to the operating system manuals.
    After stopping the server, make sure that the server's power supply is turned OFF.

  2. Use AdvancedCopy Manager to back up the devices in the storage pool that is to be backed up.

    From the backup server, use AdvancedCopy Manager commands to perform the backup.

    For using replication management function

    Specify the group and execute swsrpmake (Replication creation command). Specify the -m option in order to prevent data communication to the backup source server.

    [Example]

    # /opt/FJSVswsrp/bin/swsrpmake -m -Xgroup STP1
    GROUP=STP1 swsrpmake completed
    #

    For using AdvancedCopy Manager CCM

    Execute acopc start (OPC/QuickOPC copy start command) for AdvancedCopy Manager CCM.

    [Example]

    # /opt/FJSVccm/bin/acopc start -g STP1
    DX440/0x01:DX440/0x11
    # DATE : 2012/01/01 00:00:00 - << OPC Started >>
    # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/
    Adr_high=0/Adr_low=0/size_high=0/size_low=0
    # To  :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=11/
    Adr_high=0/Adr_low=0
    
      Succeeded : 1
      Failed    : 0
    #

    Note

    Since processing is carried out for all devices that constitute the storage pool, do not specify any copy pairs.

  3. Start the backup source server.


Restoration

This section shows the procedure for restoring a system area (root pool).

No.

Description

Controlling server

1

Stop the server that is to be restored.

Business server

2

Use AdvancedCopy Manager to restore the devices in the storage pool that is to be restored.

Backup server

3

Start the server that is to be restored.

Business server

  1. Stop the server that is to be restored.

    For information on how to stop a server, refer to the operating system manuals.
    After stopping the server, make sure that the server's power supply is turned OFF.

  2. Use AdvancedCopy Manager to restore the devices in the storage pool that is to be restored.

    From the backup server, use AdvancedCopy Manager commands to perform the restore.

    For using replication management function

    Perform copying in the opposite direction (from copy destination to source).

    Specify the -Xreverse option and execute swsrpmake (Replication creation command). Also specify the -m option in order to prevent data communication to the server that is being restored.

    [Example]

    # /opt/FJSVswsrp/bin/swsrpmake -m -Xreverse -Xgroup STP1
    GROUP=STP1 swsrpmake completed
    #

    For using AdvancedCopy Manager CCM

    Perform copying in the opposite direction (from copy destination to source).

    Specify the -r option and execute acopc start (OPC/QuickOPC copy start command) for AdvancedCopy Manager CCM.

    [Example]

    # /opt/FJSVccm/bin/acopc start -r -g STP1
    DX440/0x01:DX440/0x11
    # DATE : 2012/01/01 00:00:00 - << OPC Started >>
    # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=11/
    Adr_high=0/Adr_low=0/size_high=0/size_low=0
    # To  :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/
    Adr_high=0/Adr_low=0
    
      Succeeded : 1
      Failed    : 0
    #

    Note

    Since processing is carried out for all devices that constitute the storage pool, do not specify any copy pairs.

  3. Start the server that is to be restored.

Backup and restoration of data areas

Backup

This section shows the procedure for backing up a data area.

No.

Description

Controlling server

1

Unmount all ZFS file systems that are in the storage pool to be backed up.

Business server

2

Export the storage pool to be backed up.

Business server

3

Use AdvancedCopy Manager to back up the devices in the storage pool that is to be backed up.

Business server or backup server

4

Import the storage pool to be backed up.

Business server

5

Mount the target ZFS file systems.

Business server

The procedure for backup is as follows:

  1. Unmount all ZFS file systems that are in the storage pool to be backed up.

    Unmount all ZFS file systems that are on the business server (backup source server). For information on how to unmount ZFS file systems, refer to the operating system manuals.

    [Example]

    # zfs mount
    STP2/data1 /mnt/data1
    STP2/data2 /mnt/data2
    #
    # zfs umount /mnt/data1
    # zfs umount /mnt/data2
    #
  2. Export the storage pool to be backed up.

    Export the ZFS storage pool on the business server (backup source server). For details, refer to the operating system manuals.

    [Example]

    # zpool export STP2
    #
  3. Use AdvancedCopy Manager to back up the devices in the storage pool that is to be backed up.

    From the business server or backup server, use AdvancedCopy Manager commands to perform the backup.

    For using replication management function

    Specify the group and execute swsrpmake (Replication creation command).

    [Example]

    # /opt/FJSVswsrp/bin/swsrpmake -Xgroup STP2
    GROUP=STP2 swsrpmake completed
    #

    For using AdvancedCopy Manager CCM

    Execute acopc start (OPC/QuickOPC copy start command) for AdvancedCopy Manager CCM.

    [Example]

    # /opt/FJSVccm/bin/acopc start -g STP2
    DX440/0x02:DX440/0x12
    # DATE : 2012/01/01 00:00:00 - << OPC Started >>
    # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=2/
    Adr_high=0/Adr_low=0/size_high=0/size_low=0
    # To  :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=12/
    Adr_high=0/Adr_low=0
    
    DX440/0x03:DX440/0x13
    # DATE : 2012/01/01 00:00:02 - << OPC Started >>
    # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=3/
    Adr_high=0/Adr_low=0/size_high=0/size_low=0
    # To  :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=13/
    Adr_high=0/Adr_low=0
    
      Succeeded : 2
      Failed    : 0
    #

    Note

    Since processing is carried out for all devices that constitute the storage pool, do not specify any copy pairs.

  4. Import the storage pool to be backed up.

    Import the ZFS storage pool on the business server (backup source server). For details, refer to the operating system manuals.

    [Example]

    # zpool import STP2
    #
  5. Mount the target ZFS file systems.

    Mount all ZFS file systems that are on the business server (backup source server). If the ZFS file systems have not been mounted automatically at step 4 (importing storage pool), mount them manually.

    For information on how to mount ZFS file systems, refer to the operating system manuals.

    [Example]

    # zfs mount STP2/data1
    # zfs mount STP2/data2
    #

Restoration

This section shows the procedure for restoring a data area.

This section shows the procedure for backing up a data area.

No.

Description

Controlling server

1

Unmount all ZFS file systems that are in the storage pool to be restored.

Business server

2

Delete the storage pool that is to be restored.

Business server

3

Use AdvancedCopy Manager to restore the devices in the storage pool that is to be restored.

Business server or backup server

4

Import the storage pool to be backed up.

Business server

5

Mount the target ZFS file systems.

Business server

The procedure for restoration is as follows:

  1. Unmount all ZFS file systems that are in the storage pool to be restored.

    Unmount all ZFS file systems that are on the business server (backup source server). For information on how to unmount ZFS file systems, refer to the operating system manuals.

    [Example]

    # zfs mount
    STP2/data1 /mnt/data1
    STP2/data2 /mnt/data2
    #
    # zfs umount /mnt/data1
    # zfs umount /mnt/data2
    #
  2. Delete the storage pool that is to be restored.

    Delete (destroy) the ZFS storage pool on the business server (backup source server). For information on how to delete a ZFS storage pool, refer to the operating system manuals.

    [Example]

    # zpool destroy  STP2
    #
  3. Use AdvancedCopy Manager to restore the devices in the storage pool that is to be restored.

    From the business server or the backup server, use AdvancedCopy Manager commands to perform the restore.

    For using replication management function

    Perform copying in the opposite direction (from copy destination to source).

    Specify the -Xreverse option and execute swsrpmake (Replication creation command).

    [Example]

    # /opt/FJSVswsrp/bin/swsrpmake -Xreverse -Xgroup STP2
    GROUP=STP2 swsrpmake completed
    #

    For using AdvancedCopy Manager CCM

    Perform copying in the opposite direction (from copy destination to source).

    Specify the -r option and execute acopc start (OPC/QuickOPC copy start command) for AdvancedCopy Manager CCM.

    [Example]

    # /opt/FJSVccm/bin/acopc start -r -g STP2
    DX440/0x02:DX440/0x12
    # DATE : 2012/01/01 00:00:00 - << OPC Started >>
    # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=12/
    Adr_high=0/Adr_low=0/size_high=0/size_low=0
    # To  :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=2/
    Adr_high=0/Adr_low=0
    
    DX440/0x03:DX440/0x13
    # DATE : 2012/01/01 00:00:02 - << OPC Started >>
    # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=13/
    Adr_high=0/Adr_low=0/size_high=0/size_low=0
    # To  :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=3/
    Adr_high=0/Adr_low=0
    
      Succeeded : 2
      Failed    : 0
    #
  4. Import the storage pool to be backed up.

    Import the ZFS storage pool on the business server (backup source server). For details, refer to the operating system manuals.

    [Example]

    # zpool import STP2
    #
  5. Mount the target ZFS file systems.

    Mount all ZFS file systems that are on the business server (backup source server). If the ZFS file systems have not been mounted automatically at step 4 (importing storage pool), mount them manually.

    For information on how to mount ZFS file systems, refer to the operating system manuals.

    [Example]

    # zfs mount STP2/data1
    # zfs mount STP2/data2
    #