Linux-HA Logo

LocalResourceManager Open Issues

This page is formatted and updated according to the IssueTrackingWikiProtocol[1].

21) Outstanding items regarding LRM/CRM integration

  1. The current manual LRM testing setup is neither comprehensive nor adequate.
    A suite of regression tests that verifies all facets of LRM functionality is required before it will be enabled in the CRM. Debugging the CRM alone is complex enough without trying to debug the LRM at the same time. The tests should be able to be run by others based on what is in CVS.
    Off the top of my head, below are some parts of the LRM that need to be tested for each resource class and with both good and bad data/inputs where appropriate:

    1. metadata operations (including faking metadata, the "description" field IIRC, in the case LSB RAs)

    2. adding resources
    3. starting and stoping resources
    4. attribute passing
    5. event generation (maybe just start with a fake heartbeat RA that it rigged to fail after X seconds)

    6. monitoring (is this different from monitoring?)

    7. doing things at the wrong time (stop a resource when its not started for example)

    8. doing bad things (try to add duplicate resources, perform an action that isnt supported)

    Hopefully you get the idea...
  2. The creation of a UML Stonith (OCF) RA is a very high priority for testing the CRM

20) Understanding about OCF RA specification

Please refer to the file resource-agent-api.txt[2]

* (Around line 149)

* (Around line 306)

* (Around line 168)


19) Clarification of flush command behavior.

SunJiangDong[4] asks: A flush command to a RA is received while the last operation of the same RA is not finished yet. How to deal with this situation? flush at once or flush until the last operation is finished? Now the choice is: execute "flush" operation until the last operation is finished.

18) This issue was raised by SunJiangDong[4]. He need the clarification about the format of command-line parameters transferred to LRM from CRM. Besides, need to tranfer the environment parameters to LRM separately from command-line parameters, for example,don't merge them in one ghashtable.

17) This issue was raised by AndrewBeekhof[5]. He may need one or two new operations on ResourceInstances[11] - but he hasn't decided. They are

16) LarsMarowskyBree[13] asked AlanRobertson[3] to design the API for the LocalResourceManager[7] in order to flush out the remaining issues. AlanRobertson[3] agreed. This may cause some items which were thought to be resolved to be moved back to open.

HuangZhen[12] said, please give your suggestions for the draft of lrm_api.h[14]

HuangZhen[12] said, the api has been changed based on the suggestions of Lars and Andrew. Please review it: lrm_api_Feb_23.h[15]

LarsMarowskyBree[13] does like this in general, but the passing of parameters to the ResourceAgent[6] is still missing. As OCF ResourceAgent[6]s take different parameter syntax than heartbeat resource scripts, while init scripts take no parameters at all, a single const char * parameter does not seem adequate.

HuangZhen[12] uploaded the new version of lrm_api_Feb_24.h[16] for review. In this version:

15) LarsMarowskyBree[13]: Discussion of virtual resources.

12) LarsMarowskyBree[13]: The LocalResourceManager[7] also needs to track resources which have failed on this node and when (ie, timestamp / reboot counter).

10) LarsMarowskyBree[13] has asked for a TransparentUpgrade[22] feature.

See also

LocalResourceManager[7], LocalResourceManagerResolvedIssues[30], IssueTrackingWikiProtocol[1].


References

[1]http://www.linux-ha.org/IssueTrackingWikiProtocol
[2]http://www.linux-ha.org/_cache/LocalResourceManagerOpenIssues__resource-agent-api.txt
[3]http://www.linux-ha.org/AlanRobertson
[4]http://www.linux-ha.org/SunJiangDong
[5]http://www.linux-ha.org/AndrewBeekhof
[6]http://www.linux-ha.org/ResourceAgent
[7]http://www.linux-ha.org/LocalResourceManager
[8]http://www.linux-ha.org/ResourceInstance
[9]http://www.linux-ha.org/InstanceParameters
[10]http://www.linux-ha.org/HashTable
[11]http://www.linux-ha.org/ResourceInstances
[12]http://www.linux-ha.org/HuangZhen
[13]http://www.linux-ha.org/LarsMarowskyBree
[14]http://www.linux-ha.org/_cache/LocalResourceManagerOpenIssues__lrm_api.h
[15]http://www.linux-ha.org/_cache/LocalResourceManagerOpenIssues__lrm_api_Feb_23.h
[16]http://www.linux-ha.org/_cache/LocalResourceManagerOpenIssues__lrm_api_Feb_24.h
[17]http://www.linux-ha.org/ClusterResourceManager
[18]http://www.linux-ha.org/ResourceAgentClass
[19]http://www.linux-ha.org/RedHerring
[20]http://www.linux-ha.org/resource
[21]http://www.linux-ha.org/PolicyFree
[22]http://www.linux-ha.org/TransparentUpgrade
[23]http://www.linux-ha.org/RollingUpgrade
[24]http://www.linux-ha.org/HeartbeatProgram
[25]http://www.linux-ha.org/FailSafe
[26]http://www.linux-ha.org/ClusterInformationBase
[27]http://www.linux-ha.org/OpenIssues
[28]http://www.linux-ha.org/NodeFencing
[29]http://www.linux-ha.org/OpenIssue
[30]http://www.linux-ha.org/LocalResourceManagerResolvedIssues


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