On Mon, Jun 25, 2012 at 7:21 AM, ayvango <[email protected]> wrote:
>
>
> I was following described in manual procedure for configuration and running 
> openAFS server. But somewhere I've made a mistake. All entries in my vldb 
> database points to 127.0.0.1 (which makes file servers inaccessible from all 
> clients except the server itself)
>
> Some diagnostic output
>
> /etc/hosts:
> 127.0.0.1        asu.aaa.bb dali.asu.aaa.bb dali localhost

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

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
> 192.168.1.128
> 192.168.0.250
>
> Those addresses are correct

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

> vos examine usr.username -noresolve
>
> usr.username                       536870921 RW          2 K  On-line
>    asu.aaa.bb /vicepb
>    RWrite  536870921 ROnly          0 Backup  536870923
>    MaxQuota   22000000 K
>    Creation    Mon Jun 18 15:36:09 2012
>    Copy        Mon Jun 18 15:36:09 2012
>    Backup      Mon Jun 18 16:07:44 2012
>    Last Access Mon Jun 25 11:56:13 2012
>    Last Update Thu Jun 21 17:33:55 2012
>    1 accesses in the past day (i.e., vnode references)
>
>    RWrite: 536870921     Backup: 536870923
>    number of sites -> 1
>       server 127.0.0.1 partition /vicepb RW Site
>
> I'd like to rewrite the last string. I should get following instead of 
> 127.0.0.1:
>       server 192.168.1.128 partition /vicepb RW Site
>       server 192.168.0.250 partition /vicepb RW Site
>
> Fileserver must be accessible from both networks and should not point to 
> 127.0.0.1 which is client-dependent.
>
> What commands should be used to rewrite this portion of vldb info?

vi /etc/hosts
bos restart



-- 
Derrick
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to