|
Home > Archive > Perlbal > August 2007 > How to get it running?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to get it running?
|
|
| drpr0ctologist@gmail.com 2007-08-07, 7:11 am |
| I've installed Perlbal without any problems. However there are no
instructions on how to get it up and running, or how/where to put the config
files. After I did the make install, that was the end of it.
I mean, doing a "locate load-balancer.conf" command, I only see it showing
up in 2 places:
/root/.cpan/build/Perlbal-1.59/conf/load-balancer.conf
/stuff/mogilefs/Perlbal-1.59/conf/load-balancer.conf
Is there supposed to be another copy elsewhere?
And is there a script to get it running as a daemon on Linux?
| |
| drpr0ctologist@gmail.com 2007-08-07, 7:11 am |
| Ok I've figured that the program is expecting the default config file to be
found here:
/etc/perlbal/perlbal.conf
Now the question is, I'm trying to use the load-balancer.conf to get things
going, to test the system. However, all it keeps telling me is:
"No services or management port configured. Nothing to do. Stopping."
I'm totally confused. I'm not even sure what a pool is, and what a balancer
is. Could someone give me some help?
If there's some sort of test project/config that already works, I could
learn off that. Otherwise this whole thing is like poking around in the
dark!
| |
| Mark Smith 2007-08-07, 1:11 pm |
| >
> Ok I've figured that the program is expecting the default config file to
> be found here:
> /etc/perlbal/perlbal.conf
>
> Now the question is, I'm trying to use the load-balancer.conf to get
> things going, to test the system. However, all it keeps telling me is:
> "No services or management port configured. Nothing to do. Stopping."
>
> I'm totally confused. I'm not even sure what a pool is, and what a
> balancer is. Could someone give me some help?
>
> If there's some sort of test project/config that already works, I could
> learn off that. Otherwise this whole thing is like poking around in the
> dark!
>
[mark @ web - ~/svn/perlbal] -> ./perlbal --help
Usage: perlbal [OPTS]
--help This usage info
--version Print perlbal release version
--config=[file] Specify Perlbal config file
(default: /etc/perlbal/perlbal.conf)
--daemon Daemonize
All of your questions answered. Look in the conf/ directory for example
configuration files. Pretty sure most use cases are covered.
--
Mark Smith / xb95
smitty@gmail.com
|
|
|
|
|