problems with arla

Assar Westerlund assar at stacken.kth.se
Sat May 6 15:43:58 CEST 2000


Camelia Botez <camelia at wicc.weizmann.ac.il> writes:
> Last week I got from "rcfstaff at bnl.gov" a message about moving the 3 afs
> servers from rhic cell behind the rhic firewall and changes in their IP's.
> They writte:
> 
> 
> Essentially, the CellServDB update consists of 
> replacing the line,
> 
> 130.199.80.92 #rafs01.rhic.bnl.gov 
> 
> with this new line,
> 
> 130.199.6.69  #rafs01.rcf.bnl.gov 
> Update the kernel-resident list of servers: 
> fs newcell -name rhic -servers rafs01.rcf.bnl.gov
> rafs02.rcf.bnl.gov rafs03.rcf.bnl.gov 
> which I did .

Did you get any error from this command?  I'm afraid that you have to
type `-cell rhic' or just `rhic' with the Arla fs program.

> eio06.weizmann.ac.il 24: cd /afs
> eio06.weizmann.ac.il 25: cd rhic
> eio06.weizmann.ac.il 26: ls I get connection timeouted.
> 
> What can be the reason ?

It sure sounds like it's still trying to contact the old server and
thus failing.

I'm afraid there's a small bug in `fs listcells', but after applying
the patch below you should be able to do:

fs listcells -no-resolve | grep rhic

which should tell you arlad's view of which are the servers in that
cell.  When I try I get this:

datan# fs listcells -no-resolve | grep rhic
rhic:  130.199.80.92.
datan# ls /afs/rhic
ls: /afs/rhic: Connection timed out
datan# /usr/arla/bin/fs newcell -cell rhic -servers rafs01.rcf.bnl.gov rafs02.rcf.bnl.gov rafs03.rcf.bnl.gov
datan# fs listcells -no-resolve | grep rhic
rhic:  130.199.6.69 130.199.6.52 130.199.6.51.
datan# ls /afs/rhic

<works fine>

/assar



Index: fs.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/appl/fs/fs.c,v
retrieving revision 1.78
diff -u -w -u -w -r1.78 fs.c
--- fs.c	2000/03/11 15:24:15	1.78
+++ fs.c	2000/05/06 13:24:27
@@ -678,9 +678,9 @@
 
     struct getargs lcargs[] = {
 	{"servers", 's', arg_negative_flag,  
-	 NULL,"print servers in cell", NULL},
+	 NULL,"do not print servers in cell", NULL},
 	{"resolve",	 'r', arg_negative_flag,   
-	 NULL,"resolve hostnames", NULL},
+	 NULL,"do not resolve hostnames", NULL},
         {"suid",	 'p', arg_flag,   
 	 NULL,"print if cell is suid", NULL },
         {NULL,      0, arg_end, NULL}}, 
@@ -2102,7 +2102,7 @@
     int 	       ret;
     unsigned	       max_servers = sizeof(servers)/sizeof(servers[0]);
 
-    for (i = 0;
+    for (i = 1;
 	 (ret = fs_getcells (i, servers, 
 			     max_servers,
 			     cellname, sizeof (cellname))) == 0;





More information about the Arla-drinkers mailing list