Developers guide

Chapter 8
Copyright © 2008-2013 Inverse inc.
Operating System Best Practices 72
Look at Heartbeat log file /var/log/ha-log to make sure that everything is fine.
Enable HB automatic start
# chkconfig --level 345 heartbeat on
RADIUS HA configuration
If you configured FreeRADIUS with your wireless setup and you configured redundancy, you could configure
FreeRADIUS to answer requests exclusively coming on the virtual IP. In order to do so, you need to modify
the RADIUS configuration and add RADIUS to the managed resources.
RADIUS Configuration
Modify the listen statements in the radiusd.conf file per the following. Change the
[VIP_IPV4_ADDRSS] with your virtual IP address:
listen {
type = auth
ipaddr = [VIP_IPV4_ADDRESS]
port = 0
}
listen {
type = acct
ipaddr = [VIP_IPV4_ADDRESS]
port = 0
}
Heartbeat Configuration
Add RADIUS to the managed resources (in /etc/ha.d/haresources):
pf1.example.com Ipaddr2::x.x.x.x IfUp::eth0.y IfUp::eth0.z drbddisk::mysql
Filesystem::/dev/drbd0::/var/lib/mysql::ext3 mysqld packetfence radiusd