[Linux-HA] Adding Resource Monitoring
Andrew Beekhof
beekhof at gmail.com
Mon Feb 4 03:22:58 MST 2008
On Feb 4, 2008, at 10:40 AM, Barry wrote:
> Hi List
>
>
>
> I've been running a 2 node HA cluster for about 6 months now.
>
> Currently the cluster checks for machine failure and IP failure with
> the
> ipfail module.
>
> Recently the Radius server has started to behave badly with memory
> leaks and
> therefore I need to add resource monitoring.
>
> By reading some of the documentation it seems that I have to use the
> cibadmin utility to add this functionality.
you can only do resource monitoring if you use the crm (ie. add "crm
yes" to ha.cf and stop using ipfail and haresources)
http://linux-ha.org/GettingStartedV2
>
>
> Currently no changes has been made to the cib at all. I'm just using
> the
> standard config files.
>
> Where I am getting a bit confused is with what happens to the
> current config
> files once I start using the cib.
>
> Does this replace them?
>
>
>
> My current haresources file:
>
>
>
> # haresources:
>
> Hostname_0 196.15.15.15 drbddisk::r0 Filesystem::/dev/drbd0::/
> drbd::ext3
> drbdlinks postgresql-8.2-custom apache2 freeradius
>
>
>
> As you may notice the system is running DRBD, postgresql, apache2 and
> freeradius.
>
> Currently I only need to monitor freeradius. The other services will
> follow.
>
>
>
> My current ha.cf file:
>
>
>
> debugfile /var/log/ha-debug
>
> logfile /var/log/ha-log
>
> logfacility local0
>
> serial /dev/ttyS0 # Linux
>
> bcast eth1
>
> auto_failback on
>
> node Hostname_0
>
> node Hostname_1
>
> ping 196.15.15.1 #the default gateway
>
>
>
> Would someone please give me some pointers on how to implement this?
>
>
>
> (I've also read that my init script should contain status and monitor
> actions. How should this be implemented?)
>
>
>
> Thanks
>
> Barry
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA
mailing list