LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Pacemaker/Corosync/LinuxHA (http://www.linuxquestions.org/questions/linux-server-73/pacemaker-corosync-linuxha-4175451390/)

mscolar 02-23-2013 08:51 AM

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.


All times are GMT -5. The time now is 09:36 PM.