Installing multiple 3DSwym Index instances in load balancer environment (Master/Master Mode)

Deploying multiple search servers in Master /Master with an external load balancer, ensures high availability for the search application. Deploying multiple indexes provides index high availability.

In Master / Master configuration indexation done by both 3DSwymIndex servers and index data synchronises with each other regularly.

Each index crawls data on its own. Multiple Index generates more load on 3DSwym database and shared folder, on 6WTags and 3DComment servers.

  1. Install two 3DSwymIndex instances on different machines.
  2. When installing 3DSwym Foundation provide the 3DSwymIndex URL as:

    http://<3DSwymIndex_LB_Hostname>:<3DSwymIndex_LB_Port>

  3. When installing two 3DSwymIndex instances, supply the 3DSwymIndex URL as:

    - 3DSwymIndex first instance: http://<3DSwymIndex_Host1>:<3DSwymIndex_BasePort>
    - 3DSwymIndex second instance: http://< 3DSwymIndex_Host2>:<3DSwymIndex_BasePort>
    
    Do not share the data directory of two 3DSwymIndex installations.

    Only two 3DSwymIndex ports are used by search requests: <3DSwymIndex_BasePort >+10 and <3DSwymIndex_BasePort >+11.

  4. In 3DSwymIndex load balancer configuration file declare two listening ports:

    Only two 3DSwymIndex ports are used by search requests: <3DSwymIndex_LB_Port>+10 and <3DSwymIndex_LB_Port>+11.

  5. Each port of load balancer balances between 3DSwymIndex instances: <3DSwymIndex_BasePort >+10 and <3DSwymIndex_BasePort >+11.