Configuring OVM Networks
Before we can present our iSCSI and NFS storage to our Oracle VM Server we need to configure a network. Oracle VM Manager provides a simple to use interface which can maintain the /etc/sysconfig/networking-scripts without the need of manual editing.
In my lab I have a number of VLAN’s configure on an Arista switch, in this Blog I will using an iSCSI VLAN and my NFS VLAN.
Logon to Oracle VM Manager and select the Networking Tab, then VLAN Interfaces.
Drill down to your OVM server, is this example mine is called z-ovm, here you will be presented with a list of available network interfaces on your selected server. Select your interface and click Next.
Add your VLAN ID and click Next.
Change Addressing to Static and enter IP Address and Netmask, click Finish to Configure IP Address.
Now navigate to the Networks tab and click the green + to Create a Network entry.
In the Blog we will create 2 Network’s one for NFS and the other for iSCSI, enter Name, Description and select Network Uses e.g Storage
As we have already configure a VLAN we can click Next, and go straight to Select VLAN Interfaces.
Select available VLAN and click Next.
Now it click Finish to complete setup.
We can now see our new NFS storage network.
I repeated the above steps for my iSCSI VLAN and network.
You can validate and review your check network configuration changes by logging to your OVM sever and navigating to the network-scripts directory e.g.
[root@z-ovm ~]# cd /etc/sysconfig/network-scripts/
From here we can see the network files have been updated by Oracle VM Manager and configured to use our VLAN’s
[root@z-ovm network-scripts]# cat ifcfg-eth1.3
#This file was dynamically created by Oracle VM Manager. Please do not edit
[root@z-ovm network-scripts]# ifconfig eth1.3
eth1.3 Link encap:Ethernet HWaddr EC:F4:BB:C7:9B:F2
inet addr:192.168.2.43 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1777 errors:0 dropped:31 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:93802 (91.6 KiB) TX bytes:672 (672.0 b)