[Pacemaker] Pacemaker won't see radiusd is started

Julien Cornuwel cornuwel at gmail.com
Fri Apr 6 09:48:18 UTC 2012


Hi,

I have a working cluster on which I decided to go further and manage
the radius process with corosync instead of just the IPaddr.
And there comes the troubles...
The radius server is actually started and the monitor_hook (nagios
check) says it works fine...

Reading the logfile (full log here:
http://pastebin.com/raw.php?i=MJySbCjx), I found this :
info: RA output: (Radius:start:stderr)
/usr/lib/ocf/resource.d//heartbeat/anything: line 60: kill: (9057) -
No such process
And the PID of radiusd is indeed different from what is in /var/run/rad.pid.

I tried putting this path in /etc/raddb/radius.conf and things got
weird : radius entered a start-stop loop.

Can you see an error in my configuration ? Or have an idea on how to
convince radiusd to behave ?



#########################################################################

# crm configure show
node meaban1.infra
node meaban2.infra
primitive ClusterIP ocf:heartbeat:IPaddr2 \
	params ip="172.25.1.53" cidr_netmask="24" \
	op monitor interval="5s"
primitive Radius ocf:heartbeat:anything \
	params binfile="/usr/sbin/radiusd"
monitor_hook="/usr/local/nagios/libexec/check_radius.sh &>/dev/null"
pidfile="/var/run/rad.pid" \
	op monitor interval="5s" timeout="20s" \
	meta target-role="Started"
group Cluster Radius ClusterIP
location prefer-node1 Cluster 50: meaban1.infra
property $id="cib-bootstrap-options" \
	dc-version="1.0.12-unknown" \
	cluster-infrastructure="openais" \
	expected-quorum-votes="2" \
	stonith-enabled="false" \
	no-quorum-policy="ignore"

# crm_mon -1
============
Last updated: Fri Apr  6 11:46:35 2012
Stack: openais
Current DC: meaban1.infra - partition with quorum
Version: 1.0.12-unknown
2 Nodes configured, 2 expected votes
1 Resources configured.
============

Online: [ meaban1.infra meaban2.infra ]


Failed actions:
    Radius_monitor_5000 (node=meaban2.infra, call=15, rc=1,
status=complete): unknown error
    Radius_start_0 (node=meaban2.infra, call=19, rc=1,
status=complete): unknown error
    Radius_monitor_5000 (node=meaban1.infra, call=11, rc=1,
status=complete): unknown error
    Radius_start_0 (node=meaban1.infra, call=16, rc=1,
status=complete): unknown error




More information about the Pacemaker mailing list