A small infrastructure built on a handful of standalone servers has one shared weakness: a single machine going down takes out whatever was running on it. Moving to a XEN virtualization platform with high availability and shared storage fixes that weakness, even at the scale of just a few hosts.
What HA means for day-to-day operations
- when one host fails, virtual machines with HA automatically start up on the remaining host (or hosts);
- live migration of a virtual machine between hosts is possible thanks to shared storage even outside a failure scenario – for example for planned maintenance;
- backups of the shared storage are handled with one procedure for all virtual machines, instead of separately for each physical server.
Operational details a small cluster runs into too
A few things a small XEN cluster deals with before the first real outage arrives:
- the storage type XCP uses for a shared volume must be correctly registered on the system – a missing storage repository type (for example LVM) only shows up when the cluster tries to use it, not at install time;
- it's worth keeping host consoles (DOM0) reachable independently of the virtual machines running on that host – a serial or HVC console over a tunnel is simpler for diagnosing an outage than waiting on a network that happens to be served by the failed virtual machine;
- documenting the whole infrastructure – storage topology, network assignment, the backup procedure – is worth keeping separate from individual hosts, so the infrastructure can still be managed after the person who set it up is gone.
When it pays off even at small scale
HA and shared storage carry extra operational overhead – load balancing, storage management, a network sized for live migration. For a small infrastructure (on the order of a handful of hosts), it pays off once it's running services whose outage costs more than that overhead – typically mail, web, or a database that the whole company's operation depends on, not just a single internal service.