(Illustration by Gaich Muramatsu)
Good Morning, I have read about coda and i have success fully installed it on a server and have a client connected to it. And I would be very much grateful if i get the answers for the following 1. from venus.conf i see that maximun files to hoard is 85. Is it possible to hoard a directory instead. A directory which has files continuously being updated, and more files added to it. 2. I am trying to have a replication server as well and i followed the instruction from. http://coda.wikidev.net/Dynamically_add_replicated_server http://www.coda.cs.cmu.edu/maillists/codalist/codalist-2004/6180.html http://www.coda.cs.cmu.edu/maillists/codalist/codalist-2005/7400.html http://www.coda.cs.cmu.edu/maillists/codalist/codalist-2005/7346.html And its still not working correctly.. i mean i should be able to store a complete copy of a replicated volume onto the new server. Let me explain server1 is the SCM with VRlist as follows root_at_server1:/vice/db# more VRList / 7f000000 1 02000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0 codaroot 7f000001 1 02000002 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0 dir 7f000002 1 02000003 0 0 0 0 0 0 0 ................. client1 is the client to server1 and did the following .................. createvol_rep dir server1 cfs mkm /coda/server1/dir dir root_at_server1:/coda/server1/dir# ls root_at_server1:/coda/server1/dir# touch file.txt root_at_server1:/coda/server1/dir# touch file.txt root_at_server1:/coda/server1/dir# ls file.txt root_at_server1:/coda/server1/dir# echo test file > file.txt root_at_server1:/coda/server1/dir# more file.txt test file ............... dir was create rw and ready to be used and want to replicate it to another server. server2 was created with no scm and authenticated to with server1. RVM was created on server2 .............................. As the wiki suggested these are the steps i followed. 1. Create a line for the replica server in the server.conf root_at_server1:/vice/db# more servers server1 2 server2 3 root_at_server1:/vice/db# 2. Restart the server on the scm so that the changes to the server file take effect. 3. check for any conflict root_at_server1:/vice/db# volutil setlogparms 7f000002 reson 4 V_BindToServer: binding to host server1 Set Log parameters root_at_server1:/vice/db# ..................... 4. Created a new volume id root_at_server1:/vice/db# volutil -h server2 create_rep /vicepa dir.1 7f000002 V_BindToServer: binding to host server2 Volume 03000001 (dir.1) created root_at_server1:/vice/db# 5. VRList changed to the following dir 7f000002 1 02000003 03000001 0 0 0 0 0 0 root_at_server1:/vice/db# more VRList / 7f000000 1 02000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0 codaroot 7f000001 1 02000002 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0 dir 7f000002 1 02000003 03000001 0 0 0 0 0 0 6. root_at_server1:/vice/db# bldvldb.sh server1 Fetching volume lists from servers: V_BindToServer: binding to host server2 GetVolumeList finished successfully server2 - success V_BindToServer: binding to host server1 VLDB completed. root_at_server1:/vice/db# 7. Copy Data to new server cfs checkservers 8.restarted both servers and clients. 9. Started venus and connected both client to server1. 10. cfs flushobject dir root_at_server1:/coda/server1# cfs flushobject /coda/server1/web/ DANGER: these files will be lost, if disconnected Do you really want to do this? [n] y Fools rush in where angels fear to tread ........ Can't flush active file root_at_server1:/coda/server1# Note: On both servers VRList are the same. I tried cfs flushobject several times and still no success. Please tell me how to get replication sorted out. One last Question: when replication works - can each client be connected to different servers? Many thanks to CODA team. ZiggyReceived on 2007-06-25 09:21:58