Thank you, Rorthais,

I read the link and it is very helpful.

There are some issues that I have met when I installed the cluster.
1. “pcs cluster stop” could not stop the cluster in some times.
2. when I upgrade the PAF, I could just replace the pgsqlms file. When I 
upgrade the postgres, I just replace the /usr/local/pgsql/.
3.  If the cluster does not stop normally, the pgcontroldata status is not 
"SHUTDOWN",then the PAF would not start the postgresql any more, so I normally 
change the pgsqlms as below after installing the PAF.

elsif ( $pgisready_rc == 2 ) {
# The instance is not listening.
# We check the process status using pg_ctl status and check
# if it was propertly shut down using pg_controldata.
ocf_log( 'debug', 'pgsql_monitor: instance "%s" is not listening',
return _confirm_stopped();      ####### remove this line
return $OCF_NOT_RUNNING;    ####### add this line 

发件人: Jehan-Guillaume de Rorthais [] 
发送时间: 2018年3月6日 17:08
收件人: 范国腾 <>
抄送: Cluster Labs - All topics related to open-source clustering welcomed 
主题: Re: [ClusterLabs] 答复: 答复: 答复: How to configure to make each slave resource 
has one VIP

Hi guys,

Few month ago, I started a new chapter about this exact subject for "PAF - 
Cluster administration under CentOS" ( see:

Please, find attach my draft.

All feedback, fix, comments and intensive tests are welcome!

Users mailing list:

Project Home:
Getting started:

Reply via email to