Media type when using barcode rules
If you use barcode rules in NetBackup, choose one of the following:
|
DEFAULT |
NetBackup uses the barcode rules to determine the media type that is assigned. Each media type to be added should have a barcode rule. For example, assume that you want to add DLT and half-inch cartridges to a TLD robot with a single update operation. First create separate barcode rules for DLT and half-inch cartridges and then select the specific media types when you create the barcode rules. Finally, select DEFAULT on the Media Settings tab. The correct media type is assigned to each media. If you choose DEFAULT on the Media Settings tab and DEFAULT in the barcode rule, NetBackup assigns the default media type for the robot. |
|
A specific media type from the list. |
You can use a single barcode rule to add media of different types, such as DLT and half-inch cartridges (HCART) to a TLD robot. First, select a specific media type on the Media Settings tab. Second, select DEFAULT for the barcode rule media type when you create the barcode rule. You can perform one update for DLT and another for half-inch cartridge, and the barcode rule assigns the correct media type. If you specify a value other than DEFAULT, the barcode rule media type must be the same as the media or be DEFAULT. If not, the barcode rule does not match the media (except for cleaning media). Table: Example media type and barcode rule combinations shows some combinations of media types on the Media Settings tab and barcode rule media types for a TLD (non-API) robot. It also shows the results when the media are added to the volume configuration. |
Table: Example media type and barcode rule combinations
| Media type on Media Settings tab | Barcode rule media type | Rule matches? | Media type added to volume configuration |
|---|---|---|---|
|
DLT |
DEFAULT |
Yes |
DLT |
|
HCART |
DEFAULT |
Yes |
HCART |
|
DLT |
DLT |
Yes |
DLT |
|
DLT |
DLT_CLN |
Yes |
DLT_CLN |
|
DLT_CLN |
DLT |
No |
DLT_CLN |
|
DLT_CLN |
DLT_CLN |
Yes |
DLT_CLN |
|
DLT_CLN |
DEFAULT |
Yes |
DLT_CLN |
|
DLT |
HCART |
No |
DLT |
|
DEFAULT |
DEFAULT |
Yes |
DLT |
|
DEFAULT |
DLT |
Yes |
DLT |
|
DEFAULT |
DLT_CLN |
Yes |
DLT_CLN |
|
DEFAULT |
HCART |
No |
Depends on robot type |
The fourth row in the table shows how both cleaning cartridges and regular volumes are added using one update operation.
All the following conditions must be true:
The media type on the Media Settings tab is for regular media (DLT, in this example).
The barcode matches a barcode tag.
The media type for the barcode rule is cleaning media (DLT_CLN).
Another example is available:
The sixth row and seventh row in the table show how to add only a cleaning tape. In the sixth row, you specify the cleaning media type on the Media Settings tab and in the barcode rule. In the seventh, specify the cleaning media on the Media Settings tab and specify default when you configure the barcode rule.