On 03/26/2014 02:37 PM, Rickb wrote:
> This not a question how to cluster imanager. I need to know if there is a
> way to only have imanager come up on the nodes ip address. I need this since
> we are trying to have multiple web servers clustered and we see that all
> addresses listen on the server for ports 443 and 80. Is there a way to make
> imanager listen only on a certain address. I have googled and searched the
> docs with no luck.


Works for me the using the typical Apache Tomcat method to restrict the
application server to a single IP address. Just add the following into
the appropriate <Connector/> block within the server.xml file
(./tomcat/conf/server.xml) and restart Tomcat (using your IP of course).

address="192.168.0.1"

For example, my block went from:

Code:
--------------------
<!-- Define a SSL HTTP/1.1 Connector on port -->
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" maxHttpHeaderSize="8192" minSpareThreads="25"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLSv1.2"/>
--------------------

to

Code:
--------------------
<!-- Define a SSL HTTP/1.1 Connector on port -->
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
address="192.168.0.1"
maxThreads="150" maxHttpHeaderSize="8192" minSpareThreads="25"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLSv1.2"/>
--------------------

I did not update the other connector for TCP 8080 so it is still listening
on all addresses, so be sure to get both of yours if desired.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...