6e337b48f0620ab15252da0d00aaa4b91e4d6b05
[openafs.git] / doc / man-pages / pod1 / fs_newcell.pod
1 =head1 NAME
2
3 fs newcell - Changes the kernel-resident list of a cell's database servers
4
5 =head1 SYNOPSIS
6
7 =for html
8 <div class="synopsis">
9
10 B<fs newcell> S<<< B<-name> <I<cell name>> >>> -servers <I<primary servers>>+
11     S<<< [B<-linkedcell> <I<linked cell name>>] >>> [B<-help>]
12
13 B<fs n> S<<< B<-n> <I<cell name>> >>> S<<< B<-s> <I<primary servers>>+ >>>
14     S<<< [B<-l> <I<linked cell name>>] >>> [B<-h>]
15
16 =for html
17 </div>
18
19 =head1 DESCRIPTION
20
21 The B<fs newcell> command removes the Cache Manager's kernel-resident list
22 of database server machines for the cell specified by the B<-name>
23 argument and replaces it with the database server machines named by the
24 B<-servers> argument.
25
26 Each time the machine reboots, the Cache Manager constructs the kernel
27 list of cells and database server machines by reading the local
28 F</usr/vice/etc/CellServDB> file. This command does not change the
29 F<CellServDB> file, so any changes made with it persist only until the
30 next reboot, unless the issuer also edits the file. The output of the B<fs
31 listcells> command reflects changes made with this command, because that
32 command consults the kernel-resident list rather than the F<CellServDB>
33 file.
34
35 This command can introduce a completely new cell into the kernel-resident
36 list, but cannot make a cell inaccessible (it is not possible to remove a
37 cell's entry from the kernel-resident list by providing no values for the
38 B<-server> argument). To make a cell inaccessible, remove its entry from
39 the F<CellServDB> file and reboot the machine.
40
41 If the B<-name> argument names a DCE cell, then the B<-servers> argument
42 names DFS Fileset Location (FL) Server machines. The B<-linkedcell>
43 argument specifies the name of the AFS cell to link to a DCE cell for the
44 purpose of DFS fileset location.  Refer to the I<IBM AFS/DFS Migration
45 Toolkit Administration Guide and Reference> for more information on
46 linking AFS clients to DCE cells using this command or by editing the
47 F</usr/vice/etc/CellServDB> file.
48
49 =head1 CAUTIONS
50
51 Some commands, such as the B<klog> command, work correctly only when the
52 information is accurate for a cell in both the F<CellServDB> file and the
53 kernel-resident list.
54
55 =head1 OPTIONS
56
57 =over 4
58
59 =item B<-name> <I<cell name>>
60
61 Specifies the fully-qualified cell name of the AFS or DCE cell.
62
63 =item B<-servers> <I<primary servers>>+
64
65 Specifies the fully-qualified hostnames of all AFS database server
66 machines or DFS Fileset Location (FL) Server machines for the cell named
67 by the B<-name> argument. If FL Server machines are specified, the local
68 machine must be running the AFS/DFS Migration Toolkit Protocol Translator.
69
70 =item B<-linkedcell> <I<linked cell name>>
71
72 Specifies the name of the AFS cell to link to a DCE cell for the purpose
73 of DFS fileset location.
74
75 =item B<-help>
76
77 Prints the online help for this command. All other valid options are
78 ignored.
79
80 =back
81
82 =head1 EXAMPLES
83
84 The following example changes the machine's kernel-resident list of
85 database server machines for the ABC Corporation cell to include the
86 machines C<db1.abc.com> and C<db2.abc.com>:
87
88    % fs newcell -name abc.com -servers db1.abc.com db2.abc.com
89
90 The following example links the DCE cell C<dce.abc.com> to the AFS cell
91 C<abc.com>. The AFS client contacts the Fileset Location (FL) servers
92 C<db1.dce.abc.com> and C<db2.dce.abc.com> for fileset location information
93 as it interprets a DFS pathname.
94
95    % fs newcell -name dce.abc.com \
96        -servers db1.dce.abc.com db2.dce.abc.com \
97        -linkedcell abc.com
98
99 =head1 PRIVILEGE REQUIRED
100
101 The issuer must be logged in as the local superuser root.
102
103 =head1 SEE ALSO
104
105 L<CellServDB(5)>,
106 L<fs_listcells(1)>
107
108 I<IBM AFS/DFS Migration Toolkit Administration Guide and Reference>
109
110 I<IBM AFS/DFS Migration Toolkit Administration Installation and
111 Configuration Guide>
112
113 =head1 COPYRIGHT
114
115 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
116
117 This documentation is covered by the IBM Public License Version 1.0.  It was
118 converted from HTML to POD by software written by Chas Williams and Russ
119 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.