WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: J <dreadpiratejeff@xxxxxxxxx>
Subject: Re: [Xen-users] CLI VM Creation on XenServer??
From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
Date: Thu, 25 Aug 2011 12:40:44 -0700
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 25 Aug 2011 12:42:07 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Y1RMFVqPRGyi1OBxHdFcDqJFZVBaM940+O2KLhoHnHw=; b=YpMo8frGofK8curfoXzDbOw85juSeojX0vpuVsc93MV9guFuzrTsV7ieskYbaeShOx X9XSsTXWGu7dbBei2xzNkmjQktefTO5JkMQ5eNenAsdC9BBcDlJWsyL3fvkqfH81Z96Y g3efOjKaBFilXGzfl1aYag0rrrry/EeCNKgDw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAFB6qZuq2GbZu0fxNpVOT6ccK5oSM66Uqz8qJ6XGTfsY3pQQVg@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <CAFB6qZuq2GbZu0fxNpVOT6ccK5oSM66Uqz8qJ6XGTfsY3pQQVg@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


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
software.

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.

Jeff

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
http://grantmcwilliams.com/tech/virtualization/xen-howtos
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>