Hi all, I want to install software inside my xen virtual machine.. I would like to know whether whatever i have installed would persist in the virtual machine even after i destroy it.. That is, will i be able to use the software after destroying the software and rebooting it.. Same way, whatever new files i have stored or downloaded inside the vm, will i be able to access them after destorying and starting the vm afresh.. Please clarify me on this.. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
as long as you dont destroy the vm itself, or delete the fs image, plainly shutting down and rebooting the vm the software will remain intact On Sat, Feb 12, 2011 at 11:52 PM, Yamini L <lpyamini@gmail.com> wrote:> Hi all, > > I want to install software inside my xen virtual machine.. I would like to > know whether whatever i have installed would persist in the virtual machine > even after i destroy it.. > > That is, will i be able to use the software after destroying the software > and rebooting it.. > > Same way, whatever new files i have stored or downloaded inside the vm, > will i be able to access them after destorying and starting the vm afresh.. > > Please clarify me on this.. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
---------- Forwarded message ---------- From: Yamini L <lpyamini@gmail.com> Date: Sun, Feb 13, 2011 at 5:18 PM Subject: Re: [Xen-users] clarification regarding xen vm To: Outback Dingo <outbackdingo@gmail.com> upon destroying the vm and recreating it again (xm destroy id and xm create config), what will happen if i do liike this?? My software downloaded and installed will be lost ah?? On Sun, Feb 13, 2011 at 10:27 AM, Outback Dingo <outbackdingo@gmail.com>wrote:> as long as you dont destroy the vm itself, or delete the fs image, plainly > shutting down and rebooting the vm the software will remain intact > > On Sat, Feb 12, 2011 at 11:52 PM, Yamini L <lpyamini@gmail.com> wrote: > >> Hi all, >> >> I want to install software inside my xen virtual machine.. I would like to >> know whether whatever i have installed would persist in the virtual machine >> even after i destroy it.. >> >> That is, will i be able to use the software after destroying the software >> and rebooting it.. >> >> Same way, whatever new files i have stored or downloaded inside the vm, >> will i be able to access them after destorying and starting the vm afresh.. >> >> Please clarify me on this.. >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
jpp@jppozzi.dyndns.org
2011-Feb-13 12:36 UTC
Re: Fwd: [Xen-users] clarification regarding xen vm
Le dimanche 13 février 2011 à 17:18 +0530, Yamini L a écrit :> > > ---------- Forwarded message ---------- > From: Yamini L <lpyamini@gmail.com> > Date: Sun, Feb 13, 2011 at 5:18 PM > Subject: Re: [Xen-users] clarification regarding xen vm > To: Outback Dingo <outbackdingo@gmail.com> > > > upon destroying the vm and recreating it again (xm destroy id and xm > create config), what will happen if i do liike this??DESTROY delete only the definition of the machine in XEN, all disks are not destroyed nor modified. I suggest doing a "NEW" and not a "CREATE", which re-create a new definition for that machine. Regards JPP> > My software downloaded and installed will be lost ah?? > > > > > On Sun, Feb 13, 2011 at 10:27 AM, Outback Dingo > <outbackdingo@gmail.com> wrote: > as long as you dont destroy the vm itself, or delete the fs > image, plainly shutting down and rebooting the vm the software > will remain intact > > > On Sat, Feb 12, 2011 at 11:52 PM, Yamini L > <lpyamini@gmail.com> wrote: > > > Hi all, > > I want to install software inside my xen virtual > machine.. I would like to know whether whatever i have > installed would persist in the virtual machine even > after i destroy it.. > > That is, will i be able to use the software after > destroying the software and rebooting it.. > > Same way, whatever new files i have stored or > downloaded inside the vm, will i be able to access > them after destorying and starting the vm afresh.. > > Please clarify me on this.. > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2011-Feb-13 12:43 UTC
Re: Fwd: [Xen-users] clarification regarding xen vm
On Sun, Feb 13, 2011 at 7:36 PM, jpp@jppozzi.dyndns.org <jpp@jppozzi.dyndns.org> wrote:> Le dimanche 13 février 2011 à 17:18 +0530, Yamini L a écrit : >> >> >> ---------- Forwarded message ---------- >> From: Yamini L <lpyamini@gmail.com> >> Date: Sun, Feb 13, 2011 at 5:18 PM >> Subject: Re: [Xen-users] clarification regarding xen vm >> To: Outback Dingo <outbackdingo@gmail.com> >> >> >> upon destroying the vm and recreating it again (xm destroy id and xm >> create config), what will happen if i do liike this??It will be the same as if you yank the power cord from a physical machine, and plug it back in.> > DESTROY delete only the definition of the machine in XEN, all disks are > not destroyed nor modified."xm destroy" doesn''t delete anything. "xm delete" does.> > I suggest doing a "NEW" and not a "CREATE", which re-create a new > definition for that machine.I think you got it backwards there as well. # xm | egrep "create|new|delete|destroy" create Create a domain based on <ConfigFile>. new Adds a domain to Xend domain management delete Remove a domain from Xend domain management. destroy Terminate a domain immediately. For more help on ''xm create'' see the xmdomain.cfg(5) man page. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yamini L wrote:>I want to install software inside my xen virtual machine.. I would >like to know whether whatever i have installed would persist in the >virtual machine even after i destroy it.. > >That is, will i be able to use the software after destroying the >software and rebooting it.. > >Same way, whatever new files i have stored or downloaded inside the >vm, will i be able to access them after destorying and starting the >vm afresh..In most respects, your VM behaves just the same as a real machine would - the main differences are the I/O etc. So, just like a real machine, your virtual machine will have the same disk contents after a reboot unless you do something to damage the filesystems (like not shutting down cleanly). If you were to "xm destroy" a guest then that would be the equivalent of yanking the power cord on a real machine and clearly you may damage your filsystems. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users