3 Installing SUSE Linux Enterprise High Availability #
If you are setting up a High Availability cluster with SUSE® Linux Enterprise High Availability for the first time, the easiest way is to start with a basic two-node cluster. You can also use the two-node cluster to run some tests. Afterward, you can add more nodes by cloning existing cluster nodes with AutoYaST. The cloned nodes will have the same packages installed and the same system configuration as the original ones.
If you want to upgrade an existing cluster that runs an older version of SUSE Linux Enterprise High Availability, refer to Chapter 28, Upgrading your cluster and updating software packages.
3.1 Manual installation #
For the manual installation of the packages for High Availability refer to Installation and Setup Quick Start. It leads you through the setup of a basic two-node cluster.
3.2 Mass installation and deployment with AutoYaST #
After you have installed and set up a two-node cluster, you can extend the cluster by cloning existing nodes with AutoYaST and adding the clones to the cluster.
AutoYaST uses profiles that contains installation and configuration data. A profile tells AutoYaST what to install and how to configure the installed system to get a ready-to-use system in the end. This profile can then be used for mass deployment in different ways (for example, to clone existing cluster nodes).
For detailed instructions on how to use AutoYaST in various scenarios, see the AutoYaST Guide for SUSE Linux Enterprise Server 15 SP3.
Procedure 3.1, “Cloning a cluster node with AutoYaST” assumes you are rolling out SUSE Linux Enterprise High Availability 15 SP3 to a set of machines with identical hardware configurations.
If you need to deploy cluster nodes on non-identical hardware, refer to the Deployment Guide for SUSE Linux Enterprise Server 15 SP3, chapter Automated Installation, section Rule-Based Autoinstallation.
Make sure the node you want to clone is correctly installed and configured. For details, see the Installation and Setup Quick Start or Chapter 4, Using the YaST cluster module.
Follow the description outlined in the SUSE Linux Enterprise 15 SP3 Deployment Guide for simple mass installation. This includes the following basic steps:
Creating an AutoYaST profile. Use the AutoYaST GUI to create and modify a profile based on the existing system configuration. In AutoYaST, choose the
module and click the button. If needed, adjust the configuration in the other modules and save the resulting control file as XML.If you have configured DRBD, you can select and clone this module in the AutoYaST GUI, too.
Determining the source of the AutoYaST profile and the parameter to pass to the installation routines for the other nodes.
Determining the source of the SUSE Linux Enterprise Server and SUSE Linux Enterprise High Availability installation data.
Determining and setting up the boot scenario for autoinstallation.
Passing the command line to the installation routines, either by adding the parameters manually or by creating an
info
file.Starting and monitoring the autoinstallation process.
After the clone has been successfully installed, execute the following steps to make the cloned node join the cluster:
Transfer the key configuration files from the already configured nodes to the cloned node with Csync2 as described in Section 4.7, “Transferring the configuration to all nodes”.
To bring the node online, start the cluster services on the cloned node as described in Section 4.8, “Bringing the cluster online node by node”.
The cloned node will now join the cluster because the
/etc/corosync/corosync.conf
file has been applied to
the cloned node via Csync2. The CIB is automatically synchronized
among the cluster nodes.