From 17623ab556ab149f01e10aa587a35816302ee91d Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Mon, 16 Jun 2008 02:58:57 +0000 Subject: Bring in relayd to perform server load balancing Move gateway load balancing code into gwlb.inc - still uses slbd TODO: vs and pool status screens are currently broken...and wouldn't work with the gateway pools anyway, ultimately, the gateway pools need to move. --- usr/local/www/load_balancer_pool.php | 1 + usr/local/www/load_balancer_virtual_server.php | 1 + 2 files changed, 2 insertions(+) (limited to 'usr/local') diff --git a/usr/local/www/load_balancer_pool.php b/usr/local/www/load_balancer_pool.php index 2017919..d40d712 100755 --- a/usr/local/www/load_balancer_pool.php +++ b/usr/local/www/load_balancer_pool.php @@ -45,6 +45,7 @@ if ($_POST) { config_lock(); $retval |= filter_configure(); $retval |= slbd_configure(); + $retval |= relayd_configure(); config_unlock(); $savemsg = get_std_save_message($retval); diff --git a/usr/local/www/load_balancer_virtual_server.php b/usr/local/www/load_balancer_virtual_server.php index a7480ea..29f1703 100755 --- a/usr/local/www/load_balancer_virtual_server.php +++ b/usr/local/www/load_balancer_virtual_server.php @@ -45,6 +45,7 @@ if ($_POST) { config_lock(); $retval |= filter_configure(); $retval |= slbd_configure(); + $retval |= relayd_configure(); config_unlock(); $savemsg = get_std_save_message($retval); unlink_if_exists($d_vsconfdirty_path); -- cgit v1.1