Building a High-Availability cluster with XCP-NG

For my network at home I am using two Supermicro RI1102H servers. Both servers have four GigabitEthernet adapters plus one out-of-band-management adapter. Both servers are running XCP-NG Hypervisor, the open-source version of Citrix XEN server for virtualization.

XCP-NG host console

XCP-NG host console

My two Cisco C3750G-24TS-S switches are stacked, so I can build up a high-availability setup for my virtual environment. For the servers I created two bond interfaces, one for "data" and the other for "storage" traffic. On the Cisco switches I created two Port-Channels from thew GigabitEthernet interfaces. The setup of the interfaces is illustrated below:


         HA setup of XCP-NG Cluster for DATA
        Supermicro Server   |   Cisco Switch        
+------+                                        +---------+
|      |                                        |         |
| eth0 | ---+                              +--- | Gi1/0/1 |
|      |    |    +-------+     +------+    |    |         |
+------+    |    |       |     |      |    |    +---------+
            +--- | bond0 | --- | Po11 | ---+
+------+    |    |       |     |      |    |    +---------+
|      |    |    +-------+     +------+    |    |         |
| eth1 | ---+                              +--- | Gi2/0/1 |
|      |                                        |         |
+------+                                        +---------+
       HA setup of XCP-NG Cluster for STORAGE
        Supermicro Server   |   Cisco Switch
+------+                                        +---------+
|      |                                        |         |
| eth2 | ---+                              +--- | Gi1/0/2 |
|      |    |    +-------+     +------+    |    |         |
+------+    |    |       |     |      |    |    +---------+
            +--- | bond1 | --- | Po21 | ---+
+------+    |    |       |     |      |    |    +---------+
|      |    |    +-------+     +------+    |    |         |
| eth3 | ---+                              +--- | Gi2/0/2 |
|      |                                        |         |
+------+                                        +---------+

This means the traffic is divided between the "data" and "storage" traffic. By following the manual of XCP-NG I added the two servers as nodes into a pool as shown below:

XCP-NG host center

XCP-NG host center

So the HA is enabled with two nodes in the pool and the status is healty.

Search my web site