[Openais] [PATCH 4/4] CTS: update the README

Angus Salkeld asalkeld at redhat.com
Thu Apr 15 01:53:50 PDT 2010

Signed-off-by: Angus Salkeld <asalkeld at redhat.com>
 cts/README |   52 +++++++++-------------------------------------------
 1 files changed, 9 insertions(+), 43 deletions(-)

diff --git a/cts/README b/cts/README
index 2a65ca2..fd37117 100644
--- a/cts/README
+++ b/cts/README
@@ -7,15 +7,12 @@ software.  The CTS also uses 2 or more test target nodes(TTN) to run the test
 cases.  The CTS software requires atleast 3 nodes 1 of which acts as a TDN and
 the remaining acting as TTNs.
-The dependencies of the TDN include Pacemaker and syslog-ng.
-The dependencies of the TTN include syslog-ng.
+The dependencies of the TDN include Pacemaker and Augeas.
-On the single TDN install syslog-ng.
 On the single TDN, it is recommended at this time to install pacemaker from
 source so that the CTS from Pacemaker remains compatible with the current
-working version of the CTS components within Corosync.
-On the 2 or more TTNs install syslog-ng.
+working version of the CTS components within Corosync (currently you will
+the devel branch http://hg.clusterlabs.org/pacemaker/devel/).
 2] ssh access
@@ -31,50 +28,19 @@ Ensure permissions are 700 on /root/.ssh.
 Test ssh into the machine works without a password from the TDN.
-3] Redirect corosync logging from the TTN to the TDN
-a) install & enable syslog-ng on the EN and CNs.
-b) put the following config into /etc/syslog-ng/syslog-ng.conf
-For the below configuration content, substitute the following with your
-Note: obviously change the following to real values:
- at THE-LOG-FILE-HERE@ 		A log file name on the TTN
- at EXERCISER-HOSTNAME-HERE@	The host name of the TTN.  To avoid DNS issues
-				IP addresses also work and are more convient.
-Place this anywhere in the configuration file of the TDN:
-source s_tcp { tcp(port(9191) max-connections(99999)); };
-filter f_ha  { facility(daemon); };
-destination ha_local { file(@THE-LOG-FILE-HERE@ perm(0644)); };
-log { source(s_sys); source(s_tcp); filter(f_ha); destination(ha_local); };
-Place this anywhere in the configuration file on the TTN:
-destination ha_tcp { tcp(@EXERCISER-HOSTNAME-HERE@ port(9191));};
-filter f_ha_tcp  { facility(daemon); };
-log { source(s_sys); filter(f_ha_tcp); destination(ha_tcp); };
-c) Test that syslog-ng is working properly by using the logger command
-From the TTN:
-logger -p daemon.err "Hello from $(hostname)"
-Then on the TDN:
-4] Install augeas on the TTN
+3] Install augeas on the TDN
 yum install augeas
-5] Configuring corosync for CTSs testing
+4] Configuring corosync for CTSs testing
-./configure --enable-testagents --enable-augeas
+./configure --enable-testagents --enable-augeas --enable-debug
 and then install it on the TTN.
-6] run CTS
+5] run CTS
 cd <your-corosync-src-dir>/cts
-python ./CoroLab.py -L @THE-LOG-FILE-HERE@ --at-boot 0  --nodes "n1 n2"
+sudo ./corolab.py --nodes "n1 n2 n3"

More information about the Openais mailing list