This is covered in the "Media Manager Admin Guide" under
Media ID Generation Rules
Media ID generation rules can be added to the vm.conf file to specify the
robot number and barcode length with multiple configuration entries for each
robot or for each barcode format. With NetBackup 4.5, media ID generation
rules can also be added to the vm.conf file via the "Inventory Robot"
function of the NetBackup administration console graphical user interface.
The media ID generation rule has the following syntax:
MEDIA_ID_BARCODE_CHARS
:::::
where robot_number is the robot number, barcode_length is the number of
characters in the media's barcode format,
c1 is the first character of the Media ID
c2 is the second character of the Media ID
c3 is the third character of the Media ID
c4 is the fourth character of the Media ID
c5 is the fifth character of the Media ID
c6 is the sixth character of the Media ID
c1-c6 can specify a character from the media barcode or specify a fixed
character by prefixing the character with a "#".
For example, the rule:
0 8 #N:1:3:4:5:6
generates media IDs for robot 0 using the character N and the 1st, 3rd,
4th-6th characters of the 8 character barcode, and for the barcode, 123456L1
generates media ID N13456.
The rule:
0 8 1:2:3:4:5:6
generates media IDs for robot 0 using the 1st-6th characters of the 8
character barcode, and for the barcode 006498L2 generates media ID 006498.Message was edited by:
Bob Stump