Displaying 20 results from an estimated 1000 matches similar to: "Finding out if Xen or KVM is used"
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 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 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 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 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 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
2008 Oct 06
3
Extracting text from html code using the RCurl package.
Dear R-help,
I want to download the text from a web page, however what i end up
with is the html code. Is there some option that i am missing in the
RCurl package? Or is there another way to achieve this? This is the
code i am using:
> library(RCurl)
> my.url <- 'https://stat.ethz.ch/mailman/listinfo/r-help'
> html.file <- getURI(my.url, ssl.verifyhost = FALSE,
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
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 <-
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
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 |
2007 Apr 19
5
Available free memory.
Hi,
Can I use DTrace to determine memory status?
1.Total Physical Memory, Used Memory.
2.Total Swap Space and Used Swap Space.
I did find few DTrace scripts but had too much
in them and I am unable to chop off unwanted
lines of code due to lack of knowledge.
It will be very helpful if some one can share
the piece of code that serves my purpose as
mentioned above.
Regards,
Ramesh.
Ramesh
2017 Dec 28
0
Help with dates
Your dates have an incomplete year information with 34. R assumes that 00-68 are 2000 to 2068 and 69 to 99 are 1969 to 1999. See ?strptime and the details for %y.
You can either append ?19? to the start of your year variable to make it completely express the year or check if the date is in the future (assuming all dates should be in the past) and subtract 100 years from the date.
> On Dec
2008 Nov 27
8
FW: megaraid sas driver failing in Xen-3.4 unstable version
A gentle reminder on this issue
Please can any one help on this problem?
________________________________
From: Manyam, Ramesh
Sent: Wednesday, November 19, 2008 7:46 PM
To: xen-devel@lists.xensource.com
Subject: megaraid sas driver failing in Xen-3.4 unstable version
On Xen-3.4 (unstable version), I have created CentOS HVM guest & WS2K8 HVM guest and dedicated MegaRAID SAS controller but
2017 Dec 28
3
Help with dates
Hi all,
I?m struggling to get the dates in proper format.
I have dates as factors and is in the form 02/27/34( 34 means 1934). If I use
as.Date with format %d%m%y it gets converted to 2034-02-27. I tried changing the origin in the as.Date command but nothing worked. Any help is appreciated.
Thanks,
Ramesh
2008 Aug 25
3
Problem: when I am trying to create a PV guest on DQ35
When I am trying to create a PV guest on DQ35, i am getting following
error:
>xm create CENTOS_PV.cfg -c
Traceback (most recent call last): File "/usr/bin/pygrub", line 680, in ?
zfsinfo = fsimage.getbootstring(fs)
AttributeError: ''module'' object has no attribute ''getbootstring''
Error: Boot loader didn''t return any data!
PV
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
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 = ?",