![[Linux]](nglinux.gif)
Example: Deploying a simple Native HA configuration on Linux
This example installs a queue manager using a simple Native HA configuration across three Linux hosts.
Before you begin
-
Follow the steps in Checking requirements on Linux.
-
Follow the steps in Planning to install IBM MQ on Linux
-
For each of the three Linux hosts, follow the steps in Preparing the system on Linux.
-
Download the 10.0.0 or above IBM® MQ base install images for your Linux distribution (see IBM MQ downloads).
About this task
The Native HA configuration defines a group of instances, which together form a highly available queue manager. Each instance is installed on a different host, so if one host fails the others can take over.
This example defines a single Native HA group consisting of three IBM MQ instances installed on their own Linux hosts. The host names of the instances are alpha, beta, and gamma. Throughout the example, these names should be replaced with the host names of your systems.
This example uses the default installation location (/opt/mqm) and data directory (/var/mqm). If you are using non-default locations, be sure to replace these paths accordingly throughout the example.
See Native HA for more details on Native HA configurations. Native HA also supports Cross Region Replication (CRR), where an additional Native HA group acts as a recovery group, see Native HA CRR for more information.
This example uses a single certificate to secure the queue manager instance traffic.
This example walks through defining a Native HA group on Linux hosts to provide high availability, setting up monitoring and restarts, and forcing a failover from the active instance to a replica.