Measuring and improving performance

You will recall from earlier chapters that by definition, a resource is a service that is made highly available by the cluster. Every resource is assigned what is called a resource agent, an external shell script that manages the actual resource for the cluster, independently of how those services would be managed by systemd if they were left to its care. Thus, the actual operation of the resource is transparent to the cluster, since it is being managed by the resource agent.

Resource agents are found inside /usr/lib/ocf/resource.d, so feel free to take a look at them to become better acquainted with their structure. In most circumstances, you will not need to modify them, but work on the specific resources' ...

Get CentOS High Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.