<tt><font size=2>Jeremy Laidman <jlaidman@rebel-it.com.au> wrote
on 11/13/2011 10:32:21 PM:<br>
<br>
> From:</font></tt>
<br><tt><font size=2>> <br>
> Jeremy Laidman <jlaidman@rebel-it.com.au></font></tt>
<br><tt><font size=2>> <br>
> To:</font></tt>
<br><tt><font size=2>> <br>
> Chris Ahrens <chris.ahrens@macys.com></font></tt>
<br><tt><font size=2>> <br>
> Cc:</font></tt>
<br><tt><font size=2>> <br>
> Xymon@xymon.com</font></tt>
<br><tt><font size=2>> <br>
> Date:</font></tt>
<br><tt><font size=2>> <br>
> 11/13/2011 10:32 PM</font></tt>
<br><tt><font size=2>> <br>
> Subject:</font></tt>
<br><tt><font size=2>> <br>
> Re: [Xymon] Listening on Mulitple IPs</font></tt>
<br><tt><font size=2>> <br>
> On Fri, Nov 4, 2011 at 5:23 AM, Chris Ahrens <chris.ahrens@macys.com>
wrote:<br>
> > My Xymon server has 3 IP addresses that I want to spread out
my incoming<br>
> > status messages on.  I did not use the --listen so that
xymond would come up<br>
> > to use 0.0.0.0:1984 and netstat shows it listening on 0.0.0.0:1984,
but when<br>
> > I look at the network traffic 99.9% of it is on eth0.<br>
> <br>
> Is that incoming or outgoing or both?  I believe outgoing traffic
will<br>
> route via the "primary" interface regardless of the interface
on which<br>
> it arrived, unless you have policy routes in place.  So you might
have<br>
> a spread of incoming packets among interfaces, but all outbound<br>
> packets from a single interface.<br>
> </font></tt>
<br>
<br><tt><font size=2>It was the incoming that wasn't being split up on
the different interfaces that I was looking for.</font></tt>
<br><tt><font size=2><br>
> > My client servers are using the dns entry of the Xymon server
and dns has<br>
> > all 3 IP addresses of the Xymon server associated correctly.<br>
> <br>
> Is it possible that your resolver is configured to deliver round-robin<br>
> records in fixed order?  Try an "nslookup" a few times
and see if the<br>
> order of the 3 IP addresses is changing.  Also look at the TTL
of the<br>
> records, to see if it's large, because clients might use the same<br>
> record for a period of time based on the TTL.  Also, try "getent
hosts<br>
> <record>" a few times to see if the order is changing,
as this will<br>
> indicate what the stub resolver is giving to resolver clients (such
as<br>
> the Xymon client).<br>
> <br>
> DNS round-robin is very poor for load-balancing.  It's not that
great<br>
> for fault-tolerance either.  You might try using some kind of<br>
> interface-based traffic sharing, such as bonding.<br>
> </font></tt>
<br><tt><font size=2>> Cheers<br>
> Jeremy<br>
</font></tt>
<br><tt><font size=2>The DNS was round-robining just fine to all three
IP addresses. The server setup is a hot failover and therefore has virtual
IP addresses.  The admin that built the server had setup all the virutal
IPs to eth0 which is why all incoming traffic was showing on that interface.
 Bonding the interfaces would probably be the best idea but I was
just configuring Xymon and couldn't get the person building the server
to bond the interfaces.</font></tt>
<br>
<br><tt><font size=2>Thank You,</font></tt>
<br><tt><font size=2>Christopher Ahrens</font></tt>
<br><tt><font size=2>Macy's Systems & Technology</font></tt>
<br><tt><font size=2>chris.ahrens@macys.com</font></tt>