Installing Multiple 3DSwym Instances in a Load Balancer Environment

When installing multiple 3DSwym instances in a load balancer environment, you can deploy instances across several hosts. For all installations, the installation directory path, database details, shared directory, and most other installation inputs must be identical (except a few).

This task shows you how to:


Before you begin:
  • The Shared Storage Directory used in 3DSwym installation must be shared in 3DSwym_host1, 3DSwym_host2, 3DSwymVC_host1, 3DSwymVC_host2 and in one 3DSwymIndex host.
  • It should be accessible in the read/ write/ execute mode by all 3DSwym instances.
  • Use a mounted path for the shared directory.

Installing Multiple Instances: 3DSwym Foundation

You can install multiple instances for 3DSwym Foundation.

  1. Install 3DSwym Foundation R2027x GA level in 3DSwym_host1. Select ‘Use as batch server’ option in only one 3DSwym Foundation instance but not in both instances.
  2. Install 3DSwym Foundation R2027x GA level in 3DSwym_host2.
  3. Install 3DSwym Foundation R2027x Hot Fix in server 3DSwym_host1.
  4. Install 3DSwym R2027x Hot Fix in server 3DSwym_host2.

Result: 3DSwym first instance is available in 3DSwym_host1 and the second instance is available in 3DSwym_host2.

Note: TomEE port can be different for multiple instances. You need to perform this task each time you need to install a Hot Fix to keep your second instance.

Installing Multiple Instances: 3DSwym Video Converter

You can install multiple instances for 3DSwym Video Converter.

  1. Install 3DSwym Video Converter R2027x GA level in 3DSwymVC_host1.
  2. Install 3DSwymVC R2027x GA level in 3DSwymVC_host2.
  3. Install 3DSwymVC R2027x Hot Fix in server 3DSwymVC_host1.
  4. Install 3DSwym R2027x Hot Fix in server 3DSwymVC_host2.

Result: The first 3DSwym instance is available in 3DSwymVC_host1 and the second instance is available in 3DSwymVC_host2.

Note: The video converter does not need a load-balancing configuration; it inherits one from the 3DSwym Foundation.

Installing Multiple Instances: 3DSwym Index

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.

  1. Install two 3DSwymIndex instances on different machines, 3DSwymIndex_host1 and 3DSwymIndex_host2.
  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 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.

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