What is high availability (HA)?
How a server comes back on its own when hardware fails, and what HA does not cover
For Cloud Server Updated
On this page
High availability (HA) means a system recovers by itself when a physical machine fails, without waiting for a person. On XVer it is on for every Cloud Server at no extra cost.
What happens without HA#
Every virtual server runs on a physical machine, the host. When that host fails, everything on it stops.
Without HA
- Down until the host is repaired
- The disk is stuck in the broken machine
- You open a ticket and wait
With HA
- Starts again on another host by itself
- The disk lives on shared storage
- Nobody has to be told
How it works#
- Host 1 stops answering
- The cluster confirms it is gone
- A host with room is chosen
- The server starts, same IP
:::
Confirming matters. Starting one server in two places at once would corrupt its data, so the old one must be known to have stopped.
HA or backups?#
| Event | HA | Backup |
|---|---|---|
| A host fails | Helps | Helps, but slower |
| A file is deleted by mistake | No | Helps |
| An update breaks the system | No | Helps |
| Ransomware | No | Helps |
| The app hangs, the server is up | No | No |
Use both. See how Cloud Server backups work.
Make your server ready to come back#
HA starts the server; your programs must start too. Reboot once and see whether the site returns.
sudo systemctl enable --now nginx
sudo systemctl is-enabled nginxWith Docker, put
restart: unless-stopped on every service.
Questions#
Do I have to turn HA on?
No. It is on for every Cloud Server at no extra cost.
How long is the server down?
While the failure is confirmed and the server boots. The exact time depends on its operating system and programs.
Does the IP address change?
No. It keeps its IP and needs no new configuration.
Does Bare Metal Server have HA?
No. It is one physical machine, so plan a second one yourself.