search for: virdomainmigr

Displaying 20 results from an estimated 26 matches for "virdomainmigr".

2012 Aug 10
0
virDomainMigrate() leads to SASL error
Hello, I'm trying to use virDomainMigrate() function through libvirt-php but I have this error coming from libvirt (this is an error raised by virDomainMigrate(), not by php binding) : Failed to step SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result) My two connections are over TCP with...
2011 Jun 03
0
Unable to migrate a vm
Hi! I've attached my code The error I got was: run: Domain:hda2 id 11 running hvm libvir: Domain error : operation virDomainMigrate forbidden for read only access exception FOUR caught:org.libvirt.LibvirtException: operation virDomainMigrate forbidden for read only access level:VIR_ERR_ERROR code:VIR_ERR_OPERATION_DENIED domain:VIR_FROM_DOM hasConn:false hasDom:false hasNet:false message:operation virDomainMigrate forbidden...
2008 Jul 01
0
cannot migrate vm back to original machine (currently with libvirt)
....3 on two machines (machine #1 and #2). I am able to migrate it back from #1 to #2 by hand using "xm migrate -l <vmname> <ipaddress2>". Any clues as to why I cannot migrate the VM back to the original machine with libvirt (details below)? I am using the libvirt call virDomainMigrate() to migrate a VM from machine #2 (where it originally resides) to machine #1. I am unable to migrate the VM back to machine #2 using virDomainMigrate(), even if I first migrate the VM from #2 to #1 by hand, using "xm migrate -l <vmname> <ipaddress1>". When I make...
2011 Jun 11
1
Difference between function Migrate and Migrate2
I was reading the API reference for the libvirt, when I came across the function? virDomainMigrate and virDomainMigrate2. I am unable to find the difference between the two. Can someone please tell the difference in the application of the two? -- Abhishek
2017 Jan 10
3
Regarding Migration Statistics
Greetings, I am writing a code using libvirt API to migrate VM between two physical hosts *(QEMU/KVM) , *say some *n *number of times. *1)* I am using right now* virDomainPtr virDomainMigrate (.......) *and to calculate the total migration time I am using something like this: *clock_gettime(CLOCK_MONOTONIC_RAW,&begin); * *migrate*(domainToMigrate,nodeToMigrate); *clock_gettime(CLOCK_MONOTONIC_RAW,&end);* *Total Migration Time = end.tv_sec-begin.tv_sec* Is this correct...
2010 Mar 21
0
issues with Migrating a domain
...to hostB.But everytime i did it with "virsh --live migrate <Domain> xen+ssh://root at Destination", it failed and told me something like "Error Domain not found:xenUnifiedDomainLookupByName". The same thing happened when i tried to do the same thing with libvirt API like virDomainMigrate & virDomainMigrateToURI. i am confused about this. So can anybody can tell me why?Thanks a lot. BTW ,my OS is CentOS 5.4 and my hypervisor is xen3.1.2 which is installed with the OS.And the libvirt version is 0.7.7. THANKS A LOT AGAIN. ___________________________________________...
2011 Apr 01
1
LIBVIRT migration
...e) File "/usr/share/virt-manager/**virtManager/domain.py", line 230, in migrate self._backend.migrate(**destconn.vmm, flags, newname, interface, rate) File "/usr/lib/python2.6/dist-**packages/libvirt.py", line 429, in migrate if ret is None:raise libvirtError('**virDomainMigrate() failed', dom=self) libvirtError: monitor socket did not show up.: Connection refused* Someone can help me? Thank you very much. Marcela. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/2011040...
2011 Sep 23
1
The Format Of URI when Migrating
Hi, when I try to use such API: virDomainPtr <http://www.libvirt.org/html/libvirt-libvirt.html#virDomainPtr> virDomainMigrate (virDomainPtr <http://www.libvirt.org/html/libvirt-libvirt.html#virDomainPtr> domain, virConnectPtr <http://www.libvirt.org/html/libvirt-libvirt.html#virConnectPtr> dconn, unsigned long flags, const char * dname, const char * uri, unsigned long bandwidth...
2013 Mar 14
1
[virt-tools-list] C'ant migrate with virt-manager or virsh
..."/usr/share/virt-manager/virtManager/domain.py", line 1163, in migrate > self._backend.migrate(destconn.vmm, flags, newname, interface, rate) > File "/usr/lib64/python2.7/site-packages/libvirt.py", line 822, in migrate > if ret is None:raise libvirtError('virDomainMigrate() failed', dom=self) > libvirtError: Unsafe migration: Migration may lead to data corruption if disks > use cache != none Like the error says, your disks need to have cache=None or libvirt won't allow the migration. You can change that setting per disk in the VM details UI in virt...
2010 Feb 26
1
Migration error
..., secure) File "/usr/share/virt-manager/virtManager/domain.py", line 1272, in migrate self._backend.migrate(destconn.vmm, flags, newname, interface, rate) File "/usr/lib/python2.5/site-packages/libvirt.py", line 429, in migrate if ret is None:raise libvirtError('virDomainMigrate() failed', dom=self) libvirtError: operation failed: migration to 'tcp:portable.artis.int:49157' failed: migration failed /on the destination libvirt i can see in syslog : /Feb 26 11:16:25 portable libvirtd: 11:16:25.281: error : qemudDomainGetInfo:3744 : Domain not found: no do...
2017 Jan 10
0
Re: Regarding Migration Statistics
Please, do not post to several libvirt lists at once. > I am writing a code using libvirt API to migrate VM between two physical > hosts *(QEMU/KVM) , *say some *n *number of times. > > *1)* I am using right now* virDomainPtr virDomainMigrate (.......) *and to > calculate the total migration time I am using something like this: > > *clock_gettime(CLOCK_MONOTONIC_RAW,&begin); * > *migrate*(domainToMigrate,nodeToMigrate); > > *clock_gettime(CLOCK_MONOTONIC_RAW,&end);* > > *Total Migration Time = end...
2011 May 31
0
unable to migrate guests
...ter=meter) File "/usr/share/virt-manager/virtManager/domain.py", line 1141, in migrate self._backend.migrate(destconn.vmm, flags, newname, interface, rate) File "/usr/lib/python2.7/dist-packages/libvirt.py", line 521, in migrate if ret is None:raise libvirtError('virDomainMigrate() failed', dom=self) libvirtError: operation failed: migration to 'tcp:kvm-lab:49165' failed: migration failed I've tried disabling apparmor and then migrating by- pre at pre-Inspiron-N4010:~$ sudo invoke-rc.d apparmor kill .: 35: Can't open /lib/apparmor/functions invoke-rc...
2012 Jul 03
0
CentOS 6.2 Migration Error
2014 May 30
2
Libvrt Migrate an Offline VM
Hi, Is it possible to migrate an Offline VM using libvirt API ? Regards Sijo Jose
2014 Aug 13
1
Support live migration of OpenVZ container
...ion_from_one_HN_to_another), but it haven't been integrated to libvirt yet. In particular, I ran the following commands and it failed: $ sudo virsh migrate --live --verbose --undefinesource 101 openvz+ssh:// root@10.12.1.39/system error: this function is not supported by the connection driver: virDomainMigrate3 Could anyone confirm if libvirt supports live migration of OpenVZ domain. If yes, please let me know the correct way to do that. If no, I would like to know if there is a plan to add support for that. I don't mind to submit a patch if your team likes to review it. Please let me know. Thank...
2020 Jan 10
2
Re: [PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
...Memory ( virDomainGetName ( virDomainGetSchedulerParameters ( virDomainGetSchedulerType ( virDomainGetUUID ( virDomainGetUUIDString ( virDomainGetVcpus ( virDomainGetXMLDesc ( virDomainInterfaceStats ( virDomainLookupByID ( virDomainLookupByName ( virDomainLookupByUUIDString ( virDomainMemoryPeek ( virDomainMigrate ( virDomainPinVcpu ( virDomainRef( virDomainSetMaxMemory ( virDomainSetMemory ( virDomainSetSchedulerParameters ( virDomainSetVcpus ( virDomainStatsRecordListFree ( virEventAddTimeout( virEventRegisterDefaultImpl ( virEventRemoveTimeout( virEventRunDefaultImpl ( virGetLastError ( virGetVersion (...
2020 Jan 10
5
[PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
libguestfs usually needs qemu. However it only requires an emulator for the same architecture, not for all architectures. libvirt-daemon-kvm pulls in qemu which pulls in emulators for all architectures, as well as a bunch of other stuff we don't need at all like network interface support and nwfilter. There are no Fedora TCG-only arches, so drop the conditional section. I also made support
2011 Jun 20
1
libvirt-users Digest, Vol 18, Issue 17
...bvirt-users] Difference between function Migrate and > Migrate2 > Message-ID: <BANLkTinv6XiRMz=rS88A-U-b2Hz3SVTesg at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > I was reading the API reference for the libvirt, when I came across > the function? virDomainMigrate and virDomainMigrate2. I am unable to > find the difference between the two. Can someone please tell the > difference in the application of the two? > > -- > Abhishek > > > > ------------------------------ > > Message: 5 > Date: Mon, 13 Jun 2011 17:21:02 +0200...
2012 Feb 09
1
virsh migrate results in error: Timed out during operation: cannot acquire state change lock
...: secret driver 0 Test returned DECLINED 13:52:08.007: debug : do_open:1355 : secret driver 1 remote returned SUCCESS 13:52:08.007: debug : do_open:1375 : nwfilter driver 0 Test returned DECLINED 13:52:08.007: debug : do_open:1375 : nwfilter driver 1 remote returned SUCCESS 13:52:08.007: debug : virDomainMigrate:3517 : domain=0xe5da00, dconn=0xe62b00, flags=65, dname=(null), uri=(null), bandwidth=0 13:52:08.008: debug : remoteIO:9886 : Do proc=60 serial=4 length=32 wait=(nil) 13:52:08.008: debug : remoteIO:9961 : We have the buck 60 0xeaac10 0xeaac10 13:52:08.008: debug : remoteIODecodeMessageLength:9...
2019 Apr 08
0
[PATCH v4 2/7] common: Bundle the libvirt-ocaml library for use by virt-v2v
...(flagsv, 1)) + { + flagv = Field (flagsv, 0); + if (flagv == Val_int (0)) + flags |= VIR_MIGRATE_LIVE; + } + + if (optbandwidthv == Val_int (0)) /* None */ + bandwidth = 0; + else /* Some bandwidth */ + bandwidth = Int_val (Field (optbandwidthv, 0)); + + NONBLOCKING (r = virDomainMigrate (dom, dconn, flags, dname, uri, bandwidth)); + CHECK_ERROR (!r, "virDomainMigrate"); + + rv = Val_domain (r, dconnv); + + CAMLreturn (rv); +} + +CAMLprim value +ocaml_libvirt_domain_migrate_bytecode (value *argv, int argn) +{ + return ocaml_libvirt_domain_migrate_native (argv[0], a...