Re: [ClusterLabs] Unable to Build fence-agents from Source on RHEL6

2016-08-10 Thread Marek Grac
Hi, * pywsman is required only for fence_amt_ws so if you don't need it, feel free to remove this dependency (and agent) * python2.6 (and RHEL6) is no longer a platform that we support at upstream. We aim for python 2.7 and 3.x currently. But it might work on python2.6 (and Oyvind accepts patches

Re: [ClusterLabs] fence_vmware_soap: fail to shutdown VMs

2016-07-11 Thread Marek Grac
getypes.xsd" /> > > > > ## > > With -v, the error I get at the end of the logs is: "Unable to > connect/login to fencing device" which is weird since I can get the status > of a VM without issue... >

[ClusterLabs] fence-agents 4.0.23 release

2016-06-29 Thread Marek Grac
Welcome to the fence-agents 4.0.23 release This release includes several bugfixes and features: * A lot of changes in fence_compute (OpenStack compute instance) * Obtain status of nodes from Cisco UCS correctly * New fence agent for AMT using openwsman * Python3 support * Fence agent for PVE can

Re: [ClusterLabs] fence_vmware_soap: fail to shutdown VMs

2016-07-04 Thread Marek Grac
Hi, you can try to raise value of --power-timeout from default (20 seconds), also you can add -v to have verbose output. As long as you have same version of fence-agents-common and fence-agents-vmware, there should be no issues. m, On Fri, Jul 1, 2016 at 11:31 AM, Kevin THIERRY <

Re: [ClusterLabs] Fence agent for VirtualBox

2017-02-06 Thread Marek Grac
Hi, I don't have one. But I see a lot of question about fence_vbox in last days, is there any new material that references it? m, On Mon, Feb 6, 2017 at 1:56 PM, Jihed M'selmi wrote: > Hi, > > I want set up a pcmk/corosync cluster using couple vbox nodes. > > Anyone

Re: [ClusterLabs] How to Fence Virtualbox VM with Windows 10 as host.

2017-01-25 Thread Marek Grac
Hi, On Tue, Jan 24, 2017 at 9:06 PM, wrote: > This is my first attempt at clustering, just so you know the level > required to convey ideas. > > I have Windows 10 running Virtualbox with 2 VMs running Fedora 25. I have > followed 'Pacemaker 1.1 Clusters from Scratch'

Re: [ClusterLabs] Can fence_vbox ssh-options be configured to use Windows DOS shell?

2017-01-26 Thread Marek Grac
Hi, On Thu, Jan 26, 2017 at 5:06 PM, wrote: > I have Windows 10 running Virtualbox with 2 VMs running Fedora 25. I have > followed 'Pacemaker 1.1 Clusters from Scratch' 9th edition up through > chapter 7. It works. I am now trying to fence VMs. I use Cygwin ssh >

Re: [ClusterLabs] Can fence_vbox ssh-options be configured to use Windows DOS shell?

2017-01-27 Thread Marek Grac
, Jan 26, 2017 at 6:09 PM, <dur...@mgtsciences.com> wrote: > Marek Grac <mg...@redhat.com> wrote on 01/26/2017 09:19:41 AM: > > > From: Marek Grac <mg...@redhat.com> > > To: Cluster Labs - All topics related to open-source clustering > > welcomed <users@c

[ClusterLabs] Fence agent for VirtualBox

2017-02-22 Thread Marek Grac
Hi, I have updated fence agent for Virtual Box (upstream git). The main benefit is new option --host-os (host_os on stdin) that supports linux|macos. So if your host is linux/macos all you need to set is this option (and ssh access to a machine). I would love to add a support also for windows but

Re: [ClusterLabs] Fence agent for VirtualBox

2017-02-22 Thread Marek Grac
will not see that your machine VM is running in VirtualBox management UI. Afterwards it is enough to add parameter --host-os windows (or host_os=windows when stdin/pcs is used). m, On Wed, Feb 22, 2017 at 11:49 AM, Marek Grac <mg...@redhat.com> wrote: > Hi, > > I have updated fence agent

[ClusterLabs] fence-agents 4.0.25 release

2017-01-16 Thread Marek Grac
Welcome to the fence-agents 4.0.25 release This release includes several bugfixes and features: * Support for LPAR IVM was added to fence_lpar * New fence agent for OpenStack's Ironic service * New fence agent for Azure Resource Manager * New fence agent for PowerMan * Major improvement in fence

Re: [ClusterLabs] Fence agent for VirtualBox

