Linux-HA Logo

Local Resource Manager Interface

The Local Resource Manager Interface is the API for the LocalResourceManager[1].

The raw calls will be documented in the header file lrm_api.h, but here are some more usage hints:

It is the programming interface which clients of the LocalResourceManager[1] use to access it. Since the LocalResourceManager[1] is not in the same process as its clients, it is desirable to minimize the number of complex data structures pass across the interface.

So, thinking about that, here is AlanRobertson[2]'s CurrentThinking[3] on the subject:

It is probably desirable to assign ResourceTypeId[4]s to ResourceType[5]s (as qualified by their ResourceAgentClass[6]), and also to associate each ResourceInstance[7] by a ResourceInstanceId[8].

LarsMarowskyBree[9] thinks the ResourceInstanceId[8] is the UUID[10] we have been talking about all along.

The overlap between this page and the LocalResourceManager[1] page needs to be cleaned up eventually.


References

[1]http://www.linux-ha.org/LocalResourceManager
[2]http://www.linux-ha.org/AlanRobertson
[3]http://www.linux-ha.org/CurrentThinking
[4]http://www.linux-ha.org/ResourceTypeId
[5]http://www.linux-ha.org/ResourceType
[6]http://www.linux-ha.org/ResourceAgentClass
[7]http://www.linux-ha.org/ResourceInstance
[8]http://www.linux-ha.org/ResourceInstanceId
[9]http://www.linux-ha.org/LarsMarowskyBree
[10]http://www.linux-ha.org/UUID


This information provided courtesy of the Linux-HA project at http://linux-ha.org/