1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="vos_remsite1">
4 <refentrytitle>vos remsite</refentrytitle>
5 <manvolnum>1</manvolnum>
8 <refname>vos remsite</refname>
9 <refpurpose>Removes a read-only site definition from a VLDB entry</refpurpose>
12 <title>Synopsis</title>
13 <para><emphasis role="bold">vos remsite</emphasis> <emphasis role="bold">-server</emphasis> <<emphasis>machine name</emphasis>>
14 <emphasis role="bold">-partition</emphasis> <<emphasis>partition name</emphasis>> <emphasis role="bold">-id</emphasis> <<emphasis>volume name or ID</emphasis>>
15 [<emphasis role="bold">-cell</emphasis> <<emphasis>cell name</emphasis>>] [<emphasis role="bold">-noauth</emphasis>] [<emphasis role="bold">-localauth</emphasis>] [<emphasis role="bold">-verbose</emphasis>]
16 [<emphasis role="bold">-help</emphasis>]</para>
18 <para><emphasis role="bold">vos rems</emphasis> <emphasis role="bold">-s</emphasis> <<emphasis>machine name</emphasis>> <emphasis role="bold">-p</emphasis> <<emphasis>partition name</emphasis>>
19 <emphasis role="bold">-i</emphasis> <<emphasis>volume name or ID</emphasis>> [<emphasis role="bold">-c</emphasis> <<emphasis>cell name</emphasis>>] [<emphasis role="bold">-n</emphasis>] [<emphasis role="bold">-l</emphasis>]
20 [<emphasis role="bold">-v</emphasis>] [<emphasis role="bold">-h</emphasis>]</para>
24 <title>Description</title>
25 <para>The <emphasis role="bold">vos remsite</emphasis> command removes the read-only replication site
26 specified by the <emphasis role="bold">-machine</emphasis> and <emphasis role="bold">-partition</emphasis> arguments from the Volume
27 Location Database (VLDB) entry for the indicated volume, which is
30 <para>This command is useful for removing read-only sites that were mistakenly
31 created with the <emphasis role="bold">vos addsite</emphasis> command, before the <emphasis role="bold">vos release</emphasis> command
32 actually releases them. If a read-only copy already exists at the site, it
33 is not affected. However, if this read-only site was the last site housing
34 any version of the volume, then the entire VLDB entry is removed, even if
35 a copy of the read-only version still actually exists at the site. The VL
36 Server does not correct the discrepancy until the <emphasis role="bold">vos syncserv</emphasis> and
37 <emphasis role="bold">vos syncvldb</emphasis> commands are run.</para>
41 <title>Cautions</title>
42 <para>Do not use this command as the standard way to remove a read-only volume,
43 because it can create a discrepancy between the VLDB and the volumes on
44 file server machines. Use the <emphasis role="bold">vos remove</emphasis> command instead.</para>
48 <title>Options</title>
51 <term><emphasis role="bold">-server</emphasis> <<emphasis>server name</emphasis>></term>
53 <para>Specifies the file server machine portion of the site definition to
54 remove. Provide the machine's IP address or its host name (either fully
55 qualified or using an unambiguous abbreviation). For details, see
56 <link linkend="vos1">vos(1)</link>.</para>
61 <term><emphasis role="bold">-partition</emphasis> <<emphasis>partition name</emphasis>></term>
63 <para>Specifies the partition name portion of the site definition to
64 remove. Provide the partition's complete name with preceding slash (for
65 example, <computeroutput>/vicepa</computeroutput>) or use one of the three acceptable abbreviated
66 forms. For details, see <link linkend="vos1">vos(1)</link>.</para>
71 <term><emphasis role="bold">-id</emphasis> <<emphasis>volume name or id</emphasis>></term>
73 <para>Specifies either the complete name or volume ID number of the read/write
74 volume to remove.</para>
79 <term><emphasis role="bold">-cell</emphasis> <<emphasis>cell name</emphasis>></term>
81 <para>Names the cell in which to run the command. Do not combine this argument
82 with the <emphasis role="bold">-localauth</emphasis> flag. For more details, see <link linkend="vos1">vos(1)</link>.</para>
87 <term><emphasis role="bold">-noauth</emphasis></term>
89 <para>Assigns the unprivileged identity <computeroutput>anonymous</computeroutput> to the issuer. Do not
90 combine this flag with the <emphasis role="bold">-localauth</emphasis> flag. For more details, see
91 <link linkend="vos1">vos(1)</link>.</para>
96 <term><emphasis role="bold">-localauth</emphasis></term>
98 <para>Constructs a server ticket using a key from the local
99 <replaceable>/usr/afs/etc/KeyFile</replaceable> file. The <emphasis role="bold">vos</emphasis> command interpreter presents it
100 to the Volume Server and Volume Location Server during mutual
101 authentication. Do not combine this flag with the <emphasis role="bold">-cell</emphasis> argument or
102 <emphasis role="bold">-noauth</emphasis> flag. For more details, see <link linkend="vos1">vos(1)</link>.</para>
107 <term><emphasis role="bold">-verbose</emphasis></term>
109 <para>Produces on the standard output stream a detailed trace of the command's
110 execution. If this argument is omitted, only warnings and error messages
116 <term><emphasis role="bold">-help</emphasis></term>
118 <para>Prints the online help for this command. All other valid options are
126 <title>Examples</title>
127 <para>The following command removes the mistakenly defined read-only site
128 <replaceable>/viceph</replaceable> on the file server machine <computeroutput>fs5.abc.com</computeroutput> from the VLDB entry
129 for the volume <computeroutput>root.cell</computeroutput>.</para>
132 % vos remsite -server fs5.abc.com -partition h -id root.cell
137 <title>Privilege Required</title>
138 <para>The issuer must be listed in the <replaceable>/usr/afs/etc/UserList</replaceable> file on the
139 machine specified with the <emphasis role="bold">-server</emphasis> argument and on each database server
140 machine. If the <emphasis role="bold">-localauth</emphasis> flag is included, the issuer must instead be
141 logged on to a server machine as the local superuser <computeroutput>root</computeroutput>.</para>
145 <title>See Also</title>
146 <para><link linkend="vos1">vos(1)</link>,
147 <link linkend="vos_delentry1">vos_delentry(1)</link>,
148 <link linkend="vos_remove1">vos_remove(1)</link>,
149 <link linkend="vos_zap1">vos_zap(1)</link></para>
153 <title>Copyright</title>
154 <para>IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.</para>
156 <para>This documentation is covered by the IBM Public License Version 1.0. It was
157 converted from HTML to POD by software written by Chas Williams and Russ
158 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.</para>