Table of Contents

Search

  1. Preface
  2. Introduction to RulePoint
  3. Managing Your Account
  4. Using RulePoint User Interface
  5. User Management
  6. Topology Management
  7. Managing Hosts and Nodes
  8. Managing Application Services
  9. Managing System Services
  10. High Availability
  11. Managing Deployment
  12. Dashboard
  13. Object Import and Export
  14. Markers
  15. Log Management
  16. Licenses
  17. Resetting RulePoint System
  18. Error Codes
  19. Glossary

Administrator Guide

Administrator Guide

Configuring Design-Time High Availability

Configuring Design-Time High Availability

You can configure the Apache Tomcat server instance on another host for high availability of the RulePoint design-time instance. The Tomcat servers connect to the Apache server to ensure that the design-time instance is always running.
Perform the following steps to configure high availability for the design-time instance:
  1. Download and install Apache HTTP Server version 2.2 or later.
  2. Start the Apache HTTP Server and verify that the server is running.
  3. Download the version of the
    mod_jk
    binaries that is compatible with the operating system of the RulePoint Server and the installed Apache HTTP Server.
    The binary file is a single
    .so
    file.
  4. Copy the
    mod_jk.so
    file to the
    <Apache_base_dir>/modules
    directory.
  5. Stop the Apache Server.
  6. Add the following lines in the
    httpd.conf
    file located at the
    <Apache_Home>/conf
    directory:
    # Load mod_jk module LoadModule jk_module modules/mod_jk.so # Declare the module for <IfModule directive> (remove this line on Apache 2.x) #AddModule mod_jk.c # Where to find workers.properties JkWorkersFile conf/worker.properties # Where to put jk shared memory JkShmFile ./mod_jk.shm # Where to put jk logs JkLogFile logs/mod_jk.log # Set the jk log level [debug/error/info] JkLogLevel info # Select the timestamp log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " # Send servlet for context /examples to worker named worker1 JkMount /rulepoint* router JkMount /RTAM* router # Send JSPs for context /examples to worker named worker1 #JkMount /examples/*.jsp worker1
    The
    mod_jk
    module is loaded to the server.
  7. Create a file named
    worker.properties
    with the following entries:
    # The advanced router LB worker worker.list=router worker.router.type=lb worker.router.balance_workers=worker1,worker2 # Define the first member worker worker.worker1.type=ajp13 worker.worker1.host=<<primary_host>> worker.worker1.port=<<ajp13_port>> # Define preferred failover node for worker1 worker.worker1.redirect=worker2 # Define the second member worker worker.worker2.type=ajp13 worker.worker2.host=<<secondary_host>> worker.worker2.port=<<ajp13_port>> # Disable worker2 for all requests except failover worker.worker2.activation=disabled
  8. Edit the values in the
    worker.properties
    file:
    • Replace the value of
      <primary_host>
      with the host name of the machine that hosts the primary environment of the RulePoint design time.
    • Replace the value of
      <secondary_host>
      with the host name of the machine that hosts the secondary environment of the RulePoint design time.
    • Replace the value for
      <ajp13_port>
      with the following value of the connector port in the
      server.xml
      file in the
      TOMCAT_HOME/conf
      directory:
      <Connector port="8010" protocol="AJP/1.3" redirectPort="8444" />
    If you enable high availability on the same machine, make sure that you have resolved any port conflict. To resolve a port conflict, you must change the port numbers on the secondary design-time environment.
  9. Start the RulePoint design-time instances on both the primary and the secondary hosts.
    Perform the following steps to start the design-time instance on Windows:
    1. From the command prompt, go to the directory where the
      design.bat
      file is located.
      By default, RulePoint installs the
      design.bat
      file in the following directory:
      <RULEPOINT_HOME>\bin
      Where,
      <RULEPOINT_HOME>
      refers to the installation folder which the RulePoint installer creates during the installation phase to install the RulePoint components. The default location of the RulePoint installation folder is
      c:\RulePoint_6.1.2
      .
    2. Enter the following command to start the RulePoint design-time instance:
      design.bat start
      For example,
      c:\RulePoint_6.1.2\bin>design.bat start
    Perform the following steps to start the design-time instance on Linux:
    1. From the command prompt, go to the directory where the
      design.sh
      file is located.
      By default, RulePoint installs the
      design.sh start
      file in the following directory:
      <RULEPOINT_HOME>/bin
      Where,
      <RULEPOINT_HOME>
      refers to the installation folder which the RulePoint installer creates during the installation phase to install the RulePoint components. The default location of the RulePoint installation folder is
      /userhome/RulePoint_6.1.2
      .
    2. Enter the following command to start the RulePoint design-time instance:
      design.sh start
      For example,
      /userhome/RulePoint_6.1.2/bin>design.sh start
  10. Verify if the RulePoint design-time instances on both the primary and the secondary hosts are up and running.
  11. Restart the Apache HTTP Server.

0 COMMENTS

We’d like to hear from you!