Top
ETERNUS SFAdvancedCopy Manager 14.0 Operator's Guide forTape Server Option

14.8.3 Restoring data backed up in units of slices/LUs

This section explains restoration of data backed up in units of slices/LUs.

14.8.3.1 Displaying and selecting the restoration data

Execute 11.5.1 tbodrhistdisp (Tape backup history batch display command) on the tape server to select the device on the ETERNUS storage system to which data is restored according to the information displayed.

When selecting the device for data restoration, take into account the disk capacity of the ETERNUS storage system at the disaster recovery site.

For details of the tape backup history package display command, refer to "11.5.1 tbodrhistdisp (Tape backup history batch display command)".

14.8.3.2 Preparing a device as the restoration destination

Prior to restoring data, define partitions (slices) or LUs on the ETERNUS storage system as the restoration destination device (for the data selected in "14.8.3.1 Displaying and selecting the restoration data").

14.8.3.2.1 Processing overview

Arrange for a storage server with the same platform as that displayed in "Platform" when 11.5.1 tbodrhistdisp (Tape backup history batch display command) is executed, and then define partitions (slices) or LUs.

Figure 14.9 "Summary of the restore destination device definition" and "Example of the tbodrhistdisp command execution"

14.8.3.2.2 Preparing storage server

Prepare the storage server and define the restoration destination device.

Follow the procedures below to build the storage server.

  1. Installing the agent

    Install the AdvancedCopy Manager agent.

    For details of the installation procedure, refer to "Installing the agent" in "ETERNUS SF AdvancedCopy Manager Installation Guide".

  2. Customizing the storage server

    Customize the storage server.

    For details of customizing the storage server, refer to "Customizing the storage server" in the "ETERNUS SF AdvancedCopy Manager Installation Guide"

14.8.3.2.3 Procedures for defining the restoration destination devices

The procedures for defining the restoration destination devices are explained as follows.

