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 is done by both
3DSwymIndex servers and index data synchronizes with each other regularly.
Each index crawls data on its own. Multiple index generates more load on 3DSwym database
and shared folder, on Tags and 3DComment servers.
-
Install two 3DSwymIndex instances on different machines, 3DSwymIndex_host1 and
3DSwymIndex_host2.
-
When installing 3DSwym Foundation, provide the 3DSwymIndex URL as:
http://<3DSwymIndex_LB_Hostname>:<3DSwymIndex_LB_Port>
-
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.
-
In the 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.
-
Each port of the load balancer balances between 3DSwymIndex instances:
<3DSwymIndex_BasePort >+10, and <3DSwymIndex_BasePort
>+11.