hi I am trying to stop the application running in the VM from the host machine.....that means by typing some command in the host machine, (script or using some API''s or sending some signal to VM from the host), i want stop application running in the VM.......is there any way to do this.....if anybody know this please help me....... I want this because......I want to take VM consistent backup without stoping it or suspending it....my idea is , if I stop the aplication running in the VM I can do backup consistently (i suppose.), without supending enitire VM thanking you namitha _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On Wed, Jan 16, 2008 at 02:04:25PM +0530, namitha p wrote:> hi > > I am trying to stop the application running in the VM from the host > machine.....that means by typing some command in the host machine, (script > or using some API''s or sending some signal to VM from the host), i want stop > application running in the VM.......is there any way to do this.....if > anybody know this please help me....... > > I want this because......I want to take VM consistent backup without > stoping it or suspending it....my idea is , if I stop the aplication running > in the VM I can do backup consistently (i suppose.), without supending > enitire VMThis is not a job for Xen. I suppose you must fix this with some engineering such as a dedicated VIF for the purpose of connecting from the host to stop the running application. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
namitha p wrote:> hi > > I am trying to stop the application running in the VM from the host > machine.....that means by typing some command in the host machine, > (script or using some API''s or sending some signal to VM from the > host), i want stop application running in the VM.......is there any > way to do this.....if anybody know this please help me....... > > I want this because......I want to take VM consistent backup without > stoping it or suspending it....my idea is , if I stop the aplication > running in the VM I can do backup consistently (i suppose.), without > supending enitire VM >Short answer, you can''t. Long answer, if you use LVM on dom0, you can use LVM snapshot to create a "consistent" snapshot of domU''s storage, and back it up. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Jan 16, 2008 4:26 AM, Fajar A. Nugraha <fajar@telkom.net.id> wrote:> namitha p wrote: > > hi > > > > I am trying to stop the application running in the VM from the host > > machine.....that means by typing some command in the host machine, > > (script or using some API''s or sending some signal to VM from the > > host), i want stop application running in the VM.......is there any > > way to do this.....if anybody know this please help me....... > > > > I want this because......I want to take VM consistent backup without > > stoping it or suspending it....my idea is , if I stop the aplication > > running in the VM I can do backup consistently (i suppose.), without > > supending enitire VM > > > Short answer, you can''t. > Long answer, if you use LVM on dom0, you can use LVM snapshot to create > a "consistent" snapshot of domU''s storage, and back it up. > > Regards, > > Fajar >Also have you looked into the xm save command? It may not do everything you want it to, but just wanted to make sure you were aware of it. Regards Todd> > _______________________________________________ > 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
Do you know IP addess of the domU on which applicatin is running ? If yes then -> from dom0 #ssh -l root <ip of domU> pkill <process name>. Here <ip of domU> : Ip addess of the domU. <process name> : Process to which u want to kill. This will ask for root password, so you sould be know ing that one. Thanks, Trilok On Jan 16, 2008 9:37 PM, Todd Deshane <deshantm@gmail.com> wrote:> > > On Jan 16, 2008 4:26 AM, Fajar A. Nugraha <fajar@telkom.net.id> wrote: > > > namitha p wrote: > > > hi > > > > > > I am trying to stop the application running in the VM from the host > > > machine.....that means by typing some command in the host machine, > > > (script or using some API''s or sending some signal to VM from the > > > host), i want stop application running in the VM.......is there any > > > way to do this.....if anybody know this please help me....... > > > > > > I want this because......I want to take VM consistent backup without > > > stoping it or suspending it....my idea is , if I stop the aplication > > > running in the VM I can do backup consistently (i suppose.), without > > > supending enitire VM > > > > > Short answer, you can''t. > > Long answer, if you use LVM on dom0, you can use LVM snapshot to create > > a "consistent" snapshot of domU''s storage, and back it up. > > > > Regards, > > > > Fajar > > > > > Also have you looked into the xm save command? It may not do everything > you want it to, but just wanted to make sure you were aware of it. > > Regards > > Todd > > > > > > > _______________________________________________ > > 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
Do you know IP addess of the domU on which applicatin is running ? If yes then -> from dom0 #ssh -l root <ip of domU> pkill <process name>. Here <ip of domU> : Ip addess of the domU. <process name> : Process to which u want to kill. This will ask for root password, so you sould be know ing that one. Thanks, Trilok On Jan 16, 2008 2:04 PM, namitha p <p.namitha@gmail.com> wrote:> hi > > I am trying to stop the application running in the VM from the host > machine.....that means by typing some command in the host machine, (script > or using some API''s or sending some signal to VM from the host), i want stop > application running in the VM.......is there any way to do this.....if > anybody know this please help me....... > > I want this because......I want to take VM consistent backup without > stoping it or suspending it....my idea is , if I stop the aplication running > in the VM I can do backup consistently (i suppose.), without supending > enitire VM > > thanking you > namitha > > > _______________________________________________ > 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