[ClusterLabs] Stack: unknown and all nodes offline

Ken Gaillot kgaillot at redhat.com
Thu Dec 10 20:30:26 UTC 2015


On 12/10/2015 01:14 PM, Louis Munro wrote:
> I can now answer parts of my own question.
> 
> 
> My config was missing the quorum configuration:
> 
> quorum {
>         # Enable and configure quorum subsystem (default: off)
>         # see also corosync.conf.5 and votequorum.5
>         provider: corosync_votequorum
>         two_node: 1
>         expected_votes: 2
> }
> 
> 
> I read the manpage as saying that was optional, but it looks like I may be misreading here.
> corosync.conf(5) says the following: 
> 
> Within the quorum directive it is possible to specify the quorum algorithm to use with the
> provider directive. At the time of writing only corosync_votequorum is supported.  
> See votequorum(5) for configuration options.
> 
> 
> 
> I still have messages in the logs saying 
> crmd:   notice: get_node_name:   Defaulting to uname -n for the local corosync node name
> 
> I am not sure which part of the configuration I should be setting for that.
> 
> Any pointers regarding that would be nice.

Hi,

As long as the unames are what you want the nodes to be called, that
message is fine. You can explicitly set the node names by using a
nodelist {} section in corosync.conf, with each node {} having a
ring0_addr specifying the name.




More information about the Users mailing list