Two-node storage HA at every branch: XCP-ng and StarWind Virtual SAN at the edge

Build resilient branch and edge virtualization infrastructure with XCP-ng and StarWind Virtual SAN: highly available shared storage across two servers, without a dedicated SAN or additional storage witness.

Two-node storage HA at every branch: XCP-ng and StarWind Virtual SAN at the edge

The situation

Organizations looking to move away from VMware vSphere and vSAN face a particular challenge at branch offices and edge locations: finding an alternative that preserves the simplicity and resilience of their existing two-node infrastructure without introducing additional storage hardware or complexity. For businesses with multiple remote sites, replacing existing servers or deploying dedicated storage arrays at every location can significantly increase the cost and complexity of a VMware migration.

XCP-ng and StarWind Virtual SAN provide a practical alternative to VMware vSphere and two-node vSAN. XCP-ng replaces the hypervisor, while StarWind Virtual SAN transforms the local storage of the two servers into highly available shared storage through synchronous replication.

Organizations can potentially reuse their existing compatible server infrastructure, avoid a dedicated external SAN and manage distributed XCP-ng pools centrally through Xen Orchestra. This enables a more flexible VMware exit strategy while preserving infrastructure investments and maintaining storage resilience at the edge.

How it works

  1. Deploy XCP-ng 8.3 or later on two compatible x86 servers, with StarWind Virtual SAN running as a Controller Virtual Machine (CVM) on each host.
  2. Assign local storage devices to the CVMs using PCIe passthrough, following StarWind's documented deployment architecture.
  3. Configure synchronous replication between the two nodes, with dedicated networking and the StarWind heartbeat failover strategy.
  4. Present the replicated storage to XCP-ng through iSCSI as a shared storage repository (SR), with appropriately configured multipathing.
  5. Use Xen Orchestra to centrally manage branch pools alongside other XCP-ng environments, with optional pool-level VM HA where appropriate.

What you get

  • Resilient shared storage on two servers. Synchronous replication helps maintain storage availability if a server or storage component fails.
  • No separate storage array. Use local server resources instead of deploying dedicated SAN hardware at each branch.
  • No additional storage witness. StarWind's heartbeat failover strategy supports two-node storage redundancy without a third witness or quorum device.
  • Simplified edge infrastructure. Reduce hardware footprint and operational complexity at distributed sites.
  • Centralized virtualization management. Manage multiple branch and data center XCP-ng pools through one Xen Orchestra interface.
  • Greater infrastructure flexibility. Combine software-defined storage with an open virtualization platform.

Proof

StarWind publishes a configuration guide for XCP-ng 8.3 and later, documenting deployment of StarWind Virtual SAN as Controller Virtual Machines providing highly available shared storage over iSCSI. The configuration is documented by StarWind, while formal joint interoperability validation by DataCore and Vates has not yet been confirmed.

See the StarWind XCP-ng configuration guide (external link, opens in a new tab) and the StarWind Virtual SAN product page (external link, opens in a new tab).

Requirements

  • Two compatible x86 servers with suitable local storage, network interfaces and sufficient compute capacity.
  • XCP-ng 8.3 or later, managed through Xen Orchestra.
  • StarWind Virtual SAN CVMs with supported PCIe passthrough of storage hardware.
  • Dedicated, appropriately redundant storage replication, heartbeat and iSCSI networking.
  • Configured iSCSI multipathing and an appropriate storage failover strategy.
  • For XCP-ng pool HA, a compatible shared heartbeat SR of at least 4 GiB.

Limitations

  • StarWind storage HA and XCP-ng pool-level VM HA are separate capabilities. XCP-ng pool HA can operate with two hosts, although Vates recommends at least three to reduce split-brain risks. Two-node deployments should be designed and tested accordingly.
  • Use an iSCSI SR without CHAP authentication, or an NFS, XOSTOR or Fibre Channel SR, as the HA heartbeat SR.

Integration type

Other

Supported capabilities

Replication

Regions

North AmericaEMEAAPJ