[Pacemaker] move service basing on both connection status and hostname

2015-11-09 Thread Stefano Sasso
Hi Guys, I am having some troubles with the location constraint. In particular, what I want to achieve, is to run my service on a host; if the ip interconnection fails I want to migrate it to another host, but on IP connectivity restoration the resource should move again on the primary node. So

Re: [Pacemaker] setup advice

2013-07-03 Thread Stefano Sasso
2013/7/3 Andrey Groshev > > > 03.07.2013, 12:30, "Stefano Sasso" : > > 2013/7/3 Andrey Groshev > > > > 03.07.2013, 11:42, "Stefano Sasso" : > > Does "standby" mean that PostgreSQL is stopped ? > If Master doesn't have WAL fi

Re: [Pacemaker] setup advice

2013-07-03 Thread Stefano Sasso
2013/7/3 Andrey Groshev > > > 03.07.2013, 11:42, "Stefano Sasso" : > > Does "standby" mean that PostgreSQL is stopped ? > If Master doesn't have WAL files which new slave needs, > new slave can't connect master. > > How do you solve it ?

Re: [Pacemaker] setup advice

2013-07-03 Thread Stefano Sasso
> > Does "standby" mean that PostgreSQL is stopped ? > If Master doesn't have WAL files which new slave needs, > new slave can't connect master. > > How do you solve it ? > copy data or wal-archive on start automatically ? > It may cause timed-out if PostgreSQL has large database. I'm using strea

[Pacemaker] setup advice

2013-07-02 Thread Stefano Sasso
at possible? How can avoid a single resource to start on cluster boot? Or, could you advise another way to do this setup? I hope I was clear, my english is not so good :) thank you so much, stefano -- Stefano Sasso http://stefano.dscnet.org/ ___ Pacemak