1 In this section we will cover adding more database
2 servers so afsdb1 is not a single point of failure.
5 First, add the new hosts to afsdb1:
9 bos addhost afsdb1 afsdb2.classroom.sinenomine.net -localauth
10 bos addhost afsdb1 afsdb3.classroom.sinenomine.net -localauth
12 cat /usr/afs/etc/CellServDB
14 Then, restart the server and then check the logs:
15 service openafs-server restart
17 cat /usr/afs/logs/PtLog
18 cat /usr/afs/logs/VLLog
19 cat /usr/afs/logs/BosLog
21 Now configure the new hosts, afsdb2 and afsdb3 using the steps :
24 scp afsdb1:/usr/afs/etc/* /usr/afs/etc/
26 cat /usr/afs/etc/CellServDB
28 service openafs-server start
30 bos create afsdb2 ptserver simple /usr/afs/bin/ptserver -localauth
31 bos create afsdb2 vlserver simple /usr/afs/bin/vlserver -localauth
32 bos status afsdb2 -long
34 cat /usr/afs/logs/BosLog
35 cat /usr/afs/logs/VLLog
36 cat /usr/afs/logs/PtLog
38 As the name says, udebug returns information important to finding and debugging an error. Now run the udebug command for each of the hosts:
39 udebug -server afsdb1 -port 7003
43 A command used to find a client or server over a network is rxdebug:
44 rxdebug <hostname> <port>
46 Sine Nomine Associates Nov 2017