Michael Mey
2006-Mar-08 12:17 UTC
[Xen-devel] update possibility for domain configuration files
Hi all, a few things regarding the domain configuration came into my mind. Let''s say a domain is started on a xen host and has been running for 3 months. Maybe, due to live-migration features, the domain "travelled" through several xen hosts, but this isn''t necessary. During the domain''s uptime, it was reconfigured by adding a few block devices, maybe some network interfaces, reconfiguring vnets, changing the ram size etc. In my opinion, it should be necessary to implement an option into the xm command to save the current configuration of a running domain back into a local file. Because if the domain is shut down and should be brought up again with the same configuration as before, we have a problem. In my point of view this would be necessary. Maybe some people could state their opinions whether this is a required feature or not. Regards, Michael -- ---------------------------------------------------------------------------------------- Michael Mey Thinking Objects Software GmbH | mailto: michael.mey@to.com Lilienthalstrasse 2/1 | phone: +49 711 88770-147 70825 Stuttgart-Korntal, Germany | fax: +49 711 88770-449 ---------------------------------------------------------------------------------------- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Christopher G. Stach II
2006-Mar-08 15:42 UTC
Re: [Xen-devel] update possibility for domain configuration files
Michael Mey wrote:> In my opinion, it should be necessary to implement an option into the xm > command to save the current configuration of a running domain back into a > local file. Because if the domain is shut down and should be brought up again > with the same configuration as before, we have a problem. >Do you mean something like ``xm list --long <domId> > <configfile>''''? -- Christopher G. Stach II _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Michael Mey
2006-Mar-08 16:25 UTC
Re: [Xen-devel] update possibility for domain configuration files
On Wednesday 08 March 2006 16:42, Christopher G. Stach II wrote:> Michael Mey wrote: > > In my opinion, it should be necessary to implement an option into the xm > > command to save the current configuration of a running domain back into a > > local file. Because if the domain is shut down and should be brought up > > again with the same configuration as before, we have a problem. > > Do you mean something like ``xm list --long <domId> > <configfile>''''?Exactly. The output of ''xm list ---long <domID>'' should be converted from sxp format to config-file format. -- ---------------------------------------------------------------------------------------- Michael Mey Thinking Objects Software GmbH | mailto: michael.mey@to.com Lilienthalstrasse 2/1 | phone: +49 711 88770-147 70825 Stuttgart-Korntal, Germany | fax: +49 711 88770-449 ---------------------------------------------------------------------------------------- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel