On 10/24/2011 12:45 AM, Nick Khamis wrote: > 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
Cluster file system for Asterisk? Are you sure it's worth adding that extra layer? > > 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 Better use anti-location constraints and forbid all but the two nodes to run the resources ... or split in into three cluster if the services are already strictly separated. The constraints you are using don't forbid the services to run on the other nodes ... you apparently have not tested multinode failures up to now ;-) > > Thanks in Again and in Advance, You are welcome! Regards, Andreas -- Need help with Pacemaker? http://www.hastexo.com/now > > Nick. > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
