The following tasks are required to share tape library devices over a
SAN:
Task | Required Privilege Class |
---|---|
"Setting up Server Communications" | System or unrestricted storage |
"Setting up the Library Manager Server" | System or unrestricted storage |
"Setting up the Library Client Servers" | System or unrestricted storage |
Before TSM servers can share a storage device over a SAN, administrators must set up server communications. This requires configuring each server for Enterprise Administration and defining the servers to each other, using the cross-define function. See Setting Up Communications Among Servers for details.
Note: | Administrators must set up each server with a unique name. |
Use the following procedure as an example of how to set up a TSM server as a library manager:
define library sangroup libtype=scsi device=/dev/rmt/3lb shared=yes
define drive sangroup drivea device=/dev/rmt/4mt element=82 define drive sangroup driveb device=/dev/rmt/5mt element=83
define devclass tape devtype=3570 mountretention=2 mountwait=10 library=sangroup
To check in volumes that are already labeled, use the following command:
checkin libvolume sangroup search=yes status=scratch checklabel=barcode
To label and check in the volumes, use the following command:
label libvolume sangroup search=yes labelsource=barcode checkin=scratch
define stgpool backtape tape description='storage pool for shared sangroup' maxscratch=50
Use the following procedure as an example of how to set up a TSM server as a library client:
define server sangroup serverpassword=secret hladdress=9.115.3.45 lladdress=1580 crossdefine=yes
Note: | Ensure that the library name agrees with the library name on the library manager. |
define library sangroup libtype=shared primarylibmanager=libmaster
define drive sangroup drivea device=/dev/rmt/4mt define drive sangroup driveb device=/dev/rmt/5mt
Note: | You do not have to specify all of the drives in the shared library device. |
define devclass tape devtype=3570 mountretention=2 mountwait=10 library=sangroup
define stgpool backtape tape description='storage pool for shared sangroup' maxscratch=50
When the library manager server starts and the storage device initializes, or after a library manager server is defined to a library client server, the library client server contacts the library manager server. The library client server confirms that the contacted server is the library manager for the named library device. The library client server also compares drive definitions with the library manager server for consistency. The library client server contacts the library manager server for each of the following operations:
Table 6 shows the interaction between library client servers and the
library manager server in processing TSM commands.
Table 6. How SAN-enabled Servers Process Common TSM Commands
Server command | Library Manager Server | Library Client Server |
---|---|---|
QUERY LIBVOLUME | Displays the volumes that are checked into the library. For private volumes, the owner server is also displayed. | Not applicable. |
CHECKIN LIBVOLUME
CHECKOUT LIBVOLUME | Performs the commands to the library device. | Not applicable.
When a check-in operation must be performed because of a client restore, a request is sent to the library manager server. |
MOVE MEDIA
MOVE DRMEDIA | Only valid for volumes used by the library manager server. | Requests that the library manager server perform the operations. Generates a checkout process on the library manager server. |
AUDIT LIBRARY | Performs the inventory synchronization with the library device. | Performs the inventory synchronization with the library manager server. |
LABEL LIBVOLUME | Performs the labeling and check-in of media. | Not applicable. |
DISMOUNT VOLUME | Sends the request to the library device. | Requests that the library manager server perform the operation. |
QUERY VOLUME | Checks whether the volume is owned by the requesting library client server and checks whether the volume is in the library device. | Requests that the library manager server perform the operation. |