[OpenAFS] Setting up second AFS server
Tue, 3 Apr 2007 20:42:13 +0800
ok I understand now. I have some problem understanding what the openafs
documentation really wants for installing database server functionality
for the 2nd server. It says:=20
Issue the bos addhost command to add the new database server machine to
the /usr/afs/etc/CellServDB file on existing server machines (as well as
the new database server machine itself).
Substitute the new database server machine's fully-qualified hostname
for the host name argument. If you run a system control machine,
substitute its fully-qualified hostname for the machine name argument.
If you do not run a system control machine, repeat the bos addhost
command once for each server machine in your cell (including the new
database server machine itself), by substituting each one's
fully-qualified hostname for the machine name argument in turn.
% bos addhost <machine name> <host name> =20
If you run a system control machine, wait for the Update Server to
distribute the new CellServDB file, which takes up to five minutes by
default. If you are issuing individual bos addhost commands, attempt to
issue all of them within five minutes.
I tried "bos addhost afs2.ben.muveenet afs2.ben.muveenet -localauth" on
the 2nd afs server and bos listhosts show:
bos listhosts afs2
bos: a pioctl failed (getting tickets)
bos: running unauthenticated
Cell name is ben.muveenet
Host 1 is afs1.ben.muveenet
Host 2 is afs2.ben.muveenet
Do I need to issue the command on the 1st afs server. I tried the same
command on the 1st server but listhosts never reflect the 2nd afs
server. Did I miss out anything?
From: Jeffrey Altman [mailto:firstname.lastname@example.org]=20
Sent: Saturday, March 31, 2007 8:43 PM
To: Melvin Wong
Subject: Re: [OpenAFS] Setting up second AFS server
That is why you cannot use that server to obtain tokens.
Melvin Wong wrote:
> Hi Jeff,
> For the 2nd server, I've not set the client yet.
> *From:* Jeffrey Altman [mailto:email@example.com]
> *Sent:* Fri 3/30/2007 7:49 PM
> *To:* Melvin Wong
> *Cc:* firstname.lastname@example.org
> *Subject:* Re: [OpenAFS] Setting up second AFS server
> Melvin Wong wrote:
>> aklog: unable to obtain tokens for cell ben.muveenet (status:
> 11862788 =3D a pioctl failed
> Do you have an AFS client on the machine?