Re: sql01->sql03:3306
Horms <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Nov 04, 2005 at 09:11:57PM -0800, karl rink wrote: > #ldirectord.cf > #Sample configuration for a MySQL virtual service. > #virtual = 192.168.10.74:3306 > # real = sql01->sql03:3306 gate 10 > # checktype = negotiate > # login = "readuser" > # passwd = "genericpassword" > # database = "portal" > # request = "SELECT * FROM link" > # scheduler = wrr > > I'm assuming sql01 would be the mysql master database server? While > sql02 and sql03 would be mysql slave database servers? Well, ldirectord doesn't know about master and slave databases, in its eyes they are all equal. It probably needs a bit more logic to handle master/slave correctly. I'm open to suggestions. -- Horms -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.