select * from section<?xml version='1.0' encoding='iso-8859-1' ?>
<article>
<id><![CDATA[31]]>></id>
<author><nick><![CDATA[Juan M. Casillas]]>></nick>
<email><![CDATA[juanm.casillas@jmcresearch.com]]>></email>
></author>
<title><![CDATA[Listen address]]>></title>
<subtitle><![CDATA[Internal overview]]>></subtitle>
<body><![CDATA[&lt;h3&gt;Listen Address&lt;/h3&gt;

&lt;p&gt;
Load Balancer have to listen in a specific address. This 
address is a IP,port pair. For now, Load Balancer only
listen in one address, but in the future it will do it
in some addresses. 
&lt;/p&gt;

&lt;p&gt;
To configure the Listen address, you need to include under
the &lt;tt&gt;attachto&lt;/tt&gt; tag the address (in the future,
addresses) when Load Balancer will listen.
&lt;/p&gt;

The configuration parameters for this tag are:
&lt;p&gt;
&lt;table border=1 width=100% cellpadding=5 class=thinborder&gt;

&lt;tr bgcolor=&quot;#f0f0f0&quot;&gt;
&lt;td class=thinborder_title&gt;&lt;b&gt;Option&lt;/b&gt;&lt;/td&gt;
&lt;td class=thinborder_title width=70%&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt;&lt;td&gt;attachto&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;
This directive allows us to choose the listen address for 
Load Balancer. This tag support the following directive:
(NOTE: for now, only one &lt;tt&gt;address&lt;/tt&gt; is supported.
This will change in the future).

&lt;b&gt;address&lt;/b&gt;&lt;br&gt;
&lt;p&gt;
This directive configures the address (hostname,port pair)
when Load Balancer will listen the client connections. 
Inside this tag you have to configure the host address
and the port address:
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;host&lt;/b&gt;: inside this tag, you configure the host?s
                 address (e.g. www.mydomain.com or in number,
                 dot separated format: 192.168.200.1).
&lt;li&gt;&lt;b&gt;port&lt;/b&gt;: inside this tag, you configure the port
                 number where the clients will connect
                 (e.g. if you are using Load Balancer to
                 balance HTTP traffic, you should listen
                 in port 80).
&lt;/ul&gt;
&lt;/p&gt;

&lt;/p&gt;
&lt;br&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;/p&gt; 

&lt;h3&gt;attachto Sample&lt;/h3&gt;

&lt;pre&gt;
  &amp;lt;attachto&amp;gt;
        &amp;lt;address&amp;gt;
                &amp;lt;host&amp;gt;reboot&amp;lt;/host&amp;gt;
                &amp;lt;port&amp;gt;8000&amp;lt;/port&amp;gt;
        &amp;lt;/address&amp;gt;
  &amp;lt;/attachto&amp;gt;
&lt;/pre&gt;]]>></body>
<keywords><![CDATA[load balancer  listen address]]>></keywords>
<stamp><![CDATA[1063914323]]>></stamp>
<updated><![CDATA[1070911507]]>></updated>
<language><![CDATA[0]]>></language>
<sections><section><![CDATA[Load Balancer]]></section>
></sections>
<site><![CDATA[http://www.jmcresearch.com]]>></site>
<url><![CDATA[http://www.jmcresearch.com//src/articlehelper.php?action=preview&amp;id=31]]>></url>
</article>