Re: [Linux-HA] Antw: Re: Postgresql RA fails starting master node

2014-09-11 Thread Federico Castro
Takehiro, Ulrich, thanks for your responses. I have some interesting information. If I only run pz02, then it keeps on starting as Postgres Slave, it is not promoted to Master: Online: [ pz02 ] OFFLINE: [ pz01 ] Full list of resources: Master/Slave Set: msPostgresql [pgsql] Slaves: [

Re: [Linux-HA] Antw: Re: Postgresql RA fails starting master node

2014-09-11 Thread Federico Castro
/Slave configuration. Aborting tests Thanks in advanced 2014-09-11 12:07 GMT-03:00 Federico Castro fcaste...@gmail.com: Takehiro, Ulrich, thanks for your responses. I have some interesting information. If I only run pz02, then it keeps on starting as Postgres Slave, it is not promoted

Re: [Linux-HA] Antw: Re: Postgresql RA fails starting master node

2014-09-11 Thread Federico Castro
/Slave configuration. Aborting tests Thanks in advanced 2014-09-11 12:07 GMT-03:00 Federico Castro fcaste...@gmail.com: Takehiro, Ulrich, thanks for your responses. I have some interesting information. If I only run pz02, then it keeps on starting as Postgres Slave, it is not promoted

Re: [Linux-HA] Antw: Re: Postgresql RA fails starting master node

2014-09-12 Thread Federico Castro
Great! Thanks for your tips. I found the problem. Bad substitution error in line 1646 L1646: sed -i /${rep_mode_string//\//\\/}/d $OCF_RESKEY_config was when trying to delete string include '/var/lib/pgsql/tmp/rep_mode.conf' # added by pgsql RA’” in my config file