OCF_HEARTBEAT_NODEUT(7) | OCF resource agents | OCF_HEARTBEAT_NODEUT(7) |
ocf_heartbeat_NodeUtilization - Node Utilization
NodeUtilization [start | stop | monitor | meta-data | validate-all]
The Node Utilization agent detects system parameters like available CPU, host memory and hypervisor memory availability, and adds them into the CIB for each node using crm_attribute. Run the agent as a clone resource to have it populate these parameters on each node. Note: Setting hv_memory only works with Xen at the moment, using the xl or xm command line tools.
dynamic
(optional, boolean, default true)
utilization_cpu
(optional, boolean, default true)
utilization_cpu_reservation
(optional, integer, default 1)
utilization_host_memory
(optional, boolean, default true)
utilization_host_memory_reservation
(optional, integer, default 512)
utilization_hv_memory
(optional, boolean, default true)
utilization_hv_memory_reservation
(optional, integer, default 512)
This resource agent supports the following actions (operations):
start
stop
monitor
meta-data
validate-all
The following is an example configuration for a NodeUtilization resource using the crm(8) shell:
primitive p_NodeUtilization ocf:heartbeat:NodeUtilization \
op monitor timeout="20s" interval="60s"
The following is an example configuration for a NodeUtilization resource using pcs(8)
pcs resource create p_NodeUtilization ocf:heartbeat:NodeUtilization \
op monitor timeout="20s" interval="60s"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/13/2023 | resource-agents 4.12.0-2 |