[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Tool to generate a domu.sxp from a running DomU



Hi,

i had the problem, if i migrate a domU to another Dom0, i have to copy the sxp file tool (and the same problem in a few other scenarios too). For an easier solution, i created a tool to generate a domU-sxp-file from/for a running DomU.

If anyone need it too, it is available here (compiled for amd64):
http://www.xncore.com/download/stuff/xntool-running2sxp.gz

Usage:
xntool-running2sxp vm001 > /etc/xen/domains/vm001.sxp

Example for all running DomUs:
for U in `xm list | grep -v "Name" | grep -v "Domain-0" | awk {'print $1'} | tr "\n" " "`; do xntool-running2sxp $U > /etc/xen/domains/${U}.sxp ; done

I dont test it for a HVM DomU. There could be bugs.
If you find a bug, send me your "xm li -l domu" output and i can fix it.

--
Best Regards

Michael Schmidt


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.