Re: [Gluster-users] GlusterFS, Pacemaker, OCF resource agents on CentOS 7

2017-12-08 Thread Tomalak Geret'kal
Hi Jiffin Pacemaker clusters allow us to effectively distribute services across multiple computers. In my case, I am creating an active-passive cluster for my software, and my software relies on Apache, MySQL and GlusterFS. Thus, I want GlusterFS to be controlled by Pacemaker so that: 1. A node

Re: [Gluster-users] GlusterFS, Pacemaker, OCF resource agents on CentOS 7

2017-12-08 Thread Jiffin Tony Thottan
Hi, Can u please explain for what purpose pacemaker cluster used here? Regards, Jiffin On Thursday 07 December 2017 06:59 PM, Tomalak Geret'kal wrote: Hi guys I'm wondering if anyone here is using the GlusterFS OCF resource agents with Pacemaker on CentOS 7? yum install

Re: [Gluster-users] GlusterFS, Pacemaker, OCF resource agents on CentOS 7

2017-12-07 Thread Marcin Dulak
I would start from having an automated, virtualised setup to test the basic functionality of gluster/pacemaker - https://github.com/mikecali/glusterfs-pacemakerHA this may help. Cheers Marcin On Thu, Dec 7, 2017 at 2:48 PM, Tomalak Geret'kal wrote: > On 07/12/2017 13:47, Hetz

Re: [Gluster-users] GlusterFS, Pacemaker, OCF resource agents on CentOS 7

2017-12-07 Thread Tomalak Geret'kal
On 07/12/2017 13:47, Hetz Ben Hamo wrote: > Out of curiosity,  did you write it or you found those > commands somewhere else? I wrote it, using what little experience of pcs I have so far - haven't actually been able to find any documented steps/instructions. :( Although this blog -

Re: [Gluster-users] GlusterFS, Pacemaker, OCF resource agents on CentOS 7

2017-12-07 Thread Hetz Ben Hamo
> > With the node in standby (just one is online in this example, but another > is configured), I then set up the resources: > > pcs node standby > pcs resource create gluster_data ocf:heartbeat:Filesystem > device="/dev/cl/lv_drbd" directory="/gluster" fstype="xfs" > pcs resource create glusterd

[Gluster-users] GlusterFS, Pacemaker, OCF resource agents on CentOS 7

2017-12-07 Thread Tomalak Geret'kal
Hi guys I'm wondering if anyone here is using the GlusterFS OCF resource agents with Pacemaker on CentOS 7? yum install centos-release-gluster yum install glusterfs-server glusterfs-resource-agents The reason I ask is that there seem to be a few problems with them on 3.10, but these problems