Example volume configuration updates
The following examples show different types of volume configuration updates. The examples include only the relevant volume attributes.
The following is an example of how to remove a volume from a robotic library. It does not matter whether the robot supports barcodes.
The following are the attributes for media ID 800001:
Media ID | 800001 |
Media type | 8MM cartridge tape |
Barcode | TL800001 |
Media description | TL8 backup volume |
Volume pool | NetBackup |
Robot type | TL8 - Tape Library 8MM |
Volume group | EXB220 |
Maximum mounts allowed | 0 (unlimited) |
Assume that you remove the volume from the robotic library, specify the following on the Media Settings tab, then run the update:
Media type | DEFAULT |
Volume group | NONROB_8MM |
Volume pool | DEFAULT |
The resulting volume attributes for media ID 800001 are as follows:
Media ID | 800001 |
Media type | 8MM cartridge tape |
Barcode | TL800001 |
Media description | TL8 backup volume |
Volume pool | NetBackup |
Robot type | NONE - Not Robotic |
Volume group | NONROB_8MM |
Maximum mounts allowed | 0 (unlimited) |
The new residence information in the EMM database shows a standalone location in the volume group. The volume group is specified on the Media Settings tab. The media type and volume pool remain unchanged.
The results are the same for a volume that does not have a barcode.
The following is an example of how to add a standalone volume that has a barcode to a robotic library that supports barcodes (TL8).
When you move volumes from one robot to another robot, perform separate updates.
The following are the volume attributes for media ID 800021, which has a readable barcode and already exists as a standalone volume:
Media ID | 800021 |
Media type | 8MM cartridge tape |
Barcode | TL800021 |
Media description | 8MM standalone |
Volume pool | None |
Robot type | None (standalone) |
Volume group | NONROB_8MM |
Maximum mounts allowed | 0 (unlimited) |
Assume that you insert the volume into a TL8 robot, specify the following on the Media Settings tab, then run the update:
Media type | DEFAULT |
Volume group | EXB220 |
Use barcode rules | YES (selected) |
Volume pool | NetBackup |
Assume that the barcode rules in Table: Example barcode rules exist.
Table: Example barcode rules
Barcode tag | Media type | Volume pool | Max mounts/ cleanings | Description |
|---|---|---|---|---|
CLND | DLT_CLN | None | 30 | DLT cleaning |
CLN8 | 8MM_CLN | None | 20 | 8mm cleaning |
TL8 | 8MM | NetBackup | 0 | TL8 backup |
DLT | DLT | d_pool | 200 | DLT backup |
TS | 8MM | None | 0 | 8mm no pool |
<NONE> | DEFAULT | None | 0 | No barcode |
<DEFAULT> | DEFAULT | NetBackup | 0 | Other barcodes |
NetBackup recognizes that the media ID exists and changes the EMM database to reflect the new robotic location. NetBackup does not create a new media ID.
The volume attributes for media ID 800021 are as follows:
Media ID | 800021 |
Media type | 8MM cartridge tape |
Barcode | TL800021 |
Media description | 8MM standalone |
Volume pool | NONE |
Robot type | TL8 - Tape Library 8MM |
Robot number | 0 |
Robot slot | 1 |
Robot host | shark |
Volume group | EXB220 |
Maximum mounts allowed | 0 (unlimited) |
The barcode matches the barcode of an existing standalone volume in the configuration. Therefore, NetBackup updates the residence information in the EMM database to reflect the new robotic location. Because the volume is not new, barcode rules are ignored.
The only setting used on the Media Settings tab is the volume group for added or moved volumes. The media type setting was not used because this example was for a single existing volume that already had a media type.
The following is an example of how to move a volume from one slot to another slot within the same robot. The robot supports barcodes and the volume has a readable barcode.
Note:
To move volumes within a robotic library, use only if the robotic library supports barcodes and the volumes have readable barcodes. Otherwise, NetBackup cannot properly recognize the move.
The following are the attributes for media ID 800002, which currently resides in slot 1 of the robotic library:
Media ID | 800002 |
Media type | 8MM cartridge tape |
Barcode | TL800002 |
Media description | TL8 backup |
Volume pool | NetBackup |
Robot type | TL8 - Tape Library 8MM |
Robot number | 0 |
Robot slot | 1 |
Robot host | shark |
Volume group | EXB220 |
Maximum mounts allowed | 0 (unlimited) |
Assume that you move the volume to empty slot 10, specify the following on the Media Settings tab, then run the update.
Media type | DEFAULT |
Volume group | EXB220 |
Use barcode rules | NO (not selected) |
Volume pool | DEFAULT |
The resulting volume attributes are the following:
Media ID | 800002 |
Media type | 8MM cartridge tape |
Barcode | TL800002 |
Media description | TL8 backup |
Volume pool | NetBackup |
Robot type | TL8 - Tape Library 8MM |
Robot number | 0 |
Robot slot | 10 |
Robot host | shark |
Volume group | EXB220 |
Maximum mounts allowed | 0 (unlimited) |
The updated volume attributes show the new slot number, but all other information is unchanged.
The following is an example of how to add new volumes with barcodes to a robot that supports barcodes.
Assume the following:
The new volume is an 8MM tape with a readable barcode of TL800002.
No media generation rules are defined.
The drives in the robot all have a drive type of 8MM or no drives are configured on the robot control host.
Specify the following on the Media Settings tab and run the update:
Media type | DEFAULT |
Volume group | EXB2220 |
Use barcode rules | YES (selected) |
Volume pool | DEFAULT |
The following table contains the example barcode rules.
Table: Example barcode rules
Barcode tag | Media type | Volume pool | Max mounts/ cleanings | Description |
|---|---|---|---|---|
CLND | DLT_CLN | None | 30 | DLT cleaning |
CLN8 | 8MM_CLN | None | 20 | 8mm cleaning |
TL8 | 8MM | NetBackup | 0 | TL8 backup |
DLT | DLT | d_pool | 200 | DLT backup |
TS | 8MM | None | 0 | 8mm no pool |
<NONE> | DEFAULT | None | 0 | No barcode |
The barcode on the media matches the barcode rule named TL8 and the resulting volume attributes for the new volume are as follows:
Media ID | 800002 |
Media type | 8MM cartridge tape |
Barcode | TL800002 |
Media description | tl8 backup |
Volume pool | NetBackup |
Robot type | TL8 - Tape Library 8MM |
Robot number | 0 |
Robot slot | 1 |
Robot host | shark |
Volume group | EXB220 |
Maximum mounts allowed | 0 (unlimited) |
No media ID generation rules exist. Therefore, the media ID is from the last six characters of the barcode. The new residence information in the EMM database shows the robot host, robot type, robot number, slot, and host. The volume group is from the Media Settings tab. The volume pool and the max mounts allowed are from the barcode rule.
If barcode rules (or barcodes) are not used, the media description, volume pool, and max mounts allowed are set to the following defaults:
Media description | Added by NetBackup |
Volume pool | NetBackup for data tapes or None for cleaning tapes |
Maximum mounts allowed | 0 (unlimited) |
Note:
If the robot does not support barcodes or the barcode is unreadable, specify a Media ID prefix on the Media Settings tab. Alternatively, specify DEFAULT for the media ID. If you do not, NetBackup does not add new media IDs.
A special case exists when you add cleaning tapes. For example, assume that you update a TLD robot.
The tapes you inserted include regular tapes with barcodes that range from DLT00000 to DLT00010 and a cleaning tape with a barcode of CLN001.
The following table contains the example barcode rules.
Table: Example barcode rules
Barcode tag | Media type | Volume pool | Max mounts/ cleanings | Description |
|---|---|---|---|---|
CLN | DLT_CLN | None | 30 | DLT cleaning |
DL | DLT | d_pool | 200 | DLT backup |
<NONE> | DEFAULT | None | 0 | No barcode |
Specify the following on the Media Settings tab, then run the update.
Media type | DLT |
Volume group | STK7430 |
Use barcode rules | YES (selected) |
The barcodes on the regular tapes match the DL barcode rule. The media type of the DL barcode rule matches the Media type on the Media Settings tab. The tapes are added as DLT.
The cleaning tape matches the CLN barcode rule. NetBackup recognizes that DLT_CLN is the cleaning tape for DLT. NetBackup adds the cleaning tape CLN001 as DLT_CLN type media along with the regular volumes.
This example shows NetBackup's ability to add cleaning cartridges along with regular volumes when you use Update volume configuration.
If the volumes you insert include a cleaning tape, NetBackup adds the volumes correctly if the following are true:
The Media type on the Media Settings tab is the regular media (DLT in this example).
The barcode on the volume matches a barcode tag (CLN in this example).
The media type for the barcode rule is the correct cleaning media (DLT_CLN in this example).
To add only cleaning media, specify the cleaning media type on the Media Settings tab and in the barcode rule (DLT_CLN in this example).
When you move volumes from one robot to another and the volumes in both robots are in the same EMM database, perform two separate updates.
These updates move the volumes to stand alone, as an intermediate step, and then to the new robot. Otherwise, NetBackup is unable to update the entries and you receive an "Update request failed" error.
This example assumes that robot 2 is able to read barcodes and the volume has readable barcodes. If not, NetBackup cannot manage the volumes.
To move existing volumes between robots, use the following process:
Remove the volume from robot 1 and insert the volume in robot 2.
Perform an Update volume configuration on robot 1. This action updates the volume attributes to show the volume as standalone.
Perform an Update volume configuration on robot 2. This action updates the configuration to show the volume in robot 2.
This example is not recommended and is included only to illustrate the undesirable results.
The following is an example of how to add an existing standalone volume to a TL4 robot. A TL4 robot supports media inventory (detects media presence), but not barcodes.
The following are the attributes for media ID 400021, which already exists as a standalone volume:
Media ID | 400021 |
Media type | 4MM cartridge tape |
Barcode | ----------- |
Media description | 4MM standalone |
Volume pool | None |
Robot type | NONE - Not Robotic |
Volume group | NONROB_4MM |
Max mounts allowed | 0 (unlimited) |
Assume that you insert the volume into the robot, specify the following on the Media Settings tab, and run the update:
Media type | DEFAULT |
Volume group | 00_000_TL4 |
Media ID prefix | C4 |
Volume pool | DEFAULT |
The resulting volume attributes are as follows:
Media ID | C40000 |
Media type | 4MM cartridge tape |
Barcode | ----------- |
Media description | Added by NetBackup |
Volume pool | NetBackup |
Robot type | TL4 - Tape Library 4MM |
Robot number | 0 |
Robot slot | 1 |
Robot host | shark |
Volume group | 00_000_TL4 |
Maximum mounts allowed | 0 (unlimited) |
Note that NetBackup assigned a new media ID to the volume (C40000). This undesired result occurs if you use and the volumes do not contain readable barcodes or the robot does not support barcodes. Without a barcode, NetBackup cannot identify the volume and assumes that it is new. The media ID C40000 is generated from the media ID prefix that is specified on the Media Settings tab.
The old media ID (400021) remains in the configuration. The information for the new media ID (C40000) shows the robotic location, which includes the robot host, robot type, number, slot, and host. The volume group and volume pool are configured according to the Media Settings tab selections. The maximum mounts allowed is set to the default (0).
For this situation, use the physical inventory utility.
More Information