[OpenAFS] Setting up second AFS server

Melvin Wong melvin.wong@muvee.com
Tue, 3 Apr 2007 20:42:13 +0800


Hi Jeff,
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.

  =20
   % 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?

Thank you.

Regards,
melvin


-----Original Message-----
From: Jeffrey Altman [mailto:jaltman@secure-endpoints.com]=20
Sent: Saturday, March 31, 2007 8:43 PM
To: Melvin Wong
Cc: openafs-info@openafs.org
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.
> =20
> cheers,
> melvin
>=20
>
------------------------------------------------------------------------
> *From:* Jeffrey Altman [mailto:jaltman@secure-endpoints.com]
> *Sent:* Fri 3/30/2007 7:49 PM
> *To:* Melvin Wong
> *Cc:* openafs-info@openafs.org
> *Subject:* Re: [OpenAFS] Setting up second AFS server
>=20
> Melvin Wong wrote:
>> aklog: unable to obtain tokens for cell ben.muveenet (status:
11862788).
>=20
> 11862788 =3D a pioctl failed
>=20
> Do you have an AFS client on the machine?
>=20
>=20