[ClusterLabs] How to setup a simple master/slave cluster in two nodes without stonith resource

Jehan-Guillaume de Rorthais jgdr at dalibo.com
Sat Apr 7 09:13:50 EDT 2018


Hi,

On Wed, 4 Apr 2018 02:00:58 +0000
范国腾 <fanguoteng at highgo.com> wrote:

> Thank you very much for your help. I do according to your comments and the
> cluster status is ok now.
> 
> I want to ask two more questions:
> 
> 1. This line code in PAF prevent the score to be set. Why does PAF request
> the prev_state must be shutdown? Could I just set the score if it is not set?
> 
> if ( $prev_state eq "shut down" and not _master_score_exists() )

This is just to try to detect the very first startup of the resource so the
local instance can decide to promote itself.

> 2. The log shows " Transition aborted by operation pgsqld_monitor_0 'create'
> on node2-1: Event failed ". How could we see the score is not set according
> this log?

This message does not look related to the master score. The full log might
help to make a better diag.



More information about the Users mailing list