LinuxQuestions.org
Visit Jeremy's Blog.
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 02-23-2013, 07:51 AM   #1
mscolar
LQ Newbie
 
Registered: Feb 2013
Distribution: CentOS
Posts: 9

Rep: Reputation: Disabled
Pacemaker/Corosync/LinuxHA


Hi,
I am trying to configure pacemaker and corosync on cluster of 2 servers for failover purposes. I have installed pacemaker and corosync on both servers and I have used the corosync-keygen command to create the authkey and copied it to the passive server. I can also ping from node 1 to node 2 and have added each hostname to the respective hosts file. This setup will be used to host an Asterisk server. Pacemaker fails to start and even if I start corosync first.

Node1 = 192.168.1.113
Node1 = 192.168.1.114
VirtualIP = 192.168.1.115


The following is my /etc/corosync/corosync.conf script

compatibility: whitetank
totem {
version: 2
token: 3000
token_retransmits_before_loss_const: 10
join: 60
consensus: 3600
vsftype: none
max_messages: 20
secauth: off
threads: 0
clear_node_high_bit: yes
rrp_mode: none
interface {
ringnumber: 0
bindnetaddr: 192.168.1.0
mcastaddr: 224.0.0.1
mcastport: 5405
ttl: 1
}
}

logging {
fileline: off
to_stderr: no
to_logfile: yes
to_syslog: yes
syslog_facility: daemon
logfile: /var/log/cluster/corosync.log
debug: off
timestamp: on
logger_subsys {
subsys: AMF
debug: off
tags: enter|leave|trace1|trace2|trace3|trace4|trace6
}
}

amf {
mode: disabled
}

[root@node1 corosync]# crm_verify -L -V
Live CIB query failed: connection failed

Thank you.
 
  


Reply

Tags
corosync, 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
problems setting corosync/pacemaker to do virtual ip eantoranz Linux - Server 3 10-11-2012 03:33 PM
2 node clustering with corosync/pacemaker kirukan Linux - Software 0 09-01-2012 10:33 AM
Pacemaker Corosync DRBD - Problema after SplitBrain Yena Linux - Server 0 08-24-2012 01:35 AM
Debian Corosync/Pacemaker Cluster Frustrations mpapet Linux - Server 1 05-09-2012 12:40 AM
MySQL HA-cluster with DRBD, Pacemaker and Corosync Patric.F Linux - Server 2 01-28-2012 05:27 AM


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

Main Menu
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