You must set up the library manager server in order to configure the Tivoli® Storage Manager servers to share SAN-connected devices.
Use the following procedure as an example of how to set up a Tivoli Storage Manager server as a library manager named ASTRO:
define library sangroup libtype=scsi shared=yes
This example uses the default for the library's serial number, which is to have the server obtain the serial number from the library itself at the time that the path is defined. Depending on the capabilities of the library, the server might not be able to automatically detect the serial number. In this case, the server does not record a serial number for the device, and is not able to confirm the identity of the device when you define the path or when the server uses the device.
define path astro sangroup srctype=server desttype=library
device=lb0.0.0.2
If you did not include the serial number when you defined the library, the server now queries the library to obtain this information. If you did include the serial number when you defined the library, the server verifies what you defined and issues a message if there is a mismatch.
define drive sangroup drivea
define drive sangroup driveb
This example uses the default for the drive's serial number, which is to have the server obtain the serial number from the drive itself at the time that the path is defined. Depending on the capabilities of the drive, the server might not be able to automatically detect the serial number. In this case, the server does not record a serial number for the device, and is not able to confirm the identity of the device when you define the path or when the server uses the device.
This example also uses the default for the drive's element address, which is to have the server obtain the element number from the drive itself at the time that the path is defined.
The element address is a number that indicates the physical location of a drive within an automated library. The server needs the element address to connect the physical location of the drive to the drive's SCSI address. You can have the server obtain the element number from the drive itself at the time that the path is defined, or you can specify the element number when you define the drive.
Depending on the capabilities of the library, the server might not be able to automatically detect the element address. In this case, you must supply the element address when you define the drive. If you need the element numbers, check the device worksheet that is filled out in step 6. Element numbers for many libraries are available at http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/Tivoli_Storage_Manager.
define path astro drivea srctype=server desttype=drive library=sangroup
device=mt0.1.0.2
define path astro driveb srctype=server desttype=drive library=sangroup
device=mt0.2.0.2
If you did not include the serial number or element address when you defined the drive, the server now queries the drive or the library to obtain this information.
define devclass tape devtype=dlt library=sangroup
checkin libvolume sangroup search=yes status=scratch
checklabel=barcode
define stgpool backtape tape
description='storage pool for shared sangroup' maxscratch=50