[OpenAFS] Setting up second AFS server

ted creedon tcreedon@easystreet.com
Tue, 3 Apr 2007 07:48:38 -0700


I use:
Udebug afs1.ben.muveenet 7002
Udebug afs2.ben.muveenet 7002
To see if the servers are talking to each other.

tedc

-----Original Message-----
From: openafs-info-admin@openafs.org [mailto:openafs-info-admin@openafs.org]
On Behalf Of Melvin Wong
Sent: Tuesday, April 03, 2007 5:42 AM
To: jaltman@secure-endpoints.com
Cc: openafs-info@openafs.org
Subject: RE: [OpenAFS] Setting up second AFS server

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: 

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>   

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] 
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.
>  
> cheers,
> melvin
> 
>
------------------------------------------------------------------------
> *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
> 
> Melvin Wong wrote:
>> aklog: unable to obtain tokens for cell ben.muveenet (status:
11862788).
> 
> 11862788 = a pioctl failed
> 
> Do you have an AFS client on the machine?
> 
> 


_______________________________________________
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info