A SNMP Agent for Pacemaker

The pacemaker program is the Cluster Resource Manager in Unix operation system cluster. It decides which resoure starts on what node in respect to the availability of nodes and the configuration constraints. Please see the pacemaker page for the description of the cluster software.

When you operate a cluster you want to know, what it's status is or get alerts if something happens. In short, enjoy all the benefits of a Network Monitoring System (NMS). The internet standard protocol for NMS to monitor devices and applications is the Simple Network Management Protocol (SNMP).

In this article I will describe, how you can set up a SNMP agent that publishes the state of your cluster nodes and resources. Every NMS (OpenNMS, Zabbix, nagios or the commercial alternatives) will be able to monitor the cluster properly.

Continue reading

Making Resource Utilizations Dynamic

With the placement strategy ``minimal`` the cluster resource manager (pacemaker) can move all resources to the minimum limit of real nodes that the resources need. Other nodes will run no resources.

Only a little change in the Resource Agent controlling the virtual hosts is needed to make the utilization allocation of resources dynamic every monitoring interval.

Continue reading