Now that you have a data center with hosts grouped in a cluster, you need to define and apply the networking layer. When you installed the system, a management network was already defined. However new networks, for example data, storage or display can be added to enhance network speed and performance. In addition, other networks can be used to segregate virtual machine traffic from the management networks, or isolate traffic between groups of virtual machines in the same cluster. In Red Hat Enterprise Virtualization Manager, network definition, type and function are encapsulated in a logical entity called a Logical Network
.
A logical network is assigned as a required resource of a cluster in a data center, and by extension all hosts in a cluster must have the same set of logical networks implemented. The implementation itself may vary from host to host (IP and bonding properties). Therefore, to configure a network, you need to first define the network and then apply this network to each host. By default the management network (rhevm) is defined for a data center.
In this lab, you will create an additional storage network and add it to your hosts. In the following example you will define additional network for the storage, which will be useful when using NAS storage like NFS or iSCSI.
Now that you have defined this network as a resource required by the default cluster in the data center, it is time to add this resource to the hosts in the cluster.
You have now added a new storage network to your data center, and attached the network to your hosts. On the Logical Networks tab of the Default data center, you should have at least two networks - rhevm and storage. Now, you can add storage to the system.