Single-IP-Dual-NUMA Configuration
Starting from version 3.1.2, Lightbits supports dual NUMA configuration with single data IP (network interface) for the server.
The typical installation uses one data IP for instance ID 0, and another data IP for instance ID 1, but with this feature both instance IDs use the same IP.
Therefore, instead of using two network interfaces in a dual NUMA server, only one network interface will be utilized for the data network in both NUMAs.
To configure this single IP for both NUMA, duroslight and replicator use different ports for the different NUMAs.
Example
Configure this by appending the following lines into all.yml:
duroslight_ports:
0: "4420"
1: "4421"
replicator_ports:
0: "22226"
1: "22227"
The above settings allow Duroslight and replication to run off of the same IP (single IP), but with different ports for each instance. This therefore allows two different instances of Lightbits to run off of the same IP, by using different ports.
==> ansible/inventories/cluster_example/host_vars/server00.yml <==
---
name: server00
nodes:
- instanceID: 0
data_ip: 10.16.64.1
...skip...
- instanceID: 1
data_ip: 10.16.64.1
...skip...
==> ansible/inventories/cluster_example/host_vars/server01.yml <==
---
name: server01
nodes:
- instanceID: 0
data_ip: 10.16.64.2
...skip...
- instanceID: 1
data_ip: 10.16.64.2
...skip...
==> ansible/inventories/cluster_example/host_vars/server02.yml <==
---
name: server02
nodes:
- instanceID: 0
data_ip: 10.16.64.3
...skip...
- instanceID: 1
data_ip: 10.16.64.3
...skip...