WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-tools

[Xen-tools] Re: Xen-tools Digest, Vol 20, Issue 2

To: xen-tools@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-tools] Re: Xen-tools Digest, Vol 20, Issue 2
From: Ali <aliasgar.r@xxxxxxxxxxx>
Date: Tue, 20 Nov 2007 17:45:08 +0530
Delivery-date: Tue, 20 Nov 2007 04:16:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E1IuRm8-0003kP-D2@host-192-168-0-1-bcn-london>
List-help: <mailto:xen-tools-request@lists.xensource.com?subject=help>
List-id: Xen control tools developers <xen-tools.lists.xensource.com>
List-post: <mailto:xen-tools@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-tools>, <mailto:xen-tools-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-tools>, <mailto:xen-tools-request@lists.xensource.com?subject=unsubscribe>
References: <E1IuRm8-0003kP-D2@host-192-168-0-1-bcn-london>
Sender: xen-tools-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)
How can i setup IP for my instances in xen.
How would i know which instance has got which Ip and how can i login windows domu.

Ali.

xen-tools-request@xxxxxxxxxxxxxxxxxxx wrote:
Send Xen-tools mailing list submissions to
        xen-tools@xxxxxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-tools
or, via email, send a message with subject or body 'help' to
        xen-tools-request@xxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
        xen-tools-owner@xxxxxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Xen-tools digest..."


Today's Topics:

   1. Re: [Xen-devel] Fw: [Xen-API] status of xen api (Stefan Berger)
   2. Re: [Xen-devel] Fw: [Xen-API] status of xen api (Stefan Berger)


----------------------------------------------------------------------

Message: 1
Date: Tue, 30 Oct 2007 20:41:24 -0400
From: Stefan Berger <stefanb@xxxxxxxxxx>
Subject: [Xen-tools] Re: [Xen-devel] Fw: [Xen-API] status of xen api
To: Luciano Rocha <strange@xxxxxxxxxxxxx>
Cc: xen-tools@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx,
        xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Message-ID:
        <OF20E6DFEE.9A405A69-ON85257385.00024487-85257385.0003CA5F@xxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

xen-devel-bounces@xxxxxxxxxxxxxxxxxxx wrote on 10/30/2007 11:26:14 AM:

I didn't get a reply from xen-api, but I urgently need this information.

Can anyone help me?

Thanks.

----- Forwarded message -----

Hello,

I've been developing an application for managing VMs in Perl, using the
Xen API as described in docs/xen-api.

My current version of Xen is bf8eacda088f, "Added tag 3.1.2-rc1 for
changeset 3855356c701d623daf2e8bef13dd4471f a9b3c91".

However, I'm finding a lot of dificulties:

* Some methods are still not implemented, like VM.name_description, but
  those aren't very important.

* I can't get the VDIs for a VBD (nor the VDIs for a SR). How am I
  supposed to get the backend of a VM's vbd?

  If I call the VBD.get_VDI, I get an empty value for the ref
  (communication attached).

Is this a domain that happens to only have a ramdisk?
If you create a domain with access to a disk and use xm in xen-api mode then does this still happen? To do this you have to activate the 'server' node in /etc/xen/xm-config.xml and add (xen-api-server (( 0.0.0.0:9363 none ))) to /etc/xen/xend-config.sxp.

* my network object has no PIFs, is this normal?

Not sure about this, though I'd say that the network should have a list of PIFs with at least one PIF in it, which represents 'peth0'.

* In an older version of Xend (3.0.3), the host.get_log didn't escape
  the log correctly. Is this fixed? I can't reproduce on my host, but it
  could be something missing in my log.

Is there any documentation about the correct procedure and values for:

1. creating a VM, vbd or a vif (pif & pbd?);

Have a look at the xen-api documentation and on the xen-api mailing list where people have previously posted their examples, even though it might have a flaw somewhere. Even though this one here might be for PHP, it shows what parameters need to be passed.

http://lists.xensource.com/archives/html/xen-api/2007-10/msg00003.html

Maybe this here is also helpful:

http://xen.begi.net:46984/markup/xen-unstable.hg/tools/examples/xeninfo.pl


   I hope I could help.

   Stefan

2. attaching/detaching vbds/vifs from VMs.


Thank you for your help.

Regards,
Luciano Rocha

--
lfr
0/0
[attachment "comm.txt" deleted by Stefan Berger/Watson/IBM] [attachment "attzg6dn.dat" deleted by Stefan Berger/Watson/IBM] _______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.xensource.com/archives/html/xen-tools/attachments/20071030/8a3f247c/attachment.html

------------------------------

Message: 2
Date: Thu, 1 Nov 2007 15:53:32 -0400
From: Stefan Berger <stefanb@xxxxxxxxxx>
Subject: [Xen-tools] Re: [Xen-devel] Fw: [Xen-API] status of xen api
To: Luciano Rocha <strange@xxxxxxxxxxxxx>
Cc: xen-tools@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx,
        xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Message-ID:
        <OF2994E3DB.E558575F-ON85257386.006CE000-85257386.006D4510@xxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

xen-devel-bounces@xxxxxxxxxxxxxxxxxxx wrote on 10/31/2007 08:18:55 AM:

On Tue, Oct 30, 2007 at 08:41:24PM -0400, Stefan Berger wrote:
* I can't get the VDIs for a VBD (nor the VDIs for a SR). How am I
  supposed to get the backend of a VM's vbd?

  If I call the VBD.get_VDI, I get an empty value for the ref
  (communication attached).
Is this a domain that happens to only have a ramdisk?
No, it's a domain with a single block (and net) device.

If you create a domain with access to a disk and use xm in xen-api
mode
then does this still happen? To do this you have to activate the
'server'
node in /etc/xen/xm-config.xml and add (xen-api-server (( 0.0.0.0:9363

none ))) to /etc/xen/xend-config.sxp.
Thanks for the tip about xen/xend-config.sxp, I'll be able, at least, to
capture and analyze the traffic. ;)

And you're correct. With xm in xen-api mode, the newly created VM has
the correct VDI entry.

* my network object has no PIFs, is this normal?
Not sure about this, though I'd say that the network should have a
list of
PIFs with at least one PIF in it, which represents 'peth0'.
Hm, I personally don't use peth0. I use a bridge with IP address and
attach the real eth0 to the bridge with my distro's usual configuration
scripts.

So then, without peth0, this is expected?

Maybe this has changed over time, but at least now peth0 is the physical interface and eth0 is the bridge. So I would expect that now a network object contains a PIF with name 'peth0' and if I remember correctly the last time I check it did.
   Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.xensource.com/archives/html/xen-tools/attachments/20071101/2fd3f769/attachment.htm

------------------------------

_______________________________________________
Xen-tools mailing list
Xen-tools@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-tools


End of Xen-tools Digest, Vol 20, Issue 2
****************************************

_______________________________________________
Xen-tools mailing list
Xen-tools@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-tools

<Prev in Thread] Current Thread [Next in Thread>