[Linux-HA] How to use CTS?

Andrew Beekhof beekhof at gmail.com
Fri Mar 18 01:24:48 MST 2005


there is a readme in the cts directory

but once you have logging set up, there's actually very little to
it...  CTS pulls most of the options from ha.cf (nodes, media,
deadtimes etc)

here's a sample command line:
    python ./CTSlab.py --stonith 0 -L /var/log/cluster.log -2 -c -r 300

--stonith 0 : turns stonith testing off (testing it with CTS is not
really supported yet)
-L /var/log/cluster.log : this tells CTS which log file to examine for
various log patterns
-2 : test the multi-node code
-c : install a default CIB on each machine (version 2 option only)
-r : enable resources in that CIB (version 2 option only)
300 : how many tests to perform

There is a giant for-loop at line 346 of CTSlab.py where you can find
various other options.

On Fri, 18 Mar 2005 09:57:26 +0800, ankh.tan <ankh.tan at 163.com> wrote:
> I want to try the CTS test for my HA cluster, but I don't know how to use it.
> Is there any document or faq for tool? or I have to read the codes.
> thanks
> 
> nick
> 
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>


More information about the Linux-HA mailing list