2017-02-27 Thread Marek Grac
Hi, On Thu, Feb 23, 2017 at 5:32 PM, wrote: > Klaus Wenninger wrote on 02/23/2017 01:12:19 AM: > > > > There is a major issue with current setup in Windows. You have to > > > start virtual machines from openssh connection if you wish to manage >

Re: [ClusterLabs] fence_apc delay?

2016-09-05 Thread Marek Grac
Hi, On Mon, Sep 5, 2016 at 3:46 PM, Dan Swartzendruber wrote: > ... > Marek, thanks. I have tested repeatedly (8 or so times with disk writes > in progress) with 5-7 seconds and have had no corruption. My only issue > with using power_wait here (possibly I am

Re: [ClusterLabs] fence_vbox Unable to connect/login to fencing device

2017-07-11 Thread Marek Grac
t for stonith?) > add login_timeout=XXs (or look at manual pages for other timeout options) m, > Thanks > Arek > > 2017-07-10 13:10 GMT+02:00 Marek Grac <mg...@redhat.com>: > >> >> >> On Fri, Jul 7, 2017 at 1:45 PM, ArekW <arkad...@gmail.com> wro

Re: [ClusterLabs] fence_vbox Unable to connect/login to fencing device

2017-07-10 Thread Marek Grac
On Fri, Jul 7, 2017 at 1:45 PM, ArekW wrote: > The reason for --force is: > Error: missing required option(s): 'ipaddr, login, plug' for resource > type: stonith:fence_vbox (use --force to override) > It looks like you use unreleased upstream of fence agents without a

Re: [ClusterLabs] fence_vbox Unable to connect/login to fencing device

2017-07-07 Thread Marek Grac
Hi, On Fri, Jul 7, 2017 at 8:02 AM, ArekW wrote: > Hi, > I did a small research on the scripts > > /usr/sbin/fence_vbox > def main(): > ... > conn = fence_login(options) > > The fence_loging is scripted in the fencing.py and it should invoke > function:

Re: [ClusterLabs] Antw: fence_vmware_soap: reads VM status but fails to reboot/on/off

2017-08-01 Thread Marek Grac
Hi, > But when I call any of the power actions (on, off, reboot) I get "Failed: > > Timed out waiting to power OFF". > > > > I've tried with all the combinations of --power-timeout and --power-wait > > and same error without any change in the response time. > > > > Any ideas from where or how to

Re: [ClusterLabs] IPMI and APC switched PDUs fencing agents

2017-06-07 Thread Marek Grac
Hi, On Tue, Jun 6, 2017 at 3:52 PM, Jean-Francois Malouin < jean-francois.malo...@bic.mni.mcgill.ca> wrote: > Hi, > > Starting to configure a two-nodes cluster, runnning Debian Jessie 8.8 > Stack: corosync, pacemaker version 1.1.15-e174ec8. > > I'm confused with the different fencing agents

Re: [ClusterLabs] stonith device locate on same host in active/passive cluster

2017-05-02 Thread Marek Grac
Hi, On Tue, May 2, 2017 at 3:39 AM, Albert Weng wrote: > Hi All, > > I have created active/passive pacemaker cluster on RHEL 7. > > here is my environment: > clustera : 192.168.11.1 > clusterb : 192.168.11.2 > clustera-ilo4 : 192.168.11.10 > clusterb-ilo4 :

Re: [ClusterLabs] Question about fence_mpath

2017-05-02 Thread Marek Grac
Hi, On Fri, Apr 28, 2017 at 8:09 PM, Chris Adams wrote: > It creates, but any time anything tries to fence (manually or by > rebooting a node), I get errors in /var/log/messages. Trying to > manually fence a node gets: > > # pcs stonith fence node2 --off > Error: unable to

Re: [ClusterLabs] 答复: How to create the stonith resource in virtualbox

2018-02-09 Thread Marek Grac
Hi, for fence_vbox take a look at my older blogpost> https://ox.sk/howto-fence-vbox-cdd3da374ecd if all you need is to have fencing in a state when dlm works and you promise that you will never have real data on it. There is an easy hack, it really does not matter which fence agent you use. All

Re: [ClusterLabs] Stonith stops after vSphere restart

2018-02-22 Thread Marek Grac
Hi, On Thu, Feb 22, 2018 at 11:58 AM, wrote: > > Hi, > > I have a 2 node pacemaker cluster configured with the fence agent > vmware_soap. > Everything works fine until the vCenter is restarted. After that, stonith > fails and stop. > This is expected as we run 'monitor'