Migration will complete but the instance seems to be suspended.
On HostB to resume the instance:
/usr/bin/virsh suspend fqdn.com
/usr/bin/virsh resume fqdn.com
Only running resume fqdn.com does nothing.
The Hosts were initialy installed as Ubuntu Jaunty 9.04 and upgraded to Ubuntu Karmic 9.10 Beta. Maybe this is the problem?
Hosts: 100:/vol/ hl/disk_ images /etc/libvirt/ qemu/disks nfs rsize=32768, wsize=32768, hard,intr, tcp,timeo= 600,rw 0 0
CPU: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
RAM: 2GB
Disk: Gbit NFS-mount on NetApp FAS3040 (/etc/libvirt/qemu)
10.0.40.
Installed both hosts with Ubuntu Jaunty 9.04.
aptitude install libvirt-bin qemu kvm host sysstat iptraf iptables portmap nfs-common realpath bridge-utils vlan ubuntu-virt-server python-vm-builder whois postfix hdparm
After some testing with migration (all failed because of several errors/bugs) I upgraded to Ubuntu Karmic 9.10 Beta.
cat /etc/network/ interfaces:
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet manual
up ifconfig eth1 0.0.0.0 up
up ip link set eth1 promisc on
auto eth1.1503
iface eth1.1503 inet manual
up ifconfig eth1.1503 0.0.0.0 up
up ip link set eth1.1503 promisc on
auto br_extern
bridge_ ports eth0.1503
iface br_extern inet static
address 123.123.32.252 # HOSTA
address 123.123.32.253 # HOSTB
network 123.123.32.0
netmask 255.255.252.0
broadcast 123.123.35.255
gateway 123.123.32.1
bridge_stp off
/etc/resolv.conf is correct
/etc/hosts is correct
Hostnames are correct and resolvable
VM running Ubuntu Jaunty 9.04: fqdn.com< /name> 70a1c1f2- 9a3e-4ee5- 9f95-69e7e2682e 15</uuid> 1048576< /memory> y>1048576< /currentMemory> hvm</type> destroy< /on_poweroff> restart< /on_reboot> restart< /on_crash> /usr/bin/ kvm</emulator> etc/libvirt/ qemu/disks/ 1378/fqdn. com/disk0. qcow2"/ > writethrough" /> "56:16: 43:76:ab: 09"/> "br_extern" /> "127.0. 0.1"/>
fqdn.com.xml:
<?xml version="1.0"?>
<domain type="kvm">
<name>
<uuid>
<memory>
<currentMemor
<vcpu>1</vcpu>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<os>
<type>
<boot dev="cdrom"/>
<boot dev="hd"/>
</os>
<clock offset="utc"/>
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<disk type="file" device="disk">
<source file="/
<target dev="hda" bus="ide"/>
<driver cache="
</disk>
<interface type="bridge">
<mac address=
<source bridge=
</interface>
<disk type="file" device="cdrom">
<target dev="hdc" bus="ide"/>
<readonly/>
</disk>
<input type="mouse" bus="ps2"/>
<graphics type="vnc" port="-1" listen=
</devices>
</domain>
Define instance: qemu/xml/ 1378/fqdn. com.xml
/usr/bin/virsh define /etc/libvirt/
Start instance:
/usr/bin/virsh start fqdn.com
ps auxf | grep kvm: 9a3e-4ee5- 9f95-69e7e2682e 15 -monitor unix:/var/ run/libvirt/ qemu/fqdn. com.monitor, server, nowait -boot dc - libvirt/ qemu/disks/ 1378/fqdn. com/disk0. qcow2,if= ide,index= 0,boot= on -drive file=,if= ide,media= cdrom,index= 2 -net nic,macaddr= 56:16:43: 76:ab:09, vlan=0, name=nic. 0 -net tap,fd=17,vlan=0
/usr/bin/kvm -S -M pc-0.11 -m 1024 -smp 1 -name fqdn.com -uuid 70a1c1f2-
drive file=/etc/
,name=tap.0 -serial none -parallel none -usb -vnc 127.0.0.1:0 -vga cirrus
Migrate instance: //hostb. fqdn.com/ system
/usr/bin/virsh migrate fqdn.com qemu+ssh:
Migration will complete but the instance seems to be suspended.
On HostB to resume the instance:
/usr/bin/virsh suspend fqdn.com
/usr/bin/virsh resume fqdn.com
Only running resume fqdn.com does nothing.
The Hosts were initialy installed as Ubuntu Jaunty 9.04 and upgraded to Ubuntu Karmic 9.10 Beta. Maybe this is the problem?