[Linux-HA] How to use CTS?
Guochun Shi
gshi at ncsa.uiuc.edu
Mon Mar 21 12:58:32 MST 2005
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
>> >
>> > nick
>> >
>> > _______________________________________________
>> > Linux-HA mailing list
>> > Linux-HA at lists.linux-ha.org
>> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
>>
>> _______________________________________________
>> Linux-HA mailing list
>> Linux-HA at lists.linux-ha.org
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>
>
>_______________________________________________
>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