LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 05-07-2012, 05:29 PM   #1
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 453

Rep: Reputation: 46
Debian Corosync/Pacemaker Cluster Frustrations


My goal is to have a clustered IP and an iSCSI disk that moves with the cluster IP address. I'm trying to get a Corosync/Pacemaker cluster going and nothing is quite as it seems based on the documentation.

The clustered IP address will be in 192.168.1.xxx.
I have a separate subnet for the cluster traffic 192.168.10.xx and one more for redundancy 192.168.11.xx.

Both hosts can ping each other over all their respective subnets. Nothing wrong with /etc/hosts to confuse the hosts.

Starting one node gets me the following:
Code:
============
Last updated: Mon May  7 14:24:06 2012
Last change: Mon May  7 14:06:40 2012 via cibadmin on mapper
Stack: openais
Current DC: mapper - partition WITHOUT quorum
Version: 1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff
2 Nodes configured, 2 expected votes
2 Resources configured.
============

Node mapper (be549e8f-9fa4-4317-894d-b2193135b7b3): UNCLEAN (offline)
Online: [ mapper ]

 kshqcla-stonith        (stonith:suicide):      Started mapper
Why is the same node listed twice? I start the other node and it joins the cluster vote count goes to 3. However everything is in in offline unclean status. How do you get a cluster node out of unclean offline status? I can't find anything that explains this.

Attempts to start the other node crashes both nodes.

Here's the only thing I've changed about a default corosync.conf
Code:
        # This specifies the mode of redundant ring, which may be none, active, or passive.
        rrp_mode: active

        interface {
                member {
                        memberaddr: 192.168.10.1
                }
                member {
                        memberaddr: 192.168.10.4
                }
                # The following values need to be set based on your environment
                ringnumber: 0
                bindnetaddr: 192.168.10.0
                mcastaddr: 226.94.1.1
                mcastport: 5405
        }
        interface {
                mamber {
                        memberaddr: 192.168.11.2
                }
                member {
                        memberaddr: 192.168.11.1
                }
        ringnumber: 1
        bindnetaddr: 192.168.11.0
        mcastaddr: 226.94.1.1
        mcastport: 10405
        }

service {
        name: pacemaker
        ver: 1
}

Last edited by mpapet; 05-07-2012 at 06:11 PM.
 
Old 05-09-2012, 01:40 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hello,

First thing that pops out is the second interface (in the 192.168.11.x assignment). If you copy/pasted that from the configuration file, then change mamber to member and reload corosync. Can you post the missing part (totem definition, logging if any) of your corosync.conf file? I'm not sure about the service statement inside the corosync.log file. I always create a separate file for my services in /etc/corosync/service.d. Also post output from:
Code:
crm configure show
make sure to mask confidential info if applicable (public IP etc...)

Kind regards,

Eric
 
  


Reply

Tags
pacemaker


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL HA-cluster with DRBD, Pacemaker and Corosync Patric.F Linux - Server 2 01-28-2012 06:27 AM
LXer: Openfiler 2.99 Active/Passive With Corosync, Pacemaker And DRBD LXer Syndicated Linux News 0 04-29-2011 10:10 AM
LXer: How To Set Up An Active/Passive PostgreSQL Cluster With Pacemaker, Corosync, And DRBD (CentOS LXer Syndicated Linux News 0 11-17-2010 09:40 AM
Device already mounted or mount point busy with CentOS/corosync/pacemaker/DRBD aschoessler Linux - Server 1 04-02-2010 09:11 AM


All times are GMT -5. The time now is 03:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration