[drbd-mc] NullPointerException in certain cluster configurations

Peter Luciak Peter.Luciak at iblsoft.com
Fri Feb 12 14:40:42 CET 2010


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 (Peter.Luciak at iblsoft.com)
IBL Software Engineering, http://www.iblsoft.com/
Mierová 103, 82105 Bratislava, Slovakia
Phone: +421-2-32662111, Fax: +421-2-32662110
Direct: +421-2-32662175


More information about the drbd-mc mailing list