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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access