Am Donnerstag, 25. Februar 2010 11:54:57 schrieb Frank Lazzarini: > Hi there, I have a config setup in Ubuntu 9.10 with Pacemaker 1.0.5 here > it is > > node $id="76df8738-d836-4a95-afe3-732bc5cc7b66" ewadata2 \ > attributes standby="off" > node $id="fd56770d-eef2-47e5-97aa-813ae1e71d7f" ewadata1 \ > attributes standby="off" > > primitive IP ocf:heartbeat:IPaddr \ > params ip="10.65.68.245" \ > meta is-managed="true" target-role="Started" > primitive drbd_r0 ocf:heartbeat:drbd \ > params drbd_resource="r0" \ > op monitor interval="9s" role="Master" timeout="20s" \ > op monitor interval="10s" role="Slave" timeout="20s" > primitive fs-drbd_r0 ocf:heartbeat:Filesystem \ > params fstype="ext4" directory="/data" device="/dev/drbd0" \ > op monitor interval="5s" > > ms ms-drbd_r0 drbd_r0 \ > meta clone-max="2" notify="true" globally-unique="false" > > location fs-drbd fs-drbd_r0 \ > rule $id="fs-drbd-rule" inf: #uname eq ewadata1 > location l_prefer_IP IP \ > rule $id="l_prefer_IP-rule" inf: #uname eq ewadata1 > location ms-drbd-master ms-drbd_r0 \ > rule $id="ms-drbd-master-rule" $role="master" inf: #uname eq ewadata1
Do you have any special reason why do you want to have the service run on that machine? Are both machines not identically? I'd throw these rules out. > order IP_before_ms-drbd inf: IP ms-drbd_r0:start > order ms-drbd_before_fs-drbd inf: ms-drbd_r0:promote fs-drbd:start order ms-drbd_before_fs inf: ms-drbd_r0:promote fs-drbd:start Also make a colocation colocation fs_with_drbd inf: fs-drbd: Started ms-drbd-r0:Master Make a group out of the fs-drbd and the IP. 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: [email protected] 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 _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
