Go to main content

Managing Network Virtualization and Network Resources in Oracle® Solaris 11.3

Exit Print View

Updated: April 2018
 
 

Scenario: Combining Network Virtualization and Network Resource Management

Network virtualization with network resource management helps you to manage flow control, improve system performance, and configure the network utilization needed to achieve OS virtualization, utility computing, and server consolidation. This section uses a scenario to show how to use network virtualization with network resource management to optimize system performance.

The following figure shows the network virtualization setup that is used in this scenario.

Figure 3  Use Case: Network Virtualization Setup

image:This figure shows the network virtualization setup.

The setup consists of the following components:

  • Oracle Solaris hosts CN1 and CN2 that are configured with the datalinks net0 and net1 respectively.

  • Oracle Solaris Zones zone1 and zone2 that are configured on CN1 and zone3 that is configured on CN2.

  • Zones zone1, zone2, and zone3 that are configured with the VNICs vnic1, vnic2, and vnic3 respectively.

  • Elastic virtual switch EVS1 that is set up between zone2 on CN1 and zone3 on CN2. Zones zone2 and zone3 are in the same network and hence are configured on the same elastic virtual switch.

  • Virtual ports vport2 and vport3 that are the points of attachment between the VNICs and EVS1.

You can allocate network resources based on the priority and the rate of processing packets of different applications that run on zones. You can use datalink properties and flows to allocate network resources for the VNICs appropriately. This scenario is based on the following assumptions for allocating network resources:

  • zone1 hosts the applications app1 and app2. You need to configure a flow on vnic1 to isolate traffic and implement control over how packets belonging to the flows use resources. You also need to configure a separate pool of CPUs for vnic1.

  • zone2 hosts the application app3 that communicates with a database on zone3.

  • zone3 hosts a database that communicates with zone2. Because vnic3 receives and transmits more packets than the other VNICs, it uses more bandwidth. So, you need to set a higher bandwidth limit to cap the bandwidth usage of vnic3. You can also set a high priority for packet processing.

Based on these assumptions, the network resources are allocated for the VNICs that are configured on the Oracle Solaris hosts. The following figure shows the allocation of network resources for the VNICs by using the datalink properties and flows.

Figure 4  Use Case: Network Virtualization With Flows and Resource Allocation

image:This figure shows the set up of network resource management with                         network virtualization.

This figure shows the datalink and flow properties that are set for the VNICs and flow1. The following table describes these properties and their values.

Table 1  Datalink and Flow Properties of VNICs
VNICs
Datalink Properties
Flow Properties
Description
vnic1
pool=pool1
priority=high
maxbw=2G
flow1 is created on vnic1 based on the transport protocol and IP address. The priority and maxbw properties are set to flow1 to control the flow packets.
Additionally, the pool property is set to allocate a pool of CPUs to vnic1.
vnic2
priority=medium
maxbw=2G
The maxbw property is set to vnic2 to allocate bandwidth. The priority property is set to medium by default.
vnic3
priority=high
maxbw=6G
The properties maxbw and priority are set to vnic3 to allocate bandwidth and prioritize the order in which the packets are processed.