createVolserRanges CLI command
Use the createVolserRanges command to create one or more new VOLSER ranges.
Syntax
createVolserRanges <filename.txt> -ssl
Parameters
- <filename.txt>
-
(Required.) A text file defining the VOLSER ranges to be created. The file can contain any number of VOLSER ranges. The VOLSER ranges are defined as follows:
<startRange>,<endRange>,<LLName>,<mediaType>,{TRUE|FALSE}
where:- <startRange> = the starting VOLSER in the range to be created
- <endRange> = the ending VOLSER in the range to be created
- <LLName> = the name of the logical library
- <mediaType> = LTO or 3592
- TRUE = The range is applied to new cartridges only.
- FALSE = The range is not limited to new cartridges. It is applied immediately to all cartridges in the library.
- -ssl
- Required if SSL (HTTPS) is enabled.
Example command
createVolserRanges volser_ranges.txt
Example input file
UAA9RH,UBB9RH,Library1,3592,FALSE
TUU9RH,TXX9RH,Library2,LTO,TRUE
GGG9RH,HHH9RH,Library2,LTO,TRUE
Example output
The Volser Range was created successfully
The Volser Range was created successfully
The Volser Range was created successfully
Done.