Hi all,
This is actually about the possible next step about utilization based
resource allocation in pacemaker. As we know, current pacemaker has the
ability to do resource allocation based on the utilization of nodes and
resources. But all these have to be set prior running, and belong to the
configuration of CIB.
It should be a nature evolution for pacemaker to support dynamic
utilization based resource reallocation. For that, I'd proposal
following changes for you to review.
- pacemaker to store the dynamic utilization value in the status
section of CIB. A changing to the value in configuration triggers a new
transaction, which is not optimal when trying to update the utilization
of a pile of resources. Also, by storing it in status, we can leverage
the attrd_updater with --dempan.
- A new API for RA, for pacemaker to probe the utilization of a
resource instance. I'd suggest a obvious name, like probe_utilization.
This new API requires no parameter, and always return $OCF_SUCCESS. RA
takes the responsibility to update the utilization value when called.
_______________________________________________
ha-wg-technical mailing list
ha-wg-technical@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/ha-wg-technical
This is actually about the possible next step about utilization based
resource allocation in pacemaker. As we know, current pacemaker has the
ability to do resource allocation based on the utilization of nodes and
resources. But all these have to be set prior running, and belong to the
configuration of CIB.
It should be a nature evolution for pacemaker to support dynamic
utilization based resource reallocation. For that, I'd proposal
following changes for you to review.
- pacemaker to store the dynamic utilization value in the status
section of CIB. A changing to the value in configuration triggers a new
transaction, which is not optimal when trying to update the utilization
of a pile of resources. Also, by storing it in status, we can leverage
the attrd_updater with --dempan.
- A new API for RA, for pacemaker to probe the utilization of a
resource instance. I'd suggest a obvious name, like probe_utilization.
This new API requires no parameter, and always return $OCF_SUCCESS. RA
takes the responsibility to update the utilization value when called.
_______________________________________________
ha-wg-technical mailing list
ha-wg-technical@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/ha-wg-technical