To learn how to set up a SCSI library sharing environment for servers that run on AIX® or Linux® systems,
review the sample procedure.
About this task
In this example, a library manager server named ASTRO and a library client named JUDY are
configured. To help clarify where each step is performed, the commands are preceded by the server
name from which the command is issued. Most commands are issued from the library client.For SCSI
libraries, define the library by specifying the libtype=scsi
parameter.
Procedure
-
To set up ASTRO as the library manager server, define a shared SCSI library named
SANGROUP.
-
Define ASTRO as the library manager server by issuing the DEFINE SERVER
command.
judy> define server astro serverpassword=secret hladdress=192.0.2.24
lladdress=1777 crossdefine=yes
-
Define the shared library SANGROUP by issuing the DEFINE LIBRARY command.
You must use the library manager server name in the PRIMARYLIBMANAGER
parameter, and use
LIBTYPE=SHARED.
judy> define library sangroup libtype=shared primarylibmanager=astro
Ensure
that the library name is the same as the library name on the library manager.
-
Define paths from the library manager, ASTRO, to two drives in the shared library by issuing
the DEFINE PATH command.

astro> define path judy drivea srctype=server desttype=drive
library=sangroup device=/dev/rmt6
astro> define path judy driveb srctype=server desttype=drive
library=sangroup device=/dev/rmt7

astro> define path judy drivea srctype=server desttype=drive
library=sangroup device=/dev/IBMtape6
astro> define path judy driveb srctype=server desttype=drive
library=sangroup device=/dev/IBMtape7
-
Define all device classes that are associated with the shared library.

judy> define devclass tape library=sangroup devtype=lto

judy> define devclass tape library=sangroup devtype=lto
The following parameters for the device class definition must be the same on the library client
and the library manager:
- LIBRARY
- DRIVEENCRYPTION
- WORM
- FORMAT
-
Define a storage pool that is named BACKTAPE for the shared library to use. Issue the
DEFINE STGPOOL command.
judy> define stgpool backtape tape maxscratch=50
What to do next
Repeat the procedure to define more library clients to your library manager.