In the WANdisco CVS Replicator cvs-replicator/bin directory there are two validation tool:
Please double check the warnings to ensure a valid configuration. Here is an output from a run -
$ bin/validate-local-setup ===================================================== In order to validate local config against remote nodes, you need to save the results from this run in a status file. ===================================================== Specify the file to save config status. [./rep-config-tao.status] : will save status to - ./rep-config-tao.status ===================================================== Replicator requires cvs server versions to be exactly same at all sites. Note client versions can be different ===================================================== Enter the full path to your cvs server binary. [./cvs] : /usr/bin/cvs INFO: You selected the cvs binary - /usr/bin/cvs INFO: You are using cvs server version 1.11.17 ===================================================== Replicator requires cvs roots to match across cvs servers at all sites. For e.g. if host1 uses /data/cvsroot and host2 uses /data2/cvsroot that is not valid. Both host1 and host2 need to use the same root e.g. /data/cvsroot. This is not required by CVSNT which can use logical repository naming. In that case, CVSNT repository prefix must be the same. ===================================================== What is the cvsroot you are replicating? [/home/cvsroot] : /data/cvsroot Need to specify more cvsroots - Y|N? [N] : WARNING: the current version (1.4.2_04) of java (/export/share/apps/jdks/1.4.2/bin/java) you are using has known problems. Please upgrade to JDK version 1.5 INFO: Replicator is listening on 0.0.0.0:2410 INFO: Verify Mode is ON, all CVS writes (commit,tag...) will be verified locally first INFO:CVS Server is listening on localhost:2401 WARNING: Please change the default MAC Address in prefs.xml to this machine's MAC address INFO: cvsrelay prefs.conf file found. Presuming SSH access to CVS is required. INFO: cvsrelay was able to connect to CVS replicator at (127.0.0.1:2410) WARNING: Failed to connect to member(196979d3-5aba-11d9-8e24-001111690e1a) at tao:6333
The tool will produce a status file which is used as input to the remote setup validation tool.
Please double check the warnings to ensure a valid configuration. Here is an output from a run -
$ bin/validate-remote-setup ===================================================== In order to validate the setup of remote nodes for mutual consistency, you will need to provide the status file generated by running "validate-local-setup" at each replicator node. ===================================================== Enter fully qualified status file name. [./rep-config-tao.status] : Need to specify more status files - Y|N? [N] : Y Enter fully qualified status file name. [./rep-config-tao.status] : ./pee.status Need to specify more status files - Y|N? [N] : N WARNING: Number of entries (6) in pee status file doesn't match tao (10) WARNING: java.minor : "07" on pee doesn't match "04" on tao WARNING: cvs.version : "1.11.19" on pee doesn't match "1.11.17" on tao WARNING: cvs.root0 : "/data2/cvsroot" on pee doesn't match "/data/cvsroot" on tao
| Copyright © 2005 WANdisco | Sitemap | Privacy Policy | User Agreement | Contact Us |