From: Tobias Hunger Subject: Re: [PATCH] xenctld - a control channel multiplexing daemon Date: Thu, 27 Jan 2005 08:05:39 +0100 Message-ID: <200501270806.13053.tobias@aquazul.com> References: <1106322956.17263.26.camel@localhost> <1106780255.7268.9.camel@localhost> <1106783940.6916.17.camel@DYN319619.beaverton.ibm.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2881074.rSHeZ25kUN"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1106783940.6916.17.camel@DYN319619.beaverton.ibm.com> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net Cc: Daniel Stekloff , Anthony Liguori , Michael Hohnbaum , andrew.warfield@cl.cam.ac.uk, Keir Fraser List-Id: xen-devel@lists.xenproject.org --nextPart2881074.rSHeZ25kUN Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 27 January 2005 00:59, Daniel Stekloff wrote: > Can't we add functionality in Xen to make domain id's unique? When > creating a new domain, the management tools can query the running (or > even suspended) domains and find a unique domain id to use. I think you > can tag a domains with their state. Hey, that is exactly what I was thinking when reading that mail:-) Some new= =20 states like 'unconfigured' etc. might need to get added. > If you clone a domain, it isn't the same domain anymore and would get a > new id. =2E.. so the ID needs to be unique on a per machine basis only: If you clon= e and=20 then migrate a domain to another machine the copy will get a new ID there. > As for checkpointing - you could use the time/date of the=20 > checkpoint and add that to the domain's id. Or a a simple counter that gets incremented, that is easier to work with.=20 Creation date (and maybe creator) could get stored as some attribute along= =20 with the configuration, independent of whether the set of attributes is a=20 checkpoint or a "normal" domain. > MAC addresses for specific domains that are in the configuration file or > generated could be stored with the domain configuration and available > for queries. Yeap. Management tools can then query the state and migrate those settings = as=20 necessary. This approach reduces the amount of policy coded into the core o= f=20 xen. I like it. > I disagree. If we're to consider the larger management world, we need to > lay the groundwork for managing domains now. I think the questions > aren't easily answered, but I believe they should be. If we don't > implement everything to start, we should at least have an idea where > we're going. I have to agree with Dan again:-) Xen can proof that its concepts hold and = can=20 be implemented. But all the flexibility xen adds is only worth as much as t= he=20 tools provided to manage it. In my opinion unique DomIds are a good idea anyway: They make configuration= =20 easier since you can just hardcode DomIds into the config files. Currently= =20 you have to use domain names in some places and those have to be parsed at= =20 setup time to figure out which domains are actually referred to. I even hav= e=20 to edit some of my config files all the time since the name-hack is not=20 supported in all cases (namely backend in the vif-setup). As an additional= =20 complication there is no requirement on the DomNames to be unique. PS: This proposed filesystem-based config storage sounds like you could=20 leverage the elektra project for data storage. That is a simple lib for=20 registry-like storage of key/value pairs. It features few dependencies and= =20 python bindings:-) The URL is http://elektra.sf.net/. =2D-=20 Gruss, Tobias =2D----------------------------------------------------------- Tobias Hunger The box said: 'Windows 95 or better' tobias@aquazul.com So I installed Linux. =2D----------------------------------------------------------- --nextPart2881074.rSHeZ25kUN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBB+JLlv0FZW3NyoqURAq7VAKCct0LNCxQupBALNbkeEN7b0bvuxACeI+ui tuopy1FxqY2/VA3/DmR9lTo= =4kAk -----END PGP SIGNATURE----- --nextPart2881074.rSHeZ25kUN-- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl