![]() |
![]() |
The following is an overview for setting up Tivoli Storage Manager for server-free data movement operations:
Before you begin configuring Tivoli Storage Manager for server-free data movement, you must connect all devices to the SAN or the data mover devices, including:
The devices must exist on the SAN or be attached to the data mover devices prior to defining them to Tivoli Storage Manager. Consult the device documentation for connection instructions, or visit http://www.tivoli.com/support/storage_mgr/tivolimain.html.
Before you can configure Tivoli Storage Manager for server-free data movement, you must first identify and record the world wide name, serial number, and LUN of each disk device and tape drive used, and the world wide name and serial number of the data mover. This information will be used when defining devices and device paths. To do this, issue the QUERY SAN command. The QUERY SAN command will display the devices that can be detected on the SAN, as well as the information for those devices. For example, if you wanted to find the world wide name, the serial number, and the LUN for each device on your SAN, you would issue the following:
query san format=detailed
The output would list every device detected on the SAN, and the corresponding information detected for that device. The following illustrates the output for a disk and a tape drive detected on the SAN:
+--------------------------------------------------------------------------------+ | | | Device Type: DISK | | Vendor: IBM | | Product: DDYF-T18350R | | Serial: TEF76061 | | Device: | | DataMover: No | | Node WWN: 5005076206039E05 | | Port WWN: 5005076206439E05 | | Lun: 0 | | SCSI Port: 3 | | SCSI Bus: 0 | | SCSI Target: 0 | | | | Device Type: DRIVE | | Vendor: IBM | | Product: 03570B02 | | Serial: 67IU984T3 | | Device: mt10.2.0.3 | | DataMover: No | | Node WWN: 2002006045160D2A | | Port WWN: 2002006045160D2A | | Lun: 2 | | SCSI Port: 3 | | SCSI Bus: 0 | | SCSI Target: 10 | | | +--------------------------------------------------------------------------------+
When you record the information, be sure to use Port WWN as the world wide name, and Lun as the LUN to be used in the path definitions. For example, the information you would record for your tape drive would be:
There may be additional methods of discovering the world wide name, serial number and LUN, depending on what type of Fibre Channel host bus adapter and data mover device you are using. Consult the manufacturer of the product for more information.
For more information about QUERY SAN, see Tivoli Storage Manager for Windows Administrator's Reference.
Once you have detected and recorded the information for all of the devices detectable on the SAN, you must obtain and correlate the information for the disks that you will be backing up to the owning client nodes. This is necessary to ensure that only one client node will be able to perform a server-free backup or restore operation for any given disk in the SAN.
query diskinfo
The output will contain the information needed for correlating the disk information:
+--------------------------------------------------------------------------------+ | Disk name LUN Serial number | |------------- ----------- ------------- | |Harddisk0 0 TEF76061 | |Harddisk1 1 GH089673 | |Harddisk2 2 TEF78893 | | | +--------------------------------------------------------------------------------+
For more information about the client command, QUERY DISKINFO, see Backup-Archive Installation and User's Guide.
set serverfree status=on batchsize=500For more information on BATCHSIZE, see Managing Server-Free Data Movement.
define library scsilib libtype=scsi shared=no
define path server1 scsilib srctype=server desttype=library device=lb10.3.0.3
The DEVICE parameter specifies the device driver's name for the library, which is the special file name.
The device special file name may be displayed in the output of the QUERY SAN command, see Step 2. Determine World Wide Name, Serial Number and LUN. For more information about device special file names, see Using Device Alias Names. For more information about paths, see Defining Paths.
define drive scsilib drive1 element=16 wwn=2002006045160d2a serial=67iu984t3
To determine the world wide name and serial number of the drive, see Step 2. Determine World Wide Name, Serial Number and LUN. For more information about defing drives, see Defining Drives.
define path server1 drive1 srct=server desttype=drive library=scsilib device=mt10.2.0.3
The DEVICE parameter specifies the name for the drive, which is the special file name, used by the device driver.
The device special file name may be displayed in the output of the QUERY SAN command, see Step 2. Determine World Wide Name, Serial Number and LUN. For more information about device special file names, see Using Device Alias Names. For more information about paths, see Defining Paths.
define devclass scsiclass devtype=3570 library=scsilib
define stgpool srvfreepool scsiclass maxscratch=5 dataformat=nonblock
For more information, see Data Format for Server-Free Data Movement.
define domain sfdomain description='Policy domain for server-free data movement'
define policyset sfdomain standard
define mgmtclass sfdomain standard sf1
For more information about management classes, see Chapter 14, Implementing Policies for Client Data.
assign defmgmtclass sfdomain standard sf1
define copygroup sfdomain standard sf1 type=backup destination=srvfreepool
For more information about copy groups, see Chapter 14, Implementing Policies for Client Data.
activate policyset sfdomain standard
For more information on policy sets, see Chapter 14, Implementing Policies for Client Data.
register node belfast clientpass domain=sfdomain
For more information on client nodes, see Chapter 12, Adding Client Nodes.
define disk belfast Harddisk0 wwn=5005076206439e05 serial=tef76061
define datamover scsi1 type=scsi wwn=2002006045160d2a serial=21081300957 dataformat=nonblock copythreads=5To determine the world wide name and serial number of the data mover, see Step 2. Determine World Wide Name, Serial Number and LUN. For more information on COPYTHREADS, see Managing Server-Free Data Movement.
define path scsi1 drive1 srctype=datamover desttype=drive library=scsilib lun=2
These paths are defined in order to allow the drives to be used for server-free data movement operations. For more information about paths, see Defining Paths. To determine the LUN for the path, see Step 2. Determine World Wide Name, Serial Number and LUN.
define path scsi1 Harddisk0 srctype=datamover desttype=disk node=belfast lun=0
These paths are defined in order to allow the disks to be used for server-free data movement operations. For more information about paths, see Defining Paths. To determine the LUN for the path, see Step 2. Determine World Wide Name, Serial Number and LUN.