HP IAP Version 2.0 Administrator Guide (July 2008)

Figure 25 Server process list
Adding and
labeling new media (command line)
The Add Vol
umes wizard mentioned in Adding and labeling new media (We b interface)”onpage94
gathers i
nformation to build the necessary Tivoli command. The command can be issued on the
command l
ine m anually (for example, if the Web interface is not available).
The following command (which includes no line break) is equivalent to the procedure that was described
in the previous section:
LABEL lib
vol LIB.TAPE search=yes labelsource=vollist
vollist=TAPE.8,TAPE.9 overwrite=YES checkin=SCRATCH WAITTIME=60
This command causes Tivoli Storage Manager to search for media and label them according to the names
specied as vollist. It also checks in the new volumes. Use the following procedure to issue the command :
1. Open two
ssh sessions to the PCC machine. Use one to observe the command.
2. In the rst shell, type the command: dsmadmc –con.
The Tivoli monitoring console opens.
3. In the second shell, begin the Tivoli command line interface by typing dsmadmc and issue the
libvol
command as described.
Note that the volume labels that are specied as a list are separated by commas with no spaces
between.
4. You sho
uld now see the same command and additional information in the monitoring console.
When th
eprocessisnished you should see o utput that looks something like this:
ANR881
0I Volume TAPE.8 has been labeled in library LIB.TAPE.
ANR881
0I Volume TAPE.9 has been labeled in library LIB.TAPE.
ANR880
1I LAB E L LI BVOLUME process 96 for library LIB.TAPE completed;
2volum
e(s) labeled, 2 volume(s) checked-in.
If the library has a barcode reader, change the command to use the barcodes as volume labels:
LABEL libvolume LIB.TAPE search=yes labelsource=barcode overwrite=YES
Administrator Guide
97