search for: vm_migrate

Displaying 4 results from an estimated 4 matches for "vm_migrate".

2018 Jan 05
4
VM migration upon shutdown in centos 7
...nit] Description=vPreShutdownHook Requires=network.target Requires=libvirtd.service Requires=dbus.service Requires=glusterd.service Requires=glusterfsd.service DefaultDependencies=no Before=shutdown.target reboot.target [Service] Type=oneshot RemainAfterExit=true ExecStart=/bin/true ExecStop=/root/vm_migrate.sh [Install] WantedBy=multi-user.target ########## Command to migrate ############ /usr/bin/virsh migrate --verbose --p2p --tunneled --live --compressed --comp-methods "mt" --comp-mt-level 5 --comp-mt-threads 5 --comp-mt-dthreads 5 MY_VM qemu+ssh://root@$node2/system Thanks,
2018 Jan 11
0
Re: VM migration upon shutdown in centos 7
...is command to migrate VMs successfully, without even > knowing that spelling has changed. > > >> I don't know enough about systemd but maybe it's not waiting for virsh to > finish? > Yes I also think virsh or libvirtd or related service does not wait > before /root/vm_migrate.sh > is called and hence live migration fails. > If I replace Live Migration with a simple ping to peer node in the > vPreShutdownHook.service, then ping goes thru successfully thus indicating > network service was UP at that time. > >> Can you try to get any logs to see what...
2018 Jan 12
1
Re: VM migration upon shutdown in centos 7
..., without even > > knowing that spelling has changed. > > > > > >> I don't know enough about systemd but maybe it's not waiting for virsh > to > > finish? > > Yes I also think virsh or libvirtd or related service does not wait > > before /root/vm_migrate.sh > > is called and hence live migration fails. > > If I replace Live Migration with a simple ping to peer node in the > > vPreShutdownHook.service, then ping goes thru successfully thus > indicating > > network service was UP at that time. > > > >> Can y...
2015 May 05
0
Source information not showing for virsh domiflist causing problems with migrating VMs
...ve several long running VMs running on an Ubuntu 14.10 host and for some reason I am getting errors when trying to migrate them to another host. If I restart the VM then the problem does not exist, however for various reasons that is not an option with the remaining VMs. root@comp001:~# /root/bin/vm_migrate.sh ws001 comp003 virsh migrate --live --persistent --tunneled --p2p --unsafe --domain ws001 --desturi qemu+tcp://comp003/system error: internal error: No <source> 'bridge' attribute specified with <interface type='bridge'/> I have eventually figure out that the problem...