The following describes how to set up an Xray HA cluster with two or more nodes. For more information, see the System Architecture.
The following installation methods are supported.
Prerequisites
All nodes within the same Xray HA installation must be running the same Xray version.
Database
Xray HA requires an external PostgreSQL database. Make sure to install the database before proceeding to install the first node. There are several ways to set up PostgreSQL for redundancy, such as Load Balancing and Replication. For more information, see PostgreSQL.
RabbitMQ is automatically installed as part of the Xray installation.
Licensing
Xray HA is supported with an Enterprise X or Enterprise+ license.
Network
All the Xray HA components (Xray cluster nodes, database server and RabbitMQ) must be within the same fast LAN.
All the HA nodes must communicate with each other through dedicated TCP ports.