Prerequisites
- Single node per machine
- Docker installed
- x86 64bit CPU (Intel or AMD)
- PostgresSQL client installed
- N machines with ssh access to them (N: number of nodes that you want to deploy)
- Networking configured so that all nodes can connect to each other (by default OXLA requires
5769
and5770
ports for inter node communication and exposes sql interface on5432
port) - Network storage mounted and available on all machines that will be hosting Oxla
Installation on Each Node
Firstly createmulti_node.yml
file on each node and replace placeholder values with appropriate ones:
/path/to/network/storage/mount
: path to the directory that shall be used for Oxla home on network storage mounted in host osNETWORK__HOST_NAME
: Oxla node hostname (must be unique for every node)LEADER_ELECTION__LEADER_NAME
: hostname of the node that will be the leader of the clusterOXLA_NODES
:;
separated list of the addresses of of all the nodes in the cluster
Connecting to Oxla
You can now connect to the cluster using the following command:Important Notes
- Ensure that all the machines you are using to deploy Oxla on, are connected in the same network
- Replace
IP_ADDRESS
with one of the IP addresses that you set up in your YAML file - Ensure that you repeat all of the steps above on all of the nodes