Can JON be configured as a High-Availability (HA) cluster?

Solution Verified - Updated -

Environment

  • Red Hat JBoss Operations Network (ON)
    • 2.x
    • 3.0.0
    • 3.0.1
    • 3.1.0
    • 3.1.1
    • 3.1.2
    • 3.2.0
    • 3.2.1
    • 3.2.2
    • 3.3.x

Issue

  • How to cluster JBoss Operations Network (JON)
  • Is it possible to cluster JBoss Operations Network (JON) to achieve a higher availability?
  • Need to create High-Availability (HA) with multiple JON  instances
  • We need to set up another JBoss Operations Network (JON) instance to be clustered with the existing instance
  • Can JBoss Operations Network (JON) be clustered?
  • Does JBoss Operations Network (JON) support a High-Availability (HA) configuration?
  • How to install additional JBoss Operations Network (JON) servers into High-Availability (HA) system?
  • How do we add additional JBoss Operations Network (JON) servers to an existing JON system?

Resolution

As of JBoss Operations Network (JON) 3.1.2, a multi-server environment is supported. Using multiple JON servers provides a High-Availability (HA) environment that allows for fail-over and load distribution.  JON servers are added to a multi-server environment by performing a standard installation and specifying the same JON database that was used for the existing JON server or servers.  Each JON server within a multi-server environment also requires a unique name for identification.

For installation requirements and details, see High Availability and Agent Load Balancing For additional information on when you should use a HA configuration and how affinity groups can be defined for an HA environment, see Affinity Groups

Installing two or more JON servers in a JON system will provide a High-Availability (HA) configuration. The installation of the additional JON server is similar to the installation of a single JON server except that you will use the existing JON database and its data and will not need to install Agent plug-ins to the new server.

To add an additional JON server to an existing JON system:

  • Extract the JON server ZIP to the desired location
unzip jon-server-3.1.2.GA.zip
  • Start the JON server installation
cd jon-server-3.1.2.GA/bin

./rhq-server.sh start
  • From a web browser, go to the JON UI

  • click Click here to continue the installation

  • Enter the database connection properties for the existing JON database

  • Click the Test Connection button to confirm the settings are

  • Choose Keep (maintain existing data) for the warning prompt stating A database schema already exists. What do you want to do?

  • Set Registered Servers to New Server

  • Enter the rest of the configuration options as indicated in Configuring the Server with the Web Installer

  • Click the Install Server button when ready to perform the installation.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments