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

Re: [Xen-users] CLI VM Creation on XenServer??

On Thu, Aug 25, 2011 at 7:34 AM, J <dreadpiratejeff@xxxxxxxxx> wrote:
In the past, as I mentioned yesterday in a different post, I had a
fully scripted setup that allowed me to ssh onto a Xen Dom0 and create
DomUs on the fly without needing to use any sort of GUI control

However, I'm now tasked with using XenServer, which functions a bit
differently. ÂIt's more like VMWare ESX. ÂCitrix is telling me that I
have to use XenCenter to control and create DomUs, however, that's not
necessarily a viable solution. ÂI need to be able to at least start
and stop DomUs from the XenServer's shell. ÂThe xm-* tools don't exist
on XenServer, so are there analogues to these tools for XenServer?

Any other suggestions for doing this (we use scripts to log into a
host machine and start/stop VMs and have done this for a long time on
VMWare, and I did it forever on Xen on RHEL, now I just need to do it
for XenServer.

Thanks for the help.


I'm currently writing scripts and howtos to do just that. I'm moving to XCP in a classroom environment and need to take a roster full of students and create VMs for each and hand out access to each one from a script. I was about 60% done last week when I had to change my focus to another project. If you'd like to have my current skeleton script that allows you to create VMs on a remote XCP/XenServer host then let me know. I stopped working on it right when I got to the console section. I was going to have the script shutdown VNC and connect to the console. Keep in mind my script installs VMs remotely from the commandline and doesn't clone them. My next script will clone from an existing VM but I haven't started on it yet.

Grant McWilliams
Xen-users mailing list



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