PRIMECLUSTER Global Disk Services Configuration and Administration Guide 4.1 (Solaris(TM) Operating System)
Contents PreviousNext

Chapter 5 Operation> 5.3 Operation in Use> 5.3.2 Backup

5.3.2.1 Backup (by Slice Detachment)

This section describes the procedure for creating backup of a mirror volume making use of a snapshot by detaching a slice. This method requires the following "slice operations."


Use Conditions on Snapshot by Slice Detachment
Slices can be detached only from mirror volumes with physical slices. In other words, if disks are not connected directly to mirror groups, creation of snapshots by slice detachment is impossible.

Restore
When data is restored back to a volume using data backed up in this procedure, data is restored for the access path to that volume, /dev/sfdsk/class_name/rdsk/volume_name. For details, see "Restore."


Slice Detachment

In order to create a backup, you must temporarily exclude one of the slices from volume, and make it accessible as a separate volume.

The procedures are explained below.

  1. Displaying the volume status including the slice

    In the Main screen, display the volume containing the slice for which you want to create a backup. Click the icon and [Slice Information] appears.

  2. Selecting the slice to detach

    In the Slice List, select the slice you want to detach by clicking its icon.

  3. Selecting [Detach Slice] menu

    In the Main screen [Operation] menu, select [Detach Slice].

    [Figure: Detach Slice]


  4. Setting the environment of the detaching slice

    We will set the environment of the detaching slice.

    [Figure: Setting the environment of the detaching slice]


    1. Access Mode

      Set the access mode of the detached slice.

      The initial value is "Read and write possible."

      When you specify "Read only possible," the detached mirror slice will be available for read only. Opening a read-only slice in write mode will result in an error.



      Click <OK> after setting the environment. If you click <Cancel>, the detaching of the slice will be cancelled.


    Slice status available for [Detach Slice]
    You can only perform [Detach Slice] operation to slices that are in either "active" or "stop" status.

    The confirmation screen shown below appears.
    To continue the process, click <Yes>. Clicking <No> cancels the slice detachment process.

    [Figure: Confirming Slice Detach]


  5. Backup Using Access Path

    Click <Yes>, and message notifying the completion of detach slice appears.

    Use the access path specified in the message to proceed with backup.

    [Figure: Notifying Detach Slice Complete]

     

Attach Slice

After the backup is complete, the slice that was temporarily detached will be attached to the volume again.

If the volume is activated, synchronization copying will begin.

The procedures are explained below.

  1. Selecting the slice to attach

    In the Slice Information field, select the mirror slice you want to attach by clicking its icon.

  2. Selecting [Attach Slice] menu

    In the Main screen [Operation] menu, select [Attach Slice].

    [Figure: Attach Slice]


    The confirmation screen shown below appears.

    To continue the process, click <Yes>. Clicking <No> cancels the slice attachment process.

    [Figure: Confirming "Attach Slice"]


  3. Notifying the completion of Attach Slice

    Click <OK>, and a message notifying the completion of Attach Slice appears.

    [Figure: Notifying Attach Slice Completion]

     

Reliable Backup Procedures

Although the procedure above allows you to use the volume as it is after preparing backup, reliability is affected since one of the slices is excluded.

To ensure reliability, temporarily add a backup disk and perform synchronization copying. After its completion, exclude the slice.

For safe and reliable backup, follow the procedures below.


  1. Register backup disk with class.

  2. Connect backup disk to group.

  3. After completing synchronization copying, stop service.

  4. Detach slice.

  5. Resume service.

  6. Perform backup using access path for backup.

  7. Attach slice.

  8. Disconnect backup disk from group.

  9. Remove backup disk from class.

Completing procedures 1 and 2 in advance will save the waiting time for synchronization copying in procedure 3, therefore reducing the time required for backup.

 

Perform [Detach Slice] after Stopping Services
To ensure integrity of backup data, always stop service before excluding the slice.
You may resume service once [Detach Slice] is complete. You do not have to suspend service during the actual backup process.
When excluding the slice without stopping service, run host programs such as fsck (in case of file system) as necessary.

Stop/Activate Slice

Stop Slice

In order to protect data of the slice which has been detached to prepare for backup, a slice with "temp" status will temporarily become inaccessible.

  1. Selecting the slice to stop

    In the Slice Information Field, select the slice you want to stop by clicking the "temp" status slice icon.

  2. Selecting [Stop/Activate Slice] menu

    In the Main screen [Operation] menu, select [Stop/Activate Slice].

    [Figure: Stop Slice]


    To continue the process, click <Yes>. Clicking <No> cancels the slice stop process.

Activate Slice

Reactivate the slice that has become inaccessible ("temp-stop" status) as a result of performing [Stop Slice] operation or switching of the nodes, and make it accessible.

  1. Selecting the slice to activate

    In the Slice Information Field, select the slice you want to reactivate by clicking the "temp-stop" status slice icon.

  2. Selecting [Stop/Activate Slice] menu

    In the Main screen [Operation] menu, select [Stop/Activate Slice].

    [Figure: Activate Slice]


    To continue the process, click <Yes>. Clicking <No> cancels the slice activation process.



Contents PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2005