From 401452ec0cdf52246ce0c6623e97583f614576f9 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Sat, 30 Dec 2006 00:45:25 +0000 Subject: Merge in new (outbound) load balancing configuration code from HEAD. * assign interfaces to pool instead of manual IP configuration * Only show interfaces with a gateway * Offer list of monitor IPs including interface gateways. This code is tested for outbound load balancing on a carp cluster and works for me (smos). The server side needs testing. Which I don't know how to. Let's give it a run for a snapshot or 2. --- etc/rc.newwanip | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'etc/rc.newwanip') diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 90555a1..aa9b5ee 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -112,6 +112,12 @@ enable_rrd_graphing(); /* restart packages */ exec("/etc/rc.start_packages"); +/* reload slbd */ +/* if ($config['load_balancer']['lbpool']['type'] == "gateway") */ +slbd_configure(); +log_error("Configuring slbd"); + + return 0; ?> \ No newline at end of file -- cgit v1.1