bak lshosts(8dfs)

Lists Tape Coordinator entries in the Backup Database

Synopsis

bak lshosts [-help]

Options

-help
Prints the online help for this command.

Description
The bak lshosts command lists the Tape Coordinator entries currently defined in the Backup Database. The list includes the Tape Coordinators defined for all Tape Coordinator machines in the cell. Each Tape Coordinator is defined in the Backup Database and is, by implication, available for use. However, a Tape Coordinator process does not have to be running on a Tape Coordinator machine at the time this command is issued for its entry to be displayed.

Enter the bak addhost command to add an entry for a Tape Coordinator to the Backup Database. Enter the bak rmhost command to remove an entry for a Tape Coordinator from the Backup Database.

Privilege Required
The issuer must be listed in the admin.bak files on all Backup Database machines.

Output
The command first displays a Tape hosts: header. It then reports the following information for each Tape Coordinator:

· The name of the machine on which the Tape Coordinator is defined. (The format of the machine name depends on the form specified by the issuer of the bak addhost command.)

· The TCID of the Tape Coordinator. Valid TCIDs for Tape Coordinators are integers from 0 to 1023.

Examples
The following command displays the Tape Coordinators currently defined in the Backup Database:

$ bak lshosts

Tape hosts:

Host /.../abc.com/hosts/bak1, TCID 0

Host /.../abc.com/hosts/bak1, TCID 1

Host /.../abc.com/hosts/bak2, TCID 2

Host /.../abc.com/hosts/bak3, TCID 8

Host /.../abc.com/hosts/bak3, TCID 6

Host /.../abc.com/hosts/bak3, TCID 7

Related Information
Commands: bak addhost(8dfs)

bak rmhost(8dfs)