Media type when using bar code rules on UNIX/Linux

Article:HOWTO32721  |  Created: 2010-10-28  |  Updated: 2011-03-10  |  Article URL http://www.symantec.com/docs/HOWTO32721
Article Type
How To


Environment

Subject


Media type when using bar code rules on UNIX/Linux

If you use bar code rules, choose one of the following:

DEFAULT

NetBackup uses the bar code rules to determine the media type that is assigned.

Each media type to be added should have a bar code 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 bar code rules for DLT and half-inch cartridges and then select the specific media types when you create the bar code 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 bar code rule, NetBackup assigns the default media type for the robot.

A specific media type from the list.

You can use a single bar code 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 bar code rule media type when you create the bar code rule. You can perform one update for DLT and another for half-inch cartridge, and the bar code rule assigns the correct media type.

If you specify a value other than DEFAULT, the bar code rule media type must be the same as the media or be DEFAULT. If not, the bar code rule does not match the media (except for cleaning media).

Table: Example media type and bar code rule combinations shows some combinations of media types on the Media Settings tab and bar code 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 bar code rule combinations

Media type on Media Settings tab

Bar code 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

8MM, 4MM, and so on

No

DLT

DEFAULT

DEFAULT

Yes

DLT

DEFAULT

DLT

Yes

DLT

DEFAULT

DLT_CLN

Yes

DLT_CLN

DEFAULT

8 MM, 4 MM, and so on

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 bar code matches a bar code tag.

  • The media type for the bar code rule is cleaning media (DLT_CLN).

Another example is available:

See Volume Configuration Example 5: Adding cleaning tapes to a robot on UNIX/Linux

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 bar code rule. In the seventh, specify the cleaning media on the Media Settings tab and specify default when you configure the bar code rule.

See Configuring bar code rules on UNIX/Linux.

See Media type when not using bar code rules on UNIX/Linux

See Media settings - media type on UNIX/Linux


Legacy ID



id-SF780361224_v46435089


Article URL http://www.symantec.com/docs/HOWTO32721


Terms of use for this information are found in Legal Notices