My problem was that I didn't have the dbd perl module installed.. Fixed and
balancing now
Thanks for the help
-----Original Message-----
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 8 Feb 2007 11:58:17
To:Guy Waugh <gwaugh@xxxxxxxxxx>
Cc:"LinuxVirtualServer.org users mailing list."
<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: help with load balancing mysql
On Tue, Feb 06, 2007 at 10:46:10AM +1100, Guy Waugh wrote:
> bsheets@xxxxxxxxxxxxx wrote:
> >How would I call that from within resources.d, or is that where I set debug?
> >
> Looks like the '-d' flag is actually to start ldirectord in the
> foreground, i.e. not as a daemon, and it also sets up debugging. So,
> you probably won't be able to run it from heartbeat with this flag
> (although I don't know enough about it to be sure).
>
> If you can, run it from a shell prompt like this:
> ldirectord -d
The intention of the -d flag is for it to be run from the command line
rather than from inside heartbeat. If this isn't satistfactory let me
know, It should be easy enough to add some extra code so that,
for instance, -d=fork, turns on extra debugging, but still detaches
from its parent so it can be used inside heartbeat.
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
|