Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

haproxy still looking for peer matching local hostname if -L command-line option provided (1 reply)

$
0
0
Hi all,

I'm running HAproxy 1.6.3 on Ubuntu Server 14.04 LTS. I'm having a very
minor issue with my peer configuration. Essentially, even though I'm
specifying -L peername on the command line, it still seems to be looking
for a peer named hostname in the configuration, and I get the following
warning on startup:

[WARNING] 011/202228 (6257) : Removing incomplete section 'peers
edgeservers' (no peer named 'atl-edge-000').


The quick fix is to just set the names of the peers to the local hostnames,
but I have a naming scheme that I'd like to preserve. Is it safe to ignore
this warning? Are there any other options to resolve this problem? Thanks
in advance.

Here's the startup command: /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg
-D -p /var/run/haproxy.pid -L edge_000

Here's the output of haproxy -vv: http://pastie.org/pastes/10686333/text

Here's my config (essentially the Debian default configuration with a peer
group at the end): http://pastie.org/pastes/10686342/text

Thank you in advance,

Mike

Viewing all articles
Browse latest Browse all 5112

Trending Articles