Load balancer question

  • I was hoping the new 2.0 series would allow me to load balance traffic coming in and out of the same interface.  Ie 2 web servers on the LAN network are being load balanced with another server on LAN network calling an IP to hit the load balanced pair.  This IP can be public, that is not an issue or preferably be some non physical network.  I tried using Virtual IPs both with ProxyARP and Alias and could not get it working.  Anyone tell me if a) this is possible and b) if so, how do you set it up?

  • Well I didn't even look in the system log… can I just add user "_relayd"?

    php: /load_balancer_virtual_server.php: The command '/usr/local/sbin/relayd -f /var/etc/relayd.conf' returned exit code '1', the output was 'relayd: unknown user _relayd'

  • After running following command to add the user, the load balancer service started up fine:
    pw user add -n _relayd -c "relayd daemon" -d /var/empty -s /sbin/nologin

  • On what version are you getting this?

    I don't use the LB, but the user is there:

    2.0-RC1 (i386)
    built on Mon Feb 14 03:24:30 EST 2011

    $ pw usershow -a
    _relayd:*:913:913::0:0:Relay Daemon:/var/empty:/usr/sbin/nologin

    upgraded to latest snap:

    2.0-BETA5 (i386)
    built on Wed Feb 23 16:16:10 EST 2011

    $ pw usershow -a
    _relayd:*:913:913::0:0:Relay Daemon:/var/empty:/usr/sbin/nologin

  • This was an upgrade from 1.2.3 to 2.0-Beta5 built on Fri Feb 18 06:31:46 EST 2011 (I am trying to help out by testing the upgrade process).  So it looks like the user is not added in the upgrade process… created a ticket for this.

    Second issue is the first post, in trying to get load balancing going in and out of the same interface.  It looks to me that relayd should have no problem doing this (according to their docs).  Anyone able to assist?

  • Rebel Alliance Developer Netgate

    The missing user should be fixed now.

Log in to reply