April 27, 2024 by CodeFlowerHorn

Setting Up High-Availability (Failover) in Apache CloudStack


High availability in cloud computing refers to the ability of a system or service to remain operational and accessible for users for a high percentage of time. Achieving high availability is crucial for ensuring that critical applications and services are always accessible, even in the face of hardware failures, software issues, or other disruptions.

Apache CloudStack offer two types of High Availability

  1. HA-Enabled Virtual Machines: The HA-enabled virtual machine will automatically start once the VM crashes or the compute host is up again after it goes down
  2. HA for Hosts: will evacuate your instance to any available compute host

Apache CloudStack offer two types of High Availability

  1. Hardware: You need at least 2 of any hardware that is power management supported like Dell iDrac
  2. Primary Storage: CloudStack v4.19 supports only NFS or StorPool for instance evacuation

After all configuration, you need to shut down the compute host to simulate the evacuation by default it takes 10 minutes to finish

IPMI settings
Configure your IPMI settings if you are using Dell iDrac then go to iDrac Settings > Connectivity > Network > IPMI Settings
Configure IPMI settings
Configure out of band management

You must configure the oobm correctly you can monitor the logs of your management server

Configure Apache CloudStack Out of Band Management
Compute offering part 1

Create compute offering that is HA-enabled part 1

Create Apache CloudStack Compute Offering
Compute offering part 2
Create compute offering that is HA-enabled part 2
Create Apache CloudStack Compute Offering
HA-enabled instance part 1
Create an instance you must select the compute offering which offer HA-enabled part 1
Create Apache CloudStack Compute Instance
HA-enabled instance part 2
Create an instance you must select the compute offering which offer HA-enabled part 2
Create Apache CloudStack Compute Instance