similar to: listDomains() not working on Xen

Displaying 20 results from an estimated 3000 matches similar to: "listDomains() not working on Xen"

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
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 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 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
2013 Aug 03
1
Re: Libvirt not getting connected to ESX server
Thanks a ton for the reply Matthias. I tried your suggestion but now I got one more message saying: *virsh # connect esx://172.16.73.14/?no_verify=1* *Enter username for 172.16.73.14 [root]: root* *Enter root's password for 172.16.73.14: * *error: Failed to connect to the hypervisor* *error: internal error: curl_easy_perform() returned an error: Unsupported protocol (1) : Protocol https not
2013 Aug 01
2
Libvirt not getting connected to ESX server
Hi, I was trying to connect to ESX server using libvirt's virsh console but I am getting the following error: *virsh# connect esx://172.16.73.14* *Enter username for 172.16.73.14 [root]: root* *Enter root's password for 172.16.73.14:* *error: Failed to connect to the hypervisor* *error: internal error curl_easy_perform() returned an error: Peer certificate cannot be authenticated with
2015 Apr 01
6
ESX VM from scratch
I want to create a virtual machine from scratch in ESX but I can't figure out how to create the disks - the vmdk files. Any hints on how that can be done or even if it's possible at all ? Thanks
2011 Oct 07
2
Libvirt newbie, need help with doubts
Hi, These are my doubts: 1. I tried live migration of Ubuntu 11.04 from the one physical machine to another using the migrate() function. I connected via tcp in the destination URI and migrated successfully(lesser than 2 seconds). I tried running virsh list --all on the destination PM and confirmed that the VM had been migrated successfully. When I tried checking ps aux | grep vmname where
2015 Apr 02
3
[Libvirt] [virsh] Transport Error during enumeration while connecting libvirt to Hyper-V Server
Hi all, I am using libvirt 1.1.1. I can successfully able to connect with Qemu driver but when I am trying to connect to the windows Hyper-V using virsh, I am getting failure. [root@localhost hyperv]# virsh version Compiled against library: libvirt 1.1.1 Using library: libvirt 1.1.1 Using API: QEMU 1.1.1 Running hypervisor: QEMU 1.5.3 When I am doing virsh to connect to hype-V I am getting
2013 Aug 15
6
Error while adding volume through virsh
Hi, I was trying to add volume...I got one xml snippet and I modified it according to my node configuration: < volume> <name>testNode/cluster.vmdk </name> <allocation>0 </allocation> <capacity unit='G'>2<capacity> </volume> Now when I executed "virsh vol-create datastore1 /local/new_volume.xml" one error message came saying:
2015 May 21
2
libvirt and VMWare Workstation Shared Server mode (of GSX history)
Hi everyone, I searched previous postings and I couldn't find a definitive answer on this.. I run a small lab of RHEL/Centos Based servers on which there's VMWare Workstation running on a non-standard port but still manageable by tools like VMrun (and the Fusion of Workstation GUI, of course). I'm trying to use virsh with this setup and getting the following error from both
2013 Aug 12
2
Error while starting the node on ESXi hypervisor
Hi, Today I was trying to start a node using libvirt on ESX (esxi-5.1) hypervisor and I got the following error message: *virsh # define /local/myNode/esxdomain.xml* *Domain testNode defined from /local/myNode/esxdomain.xml* *virsh # start testNode* *error: Failed to start domain testNode* *error: internal error: Could not start domain: GenericVmConfigFault - Cannot open the disk
2013 Aug 13
1
Re: Error while starting the node on ESXi hypervisor
Thanks a ton for the reply Matthias. I am little confused here. How to add volume on my esx server using virsh? I did SCP and copied my vmdk image to [datastore1] testNode/cluster.vmdk and also modified my xml file as you suggested. Now when I tried starting the node it gave me an error message saying: "error: Failed to start testNode error: internal error: Could not start domain:
2011 Jul 19
1
Is libvirt supported on Citrix Xenserver?
Hi, &nbsp;I was finally able to connect to the xenapi hypervisor.&nbsp;&nbsp;However, once I connect to virsh and give a 'quit' command I get&nbsp; "* glibc detected *** virsh: double free or corruption (fasttop):". Please find below the actual memory dump. &nbsp; Note: I have disabled the SSL certificate verification in xenapi_driver.c by&nbsp;setting
2013 Oct 30
2
Re: Using certtool to generate certificates for ESXi
Hi Daniel, thanks for the reply - The procedure I use is the same as I use for XenServer, and the certificate exchange works just fine. The only thing I'm a bit unclear on, is the location of the CA cert, which in the case of XenServer, I simply put it in /etc/pki/CA. And when I start the libvirtd daemon, it successfully picks it up. If I put the Server key and cert in /etc/vmware/ssl for
2011 Oct 10
5
no connection driver available for openvz:///system
dears. I can not solved the problem: vzctl works. But how do I connect to Virtuozzo? Using the openvz >> > driver >> > it doesn't work out of the box: >> > virsh # connect openvz:///system >> > error: Failed to connect to the hypervisor >> > error: no connection driver available for openvz:///system Why can not I connect to the openvz??? please
2010 Aug 16
1
Subdomain Migration
On 8/16/2010 3:44 AM, ramesh wrote: > Hi All, > > I would like have suggestion for changing subdomain (belongs to ISP) to own domain, the scenario as below. > > Presently we have subdomain from ISP ( @xxx.isp.net) > email id : ramesh at xxx.isp.net > > ISP charges huge amount,thou others ISP charges less. so we have planned to migrate to our own registered domain and
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 <-
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
2012 Feb 21
2
libvirt -user'question
hi,: I am a new user of libvirt ,I asked a question about using libvirt to connect to esxi server. I got the answer is https://www.redhat.com/archives/libvir-list/2012-February/msg00860.html So,I try to make the change on the mailing list you just added. - * Add a dummy expect header to stop CURL from waiting for a response code + * Add an empty expect header to stop CURL from