Monitoring the resources

As we have explained in the previous chapters, a cluster resource is a highly available service that is made available through at least one of the nodes. Among the resources that we configured up until this point, we can mention the virtual IP, the replicated storage device, the web server, and the database server. You can refer to Chapter 4, Real-world Implementations of Clustering, where we added constraints that indicated how (in what order) and where (in which node) the cluster resources should be started.

Either pcs status or pcs resource show, the preferred alternative, will list the names and status of all currently configured resources.

Note

If you specify a resource using its ID (that is, pcs resource show virtual_ip ...

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.