[Linux-HA] How to use CTS?

Andrew Beekhof beekhof at gmail.com
Mon Mar 28 07:58:16 MST 2005


On Mon, 21 Mar 2005 17:13:07 -0700, Alan Robertson <alanr at unix.sh> wrote:
> Guochun Shi wrote:
> > CTS: there is one monitor node, several test ndes.
> >
> > The monitor node login to test nodes and start/stop/change config. All log information are sent
> > to the monitor node. The monitor node parses the log information, most time looking for certain phrases,
> > to determine is the test is running well.
> >
> > -Guochun
> >
> > At 09:58 AM 3/21/2005 +0800, you wrote:
> >
> >>Thanks, Andrew.
> >>Can you tell me some information about working mechanism of CTS.
> >>
> >>
> >>>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
> 
> And the monitor node is NOT part of the cluster itself, but a separate,
> independent computer.
>

Well, it can be part of the cluster... but whether it _should_ be is a
different matter :)
 
> --
>      Alan Robertson <alanr at unix.sh>
> 
> "Openness is the foundation and preservative of friendship...  Let me claim
> from you at all times your undisguised opinions." - William Wilberforce
> _______________________________________________
> 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