[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] Programming Xen
You're not mistaken. There's calls to manage the VM lifecycle but not what's in the VM. To do that some other remote mechanism would need to be used. My comment was really focused on starting with the Citrix implementation as the XenAPI there is well documented and the SDK's are more complete including some excellent examples. Someone familiar with Xen could make do with opensource fine but the learning curve is less steep with Citrix Xen if you're just getting started. My 2 cents, YMMV. Mike On Tue, 2009-04-07 at 16:58 +0000, Jean-Michel Guillaume wrote: > 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 > >> > -- Mike Dickson <mike.dickson@xxxxxx> BladeSystem infrastructure R&D _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |