Displaying 20 results from an estimated 1000 matches similar to: "Problem with listDomains() in 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 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 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
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: :
2009 Sep 23
2
[PATCH node] Introduces the virtual network administration functions.
Moved the node administration elements to a separate submenu.
Created a new network administration menu.
* users can define a network
* users can create a network
* users can destroy a network
* users can undefine a network
* users can list existing networks, including details
Each new command is also available as a separate command line executable
as well.
Signed-off-by: Darryl L. Pierce
2015 Jun 04
2
LXCs using Libvirt
Hi all,
I am trying to bring up lxc's using Libvirt JAVA API. I do the following:
conn = Connect("lxc:\\\")
xml_config = "<domain> .... <\domain>"
dom = conn.domainCreateXML(xml_config, 0)
dom.create()
Using the above code, I am able to start a domain but the domain is not
visible within the "lxc" list, i.e
when I use the command "lxc-ls
2003 Feb 11
1
Ruuid package
Hello ...
I would like to direct people's attention to the package "Ruuid" on the
Biconductor website
(http://www.bioconductor.org/repository/devel/package/html/Ruuid.html).
It's purpose is to generate UUID values, and has a simple R interface
(currently one function: getuuid(), with multiple options).
Under unix, it uses Theodore Ts'o's libuuid to create and manage
2009 Oct 21
1
[PATCH node] Renamed files and menu items for node administration:
define domain -> add virtual machine (addvm)
undefine domain -> remove virtual machine (rmvm)
create domain -> start virtual machine (startvm)
destroy domain -> stop virtual machine (stopvm)
list domains -> list virtual machiens (listvms)
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
Makefile.am | 8 +-
nodeadmin/adddomain.py |
2009 Sep 18
2
Ruuid missing Gtk glib.dylib
Hi,
I get an error indicating a missing library from the package 'Ruuid'.
I suppose this means I should install RGtk. I just thought I'd
document the error. Maybe a dependency entry is missing?
R 2.9.0
OS X 10.5.8
Thanks,
- chris
> biocLite('Ruuid')
Using R version 2.9.0, biocinstall version 2.4.12.
Installing Bioconductor version 2.4 packages:
[1] "Ruuid"
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 May 15
1
(no subject)
Hello,
I am using python bindings of libvirt. When I use the function
listDomainsID( ) it successfully returns me the list of the ids of my
current virtual machines, but when I call function listDefinedDomains( ) it
returns me an empty list.
Is this some kind of bug because as per my understanding listDefinedDomains
should return a superset of vm's as returned by listDefinedDomains().
I am
2015 Nov 26
2
New vs old API usages
Hi,
Currently I am using the latest libvirt API listAllDomains() to probe for domains.
I may need to fall back to older API for old libvirt server such as: listDefinedDomains() and lookupByName()
instead of listAllDomains().
Is there any disadvantage to using listAllDomains instead of listAllDomains
or its the same results via different API?
Thank you,
Shahar.
2006 Mar 13
7
Problem with params
I''ve got a User model, which holds the following (excerpt):
def try_to_authenticate
User.authenticate(self.username, self.password)
end
..
private
def self.hash_password(password)
Digest::SHA1.hexdigest(password)
end
def self.authenticate(username, password)
@user = User.find(:all, :conditions => ["username = ? AND
password = ?",
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>
2009 Aug 31
1
Fixed patch...
This version of the patch includes feedback from jboggs at redhat.com,
including fixes to the BuildRequires and Requires in the spec file.
2009 Sep 11
1
Text-based node administration tool
This patch obsoletes any previous ones. This is an upstream candidate,
so I'm looking for feedback so we can push this and start using it.
2009 Sep 14
1
Bugfixes...
This version fixes a few bugs found by jboggs. It also includes some
logging facilities that need to be fleshed out more.
2009 Sep 16
1
Final push candidate for nodeadmin tool...
This patch is ready for pushing upstream.
2009 Sep 16
1
Replacement that includes utils.py
The previous patch was missing this file. Resending.
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