Displaying 20 results from an estimated 40000 matches similar to: "Does virsh support offline migration?"
2014 May 30
2
Libvrt Migrate an Offline VM
Hi,
Is it possible to migrate an Offline VM using libvirt API ?
Regards
Sijo Jose
2015 Oct 13
2
virsh can't support VM offline blockcommit
Hi everyone!
I use the libvirt(version: 1.2.2) and QEMU(version: 2.2.1) to test qemu snapshot features:
I tried virsh blockcommit when VM offline, the virsh blockcommit failed: the error messase as below:
error: Requested operation is not valid: domain is not running
when I start the VM, the virsh blockcommit work fine!
my question is:we need
2014 Jan 08
2
Canceling a live migration via virsh? (QEMU/KVM)
I am using QEMU/KVM, using Live Migrations like this:
virsh migrate --live ${name} qemu+ssh://${DESTINATION}/system
My question, running this command makes it hang in the foreground. Is
there a way for this to return immediately, so I can just poll for the
migration status? Also, is there a way to _cancel_ a migration? I see
the --timeout option, however if a given timeout is reached I would
2014 Aug 21
2
virsh snapshot
Hi,
I had a 'domain' called APP03. I was performing auto snapshots each night using /usr/bin/virsh snapshot-create APP03 .
I then wanted the domain to be called APP01 for clarity's sake, so I did virsh dumpxml APP03 > APP03.xml, edited the name to APP01 and changed the ID. I then did virsh define APP03.xml to get APP01.
I have now realised that the qcow2 images are huge (1.1TB
2012 Nov 12
1
difference between ` virsh save ` and `virsh snapshot
what the difference between ` virsh save ` and `virsh snapshot`? are they
all used for backup for vm?have any details articles to introduce vm bakcup
or image bakcup with libvirt?
thanks in advance.
liuzhijun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121112/931d27a2/attachment.htm>
2012 Jul 16
1
Using virsh to load scripts for the guest machine
Right on the top of
http://www.centos.org/docs/5/html/5.2/Virtualization/chap-Virtualization-Managing_guests_with_virsh.html,
it seems to imply you can load/send scripts to the vm guest using virsh.
Is that possible? How and what are the limitations? Can you query the vm
guest?
2015 Jan 27
3
virsh snapshot-create persistent through destroy(undefine)
Hi,
If i take a snapshot of a qcow2 image backed domain via virsh
snapshot-create domainID and I shutdown the machine (and probably destroy
the domain if virsh list still shows it running), and then undeinfed the
domain will that snapshot still exist and be active when I define and
start the domain back up?
---
Thanks,
Yitao(依涛 姜)
jiangyt.github.io
2013 Dec 02
2
Virsh snapshots
Hello,
I am working on my PhD thesis and it would be really helpfull if someone
could advise me, whether can Virsh create snapshots of VMs using
copy-on-write.
Thanks for reply.
Juraj
2016 Mar 18
3
Incorrect memory usage returned from virsh
When I run `virsh dominfo <domain>` I get the following:
Id: 455
Name: instance-000047e0
UUID: 50722aa0-d5c6-4a68-b4ef-9b27beba48aa
OS Type: hvm
State: running
CPU(s): 4
CPU time: 123160.4s
Max memory: 33554432 KiB
Used memory: 33554432 KiB
Persistent: yes
Autostart: disable
Managed save: no
Security model:
2015 Apr 17
3
virsh shutdown <domain> not fully working on win7 ?
hello list,
i have a running vm with win7.
When i fire up an 'virsh shutdown win7' nothing happens.
When i fire up a second the same command, then the win7 machine is
shutting down.
Why do i need to fire up this command twice?
Any ideas?
best regards
marko
--
2014 May 15
3
Invoking virsh console from Java
Hello,
I have a Java application from which I am invoking the "virsh console"
command to access the console of a VM. I invoke the virsh command using
ProcessBuilder.start(). However, I am unable to communicate with the stdin
of the VMs console through the OutputStream of the Process object.
When I invoke "virsh console" from within Java, I see the following
messages on
2014 Aug 06
2
[help] Does "virsh blockpull" works on live virtual machine
Hi all,
I have a kvm virtual machine running (qemu version 2.0), and I had took several external snapshots of the disk( using "virsh snapshot-create-as"). Now, the existed disk files relationship look like: base <- snap1 <-snap2 <- current using disk file. Now I want to remove snap1 and snap2, and let current disk using the base image file as back file directly. Unfortunately,
2015 Apr 29
3
non failover equivalent to "virsh migrate --copy-storage-all"
Hello,
I have two servers where I can push VMs from one to the other by issuing
the command
virsh migrate --live --persistent --copy-storage-all --verbose \
test6 qemu+ssh://kvmhost2/system
on kvmhost1. I can get the VM back by issuing the equivalent command on
kvmhost2:
virsh migrate --live --persistent --copy-storage-all --verbose \
test6 qemu+ssh://kvmhost1/system
virsh
2013 Jul 03
3
VM destroy faiing in 1.0.1
Hi,
Virsh destroy is always failing with below error.
[host:~]$ virsh destroy XYZ--2
error: Failed to destroy domain XYZ--2
error: Requested operation is not valid: domain is not running
[host:~]$ virsh list --all
Id Name State
----------------------------------------------------
- XYZ--2 shut off
[host:~]$
host:~]$ libvirtd --version
2014 Aug 21
2
Re: virsh snapshot
----- Original Message -----
From: "Eric Blake" <eblake@redhat.com>
To: "Adam King" <kinga@sghs.org.uk>, libvirt-users@redhat.com
Sent: Thursday, August 21, 2014 3:17:09 AM
Subject: Re: [libvirt-users] virsh snapshot
On 08/20/2014 06:34 PM, Adam King wrote:
> Hi,
>
[Can you convince your mailer to wrap long lines?]
>
> I had a 'domain' called
2014 May 06
2
Virsh Attach Volume Fails
Hi,
When trying to attach a created volume to an instance using the virsh utility I am running into this error :-
[] $ sudo virsh attach-device instance-00000015 disk.xml
error: Failed to attach device from disk.xml
error: internal error unable to execute QEMU command '__com.redhat_drive_add': Device 'drive-virtio-disk21' could not be initialized
For experimental purpose I
2013 Dec 02
1
virsh detach typo
[root at vmhost vms]# virsh detach-disk puppet vdb
error: No found disk whose source path or target is vdb
[root at vmhost vms]# virsh --version
0.10.2
[root at vmhost vms]#
This probably was solved already but if not, "No found disk" probably
sounds better if it was "No disk found"
2015 Oct 19
1
Re: virsh can't support VM offline blockcommit
Hi Kashyap Chamarthy:
thank you very much for answer my question:
一: lead to VM filesystem becoming read-only
1: test case
it lead to VM filesystem becoming read-only test case as follows:
we want to snapshot for VM , to obtain VM incremental data,and use virsh blockcommit,qemu-img commit,qemu-img rebase to shorten snapshot chain.
Details are as follows(when VM running state, we perform the
2014 Aug 21
1
Re: virsh snapshot
> Your quoting is horrible. You used the same prefix for your original
> content as for my reply (">> >" in both cases). I'm not sure what
> mailer you are using, but it is making conversation difficult.
OK, let's see if this is better. Turned out my email app wasn't doing text wrap and quoting prefix default was bizarre....my apologies.
>
> >
2013 Apr 01
1
XML error: missing security model on virsh migrate
Hi,
I am trying to migrate a VM from one node to another and I get the
following error message.
[user at n0 ~]$ virsh --c qemu:///system migrate --verbose
Fedora-17-x86_64-1 qemu+ssh://n1/system
error: XML error: missing security model when using multiple labels
On both the src and dest nodes, I've disabled SELinux and I have the
following libvirt version installed
$virsh --connect