> 
> It is possible to start DRBD with Heartbeat, better with Pacemaker
> (which is now the new name of the heartbeat cluster-resource manager
> etc...)
> 
> Then you have to use the resource agent "drbd".
[Damon Estep] 

I am using the ofc drbd resource. It is NOT starting drbd but will manage 
master/slave.

If I turn off drbd startup (chkconfig drbd off) on both odes and then pull the 
power on the active node I get a clean failover, but the slave drbd resource 
refuses to start on the inactive node whne it comes back online.

I can get it to work only if I set drbd to start by init (chkconfig drbd on).

There must be an error in the start command on the resource agent I am using, 
Centos 4.6, drbd 0.7.25, heartbeat 2.1.3
> 
> 
> I think you use the resource agent drbddisk at the moment....this
> script doesn't start drbd, it only handles primary/secondary drbd-
> membership. If you want to use this, you have to specifiy it in the
> CIB.
[Damon Estep] 

Drbd ofc agent, not drbddisk heartbeat agent.
> 
> Check this link:  http://linux-ha.org/DRBD/HowTov2
[Damon Estep] 
Yes, that is the link I referenced, and it is exactly how I am set up, except 
the drbd init issue.
> 

> 
> 
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:linux-ha-
> [EMAIL PROTECTED] Im Auftrag von Damon Estep
> Gesendet: Dienstag, 19. Februar 2008 09:42
> An: General Linux-HA mailing list
> Betreff: [Linux-HA] drbd heartbeat v2
> 
> On this page: http://www.linux-ha.org/DRBD/HowTov2 is this comment:
> "drbd must not be started by init"
> 
> 
> 
> I find that it only works correctly if drbd is started by init.
> 
> 
> 
> I have tried both 0.7.25 and 8.0.10 for DRBD on heartbeat 2.1.3 with
> crm=yes and everything set up as outlined on the page.
> 
> 
> 
> The only reliable combination I can create is drbd 0.7.25, heartbeat
> 2.1.3, and drbd started by init.
> 
> 
> 
> Is there an error on the page or have I overlooked something?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to