Hi,
I'm busy setting an Active/Passive cluster using the below version of
all the above mentions software. Now i have a few question hope full
which will solve the problems I'm experience.
heartbeat-3.0.1-1.el5
pacemaker-1.0.7-2.el5
corosync-1.2.0-1.el5
First off I get heartbeat up and running, I create a ClusterIP resouce
using ocf:heartbeat:IPaddr2, but when i start corosync, the host on
which i started on seems to reboot, Which leads to my next question
is my Corosync setup correctly, I'm not sure about the interface
configuration on corosync, does the mcastaddr: have to be the same on
both hosts? and the bindnetaddr: are they just the physical address of
each host?
interface {
ringnumber: 0
bindnetaddr: 57.24.108.182
mcastaddr: 226.94.1.1
mcastport: 5405
}
Next Issue I see is when i do a crm_mon, its indicates that my Stack:
openais, when I am actually running heartbeat and somehow it thinks
I'm running 4 nodes when in fact I am only running two.
Stack: openais
Current DC: saamailin0p01.ipnetwork.co.za
(5ffaa1b1-afda-4e06-9231-e575d253f797) - partition with quorum
Version: 1.0.7-d3fa20fc76c7947d6de66db7e52526dc6bd7d782
4 Nodes configured, 2 expected votes
1 Resources configured.
============
Online: [ saamailin0p01.ipnetwork.co.za saamailin0s01.ipnetwork.co.za ]
OFFLINE: [ SaaMailIN0p01.ipnetwork.co.za SaaMailIN0s01.ipnetwork.co.za ]
ClusterIP (ocf::heartbeat:IPaddr2): Started
saamailin0p01.ipnetwork.co.za
Ive got a copy of all my config below if it helps.. any insight would
be greatly appreciated
/etc/ha.d/ha.cf
============
# Logging
debug 0
logfile /var/log/ha-log
# Misc Options
traditional_compression off
compression bz2
coredumps true
crm yes
# Communications
udpport 694
bcast eth0
autojoin any
# Thresholds (in seconds)
keepalive 2
warntime 6
deadtime 10
initdead 15
/etc/corosync/corosync.conf
########################
totem {
version: 2
token: 5000
token_retransmits_before_loss_const: 20
join: 1000
consensus: 7500
vsftype: none
max_messages: 20
secauth: off
threads: 0
clear_node_high_bit: yes
nodeid: 182
interface {
ringnumber: 0
bindnetaddr: 57.24.108.182
mcastaddr: 226.94.1.1
mcastport: 5405
}
}
logging {
fileline: off
to_syslog: yes
to_stderr: no
syslog_facility: daemon
debug: off
timestamp: on
logfile: /tmp/corosync.log
}
amf {
mode: disabled
}
service {
# Load the Pacemaker Cluster Resource Manager
name: pacemaker
ver: 0
}
aisexec {
user: root
group: root
}
crm configure show
===============
node $id="5ffaa1b1-afda-4e06-9231-e575d253f797" saamailin0p01.ipnetwork.co.za
node $id="8a82c00a-7f36-4500-a715-ce92c6c2edec" saamailin0s01.ipnetwork.co.za
node SaaMailIN0p01.ipnetwork.co.za
node SaaMailIN0s01.ipnetwork.co.za
primitive ClusterIP ocf:heartbeat:IPaddr2 \
params ip="57.24.108.184" cidr_netmask="32" \
op monitor interval="30s"
property $id="cib-bootstrap-options" \
dc-version="1.0.7-d3fa20fc76c7947d6de66db7e52526dc6bd7d782" \
cluster-infrastructure="openais" \
stonith-enabled="false" \
expected-quorum-votes="2"
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems