1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="backup_addhost8">
4 <refentrytitle>backup addhost</refentrytitle>
5 <manvolnum>8</manvolnum>
8 <refname>backup addhost</refname>
9 <refpurpose>Adds a Tape Coordinator entry to the Backup Database</refpurpose>
12 <title>Synopsis</title>
13 <para><emphasis role="bold">backup addhost</emphasis> <emphasis role="bold">-tapehost</emphasis> <<emphasis>tape machine name</emphasis>>
14 [<emphasis role="bold">-portoffset</emphasis> <<emphasis>TC port offset</emphasis>>]
15 [<emphasis role="bold">-localauth</emphasis>] [<emphasis role="bold">-cell</emphasis> <<emphasis>cell name</emphasis>>] [<emphasis role="bold">-help</emphasis>]</para>
17 <para><emphasis role="bold">backup addh</emphasis> <emphasis role="bold">-t</emphasis> <<emphasis>tape machine name</emphasis>> [<emphasis role="bold">-p</emphasis> <<emphasis>TC port offset</emphasis>>]
18 [<emphasis role="bold">-l</emphasis>] [<emphasis role="bold">-c</emphasis> <<emphasis>cell name</emphasis>>] [<emphasis role="bold">-h</emphasis>]</para>
22 <title>Description</title>
23 <para>The <emphasis role="bold">backup addhost</emphasis> command creates a Tape Coordinator entry in the
24 Backup Database. The entry records</para>
28 <para>The host name of the Tape Coordinator machine where the Tape Coordinator
29 (<emphasis role="bold">butc</emphasis>) process runs, as specified with the <emphasis role="bold">-tapehost</emphasis> argument.</para>
33 <para>The Tape Coordinator's port offset number, as specified with the
34 <emphasis role="bold">-portoffset</emphasis> argument. An entry for the port offset must also appear in
35 the <replaceable>/usr/afs/backup/tapeconfig</replaceable> file on the Tape Coordinator machine,
36 where it is mapped to a UNIX device name (for a tape device) or pathname
37 (for a backup data file).</para>
41 <para>Each Tape Coordinator must have its own port offset number, and the
42 command fails if a Backup Database entry already exists for the requested
43 port offset number. To display existing Tape Coordinator entries, use the
44 <emphasis role="bold">backup listhosts</emphasis> command.</para>
48 <title>Options</title>
51 <term><emphasis role="bold">-tapehost</emphasis> <<emphasis>tape machine name</emphasis>></term>
53 <para>Specifies the fully-qualified hostname of the machine for which to create
54 a Tape Coordinator entry in the Backup Database. The machine must have an
55 entry in either the cell's naming service (such as the Domain Name
56 Service) or the host file (<replaceable>/etc/hosts</replaceable> or equivalent) on the machine
57 where the command is issued.</para>
62 <term><emphasis role="bold">-portoffset</emphasis> <<emphasis>TC port offset</emphasis>></term>
64 <para>Specifies the Tape Coordinator's port offset number. Provide an integer
65 from the range <computeroutput>0</computeroutput> through <computeroutput>58510</computeroutput>, or omit this argument to use the
66 default value of <computeroutput>0</computeroutput> (zero). The value must match the port offset number
67 recorded for the same combination of Tape Coordinator and tape device or
68 file in the <replaceable>/usr/afs/backup/tapeconfig</replaceable> file on the Tape Coordinator
69 machine named by the <emphasis role="bold">-tapehost</emphasis> argument.</para>
74 <term><emphasis role="bold">-localauth</emphasis></term>
76 <para>Constructs a server ticket using a key from the local
77 <replaceable>/usr/afs/etc/KeyFile</replaceable> file. The <emphasis role="bold">backup</emphasis> command interpreter presents
78 it to the Backup Server, Volume Server and VL Server during mutual
79 authentication. Do not combine this flag with the <emphasis role="bold">-cell</emphasis> argument. For
80 more details, see <link linkend="backup8">backup(8)</link>.</para>
85 <term><emphasis role="bold">-cell</emphasis> <<emphasis>cell name</emphasis>></term>
87 <para>Names the cell in which to run the command. Do not combine this argument
88 with the <emphasis role="bold">-localauth</emphasis> flag. For more details, see <link linkend="backup8">backup(8)</link>.</para>
93 <term><emphasis role="bold">-help</emphasis></term>
95 <para>Prints the online help for this command. All other valid options are
103 <title>Examples</title>
104 <para>The following command creates an entry in the Backup Database that assigns
105 port offset number 4 to a Tape Coordinator running on the machine
106 <computeroutput>backup1.abc.com</computeroutput>:</para>
109 % backup addhost -tapehost backup1.abc.com -portoffset 4
112 <para>The following command creates a Backup Database entry that assigns port
113 offset number 0 to a Tape Coordinator on the machine <computeroutput>backup3.abc.com</computeroutput>:</para>
116 % backup addhost backup3.abc.com
121 <title>Privilege Required</title>
122 <para>The issuer must be listed in the <replaceable>/usr/afs/etc/UserList</replaceable> file on every
123 machine where the Backup Server is running, or must be logged onto a
124 server machine as the local superuser <computeroutput>root</computeroutput> if the <emphasis role="bold">-localauth</emphasis> flag is
129 <title>See Also</title>
130 <para><link linkend="backup8">backup(8)</link>,
131 <link linkend="backup_delhost8">backup_delhost(8)</link>,
132 <link linkend="backup_listhosts8">backup_listhosts(8)</link></para>
136 <title>Copyright</title>
137 <para>IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.</para>
139 <para>This documentation is covered by the IBM Public License Version 1.0. It was
140 converted from HTML to POD by software written by Chas Williams and Russ
141 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.</para>