[Pacemaker] Query regarding component failover

Andrew Beekhof andrew at beekhof.net
Tue Sep 27 00:20:24 EDT 2011


On Tue, Sep 27, 2011 at 1:25 PM, Bhagwan Sahai <bhagwan.sahai at gmail.com> wrote:
> Hello,
>       There are two copies of service 1 running in master slave mode
> in the cluster.
>
>
> Regards
> Bhagwan Sahai
>
> On Mon, Sep 26, 2011 at 9:12 AM, Andrew Beekhof <andrew at beekhof.net> wrote:
>> On Fri, Sep 9, 2011 at 3:08 PM, Bhagwan Sahai <bhagwan.sahai at gmail.com> wrote:
>>> Hi,
>>>     I have a HA requirement wherein I need to have following resource
>>>  and setup:
>>> Setup:
>>> 2 node - cluster using Heartbeat as cluster and messaging layer
>>>
>>> Resource group:
>>>
>>> 1) service1 ( Master slave)
>>
>> So there are two copies of service1 running in the cluster?
>> Or just one that gets moved to the backup node when a failure happens?
>>
>>> 2) service 2( Master slave)
>>>
>>> Constraints defined:
>>> master instance of both service 1 and 2 are on same node. (There are
>>> defined in group as they are dependent on each other)

You can't put master/slave resources in a group.
Maybe just show us your configuration as it is now.

>>>
>>>
>>> I need to make sure that if there is any failuire in Master instance
>>> of  service 1 or service 2 then the whole service group should
>>> failover(what you call component failover).
>>> It  mean if master instance of service 1 and 2 are running on node 1
>>> and standby on node 2 then if there is any failuire in master instance
>>> of either
>>> service 1 or 2 should result in node 2 hosting the master group and on
>>> node 1 the the whole group will be restarted and assigned standby
>>> state. Similarily if there any failuire in standby instance then the
>>> whole group should restart and assigned same standby state.
>>>
>>>
>>> So can you please tell me how is it possible through Pacemaker.
>>>
>>>
>>> Regards
>>> Bhagwan Sahai
>>>
>>>
>>>
>>> --
>>> BHAGWAN SAHAI
>>> Sr. Principal Engineer
>>> Hughes Systique India Pvt Ltd.
>>> D-8, Infocity - II, Sector - 33
>>> Gurgaon, Haryana
>>> Phone : 91.124.3929170
>>> Email:bhagwan.sahai at hsc.com
>>>          bhagwan.sahai at gmail.com
>>> Website : www.hsc.com
>>>
>>> _______________________________________________
>>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>>
>>> Project Home: http://www.clusterlabs.org
>>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>>>
>>
>> _______________________________________________
>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>> Project Home: http://www.clusterlabs.org
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>>
>
>
>
> --
> BHAGWAN SAHAI
> Sr. Principal Engineer
> Hughes Systique India Pvt Ltd.
> D-8, Infocity - II, Sector - 33
> Gurgaon, Haryana
> Phone : 91.124.3929170
> Email:bhagwan.sahai at hsc.com
>          bhagwan.sahai at gmail.com
> Website : www.hsc.com
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>




More information about the Pacemaker mailing list