Lars Ellenberg wrote / napĂsal(a):
Sure, but then when I migrate "apps" resource, the colocated "fs"
resource is migrated, but the underlying DRBD resources aren't
switched. Probably I need another order rule somewhere...
That may be because you got one of your colocation rules upside down ;)
But this one is wrong:
You don't colocate the file system with the apps.
But you colocate the apps with the file system.
There is a difference between "rsc" and "with-rsc".
You cannot place the file system relative to apps,
if apps depend on fs.
http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-resource-colocation.html
So make that
colocation apps_with_fs inf: apps fs
Thanks for the info, you were right :)
P.
--
Peter LUCIAK ([email protected])
IBL Software Engineering, http://www.iblsoft.com/
Mierová 103, 82105 Bratislava, Slovakia
Phone: +421-2-32662111, Fax: +421-2-32662110
Direct: +421-2-32662175
_______________________________________________
drbd-mc mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-mc