Chat now with support
Chat with Support

Foglight for Virtualization Enterprise Edition 8.6 - Performance Tuning Field Guide

Overview Hardware and Operating System Tuning Management Server Tuning Java Virtual Machine Tuning Backend Database Tuning High Availability (HA) Tuning Agent Tuning Appendix: Performance Health Check Appendix: Analyzing a Support Bundle

High Availability (HA) Tuning

This chapter provides information about the high availability related options that can have an effect on performance, and describes the applicable performance-related options.

Tuning Connection Issues in an HA Implementation

High Availability (HA) means running multiple Foglight™ Management Servers in a cluster, where one is the primary and one or more are secondaries (on standby). The general setup, as well as the communication between the members of the cluster, requires special attention.

In some cases, the communication between servers in the cluster is not reliable. Sometimes unwanted behaviors occur, such as:

These issues may be attributable to JGroup (the underlying communication package that JBoss® uses for its HA implementation) and to the fact that a Foglight HA implementation uses UDP for communication by default and UDP is by nature an unreliable protocol.

If you encounter these HA issues, consider performing the following tuning exercise.

Warning: system time not in sync with primary server, Mon Aug 30 11:47:57 ECT 2010 vs Mon Sug 30 11:48:52 EDT 2010.)

Edit server/default/deploy/cluster-service.xml by doing the following:
Locate the line beginning <TCPPING initial_hosts="thishost[7800],thathost[7800]" and change thathost to the host name of the secondary server in the cluster. If there are more than two servers in the cluster, add those servers to the list as well: thishost[7800],host2[7800],host3[7800].

Managing Hosts with Multiple Network Interfaces

When configuring HA servers that are installed on hosts with multiple network interfaces (that is, with multiple IP addresses and host names), you must specify the IP address that is to be used for communication between the servers.

To specify the IP address or host name to be used for communication, set the following:


You can set this using the command line interface or by adding the following to the server.config file:

server.cmdline.option0 = "-Djboss.bind.address=";


server.cmdline.option0 = “-Dbind.address”;

server.cmdline.option1 = “”;

where is the desired IP address


server.cmdline.option0 = "";

server.cmdline.option1 = "";

where is the desired host name

You also need to reconfigure the restarter to perform server health check with the same host name or IP address. To do so, open the restart_monitor.config file, find the line beginning with health.check.url, and replace localhost with the host name or IP address specified with --host.

In addition, an HA configuration has a feature that automatically redirects HTTP requests from secondary servers to the primary server. If the primary server has multiple network interfaces, you must specify the host name that is to be used to serve HTTP requests. You can do this using the command line interface, or by adding the following to the server.config file:””

JDK with IPv6 on Linux

Foglight™ Management Servers running on a VMware® Linux® x86_64 image fail to start up and a " Cannot assign requested address exception" is raised.

This is a JDK issue with IPv6 on Linux, not a true High Availability issue. It also impacts standalone servers. However, the issue is documented here because it occurs when the JBoss® cluster service is starting up.

Workaround: Start the Management Server with the following command:

For more information, see: the JGroups FAQ ( and Oracle® Bugs for it (

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating