Re: [Users] Fencing virtual machines

2013-11-18 Thread Nicolas Ecarnot

Hi,

I just wanted to thank you on this issue as my recent works with it were 
successful.


Have a nice day.

--
Nicolas Ecarnot

Le 08/11/2013 09:43, René Koch (ovido) a écrit :

On Fri, 2013-11-08 at 08:49 +0100, Nicolas Ecarnot wrote:

Le 08/11/2013 08:23, Eli Mesika a écrit :



- Original Message -

From: "Mike Burns" 
To: "Nicolas Ecarnot" , users@ovirt.org
Sent: Thursday, November 7, 2013 4:10:36 PM
Subject: Re: [Users] Fencing virtual machines

On 11/07/2013 09:03 AM, Nicolas Ecarnot wrote:

Hi,

In the case I want to setup a virtual cluster amongst many virtual
machines, and this virtual cluster needs to fence some VM, what is the
best way to achieve this?

I guess this has to use something like vdsClient to "unplug" the VM, but
I found it hard to find any more information about this.



I haven't tried but the fence-agents package (fence-agents-rhevm on
Fedora) has a fence_rhevm tool that will probably work for you.


Please let us know if that worked for you.


Thank you all for your answer. I installed it and began to try to play
with it, and it seems to be EXACTLY what I was looking for.

It's still not clear for me to see what I have to install on the
"stonith" targets - or who is eventually in charge of applying the kill
action (the manager, one node, any node ?) but I promise I'm still
reading and testing on my own.



Your vms are killed/restarted by ovirt-engine using the REST-API (on
behalf of one of the cluster members of course). So you don't have to
install anything except the fence-agents on all your cluster members
(vms) and make sure they can reach port 443 (or 8443 depending on your
setup) of ovirt-engine...


Regards,
René




Thank you, have a nice day.






--
Nicolas Ecarnot
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fencing virtual machines

2013-11-08 Thread Koch (ovido)
On Fri, 2013-11-08 at 08:49 +0100, Nicolas Ecarnot wrote:
> Le 08/11/2013 08:23, Eli Mesika a écrit :
> >
> >
> > - Original Message -
> >> From: "Mike Burns" 
> >> To: "Nicolas Ecarnot" , users@ovirt.org
> >> Sent: Thursday, November 7, 2013 4:10:36 PM
> >> Subject: Re: [Users] Fencing virtual machines
> >>
> >> On 11/07/2013 09:03 AM, Nicolas Ecarnot wrote:
> >>> Hi,
> >>>
> >>> In the case I want to setup a virtual cluster amongst many virtual
> >>> machines, and this virtual cluster needs to fence some VM, what is the
> >>> best way to achieve this?
> >>>
> >>> I guess this has to use something like vdsClient to "unplug" the VM, but
> >>> I found it hard to find any more information about this.
> >>>
> >>
> >> I haven't tried but the fence-agents package (fence-agents-rhevm on
> >> Fedora) has a fence_rhevm tool that will probably work for you.
> >
> > Please let us know if that worked for you.
> 
> Thank you all for your answer. I installed it and began to try to play 
> with it, and it seems to be EXACTLY what I was looking for.
> 
> It's still not clear for me to see what I have to install on the 
> "stonith" targets - or who is eventually in charge of applying the kill 
> action (the manager, one node, any node ?) but I promise I'm still 
> reading and testing on my own.


Your vms are killed/restarted by ovirt-engine using the REST-API (on
behalf of one of the cluster members of course). So you don't have to
install anything except the fence-agents on all your cluster members
(vms) and make sure they can reach port 443 (or 8443 depending on your
setup) of ovirt-engine...


Regards,
René


> 
> Thank you, have a nice day.
> 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fencing virtual machines

2013-11-07 Thread Nicolas Ecarnot

Le 08/11/2013 08:23, Eli Mesika a écrit :



- Original Message -

From: "Mike Burns" 
To: "Nicolas Ecarnot" , users@ovirt.org
Sent: Thursday, November 7, 2013 4:10:36 PM
Subject: Re: [Users] Fencing virtual machines

On 11/07/2013 09:03 AM, Nicolas Ecarnot wrote:

Hi,

In the case I want to setup a virtual cluster amongst many virtual
machines, and this virtual cluster needs to fence some VM, what is the
best way to achieve this?

I guess this has to use something like vdsClient to "unplug" the VM, but
I found it hard to find any more information about this.



I haven't tried but the fence-agents package (fence-agents-rhevm on
Fedora) has a fence_rhevm tool that will probably work for you.


Please let us know if that worked for you.


Thank you all for your answer. I installed it and began to try to play 
with it, and it seems to be EXACTLY what I was looking for.


It's still not clear for me to see what I have to install on the 
"stonith" targets - or who is eventually in charge of applying the kill 
action (the manager, one node, any node ?) but I promise I'm still 
reading and testing on my own.


Thank you, have a nice day.

--
Nicolas Ecarnot
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fencing virtual machines

2013-11-07 Thread Eli Mesika


- Original Message -
> From: "Mike Burns" 
> To: "Nicolas Ecarnot" , users@ovirt.org
> Sent: Thursday, November 7, 2013 4:10:36 PM
> Subject: Re: [Users] Fencing virtual machines
> 
> On 11/07/2013 09:03 AM, Nicolas Ecarnot wrote:
> > Hi,
> >
> > In the case I want to setup a virtual cluster amongst many virtual
> > machines, and this virtual cluster needs to fence some VM, what is the
> > best way to achieve this?
> >
> > I guess this has to use something like vdsClient to "unplug" the VM, but
> > I found it hard to find any more information about this.
> >
> 
> I haven't tried but the fence-agents package (fence-agents-rhevm on
> Fedora) has a fence_rhevm tool that will probably work for you.

Please let us know if that worked for you.


> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fencing virtual machines

2013-11-07 Thread Mike Burns

On 11/07/2013 09:03 AM, Nicolas Ecarnot wrote:

Hi,

In the case I want to setup a virtual cluster amongst many virtual
machines, and this virtual cluster needs to fence some VM, what is the
best way to achieve this?

I guess this has to use something like vdsClient to "unplug" the VM, but
I found it hard to find any more information about this.



I haven't tried but the fence-agents package (fence-agents-rhevm on 
Fedora) has a fence_rhevm tool that will probably work for you.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fencing virtual machines

2013-11-07 Thread Koch (ovido)

On Thu, 2013-11-07 at 15:03 +0100, Nicolas Ecarnot wrote:
> Hi,
> 
> In the case I want to setup a virtual cluster amongst many virtual 
> machines, and this virtual cluster needs to fence some VM, what is the 
> best way to achieve this?
> 
> I guess this has to use something like vdsClient to "unplug" the VM, but 
> I found it hard to find any more information about this.
> 

If you're using e.g. Red Hat Cluster there's a fence agent named
fence_rhevm which can be used to fence virtual machines in RHEV or oVirt
environments.


Regards,
René


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Fencing virtual machines

2013-11-07 Thread Nicolas Ecarnot

Hi,

In the case I want to setup a virtual cluster amongst many virtual 
machines, and this virtual cluster needs to fence some VM, what is the 
best way to achieve this?


I guess this has to use something like vdsClient to "unplug" the VM, but 
I found it hard to find any more information about this.


--
Nicolas Ecarnot
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users