Percussion IP Address Binding

Is there a way to change IP address binding in Percussion? We have a server with three network cards , essentially serving up three different IP addresses. Because of certain security restrictions we had to use IP address 1 to log into the server and install Percussion but use IP address 2 to serve content explorer for end users.

Though all three IP addresses serve up the same machine, content explorer is working only for IP address 1 using http://ipaddress1:9992 but not for IP address 2. Has any one encountered such a scenario? Is it even possible to bind Percussion to use a different IP address?

  • Ravi

Ravi,

You may check your RhythmyxServer.bin.lax file located at the root of your environment. There should be a

lax.command.line.args=-b 0.0.0.0 --configuration=rx

The -b 0.0.0.0 should bind to all available IP addresses.

You may also attempt to setup multiple connectors in your

/path/to/Percussion/AppServer/server/rx/deploy/jboss-web.deployer/server.xml

Replicating the following segment for each IP address !Be sure to change the address attribute!

<Connector URIEncoding="UTF-8" acceptCount="100" address="${jboss.bind.address}" connectionTimeout="20000" disableUploadTimeout="true" emptySessionPath="true" enableLookups="false" maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="250" minSpareThreads="25" port="9992" protocol="HTTP/1.1" scheme="http"/><connector uriencoding="UTF-8" acceptcount="100" address="IP-ADDRESS-2" connectiontimeout="20000" disableuploadtimeout="true" emptysessionpath="true" enablelookups="false" maxhttpheadersize="8192" maxsparethreads="75" maxthreads="250" minsparethreads="25" port="9992" protocol="HTTP/1.1" scheme="http">

</connector>

Riley,

I changed the connection parameter in server.xml to the following, but still cannot get content explorer to work on the new IP address.

<Connector URIEncoding="UTF-8" acceptCount="100" address="IPAddress2" connectionTimeout="20000" disableUploadTimeout="true" emptySessionPath="true" enableLookups="false" maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="250" minSpareThreads="25" port="9992" protocol="HTTP/1.1" scheme="http"/>
<Connector address="IPAddress2" emptySessionPath="true" enableLookups="false" port="9998" protocol="AJP/1.3" redirectPort="8443"/>

What about the Engine element. Should we change the default host to point to IP address?

<Engine defaultHost="localhost" name="jboss.web">

Ravi,

Can you confirm whether Jboss responds to requests at each IP address?