Hi -
It almost sounds like you are worried that your VLDBs are
out of sync, that you suspect that one of your databases
contains incorrect location information.
You can use the "udebug -long" command and run it against
your sync site and then look at the the database versions
that are reported and determine if they are in sync or not
You would be looking for lines in the output like
Sync site's db version is 1076231019.3537
Server( 1.2.3.4 ): (db 1076231019.3537)
Server( 1.2.3.5 ): (db 1076231019.3537)
If all database versions are the same, then they should have the
same information in them. If the DB versions are different,
then a transaction may be running the update on one of them or
there really might be a sync problem.
At that point, you can look at the log files on the DB server
machines to see if they are having problems syncing things
up.
======
======
If you really want to use the "vos command" to do your checking, you
can always do the following ::
- create special versions of the /usr/vice/etc/CellServDB file that
only contain ONE of your database servers for your cell. So if
you had 3 database server machines, you would have 4 versions of
the CellServDB file
1 with ALL db servers
1 with only server 1
1 with only server 2
1 with only server 3
- since commands like vos, pts, kas, klog, backup determine which
database server to go to by reading the /usr/vice/etc/CellServDB
file, you can then create a script which updates this file before
issuing your special vos commands
cp /usr/vice/etc/CellServDB.server1 /usr/vice/etc/CellServDB
vos listvldb .........
the above command will just go to the only DB-Server
listed in the CellServDB file (server1)
cp /usr/vice/etc/CellServDB.server2 /usr/vice/etc/CellServDB
vos listvldb ....
the above will query server2's VLDB
cp /usr/vice/etc/CellServDB.server3 /usr/vice/etc/CellServDB
vos listvldb ...
the above will only query server3's VLDB
cp /usr/vice/etc/CellSerdb.all /usr/vice/etc/CellServDB
the above restores all 3 servers into your CellServDB file
That is one way to force a vos command to only go to a certain VLDB.
Thanks
Todd
Jimmy Engelbrecht <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 02/11/2004 06:30 AM | To: Hartmut Reuter <[EMAIL PROTECTED]> cc: [EMAIL PROTECTED] Subject: Re: [OpenAFS-devel] -server argumant in vos listvldb ignored. |
Hartmut Reuter <[EMAIL PROTECTED]> writes:
> The server argument for vos listvldb is used to restrict the databse search
> to volumes with instances on a certain fileserver.
Hmm i understand, but in the case "-name" is given it seems to do nothing,
right ?
$ /usr/afsws/sbin/vos listvldb -server cool-fileserver.reuter.de -name mpkg.i386_rh72 -noauth
mpkg.i386_rh72
RWrite: 536959307 ROnly: 536959308 Backup: 536959309
number of sites -> 5
server vivo.e.kth.se partition /vicepa RW Site
server vivo.e.kth.se partition /vicepa RO Site
server rimi.e.kth.se partition /vicepa RO Site
server konsum.e.kth.se partition /vicepa RO Site
server prisextra.e.kth.se partition /vicepa RO Site
> It doesn't allow to specify the address of the database server to be
> contacted.
Hmmm, so what i want to do is not possible with openafs ?
/Jimmy
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
<<inline: pic05928.gif>>
