[Pacemaker] Using Cluster Test Suite (CTS) with "debug: on" in corosync.conf failed

Timo Schäpe schaepe at dfn-cert.de
Fri Apr 13 09:26:02 EDT 2012


Am 10.04.2012 23:43, schrieb Andrew Beekhof:
> On Tue, Apr 10, 2012 at 11:05 PM, Timo Schäpe <schaepe at dfn-cert.de> wrote:
>> Hi,
>> for whom it may interest, here's something that cost me a whole day of work:
>>
>> I used CTS to test my cluster configuration and it worked fine. For
>> debugging a resource agent I switched on the debug output in corosync.conf:
>>
>> logging {
>>        [...]
>>        debug: on
>>        [...]
>> }
>>
>> After I fixed the bug, I forgot to switch debug output off. This caused
>> most of the CTS tests to fail with this warning:
>>
>> CTS: Warn: Startup pattern not found: myhost crmd:.*The local CRM is
>> operational
>>
>> After I switched debug output off, the CTS worked fine as before.
> 
> We've since added a BadNews pattern that looks for syslog messages
> being dropped/throttled.
> 
> How was your experience with CTS otherwise?
> Periodically I try to improve the usability so that eventually
> non-developers can use it, it would be interesting to hear how we're
> doing.

It was easy for me to work with CTS. I read about the basics of CTS in
the book of Michael Schwartzkopff (Clusterbau). Some deeper information
about the configuration I got from the README and that was enough to
start some tests.

What I missed is a short explanation of the tests and the meaning of
their failures. For example my cluster fails completly at the
ResourceRecover and Reattach tests. But unfortunately I only know the
meaning of the ResourceRecover test, because there is an explanation in
the Schwartzkopff book. Maybe there is an online resource that I had
overlooked till now.

And I am not sure, how I can test a cluster with STONITH resources with
the CTS. Should I use the stonith-ssh?

-- 
Dipl.-Inf. Timo Schaepe                     (Projekt- u. Entwicklungsteam)
Phone:+49 40 808077-650   Fax:+49 40 808077556    Mail:schaepe at dfn-cert.de

DFN-CERT Services GmbH, https://www.dfn-cert.de/, Phone  +49 40 808077-555
Sitz / Register: Hamburg, AG Hamburg, HRB 88805,  Ust-IdNr.:  DE 232129737
Sachsenstrasse 5, 20097 Hamburg, Germany. CEO: Dr. Klaus-Peter Kossakowski

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5901 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120413/8a428bda/attachment-0003.p7s>


More information about the Pacemaker mailing list