[Linux-HA] Master / Slave resource
Andrew Beekhof
beekhof at gmail.com
Wed Oct 18 01:23:28 MDT 2006
This may help you http://linux-ha.org/v2/Concepts/MultiState
particularly section 6
( yes i know the docs are generally hopeless and hard to navigate :-( )
On 10/17/06, Keisuke MORI <kskmori at intellilink.co.jp> wrote:
> Hi,
>
> I'm trying to use master/slave feature with heartbeat 2.0.7.
>
> I know that the master/slave is not yet ready to use "out of the box"
> according to some articles from the ML archive, but I would like
> to know how is it designed to work, what the current status of
> the implementation and what the rest things to do.
>
> For my testing, I configured OCF drbd RA which comes with 2.0.7
> on two nodes. When I start heartbeat, slave resources start on
> each node but none of them get promoted.
>
> My questions are:
>
> 1. The drbd OCF RA apparently expects to get "post start"
> notification to issue crm_master command, but I never see the
> "pre/post start" notification in the log (see the attached
> log for details).
>
> 2. If the RA is wrong, how should it be fixed?
>
> 3. In my real application, I expect to work as the following sequence.
> Is it possible?
> i) the heatbeat starts the resources on all nodes as "slave" state.
> ii) after all resources have launched, the heartbeat choose
> which one should be the master (determined by a config. anyhow)
> and issue promote to it.
>
> 4. How can I make a group of m/s resources?
> What I want is to let some resources (typically Filesystem or IP)
> failover along with the master resource.
> The DTD says that <master_slave> can contain <group> but I'm
> not sure if it's meant for it.
>
> 5. How can I manually move the master?
> (i.e. crm_resource -M for master resource)
>
>
> Any help or advice is appreciated.
> Thank you.
> --
> Keisuke MORI
> NTT DATA Intellilink Corporation
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
More information about the Linux-HA
mailing list