From: Luciano Rocha Subject: Re: Fw: [Xen-API] status of xen api Date: Wed, 31 Oct 2007 12:18:55 +0000 Message-ID: <20071031121855.GB9153@bit.office.eurotux.com> References: <20071030152614.GA9496@bit.office.eurotux.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1832300462==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefan Berger Cc: xen-tools@lists.xensource.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1832300462== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? > >=20 > > If I call the VBD.get_VDI, I get an empty value for the ref > > (communication attached). >=20 > 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= =20 > then does this still happen? To do this you have to activate the 'server= '=20 > node in /etc/xen/xm-config.xml and add (xen-api-server (( 0.0.0.0:9363=20 > 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. > >=20 > > * my network object has no PIFs, is this normal? >=20 > Not sure about this, though I'd say that the network should have a list o= f=20 > 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? > > 1. creating a VM, vbd or a vif (pif & pbd?); >=20 > Have a look at the xen-api documentation I have following the docs/xen-api specification in xen-testing.hg, and I even made a condensed version: > and on the xen-api mailing list=20 > where people have previously posted their examples, even though it might= =20 > have a flaw somewhere. Even though this one here might be for PHP, it=20 > shows what parameters need to be passed. >=20 > http://lists.xensource.com/archives/html/xen-api/2007-10/msg00003.html >=20 > Maybe this here is also helpful: >=20 > http://xen.begi.net:46984/markup/xen-unstable.hg/tools/examples/xeninfo.pl >=20 >=20 > I hope I could help. You helped a lot, thanks. --=20 lfr 0/0 --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHKHKvinSul6a7oB8RAtwkAKCCZLUaN+6VMN1applspZdjP/sK1wCgiZAa f8FW1uq0siMr5CjNFxpXCvU= =87bu -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw-- --===============1832300462== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1832300462==--