[OpenAFS] settin correct server info in vldb

Derrick Brashear shadow@gmail.com
Mon, 25 Jun 2012 07:30:14 -0400

On Mon, Jun 25, 2012 at 7:21 AM, ayvango <ayvango@zoho.com> wrote:
> I was following described in manual procedure for configuration and runni=
ng openAFS server. But somewhere I've made a mistake. All entries in my vld=
b database points to (which makes file servers inaccessible from =
all clients except the server itself)
> Some diagnostic output
> /etc/hosts:
> =A0 =A0 =A0 =A0asu.aaa.bb dali.asu.aaa.bb dali localhost

Don't use Use a real IP address. Even if it's a link-local addre=

OpenAFS will try very hard to preclude this, because it means the
server will not be reachable elsewhere.

> asu.aaa.bb is the cell name and entry in cellservdb
> vos listaddr -noresolve
> Those addresses are correct

So make asu.aaa.bb point to in /etc/hosts

> vos examine usr.username -noresolve
> usr.username =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 536870921 RW =A0=
 =A0 =A0 =A0 =A02 K =A0On-line
> =A0 =A0asu.aaa.bb /vicepb
> =A0 =A0RWrite =A0536870921 ROnly =A0 =A0 =A0 =A0 =A00 Backup =A0536870923
> =A0 =A0MaxQuota =A0 22000000 K
> =A0 =A0Creation =A0 =A0Mon Jun 18 15:36:09 2012
> =A0 =A0Copy =A0 =A0 =A0 =A0Mon Jun 18 15:36:09 2012
> =A0 =A0Backup =A0 =A0 =A0Mon Jun 18 16:07:44 2012
> =A0 =A0Last Access Mon Jun 25 11:56:13 2012
> =A0 =A0Last Update Thu Jun 21 17:33:55 2012
> =A0 =A01 accesses in the past day (i.e., vnode references)
> =A0 =A0RWrite: 536870921 =A0 =A0 Backup: 536870923
> =A0 =A0number of sites -> 1
> =A0 =A0 =A0 server partition /vicepb RW Site
> I'd like to rewrite the last string. I should get following instead of 12=
> =A0 =A0 =A0 server partition /vicepb RW Site
> =A0 =A0 =A0 server partition /vicepb RW Site
> Fileserver must be accessible from both networks and should not point to = which is client-dependent.
> What commands should be used to rewrite this portion of vldb info?

vi /etc/hosts
bos restart