CASPUR Tape Dispatcher
File /etc/sysconfig/tapedispatcher.conf.
This is a main configuration file for Tape Dispatcher.
It is pretty simple and straightforward, and these are the rules:
- Empty lines, or lines that start with "#" are ignored.
- Line that starts with any non-blank character is
considered a new command line.
- First blank-separated field on a command line is a keyword.
- All lines between two command lines belong to a first of them.
- There are only three supported keywords, all others are ignored:
- PORT - used to describe the TCP port for communication;
if not present, it defaults to 7800:
"PORT number"
- DRIVE - used to describe a single drive:
"DRIVE type library driveid [host physicaldevice]+ "
- TAPE - used to describe some group of tapes:
"TAPE type library VID+ [or range VIDx-VIDy]+ "
What follows is an example of configuration file.
#####################################################
# CASPUR Tape Dispatcher - main configuration file #
#####################################################
#
# Define the dispatcher TCP port
PORT 7999
#
# Describe all drives that we manage
#
# type[,type2]+ library driveid [host/def]+
#------------------------------------------------------
DRIVE 9840 STK 0,1,1 pomodoro.caspur.it /dev/rmt/0
stager.caspur.it /dev/st1
maslo.caspur.it /dev/rmt/3
va08.caspur.it /dev/st1
DRIVE LTO2,LTO3 IBM1 0 mango.caspur.it /dev/rmt0
DRIVE LTO2,LTO3 IBM1 1 mango.caspur.it /dev/rmt1
stager.caspur.it /dev/st0
##
#
# Describe all available tapes in all libraries
#
# type library tapes
#-------------------------------------------------------
TAPE 9840 STK CAS001-CAS021 CAS035 CAS036-CAS098
CAS345 CAS328 CAS416-CAS973
TAPE LTO2 IBM1 LTO098 LTO201-LTO223
TAPE LTO3 IBM1 L30001-L30051
############################### END ################
|