Ask Your Question

Asm0deus's profile - activity

2016-12-21 10:00:04 -0600 answered a question Ovs as a router

OVS is simply not a router. It lacks L3 interfaces and IP protocols.

You'll need a VM instance (or logical interfaces on the local Linux stack) to act as your vRouter. There are many free/open-source and commercial options for this function, but perhaps the easiest (yet feature-poor) option is to eliminate OVS completely and just use native Linux Bridging, which allows you to add IP numbering to your bridge interfaces.

Here is a VERY simple example in Ubuntu Server 14.04 LTS:

auto br0
iface br0 inet static
        bridge_ports em1
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0
        address 192.168.1.200
        netmask 255.255.255.0
        gateway 192.168.1.1
        dns-nameservers 192.168.1.1
        up /sbin/ifconfig $IFACE up || /bin/true

You can add multiple physical interfaces to this same bridge, but based on your description you likely want two separate bridge interfaces, each associated with a different physical interface, each with its own IP address.

Routing is a larger conversation. Note that you'll only want ONE bridge with a default route, normally. Hosts/VMs on either side will need to know the route to the other side/subnet via static routes, or perhaps their def.gwy host will handle that static route for them. Again, this is a larger/different conversation.

2016-05-02 16:45:56 -0600 answered a question Flavor creation for cpu pinning, numa and huge page

Although this is an old thread, it's a common enough problem that I wanted it to be answered here.

The default hugepages size ("hugepagesz") is only 2048KB, so counting the number of hugepages usually throws people off their intended path of "easy/fast" 1GB hugepages.

Your kernel boot options (/etc/default/grub, in my case) should include "default_hugepagesz=1G hugepagesz=1G hugepages=20", where the last number (20 here) is the number of GB you intend to reserve as 1GB hugepages. Don't forget to rebuild grub as per your OS & BIOS/EFI boot needs.

cat /proc/meminfo, and look toward the bottom for Hugepages allocated.

2016-05-02 14:22:26 -0600 received badge  Supporter (source)