Category: Virtualization

Change corosync to use unicast instead of multicast

To change the behaviour of corosync to use unicast addressing instead of mulicast it is necessary to edit /etc/corosync/corosync.conf From interface { bindnetaddr: mcastaddr: mcastport: 4001 ringnumber: 0 } to interface { member { memberaddr: } member

Posted in High Availability, Linux, Virtualization

Import VM into KVM ubuntu host

To import a pre-existing Centos VM taken from a XEN domainU into KVM I ran the following. sudo virt-install –ram 6144 -n centosvm1 –os-type=linux –disk path=/store/VM/centosvm1.qcow2,device=disk,format=qcow2 –vcpus=12 –vnc –noautoconsole –import

Posted in Linux, Virtualization

Disable virbr0 in KVM

In order to remove the virtual bridge interface which is default on the KVM install do the following. # virsh net-destroy default# virsh net-undefine default# service libvirtd restart

Posted in Linux, Virtualization

Creating a bond and bridge interface Ubuntu

Here is a hint in order to bond two interfaces together and then bridge the bond within Ubuntu Firstly install the bond software sudo apt-get install ifenslave sudo modprobe bonding Now edit the /etc/network/interfaces. I set up the interfaces em1

Posted in Linux, Virtualization Tagged with: