Setting up networks for file storage
Prerequisites
- A clear understanding of the concept Traffic types.
To create the network configuration for file storage
Admin panel
-
Add the SMB traffic type to your public network:
- On the Infrastructure > Networks screen, click Assign to network in the Exclusive traffic types section.
- Add the SMB traffic type to your network by selecting the corresponding radio button.
- Click Save to apply the changes.
- If you plan to use RDMA over InfiniBand, move the traffic type Storage to a dedicated network and assign that network to the IB interface.
- Configure network interfaces on the nodes that you plan to join the file storage cluster.
Command-line interface
Use the following command:
vinfra cluster network set-bulk --network <network>:<traffic-types>
--network <network>:<traffic-types>
-
Network configuration in the format:
<network>
: network ID or name.<traffic-types>
: a comma-separated list of traffic type names
This option can be used multiple times.
For example, to set the SMB
traffic type to the Public
network, run:
# vinfra cluster network set-bulk --network Public:"Admin panel","SMB","iSCSI","NFS","S3 public",\ "Backup (ABGW) public","SSH"
Review your network configuration by using the following command:
# vinfra cluster network list -c id -c name -c traffic_types +--------------------------------------+---------+-----------------------------------------------------------------+ | id | name | traffic_types | +--------------------------------------+---------+-----------------------------------------------------------------+ | f50605a3-64f4-4f0c-b50e-9481ec221c72 | Private | Backup (ABGW) private,Internal management,OSTOR private,Storage | | 955041d4-b059-47a1-ba4c-0be117e8cbd2 | Public | Backup (ABGW) public,iSCSI,NFS,S3 public,Admin panel,SMB,SSH | +--------------------------------------+---------+-----------------------------------------------------------------+