Re: [ClusterLabs] How to DRBD + Pacemaker + Samba in Active/Passive Cluster?

2016-12-06 Thread Stanislav Kopp
Hi, like Ulrich already said, you don't need CTDB for "active/passive" Samba, we use standard LSB RA for Samba init script without problems since many years. Best, Stan 2016-12-05 10:16 GMT+01:00 Semion Itic : > Hello Everybody, > > How to DRBD + Pacemaker + Samba in Active/Passive Cluster? > >

Re: [ClusterLabs] "No such device" with fence_pve agent

2016-03-23 Thread Stanislav Kopp
Hi Ken, thank you for clarification, adding "pcmk_host_list=redis1" to redis1's stonith resource options has solved the problem. Best, Stan 2016-03-22 15:24 GMT+01:00 Ken Gaillot : > On 03/22/2016 06:32 AM, Stanislav Kopp wrote: >> Hi, >> >> I have probl

[ClusterLabs] "No such device" with fence_pve agent

2016-03-22 Thread Stanislav Kopp
Hi, I have problem with using "fence_pve" agent with pacemaker, the agent works fine from command line, but if I simulate stonith action or use "crm node fence ", it doesn't work: Mar 22 10:38:06 [675] redis2 stonith-ng: debug: xml_patch_version_check: Can apply patch 0.50.22 to 0.50.21 Mar 22 1

Re: [ClusterLabs] fence agent and using it with pacemaker

2016-02-11 Thread Stanislav Kopp
Hi Dejan 2016-02-11 16:45 GMT+01:00 Dejan Muhamedagic : > Hi, > > On Thu, Feb 11, 2016 at 03:56:15PM +0100, Stanislav Kopp wrote: >> HI again, >> >> I think I've sorted it out, correct me if I'm wrong. >> >> - "fence-agents" are RHCS comp

Re: [ClusterLabs] fence agent and using it with pacemaker

2016-02-11 Thread Stanislav Kopp
/stonith/plugins/rhcs directory in Debian (only rhcs.so lib), can't find it via "yum provides" in Centos 7 either. Is there some documentation how to use RHCS fence agent with pacemaker esp. with crmsh examples? Best, Stan [1] https://github.com/ClusterLabs/fence-agents/blob/ma

Re: [ClusterLabs] fence agent and using it with pacemaker

2016-02-11 Thread Stanislav Kopp
HI Dejan, 2016-02-10 20:28 GMT+01:00 Dejan Muhamedagic : > Hi, > > On Wed, Feb 10, 2016 at 03:20:49PM +0100, Stanislav Kopp wrote: >> Hi all, >> >> I have general, clarification question about how fence agents work >> with pacemaker (crmsh in particular). As fa

Re: [ClusterLabs] fence agent and using it with pacemaker

2016-02-11 Thread Stanislav Kopp
Hi Jan, 2016-02-10 16:04 GMT+01:00 Jan Pokorný : > On 10/02/16 15:20 +0100, Stanislav Kopp wrote: >> I have general, clarification question about how fence agents work >> with pacemaker (crmsh in particular). As far I understood STDIN >> arguments can be used within pa

[ClusterLabs] fence agent and using it with pacemaker

2016-02-10 Thread Stanislav Kopp
Hi all, I have general, clarification question about how fence agents work with pacemaker (crmsh in particular). As far I understood STDIN arguments can be used within pacemaker resources and command line arguments in terminal (for testing and scripting?). I have "fence_pve" [1] agent which works

[ClusterLabs] Can't use "fence_pve" agent in pacemaker

2015-12-01 Thread Stanislav Kopp
Hi all, I have working "fence_pve" [1] agent if I run it in terminal with arguments, but it doesn't work if I try to add it as stonith resource in pacemaker. It says some parameters like "passwd" or "login" does not exist (they are listed here [1]). some more info. # stonith -L |grep pve externa

Re: [ClusterLabs] RGManager: no migration on kernel panic

2015-09-01 Thread Stanislav Kopp
> successful fence and rgmanager uses DLM locks. Even in pacemaker, > fencing is required to prevent split-brains. > > On 01/09/15 11:55 AM, Stanislav Kopp wrote: >> Hi all, >> >> I'm testing now "corosync+cman+rgmanager" on Debian Jessie (since >

[ClusterLabs] RGManager: no migration on kernel panic

2015-09-01 Thread Stanislav Kopp
Hi all, I'm testing now "corosync+cman+rgmanager" on Debian Jessie (since Pacemaker is not in repos), I'm running two nodes cluster with simple VIP resource. Resource migration work pretty well if I gracefully shutdown the active node, but if try to kill the node with simulated kernel panic (echo

Re: [ClusterLabs] "0 Nodes configured" in crm_mon

2015-08-31 Thread Stanislav Kopp
s/139 and > https://github.com/ClusterLabs/libqb/pull/141), or upgrade to 0.17.2. > > Regards, > Honza > > >> >> Best, >> Stan >> >> 2015-08-28 19:04 GMT+02:00 Ken Gaillot : >>> >>> On 08/28/2015 10:59 AM, Stanislav Kopp wrote: >>&

Re: [ClusterLabs] "0 Nodes configured" in crm_mon

2015-08-28 Thread Stanislav Kopp
Hi Ken, thanks for the info, I will try 2.3.4 or maybe even 2.3.3 like in original compilation guide. Best, Stan 2015-08-28 19:04 GMT+02:00 Ken Gaillot : > On 08/28/2015 10:59 AM, Stanislav Kopp wrote: >> Hi Andrew, >> >> yeah, sorry about that, I need good glasses, it&#

Re: [ClusterLabs] "0 Nodes configured" in crm_mon

2015-08-28 Thread Stanislav Kopp
pped() received in state S_PENDING and many CPU warnings. Best, Stan 2015-08-28 6:09 GMT+02:00 Andrew Beekhof : > >> On 25 Aug 2015, at 1:45 am, Stanislav Kopp wrote: >> >> Hi all, >> >> I'm trying to run corosync2 + pacemaker setup on Debian Jessie (onl

[ClusterLabs] "0 Nodes configured" in crm_mon

2015-08-24 Thread Stanislav Kopp
Hi all, I'm trying to run corosync2 + pacemaker setup on Debian Jessie (only for testing purpose), I've successfully compiled all components using this guide: http://clusterlabs.org/wiki/Compiling_on_Debian Unfortunately, if I run "crm_mon" I don't see any nodes.