Sun Cluster 3.1 Data Service for BroadVision One-To-One Enterprise

How to Prevent a Server-Port Conflict

Use this procedure to prepare for the installation and configuration of Sun Cluster HA for BroadVision One-To-One Enterprise.

By default, the orbix daemon chooses an available port number that the IT_DAEMON_SERVER_BASE and IT_DAEMON_SERVER_RANGE properties specify for use by a server that the daemon launches. When a client attempts to connect to a server for the first time, the client asks the orbix daemon for the port number. Then the client connects to the port that the orbix daemon specifies. If failover occurs after the client asks the orbix daemon for the port number but before the client connects to that port, the client might connect to the wrong server.

This procedure provides you two options to prevent a server-port conflict.

  1. Which option do you prefer?

    • Configure the IT_LOCAL_SERVER_BASE property for each host

      If yes, proceed to Step 2

    • Add the iiop_port parameter to each process entry in the bv1to1.conf file

      If yes, skip to Step 3

  2. Configure the IT_LOCAL_SERVER_BASE property for each host so that ports that the orbix daemon assigns on different nodes will never overlap. For example, if you configure BroadVision One-To-One Enterprise servers and the Interaction Manager to run on cluster nodes A, B, and C, the bv1to1.conf file will have the following entries.


    export
        ...
        IT_DAEMON_SERVER_RANGE = “200”;
        ...
    site bv
    {
        ...
        node A {
            export IT_LOCAL_SERVER_BASE = “1300”;
            ...
        }
        node B {
            export IT_LOCAL_SERVER_BASE = “1500”;     # 1300 + 200
            ...
        }
        node C {
            export IT_LOCAL_SERVER_BASE = “1700”;     # 1500 + 200
            ...
        }
        ...
    }
  3. Add the iiop_port parameter to each process entry in the bv1to1.conf file, and ensure that no two server-port entries conflict. The iiop_port is an undocumented parameter of the BroadVision One-To-One Enterprise server that specifies which port a server should use. For example, the following process entry defines the cntdb server on port 1305.


    process cntdb { parameter iiop_port = “1305”; }

    C++ CORBA servers support the iiop_port parameter. For Java servers, you must upgrade to BroadVision One-To-One Enterprise 6.0AB or later versions.