2.1. Configuring Node Network Interfaces¶
As described in Planning Network in the Installation Guide, Virtuozzo Storage requires one internal network for node traffic and one public network for exporting the storage space. You need to create these networks by assigning correct network roles to network interfaces on each node.
To be able to create a cluster, you will need to assign a storage role to a node’s network interface.
To assign a network role to a network interface, do the following:
On the NODES screen, click the node to configure the network interface(s) of.
On the node overview screen, click NETWORK.
Select a network interface and click Configure.
On the Configure screen, do one of the following:
- To obtain the IP address, DNS, and routing settings from the DHCP server, select Automatically (DHCP).
- To obtain just the IP address from the DHCP server, select Automatically (DHCP address only).
- To specify the IP address manually, select Manual and add the IP address.
Dynamic IP address allocation will cause network issues as soon as the IP addresses of cluster nodes will change. Configure static IP addresses from the start or as soon as possible.
If necessary, set up a gateway and a DNS server.
If you have set a custom maximum transmission unit (MTU) on the network hardware, set the same value in the corresponding field.
Setting a custom MTU in management panel prior to configuring it on the network hardware will result in network failure on the node and require manual resetting. Setting an MTU that differs from the one configured on the network hardware may result in network outage or poor performance.
Click Done to return to the list of network interfaces, do not change the selection, and click Choose role.
On the Choose roles panel, select roles to assign to the network interface (for details, see Network Interface Roles in the Installation Guide).
If you need to open specific ports on a network interface with public roles, do the following:
On the Configure custom role panel, create custom roles: click Add and specify role names and ports. Custom roles can later be assigned to any network interface in a cluster.
To remove a custom role, make sure it is not assigned to any interface, select it, and click Remove.
Click Done to return to the Choose roles panel.
Select the required roles and click Done to assign them.