Previous Topic: Configure Liferay to use Solr for SearchingNext Topic: Configure the Load Balancer


Set up and Configure Node 2

Set up and configure CA Open Space on node 2 for the cluster environment.

Follow these steps:

  1. Stop the CA Open Space services on node 1.
  2. Create backup of node 1:

    Backup is created in CA Open Space_installation\CAOpenSpaceBackup.car file of the CA Open Space installation directory.

  3. On node 2, install the similar configuration CA Open Space as set up in node 1:
    1. Select Use existing database option.
    2. Ensure that you use the same database host name as used during the CA Open Space node1 setup.
    3. Select node1 backup CAOpenSpaceBackup.car.
      Note: Ensure user has all the privileges according to the basic installation.
    4. Ensure that you extracted the custom-ehcache.zip file in the OSOP\tomcat-7.0.23\webapps\ROOT\WEB-INF\classes\ folder of the CA Open Space installation directory.

      Important! Ensure that after the extraction, the custom-ehcache folder is created in the same path as the hibernate-clustered.xml and liferay-multi-vm-clustered.xml files.

    5. Open the server.xml file from the OSOP\tomcat-7.0.23\conf\ folder and replace <Engine name="Catalina" defaultHost="localhost"> with <Engine name="Catalina" defaultHost="localhost" jvmRoute="node2">.

    After the successful configuration, two CA Open Space nodes run with the same database in a cluster.