Hey Andreas,

Thanks again! Yes of course, collocate the Filesystem with DRBD
Master. It works now, as for the location entries:

location prefer-mysql1 MyServices inf: mydrbd1
location prefer-mysql2 MyServices inf: mydrbd2

I posted the smaller part of a larger configuration. What I have is
six servers running on the same cluster network,
mcast, etc..

MySQL1 -> VIP, DRBD Active/Passive (EXT3), mysql
MySQL2 -> VIP, DRBD Active/Passive (EXT3), mysql

Asterisk1 -> VIP, DRBD Active/Active (OCFS2), asterisk
Asterisk2 -> VIP, DRBD Active/Active (OCFS2), asterisk

LoadBalancer1 -> VIP, ldirectord
LoadBalancer2 -> VIP, ldirectord

I use group + location to make sure things run on the correct server?

.....

group LBServices lbIP lbLdirectord meta target-role="Started"
group MyServices myIP myFilesystem meta target-role="Started"
group AstServices astIP astDLM astO2CB astFilesystem \
        meta target-role="Started"

.....

location prefer-lb1 LBServices inf: lb1
location prefer-lb2 LBServices inf: lb2
location prefer-mysql1 MyServices inf: mydrbd1
location prefer-mysql2 MyServices inf: mydrbd2
location prefer-asterisk1 AstServices inf: astdrbd1
location prefer-asterisk2 AstServices inf: astdrbd2

Thanks in Again and in Advance,

Nick.
_______________________________________________
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