similar to: Libvirt newbie, need help with doubts

Displaying 20 results from an estimated 3000 matches similar to: "Libvirt newbie, need help with doubts"

2013 Jun 19
1
Live Migration Without Shared Storage
I‘m very exited to hear that qemu has supported live migration without shared storage and I also have found some persons give their experiments, for example: (http://blog.allanglesit.com/2011/08/linux-kvm-management-live-migration-without-shared-storage/) # virsh migrate --live vmname qemu+ssh://kvmnode02.allanglesit.net/system --copy-storage-all --verbose --persistent --undefinesource I
2011 Nov 11
1
Problem with listDomains() in Xen
This question concerns the usage of the listDomains(). When I run this piece of code in KVM, it works perfectly fine but throws an array out of bounds exception in Xen. Connect conn=null; conn = new Connect("xen:///", true); int[] id = conn.listDomains(); System.out.println("lD of VM " +id[0]); Answer I'd got: Well, your code assumes that id.length is >= 1, but
2011 Oct 10
1
Live Migration using Libvirt migrate()
Hi, This is a follow up of the mail regd migration I'd posted a few days ago. My scenario: I'm creating two virtual machines images from an Ubuntu 10.10 iso of RAM size 128 and 700 MB. Using the migrate() , I migrate it from the current physical machine to the destination machine via a 100 Mbps switch LAN connection. BOTH migrations take the same amount of time. Checking out the
2011 Nov 16
1
Checking if the VM has been created
I'm a Libvirt newbie and I'd really appreciate it if someone could answer my doubts. I'm using Libvirt's Java API. My doubts: 1.Currently, I'm able to create a VM on Ubuntu 11.04 using Libvirt functions domainCreateLinux() and domainDefineXML(). Apart fromt the boolean return status of these operations and running the virsh list command, is there any way to SSH in (login) to
2011 Nov 05
1
Finding out if Xen or KVM is used
I've got 2 doubts: 1.I've been trying to write an application using Libvirt's Java API which should run on both Xen and KVM running machines and execute the Xen or KVM code based on the hypervisor used. I want the physical machine to know if it's running Xen or KVM and execute only that code. While using getURI(), I need to use it as conn.getURI() but then I can't use conn
2012 Aug 24
1
Does libvirt abstract each and any vm specific command?
Hello, my project still uses VBoxManage but I am inclined to switch to libvirt, if possible, because I like the concept. Some rather unusual commands are used by my project... VBoxManage modifyvm "$VMNAME" --synthcpu on VBoxManage setextradata "$VMNAME" "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" "1" VBoxManage modifyvm "$VMNAME"
2011 Nov 15
1
listDomains() not working on Xen
Hey all, I've been trying to make listDomains() work on Xen but it simply returns an array of null values. Also, while displaying the length of the array returned by listDomains(). Upon using the same function in KVM, I'm able to retrieve the complete array of active machines. I'm positive that active Xen machines are running(cross checked it with xm list). I've been posting this
2011 Jul 25
1
Wanted: method for qemu hook script to know if called for migration
Hi, "Before a QEMU guest is started, the qemu hook script is called" (http://libvirt.org/hooks.html)... In writing a simple bash script to prevent a VM on shared storage from being started on one host if it's already running on another, it's easy enough to check if virsh on the other host reports the particular VM as "shut off" there, and go ahead if that's the
2011 Oct 04
1
libvir: Remote error : cannot recv data: : Connection reset by peer
I'm using Libvirt's Java API and connecting to the hypervisor using the same. My program is such that periodic discovery of active VMs is done using Libvirt's functions. However, when I try to perform any VM related operations while the Java code connecting to Qemu is running such as shutdown, start VM using virsh, I end up with : 'libvir: Remote error : cannot recv data: :
2011 Sep 09
1
IPs of VMs on KVM
How can I find the IPs of the VMs using libvirt function? As of now, I'm thinking of using Nmap to get the MAC address and the ARP it to get the IP. Can someone please help me out? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110909/c3fa1de5/attachment.htm>
2011 Oct 22
1
virt-install with set vnc password
Hi Guy, Anyone know how we can set up the vnc password during using virt-install command ? # virt-install \ --connect qemu:///system \ --name demo \ --ram 500 \ --disk path=/var/lib/libvirt/images/demo.img,size=5 \ --network network=default,model=virtio \ --vnc \ --cdrom /dev/cdrom
2011 Oct 24
2
How to use "virsh migrat" with p2p option?
Hi libvirt support, Can you please give me some example of how to use "virsh migrate --live" with p2p option including both source host and target host? I try to get some info from your website, but no info with migrate. [root at vmoactive02 qemu]# virsh help migrate NAME migrate - migrate domain to another host SYNOPSIS migrate [--live] [--p2p] [--direct]
2015 Oct 29
2
How to retrieve legacy cgroups location ?
Hi, As told in "Control Groups Resource Management" libvirt page : Legacy cgroups layout Prior to libvirt 1.0.5, the cgroups layout created by libvirt was different from that described above, and did not allow for administrator customization. Libvirt used a fixed, 3-level hierarchy libvirt/{qemu,lxc}/$VMNAME which was rooted at the point in the hierarchy where libvirtd itself was
2023 Apr 05
1
backup-begin
Den 2023-04-05 kl. 09:47, skrev Peter Krempa: > The backup operation is quite complex so it is possible. > Please have a look into /var/log/libvirt/qemu/$VMNAME.log to see whether > qemu logged something like an assertion failure before crashing. > > Additionally you can have a look into 'coredumpctl' whether there are > any recorded crashes of
2011 Jul 18
1
cannot perform tunnelled migration without using peer2peer flag
Dear All I try to migration a kvm guest os to another host failed server: ubuntu 11.04 server virsh:migrate --live --tunnelled vm1 qemu+ssh://192.168.10.3/system error:Requested operation is not valid:cannot perform tunnelled migration without using peer2peer flag
2014 Nov 25
2
how to modify virsh vm start script
I use libvirt to manage a QEMU/KVM system. Starting a VM only by using > virsh start vmname What I want to know is how to add an option to virsh vm's start script, in my case I want to add QEMU logging option (-d and -D). I can see from > ps aux | grep qemu that current VM started using virsh not including those options ~ady
2016 Mar 22
3
(no subject)
How is tunnelled option specified during migratiion different than an ordinary ssh connection specified as:- virsh migrate vmName qemu+ssh://user@remotesys/system?
2023 Apr 05
1
backup-begin
The reason given is shut off (crashed). So something virsh backup-begin does is causing he guest to crash? Den 2023-04-04 kl. 16:58, skrev Peter Krempa: > On Tue, Apr 04, 2023 at 16:28:18 +0200, Andr? Malm wrote: >> Hello, >> >> For some vms the virsh backup-begin sometimes shuts off the vm and returns >> "error: operation failed: domain is not running"
2012 Feb 11
3
9.0-RELEASE PV from scratch on XCP v1.1.0
Title: HOWTO-FreeBSD-on-XCP Author: John D. "Trix" Farrar Date: 2012-02-09 * The Challenge - ParaVirtualized FreeBSD 9.0-RELEASE under XCP 1.1.0 The idea here is to create a PV FreeBSD VM under Xen Cloud Platform (XCP) without starting with an HVM first. The documentation I''''ve been able to find on-line is at least a year old and is mostly written for Xen (under
2013 Apr 23
1
assigning cluster id in cluster package-reg.
Well, you don't give much of an example.... I'm replying CC to the R mailing list. Please ask questions there, rather than adressing individuals for basic help. Here is one; does it answer your question ? data(agriculture) ag.ag <- agnes(agriculture) class(ag.ag) pltree(ag.ag) # the dendrogram, if you want to see it ## cut the dendrogram -> get cluster assignments: (ck3 <-