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. Mike On Mon, 2009-04-06 at 06:08 +0000, Jingwei Tan wrote:Hey, 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.-- Tan
_______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api