Bug #2958
closedLoad Balancer: relayd must be manually restarted when added second virtual server
0%
Description
I have 2 CARP WAN IPs setup for use with my 2 DNS servers. I configured the Pool for loadbalance and added the 2 LAN IPs for my DNS servers monitored via ICMP. I then configured a Virtual Server for my first CARP WAN IP (ns1.domain.tld) pointed to my DNS load balance pool, saved and applied changes. This works fine. I then added a second Virtual Server pointing to a second CARP WAN IP (ns2.domain.tld) using the same pool. This second Virtual Server will not start until you manually restart the relayd service. Under Status > Load Balancer > Virtual Servers, the first VS is Active but the second shows "Unknown - relayd not running?". The system log shows:
php: /load_balancer_virtual_server.php: The command '/usr/local/sbin/relayctl reload' returned exit code '1', the output was 'command failed'
To fix you must restart relayd using the restart button in Status > Services. This must be done on both the primary and backup CARP members before the VS will work.