Steps Required for All Machines

You must perform the following steps to configure any machine as a Tape Coordinator machine. If the machine to be configured is a DCE client but not a DFS server machine of some type, you must perform all of the steps in Steps Required for a Client-Only Machine before performing the steps in this section. If the machine is configured as some type of DFS server machine, you do not need to perform the steps in Steps Required for a Client-Only Machine.

1. Install one or more drives on the machine according to the manufacturer's instructions. The Backup System can track a maximum of 1024 drives in a cell.

2. Verify that you have the w (write) and x (execute) permissions on the dcelocal/var/dfs/backup directory (the directory in which you must create the TapeConfig file).

3. Create the dcelocal/var/dfs/backup/TapeConfig file on the machine with a text editor. Use a single line in the file for each tape drive attached to the Tape Coordinator machine, recording the following information:

· The tape size of the tapes to be used in the drive. The Tape Coordinator uses this capacity as the size of all tapes used in the drive. It is recommended that you use a number 10 to 15% lower than the actual tape capacity to allow for tape variations. The following abbreviations can be used for the tape size unit of measurement (the default is kilobytes); do not leave a space between the number and the letter.

- Kilobytes: k or K (for example, 2k or 2K)

- Megabytes: m or M (for example, 2m or 2M)

- Gigabytes: g or G (for example, 2g or 2G)

· The EOF mark size for the type of tape to be used in the drive. The Backup System appends an EOF mark after each fileset dumped to tape. The size of this mark can affect the amount of space available for backup data. The EOF mark size can vary from 2 kilobytes to more than 2 megabytes, depending on the type of tape drive used. It is recommended that you increase the actual file mark size by 10 to 15% to allow for tape variations.

If you do not specify a unit of measurement, the default unit used for the EOF size is bytes (not kilobytes, as for tape capacity). To indicate other units, use the same abbreviations as for tape capacity.

· The device name of the tape drive. The format of this name varies with each operating system. For example, in the UNIX operating system, a valid device name is /dev/rst0.

· The TCID for the Tape Coordinator associated with the drive. The Backup System can track a maximum of 1024 tape drives; legal values are integers from 0 to 1023. You do not have to assign the numbers in sequence, and you can skip numbers. The TCID for any Tape Coordinator must be unique among all TCIDs in the local cell.

Because the bak commands that require you to specify a TCID always use a default TCID of 0, assign a TCID of 0 to the Tape Coordinator for the drive that you will use most often; this enables you to omit the -tcid option as often as possible.

If you do not know the tape size or the EOF mark size for the tape drive, determine them by using the fms command, as described in Determining Tape Size and End-of-File Mark Size .

Following is an example the contents of the TapeConfig file for a machine with two drives. The tape size for each drive is 2 gigabytes; the EOF mark size for each drive is 1 megabyte. The respective TCIDs of the two drives are 0 and 1.

2g 1m /dev/rmth0h 0

2G 1M /dev/rmth1h 1

4. Ensure that the bak and butc binary files are stored on the local machine. The bak file should be stored in the dcelocal/bin directory; the butc file should be stored in the dceshared/bin directory (a symbolic link to the file may exist from the dcelocal/bin directory).

5. Verify that the individuals who are to use the Backup System are included in the appropriate administrative lists (see Privileges Required to Use the Backup System ); if necessary, issue the bos lsadmin command to check. You also need to ensure that you are included in the admin.bak list to issue the bak addhost command that follows. To add someone to a list, issue the bos addadmin command.

6. Verify that the bakserver process is running on the cell's Backup Database machines. If necessary, issue the bos status command to check.

7. Optional. At this point, you can issue the bak command at the system prompt to enter interactive mode. The advantages of interactive mode are described in Using the Interactive Interface. The command in the following step assumes that regular command mode is used, not interactive mode.

8. Enter the bak addhost command to create an entry in the Backup Database for each Tape Coordinator, defining its TCID:

$ bak addhost -tapehost machine [-tcid tc_number]

Repeat the bak addhost command for each Tape Coordinator to be added.