DEFINE LIBRARY (Define a shared library)

Use this syntax to define a shared library.

Privilege class

To issue this command, you must have system privilege or unrestricted storage privilege.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-DEFine LIBRary--library_name--LIBType--=--SHAREd------------->

>--PRIMarylibmanager--=--server_name---------------------------><

Parameters

library_name (Required)
Specifies the name of the library to be defined. The maximum length of this name is 30 characters.
LIBType=SHAREd (Required)
Specifies that the library is shared with another Tivoli® Storage Manager server over a storage area network (SAN) or a dual SCSI connection to library drives.
Important: Specify this library type when you define the library on a library client.
PRIMarylibmanager
Specifies the name of the Tivoli Storage Manager server that is responsible for controlling access to library resources. You must define this server with the DEFINE SERVER command before you can use it as a library manager. This parameter is required and valid only if LIBTYPE=SHARED.

Example: Define a shared library

In a SAN, define a library named SHAREDTSM to a library client server named LIBMGR1
define library sharedtsm libtype=shared primarylibmanager=libmgr1