[ClusterLabs] Node attributes

2016-05-18 Thread ‪H Yavari‬ ‪
Hi, How can I define a constraint for two resource based on one nodes attribute? For example resource X and Y are co-located based on node attribute Z. Regards,H.Yavari ___ Users mailing list: Users@clusterlabs.org

Re: [ClusterLabs] unable to start fence_scsi

2016-05-18 Thread Ken Gaillot
On 05/18/2016 05:21 AM, Marco A. Carcano wrote: > Hi Ken, > > by the way I’ve just also tried with pacemaker 1.1.14 (I builded it from > sources into a new RPM) but it doesn’t work > > >> On 18 May 2016, at 11:29, Marco A. Carcano wrote: >> >> Hi Ken, >> >> thank you

[ClusterLabs] fence_sanlock and pacemaker

2016-05-18 Thread Da Shi Cao
Hello everybody, After some try and error, fence_sanlock can be used as a stonith resource in pacemaker+corosync. 1. Add a "monitor" action, which is exactly the same action as "status". 2. Make "status" action return "false" if a resource belongs to a host is acquired and owned by another host.

Re: [ClusterLabs] Two related Cluster

2016-05-18 Thread ‪H Yavari‬ ‪
Hi, Thank you for reply. I tested the first method "multi-site cluster". it was ok with ticket manually assignment. But I had issues with running Booth.I tested second method "constraints and attributes". I make a cluster with 4 nodes and define some constraints for nodes. But I have problems

Re: [ClusterLabs] unable to start fence_scsi

2016-05-18 Thread Marco A. Carcano
Hi Ken, by the way I’ve just also tried with pacemaker 1.1.14 (I builded it from sources into a new RPM) but it doesn’t work > On 18 May 2016, at 11:29, Marco A. Carcano wrote: > > Hi Ken, > > thank you for the reply > > I tried as you suggested, and now the stonith

Re: [ClusterLabs] unable to start fence_scsi

2016-05-18 Thread Marco A. Carcano
Hi Ken, thank you for the reply I tried as you suggested, and now the stonith devices tries to start but fails. I tried this pcs stonith create scsi fence_scsi pcmk_host_list="apache-up001.ring0 apache-up002.ring0 apache-up003.ring0" pcmk_host_map="apache-up001.ring1=apache-up001.ring0;

Re: [ClusterLabs] Pacemaker with Zookeeper??

2016-05-18 Thread Jan Friesse
Ken Gaillot napsal(a): On 05/17/2016 09:54 AM, Digimer wrote: On 16/05/16 04:35 AM, Bogdan Dobrelya wrote: On 05/16/2016 09:23 AM, Jan Friesse wrote: Hi, I have an idea: use Pacemaker with Zookeeper (instead of Corosync). Is it possible? Is there any examination about that? Indeed, would

[ClusterLabs] Antw: Re: Antw: Re: Using different folder for /var/lib/pacemaker and usage of /dev/shm files

2016-05-18 Thread Ulrich Windl
>>> Ken Gaillot schrieb am 17.05.2016 um 19:23 in >>> Nachricht <573b537a.1080...@redhat.com>: > On 05/17/2016 12:02 PM, Nikhil Utane wrote: >> OK. Will do that. >> >> Actually I gave the /dev/shm usage when the cluster wasn't up. >> When it is up, I see it occupies close

[ClusterLabs] Antw: Re: Antw: Re: Using different folder for /var/lib/pacemaker and usage of /dev/shm files

2016-05-18 Thread Ulrich Windl
>>> Ken Gaillot schrieb am 17.05.2016 um 16:53 in >>> Nachricht <573b3074.1040...@redhat.com>: > On 05/17/2016 04:07 AM, Nikhil Utane wrote: >> What I would like to understand is how much total shared memory >> (approximately) would Pacemaker need so that accordingly I can

Re: [ClusterLabs] Two related Cluster

2016-05-18 Thread Kristoffer Grönlund
‪H Yavari‬ ‪ writes: > Hi, > So you think for this solution Booth is better or attribute method? I'm not > familiar with them so can you share your experiences with them?Many thanks. > I think a single cluster using node attributes should be a lot easier to understand