2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2007-11-11 22:54:56 +00:00
|
|
|
fs_newcell - Changes the kernel-resident list of a cell's database servers
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
B<fs newcell> S<<< B<-name> <I<cell name>> >>> -servers <I<primary servers>>+
|
|
|
|
S<<< [B<-linkedcell> <I<linked cell name>>] >>> [B<-help>]
|
|
|
|
|
|
|
|
B<fs n> S<<< B<-n> <I<cell name>> >>> S<<< B<-s> <I<primary servers>>+ >>>
|
|
|
|
S<<< [B<-l> <I<linked cell name>>] >>> [B<-h>]
|
|
|
|
|
|
|
|
=for html
|
|
|
|
</div>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The B<fs newcell> command removes the Cache Manager's kernel-resident list
|
|
|
|
of database server machines for the cell specified by the B<-name>
|
|
|
|
argument and replaces it with the database server machines named by the
|
|
|
|
B<-servers> argument.
|
|
|
|
|
|
|
|
Each time the machine reboots, the Cache Manager constructs the kernel
|
|
|
|
list of cells and database server machines by reading the local
|
|
|
|
F</usr/vice/etc/CellServDB> file. This command does not change the
|
|
|
|
F<CellServDB> file, so any changes made with it persist only until the
|
|
|
|
next reboot, unless the issuer also edits the file. The output of the B<fs
|
|
|
|
listcells> command reflects changes made with this command, because that
|
|
|
|
command consults the kernel-resident list rather than the F<CellServDB>
|
|
|
|
file.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
This command can introduce a completely new cell into the kernel-resident
|
|
|
|
list, but cannot make a cell inaccessible (it is not possible to remove a
|
|
|
|
cell's entry from the kernel-resident list by providing no values for the
|
2005-12-09 14:48:56 +00:00
|
|
|
B<-server> argument). To make a cell inaccessible, remove its entry from
|
|
|
|
the F<CellServDB> file and reboot the machine.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2013-10-14 18:39:02 +01:00
|
|
|
The B<-linkedcell> argument specifies the name of the AFS cell to link to
|
|
|
|
another AFS cell for the purpose of retrying volume lookups. When two
|
|
|
|
cells are linked, a volume lookup in one cell that fails is retried in the
|
|
|
|
linked cell.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=head1 CAUTIONS
|
|
|
|
|
2012-02-16 03:12:56 +00:00
|
|
|
Some commands, such as the B<aklog> or B<klog.krb5> commands, work correctly
|
|
|
|
only when the information is accurate for a cell in both the F<CellServDB> file
|
|
|
|
and the kernel-resident list.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-name> <I<cell name>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Specifies the fully-qualified cell name of the AFS or DCE cell.
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-servers> <I<primary servers>>+
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Specifies the fully-qualified hostnames of all AFS database server
|
2013-10-14 18:39:02 +01:00
|
|
|
machines for the cell named by the B<-name> argument.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-linkedcell> <I<linked cell name>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2013-10-14 18:39:02 +01:00
|
|
|
Specifies the name of the AFS cell to link to another AFS cell for the
|
|
|
|
purpose of retrying volume lookups. When two cells are linked, a volume
|
|
|
|
lookup in one cell that fails is retried in the linked cell.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-help>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Prints the online help for this command. All other valid options are
|
|
|
|
ignored.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
2012-03-16 19:37:20 +00:00
|
|
|
=head1 WINDOWS
|
|
|
|
|
|
|
|
The B<fs newcell> command on Windows differs from the Unix version in a few ways.
|
|
|
|
|
|
|
|
B<fs newcell> with no arguments discards the existing cell information.
|
|
|
|
The Windows client will reload a cell's information the next time it
|
|
|
|
needs the server list for a cell.
|
|
|
|
|
|
|
|
Secondly, in addition to accepting the Unix options, B<fs newcell> on
|
|
|
|
Windows accepts the following options:
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item B<-dns>
|
|
|
|
|
|
|
|
Adds the new cell to the cache manager, and obtains the VLDB server
|
|
|
|
information from DNS.
|
|
|
|
|
|
|
|
=item B<-registry>
|
|
|
|
|
|
|
|
Adds the new cell to the cache manager, and also saves the cell
|
|
|
|
configuration data in the registry for use the next time the service
|
|
|
|
restarts.
|
|
|
|
|
|
|
|
=item B<-vlport> <I<cell VLDB server port>>
|
|
|
|
|
|
|
|
Specifies an alternate port number at which the cell's volume location
|
|
|
|
database servers are listening.
|
|
|
|
|
|
|
|
=item B<-fsport> <I<cell fileserver port>>
|
|
|
|
|
|
|
|
Specifies an alternate port number at which the cell's file servers are
|
|
|
|
listening.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
2005-12-08 12:14:33 +00:00
|
|
|
=head1 EXAMPLES
|
|
|
|
|
|
|
|
The following example changes the machine's kernel-resident list of
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
database server machines for the Example Corporation cell to include the
|
|
|
|
machines C<db1.example.com> and C<db2.example.com>:
|
2005-12-08 12:14:33 +00:00
|
|
|
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
% fs newcell -name example.com -servers db1.example.com db2.example.com
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2013-10-14 18:39:02 +01:00
|
|
|
The following example links the AFS cell C<dce.example.com> to the AFS cell
|
|
|
|
C<example.com>. The AFS client contacts the Volume Location (VL) servers
|
|
|
|
C<db1.dce.example.com> and C<db2.dce.example.com> for volume location
|
|
|
|
information.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
% fs newcell -name dce.example.com \
|
|
|
|
-servers db1.dce.example.com db2.dce.example.com \
|
|
|
|
-linkedcell example.com
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
|
|
|
The issuer must be logged in as the local superuser root.
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
L<CellServDB(5)>,
|
2005-12-08 12:14:33 +00:00
|
|
|
L<fs_listcells(1)>
|
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
|
|
|
|
|
|
|
|
This documentation is covered by the IBM Public License Version 1.0. It was
|
|
|
|
converted from HTML to POD by software written by Chas Williams and Russ
|
|
|
|
Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
|