By Honglin Su-Oracle on Aug 29, 2014
Happy Friday! In this week's Spotlight, we are talking about Oracle VM 3.3 with Oracle Virtual Networking. The topic is contributed by Daniel Ritzman, Principal Best Practices Consultant from Oracle VM product management and Satinder Nijjar, Principal Product Manager from Oracle Virtual Networking product management.
Oracle Virtual Networking (OVN) virtualizes the data center infrastructure and
enables connections from any virtual machine (VM) or server to other
VMs, servers, network resources, and storage devices. With Oracle VM 3.3, the OVN kernel drivers
are included with the Oracle VM Server. It's now much easier to take advantage of OVN Software Defined Network (SDN) capability in your Oracle VM environment.
The following steps cover some simple Oracle VM Server configuration, Fabric Manager Configuration and Oracle VM configuration needed to provision virtual network interface cards (vNICs) onto Oracle VM Server and then, from within Oracle VM Manager, provision the vNICs for various things that Oracle VM requires.
1. First we will
need to install the user level OVN package on each of the Oracle VM Server's in the
server pools. The orclovn-user-6.0.r7494-1.el6.x86_64.rpm package is available from both Oracle public-yum and Oracle Unbrealkable Linux Network (ULN).
- ULN: Download the package from Oracle Linux 6 Add ons (x86_64) channel
- Public-yum: http://public-yum.oracle.com/repo/OracleLinux/OL6/addons/x86_64/getPackage/orclovn-user-6.0.r7494-1.el6.x86_64.rpm
2. After installing the RPM, run the following commands to enable and verify the xsigo service is configured to start upon boot:
# chkconfig xsigo on # chkconfig --list | grep xsigo
xsigo 0:off 1:off 2:on 3:on 4:on 5:on 6:off
We'll assume Fabric Manager has been installed on an Oracle Linux host and you have discovered the fabric interconnects. Also, that the network cloud for the Virtual Machine network has been configured defining the connections to your data center network. (You can review the following OTN articles to review these steps)
3. Next bring up fabric manager and verify that the Oracle VM servers show up in the Physical Servers table of Fabric Manager (Discovery of the servers on the managed fabric is automatic).
a) Launch your browser https://[Fabric Manager Host]:8443/xms
b) Provide network admin credentials
c) Navigate to Server Resource Manager->Physical Servers
You now see your Oracle VM Servers for you server pool displayed in the table.
4. Verify the Private Virtual Interconnect clouds to use, or create new ones for our VM's to use. Navigate to Network Cloud Manager->PVI Clouds. If they exist, verify they have been created and have state up/up. If they have not been created, create one for Live Migration.
a) Select the plus icon above the PVI Clouds table.
b) Provide a name for your live migration network cloud and select the MTU for the cloud
c) Select the SDN cloud where your PVI cloud should be created.
d) Select Submit
Note: When creating a PVI Cloud use the Oracle OVN which corresponds to the fabric on which your servers are wired. If multiple fabrics have been discovered, there may be more than one.
5. Next, create two PVI vNICs on one of the Oracle VM Servers in the server pool. (Live Migration, VM network)
Navigate back to Resource Manager->Physical Servers
a) From the Physical Server Summary, select the server that you would like to configure
b) Select the vNICs tab
c) Select the add icon (plus sign)
d) Provide the name for the vNIC and select the PVI cloud you created in the previous step for live migration
e) Click Submit
Repeat this process for the Virtual Machine network on the same Server.
6. Now that this server is configured with both PVI vNICs you can repeat the above process for the remaining Oracle VM Servers. Alternatively you can create a Template from the first server and apply it to the others.
7. In the Oracle VM UI you can create the networks on the Oracle VM Servers and assign them to their corresponding network Channels (Live Migration and Virtual Machine). The PVI vNICS created in the preceding procedure now show up as any other Ethernet interface. The steps for creating networks in OVM work exactly the same.
NOTE: A server rediscovery would be required to see the new interfaces unless it has rebooted since adding the vNIC’s in Fabric Manager
a) In the Networking tab select Networks and select the add icon (plus sign) to create a new OVM network.
b) Select "Create a network with bonds/ports only and press Next
c) Provide a name and optional description; Check the Live Migrate Network Channel and press Next
d) Select the Oracle VM Servers which you have configured the SDN networks from the Available Servers and press Next
e) Select the Ethernet port you defined for Live Migration and select Next
f) Configure the IP information and Mask for the interface and select Finish
Repeat the above steps for the VM network using the vlan for the VM network.
The configuration steps used above show a simple example of Oracle Virtual Networking can be integrated in your Oracle VM environment. For production environments requiring higher availability, additional HA vNICs would also be provisioned and configured (bonded) on the servers. Additionally QoS can be defined and networks and individual vNIC's can be assigned to ensure networking performance.
For more information and customer benefits of using Oracle VM and Oracle Virtual Networking, you can visit the pages below:
For additional technical content, read the following articles: