This section explains restoration of data backed up in units of slices/LUs.
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)".
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").
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"
Prepare the storage server and define the restoration destination device.
Follow the procedures below to build the storage server.
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".
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"
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".
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.
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.
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.
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.
Set the following environment variables according to the platform of the storage server.
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 |
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 .
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 |
Open the servername.cnf file using a Text Editor.
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 |
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 |
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)
Dismount the defined devices from the storage server.
Note
Do not connect the devices defined in this process to the tape server.
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.
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.
Storage server name
StrgSV01
Name of the storage server at the restoration destination
Stgsvr01
Backup type
Generation management backup
Relative generation number: 2
Restoration destination device
/dev/dsk/c2t0d0s1
Restoration target device
/dev/dsk/c1t0d0s1
Path to the ACM management information storage destination directory
/var/tmp/Tapesvr01/TapeData/FJSVswstm/data/Tapesvr01
Access path
/dev/FJSVmplb/rdsk/mplb2053s2
Path to the directory storing configuration information of the restoration destination device
/var/tmp/tsm_data
Specify the files that define the restoration destination device configuration created in Item 3 of 14.8.3.2.3 Procedures for defining the restoration destination devices.
# /opt/FJSVswstm/bin/tbodrrestore -h StrgSV01 -g 2 -d Stgsvr01 -r /dev/dsk/c2t0d0s1 /dev/dsk/c1t0d0s1 /var/tmp/Tapesvr01/TapeData/FJSVswstm/data/Tapesvr01 /dev/FJSVmplb/rdsk/mplb2053s2 /var/tmp/tsm_data # |
Devices to be specified as restoration destination devices in 11.5.2 tbodrrestore (Command for restoring from tape for disaster recovery) must be arranged for in advance according to the procedures in "14.8.3.2 Preparing a device as the restoration destination".
For details on this command, refer to "11.5.2 tbodrrestore (Command for restoring from tape for disaster recovery)".
Execute this procedure as many times as the number of devices selected in "14.8.3.1 Displaying and selecting the restoration 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).