On Tue, 2019-03-12 at 17:30 -0400, Full Name wrote: > When adding a resource (with, say, "pcs create") one is supposed to > supply (among other things) the following: > > 1. Standard: The standard that the resource agent is assumed to > comply with. > 2. Provider: A standard-dependent piece of information that > indicates where the resource agent script is to be found. > 3. Type: The name of the script that embodies the resource agent. > > Checking out examples I have seen online, I know about the OCF > standard and the heartbeat provider. However, I don't know what > standards are supported by Pacemaker, what the providers are for each > standard, and what types of resource agents are delivered with > Pacemaker. The pcs utility can print out a list of all the resource > agents it knows about, and you can get it to list those for a given > standard. But, I don't know how to get a list of standards, or > documentation for them - which pcs does not provide anyway. > > Are the different standards documented somewhere, with a (documented) > list of providers that each contemplates, and types for each of them?
There are several online docs at: http://clusterlabs.org/pacemaker/doc/ The most important is "Pacemaker Explained", which does have a section about the standards: http://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html-single/Pacemaker_Explained/index.html#s-resource-supported Since you're using pcs, you can also get a simple list via "pcs resource standards". That will only show standards that have agents available on the local system. There is no documented list of all OCF providers, because anyone can be a provider. It's literally whoever provides the resource agent. :-) "pcs resource providers" will list the ones available on the local system. Pacemaker provides a few of its own, under the "pacemaker" provider; the resource-agents package provides a bunch under the "heartbeat" provider (a legacy name from the days when they were part of the heartbeat project). -- Ken Gaillot <[email protected]> _______________________________________________ Users mailing list: [email protected] https://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
