[Pacemaker] Master/Slave resource cannot start
Michael Schwartzkopff
misch at multinet.de
Fri Aug 7 08:42:09 EDT 2009
Am Freitag, 7. August 2009 14:30:47 schrieb Diego Remolina:
> > What is the failconter of the resource on node phys-file02? Please do a
> > crm_mon -1f
> > What does it say?
>
> [root at phys-file02 ~]# crm_mon -1f
>
>
> ============
> Last updated: Fri Aug 7 08:29:20 2009
> Stack: Heartbeat
> Current DC: phys-file02.physics.gatech.edu
> (db786ace-4c9b-4ba1-b272-95b4d81b40a9) - partition with quorum
> Version: 1.0.4-6dede86d6105786af3a5321ccf66b44b6914f0aa
> 2 Nodes configured, unknown expected votes
> 4 Resources configured.
> ============
>
> Online: [ phys-file01.physics.gatech.edu phys-file02.physics.gatech.edu ]
>
> Master/Slave Set: ms-drbd_export
> Masters: [ phys-file01.physics.gatech.edu ]
> Stopped: [ drbd_export:1 ]
> pingd (ocf::pacemaker:pingd): Started phys-file01.physics.gatech.edu
>
> Migration summary:
> * Node phys-file02.physics.gatech.edu:
> * Node phys-file01.physics.gatech.edu: pingd=100
>
> Diego
Ah yes!
You did define a ping resource, but did not clone it. So I runs only one one
node. You also defined a colocation constraint that allows the drbd only run on
a node where the pingd is running. So the DRBD cannot run.
Solution:
1) clone the pingd
2) Delete you colocation constraint. It is useless.
3) Make a location constatint the allows the ip address only run on a node
that gets points from the pingd.
Greetings,
--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75
mail: misch at multinet.de
web: www.multinet.de
Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens
---
PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
More information about the Pacemaker
mailing list