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/
Home Products Support Community News


Re: [Xen-API] Programming Xen

To: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-API] Programming Xen
From: Jean-Michel Guillaume <jean-michel.guillaume@xxxxxxxxxxxxxxx>
Date: Tue, 07 Apr 2009 18:58:57 +0200
Delivery-date: Tue, 07 Apr 2009 09:59:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1239025437.7062.4.camel@mdickson-laptop>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <56891b1d0904052308p6b082e7eyc6acc4ffc280cc8@xxxxxxxxxxxxxx> <1239025437.7062.4.camel@mdickson-laptop>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20090318)
I am pretty interested in that problem...
Let me know how you get that done ;), because I have no idea.
Is there any way with xen api to launch a program within the virtual? & to delete a file? I didn't see any such thing yet but I must be mistaken. Could you explain exactly what you have to do? For example, do you know the file to erase before cloning the virtual? Is that always the same file? The program to run could be a daemon? Is there synchro problems with that program?

Mike Dickson a écrit :
I'd suggest you download a copy of Xen from the Citrix site (there's a
free download there) along with the SDK in your favorite language.  This
will simplify your work in setting up Xen and the SDK has some very nice
examples that do much of what you want to accomplish.


On Mon, 2009-04-06 at 06:08 +0000, Jingwei Tan wrote:

I'm very new to Xen, neither am I very good in Linux.
Currently, I've been given an assignment to write a program of doing
the following task automatically (i.e. without human intervention):
1. Clone VM
2. Run program in the VM
3. Delete file in the VM

And preferably able to do the following:
1. Snapshot
2. MAC configuration
3. "Hardware" configuration
4. Capture and Replay keyboard and mouse action

I am able to achieve it in VMware, but I'm not very sure how should I
approach this assignment (e.g. Which Xen version to use, and is there
any available SDK/API that can do that?).
I'm very lost. Need advice urgently.

Attachment: jean-michel_guillaume.vcf
Description: Vcard

xen-api mailing list
<Prev in Thread] Current Thread [Next in Thread>