4
0

README 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Quick start guide.
  2. ==================
  3. CTS: Cluster Test System
  4. The CTS uses a test driver node(TDN) to drive the execution of the test
  5. software. The CTS also uses 2 or more test target nodes(TTN) to run the test
  6. cases. The CTS software requires atleast 3 nodes 1 of which acts as a TDN and
  7. the remaining acting as TTNs.
  8. The dependencies of the TDN include Pacemaker and Augeas.
  9. On the single TDN, it is recommended at this time to install pacemaker from
  10. source so that the CTS from Pacemaker remains compatible with the current
  11. working version of the CTS components within Corosync (currently you will
  12. the devel branch http://hg.clusterlabs.org/pacemaker/devel/).
  13. 2] ssh access
  14. --------------------------------------------------------------------------------
  15. CTS requires login-less root access to the CNs.
  16. so if my CN is called "node32"
  17. # ssh node32
  18. should not ask for a password and result in a root shell.
  19. To enable this behavior, create a ssh key with the command ssh-keygen. When it
  20. prompts for a password, enter an empty field. It will create a file called
  21. ~/.ssh/id_dsa.pub. Copy that file to the TTNs into /root/.ssh/authorized_keys.
  22. Ensure permissions are 700 on /root/.ssh.
  23. Test ssh into the machine works without a password from the TDN.
  24. 3] Install augeas on the TDN
  25. --------------------------------------------------------------------------------
  26. yum install augeas
  27. 4] Configuring corosync for CTSs testing
  28. --------------------------------------------------------------------------------
  29. ./configure --enable-testagents --enable-augeas --enable-debug
  30. and then install it on the TTN.
  31. 5] run CTS
  32. --------------------------------------------------------------------------------
  33. cd <your-corosync-src-dir>/cts
  34. sudo ./corolab.py --nodes "n1 n2 n3"