Configuring multiple servers on a single host

When there are multiple servers on a host that includes an adminCenter feature, you must add the alternate.ports attribute to the ia_admincenter element to prevent conflicts. Edit the server.xml file of each server that has the adminCenter feature and set the alternate.ports attribute to identify the server names and port numbers.

About this task

You must edit the server.xml file of each catalog or controller server that includes the adminCenter feature when there are multiple servers on the same host. The port value for any host must be in the range 9442-9448.

Procedure

  1. Open the server.xml file and add the alternate.ports attribute in the ia_admincenter element. In the following example, there are two catalog servers named catalog_server01 and catalog_server02 on the same host; ports 9443 and 9444 are used.
    <ia_admincenter http.ssl.config="defaultSSLConfig" alternate.ports="catalog_server01:9443,catalog_server02:9444"/>

    The syntax of the string is a comma-separated list of <name:port> values. The name can be a fully qualified host name, or the server name. The server name of any server can be found in the server.xml file by using the xsServer tag with the serverName attribute. The port value is the https port.

    When the adminCenter feature is deployed on a collective controller, the name is the fully qualified hostname of the server. When the adminCenter feature is deployed on a catalog server, the name comes from the ia.host property defined in the bootstrap.properties file of the server directory. In both cases, the server name is the name of the server directory.

  2. Save your server.xml files.