Execute this processing as many times as the number of devices selected as described in "14.8.3.1 Displaying and selecting the restoration data".

  1. Obtaining information required to define the devices

    Obtain "Platform" information and "Capacity (MB)" information from the result of 11.5.1 tbodrhistdisp (Tape backup history batch display command) executed for the devices selected for restoration.

  2. Defining devices on the storage server

    Define partitions (slices) or LUs as the restoration destination devices on the storage server using information obtained in Item 1 above.

  3. Creating configuration information files of the restoration destination devices

    Record configuration information of devices defined in Item 2 above in the definition files.

    [File name]

    servername.cnf

    • servername

      Specify the name of the storage server that is the restoration destination at the disaster recovery site.

    [Location of file storage]

    On the tape server

    [Explanation on the files]

    The file must be created for each storage server.

    The file format is shown below.

    <Blockdevice name> <BoxID> <LU number> <Start extent> <Size>

    Details of the definition information are explained below.

    Table 14.5 Details of definition information

    Item

    Explanation

    Blockdevice name

    Block device name

    BoxID

    BOXID hexadecimal expression

    (Explained in "How to create the statement"* according to the STXGetvol output.)

    LU number

    For LU number, attach hexadecimal "h".

    (Explained in"How to create the statement"* according to the STXGetvol output.)

    Start extent

    For the start position, attach hexadecimal "h".

    (Explained in"How to create the statement"* according to the STXGetvol output.)

    Size

    For size, attach hexadecimal "h".

    (Explained in"How to create the statement"* according to the STXGetvol output.)

    • Lines starting with '#' in the first column are comment lines.

    • A delimiter between columns is a null or a tab.

    • Only alphanumeric and special characters can be used. Characters that are language dependent cannot be used.

    • The line feed code is UNIX.

    An example is shown below.

    # Volume BOXID LUN EXTENT SIZE
    /dev/dsk/c1t1d1s3 30304752373430232323232323234752373443303123232323234341343723232323232323232323 ceh fc000h 64000h

    Note

    When the file contains a description error, 11.5.2 tbodrrestore (Command for restoring from tape for disaster recovery) will result in an error.

    [How to create]

    Create the servername.cnf file on the storage server by following the procedures below.

    1. Set the following environment variables according to the platform of the storage server.

      Table 14.6 Environment variables

      Platform

      Environment variable

      Setting value

      Solaris 8 operating system

      Solaris 9 operating system

      Solaris 10 operating system

      LD_LIBRARY_PATH

      /opt/FJSVgrapi/64/lib

      Red Hat Enterprise Linux AS (v.4 for x86)

      Red Hat Enterprise Linux ES (v.4 for x86)

      Red Hat Enterprise Linux AS (v.4 for EM64T)

      Red Hat Enterprise Linux ES (v.4 for EM64T)

      Red Hat Enterprise Linux 5 (for x86)

      Red Hat Enterprise Linux 5 (for Intel64)

      LD_LIBRARY_PATH

      /opt/FJSVgrapi/32/lib

      Red Hat Enterprise Linux AS (v.4 for Itanium)

      Red Hat Enterprise Linux 5 (for Itanium)

      LD_LIBRARY_PATH

      /opt/FJSVgrapi/64/lib

      HP-UX 11.0, 11i v1, 11i v2 (PA-RISC)

      HP-UX 11i v2 (Itanium)

      HP-UX 11i v3(Itanium)

      SHLIB_PATH

      /opt/FJSVgrapi/lib

      AIX 5L 5.1, 5.2, 5.3

      LIBPATH

      /opt/FJSVgrapi/lib

      Microsoft (R) Windows Server (R) 2003, Standard Edition SP1, SP2

      Microsoft (R) Windows Server (R) 2003, Enterprise Edition SP1, SP2

      Microsoft (R) Windows Server (R) 2003, Standard x64 Edition

      Microsoft (R) Windows Server (R) 2003, Standard x64 Edition SP2

      Microsoft (R) Windows Server (R) 2003, Enterprise x64 Edition

      Microsoft (R) Windows Server (R) 2003, Enterprise x64 Edition SP2

      Microsoft (R) Windows Server (R) 2003 R2, Standard Edition

      Microsoft (R) Windows Server (R) 2003 R2, Standard Edition SP2

      Microsoft (R) Windows Server (R) 2003 R2, Enterprise Edition

      Microsoft (R) Windows Server (R) 2003 R2, Enterprise Edition SP2

      Microsoft (R) Windows Server (R) 2003 R2, Standard x64 Edition

      Microsoft (R) Windows Server (R) 2003 R2, Standard x64 Edition SP2

      Microsoft (R) Windows Server (R) 2003 R2, Enterprise x64 Edition

      Microsoft (R) Windows Server (R) 2003 R2, Enterprise x64 Edition SP2

      Microsoft (R) Windows Server (R) 2003, Enterprise Edition for Itanium-based Systems

      Microsoft (R) Windows Server (R) 2003, Enterprise Edition for Itanium-based Systems SP2

      PATH

      Program directory\bin of AdvancedCopy Manager

    2. Specify the work volume (raw device) in the STXGetVol command and execute the command to collect information to set in the servername.cnf file. Refer to the following table for the STXGetVol command path.

      When a Windows storage server is used, specify a drive in the format of "\\.\drive-letter (for example: \\.\E:)" for the work volume .

      Table 14.7 STXGetVol command paths

      Platform

      Command path

      Solaris 8 operating system

      Solaris 9 operating system

      Solaris 10 operating system

      /opt/FJSVgrapi/64/bin/STXGetVol

      Red Hat Enterprise Linux AS (v.4 for x86)

      Red Hat Enterprise Linux ES (v.4 for x86)

      Red Hat Enterprise Linux AS (v.4 for EM64T)

      Red Hat Enterprise Linux ES (v.4 for EM64T)

      Red Hat Enterprise Linux 5 (for x86)

      Red Hat Enterprise Linux 5 (for Intel64)

      /opt/FJSVgrapi/32/bin/STXGetVol

      Red Hat Enterprise Linux AS (v.4 for Itanium)

      Red Hat Enterprise Linux 5 (for Itanium)

      /opt/FJSVgrapi/64/bin/STXGetVol

      HP-UX 11.0, 11i v1, 11i v2 (PA-RISC)

      HP-UX 11i v2 (Itanium)

      HP-UX 11i v3(Itanium)

      /opt/FJSVgrapi/bin/STXGetVol

      AIX 5L 5.1, 5.2, 5.3

      /opt/FJSVgrapi/bin/STXGetVol

      Microsoft (R) Windows Server (R) 2003, Standard Edition SP1, SP2

      Microsoft (R) Windows Server (R) 2003, Enterprise Edition SP1, SP2

      Microsoft (R) Windows Server (R) 2003, Standard x64 Edition

      Microsoft (R) Windows Server (R) 2003, Standard x64 Edition SP2

      Microsoft (R) Windows Server (R) 2003, Enterprise x64 Edition

      Microsoft (R) Windows Server (R) 2003, Enterprise x64 Edition SP2

      Microsoft (R) Windows Server (R) 2003 R2, Standard Edition

      Microsoft (R) Windows Server (R) 2003 R2, Standard Edition SP2

      Microsoft (R) Windows Server (R) 2003 R2, Enterprise Edition

      Microsoft (R) Windows Server (R) 2003 R2, Enterprise Edition SP2

      Microsoft (R) Windows Server (R) 2003 R2, Standard x64 Edition

      Microsoft (R) Windows Server (R) 2003 R2, Standard x64 Edition SP2

      Microsoft (R) Windows Server (R) 2003 R2, Enterprise x64 Edition

      Microsoft (R) Windows Server (R) 2003 R2, Enterprise x64 Edition SP2

      Microsoft (R) Windows Server (R) 2003, Enterprise Edition for Itanium-based Systems

      Microsoft (R) Windows Server (R) 2003, Enterprise Edition for Itanium-based Systems SP2

      AdvancedCopy Manager program directory\bin\STXGetVol

      The following uses Solaris as an example.

      Example:

      # LD_LIBRARY_PATH=/opt/FJSVgrapi/64/lib
      # export LD_LIBRARY_PATH
      # /opt/FJSVgrapi/64/bin/STXGetVol /dev/rdsk/c1t1d1s3
      BoxID OLU EXTENT SIZE
      30304752373430232323232323234752373443303123232323234341343723232323232323232323 ceh fc000h 64000h
      Device information Dump
      0000 : 00000000 00000000 00000000 00000000
      0010 : 00080100 00010100 00080100 00010100
      0020 : 00000000 00000000 00000000 00000000
      0030 : 00000000 00000000 00000000 00000000
      0040 : 00000000 00000007 00000000 00000003
      0050 : 00000000 00010003 00000000 00010003
      0060 : 00000000 00000000 00000000 00000000
      0070 : 00000000 00000000 00000000 00000000
      0080 : 00000000 00000000 00000000 00000000
      0090 : 00000000 00000000 00000000 00000000
      00a0 : 00000000 00000000 00000000 00000000
      00b0 : 00000000 00000000 00000000 00000000
      00c0 : 00000000 00000000 00000000 00000000
      00d0 : 00000000 00000000 00000000 00000000
      00e0 : 00000000 00000000 00000000 00000000
      00f0 : 00000000 00000000 00000000 00000000
    3. Open the servername.cnf file using a Text Editor.

    4. Add the block device of the work volume specified as shown in the above Item b) at the beginning of a line followed by nulls or tabs. Add the following line as it is and then insert a line feed.

      An example is shown below.

      # Volume BOXID LUN EXTENT SIZE
      /dev/dsk/c1t1d1s3 30304752373430232323232323234752373443303123232323234341343723232323232323232323 ceh fc000h 64000h
    5. Repeat the above Items b) and d) as many times as the number of restoration destination volumes that need to have information added.

      An example of entering four volumes is shown below.

      # Volume BOXID LUN EXTENT SIZE
      /dev/dsk/c1t1d1s3 30304752373430232323232323234752373443303123232323234341343723232323232323232323 ceh fc000h 64000h
      /dev/dsk/c2t16d3s4 303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323 88h c0000h 40000h
      /dev/dsk/c2t16d3s3 303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323 88h 80000h 40000h
      /dev/dsk/c2t16d3s5 303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323 88h 100000h 40000h
    6. Transfer the servername.cnf file thus created in /var/tmp/tsm_data on the tape server.

    Note

    Take note of the following differences when specifying devices.

    • Device name to specify for the command: special device name (Example: /dev/rdsk/c1t1d1s3)

    • Device name to specify for the file: block device name (Example: /dev/dsk/c1t1d1s3)

  4. Dismount the defined devices from the storage server.

Note

Do not connect the devices defined in this process to the tape server.

14.8.3.3 Restoring user data

This section explains the procedure for data recovery from backup tapes.

The TSM server must be started before using 11.5.2 tbodrrestore (Command for restoring from tape for disaster recovery).

Refer to "11.6.7 Starting and stopping the TSM daemon" to check and start TSM if necessary.

14.8.3.3.1 Restoring work volume data

Data is restored using 11.5.2 tbodrrestore (Command for restoring from tape for disaster recovery).

An example of restoring user data is shown below.

14.8.3.4 Checking restored data

To check the data restored in "14.8.3.3 Restoring user data", you must mount the restoration destination device on the storage server of the platform indicated for that data in the displayed results of 11.5.1 tbodrhistdisp (Tape backup history batch display command).