Configuring the Data Network

Nodes in the Lightbits server clusters communicate via a high-speed data network interface.

All nodes in the cluster must be configured with an IP address from the same accessible network before running the Ansible playbook.

You can configure the network using an automatic (recommended) or manual method.

For full examples, see Host Configuration File Examples.

The Ansible playbook can help you automatically set the data interface IP when some optional network host variables are transferred.

This means that to make deployment easier, the playbook configures the data network interface persistently for you by specifying the list variable for each host. For example:

Bash
Copy

In this example, we have set the playbook to permanently configure interface ens1 with static IP 10.20.20.10.

Manual Data Network Configuration

In this method, you assign the data IPs on the data interfaces for each node on the cluster.

To set the data IPs:

  1. Log into the machine with the following command: $ ssh root@rack03-server70

  2. Detect the data interface with the businfocommand.

Bash
Copy
  1. Set a new data interface IP and net mask IP for the data NIC. In the following example, the card is ens1f0 :
Bash
Copy
  1. Toggle the NIC down and then up again by entering the ifdown command, waiting at least 30 seconds, and then entering the ifupcommand.
Bash
Copy
  1. Verify that the data interface’s IP is updated.
Bash
Copy

Use nmtui (NetworkManager-tui) if NetworkManager is installed, and ip -4 -br a or ip -br a to verify the ip (for a cleaner view).

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard