[Linux-cluster] 2 node cluster w/o shared storage and custom script

brem belguebli brem.belguebli at gmail.com
Tue Oct 20 16:38:12 UTC 2009


2009/10/20 Rafael Micó Miranda <rmicmirregs at gmail.com>:
> Hi Brem,
>
>
>> > Is there any further information of the LSB compliance for resource
>> > scripts in RHEL ?
>> >
>> Try this link (that you may already know !)
>> http://sources.redhat.com/cluster/wiki/RGManager
>> >
>
> Thanks, i navigated a bit until i found this document:
>
> http://www.opencf.org/cgi-bin/viewcvs.cgi/*checkout*/specs/ra/resource-agent-api.txt?rev=1.10
>
Some of the OpenCF standards are not completely respected by RHCS. The
"monitor" action which is mandatory with OpenCF is completely ignored
by rgmanager, and is substitued by the "status" action.
>
>
>> > 2.- Service operational status: does rgmanager implement any way to
>> > check the status of the "script" resources? If so, will the "script"
>> > resource need an "status|monitor" method? How often will rgmanager check
>> > the status of the resource?
>> >
>> This is in the your script resource metadata,  under the <action/>
>> section, you can define the interval at which rgmanager will launch
>> the "status|monitor" action.
>
> Yes, i remember that, but is there any way to override this parameters
> via cluster.conf or similar way?
>
Not sure, but you may add some debug to the resouce to see  how it is
called and see if you can replace it by another value in your
cluster.conf.
>>
>> It will have to return 0 if everythng is fine. (this is the LSB
>> compliance thing)
>> >
>
>> > 4.- Qdisk: As far as i know, i will not be able to use Qdisk here. I
>> > plan to use the 2 node cluster configuration:
>> >
>> > <cman expected_votes="1" two_node="1"/>
>> >
>> > Is there any other consideration to take into account to keep the
>> > cluster quorate?
>> >
>> http://sources.redhat.com/cluster/wiki/FAQ/CMAN#two_node_dual may give
>> you additionnal information
>> >
>
> Thanks, i did not know that page.
>
> Cheers,
>
> Rafael
>
> --
> Rafael Micó Miranda
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>




More information about the Linux-cluster mailing list