OCF_HEARTBEAT_MANAGE(7)
πΈ ocf_heartbeat_ManageVE β from the OCF_HEARTBEAT_MANAGE(7) manual, section 7, bestie π
okay so bestie, sit down, hydrate, because this one is a whole vibe. it's the ocf_heartbeat_ManageVE page from the resource-agents manual set, and it's giving "I run virtual environments and I'm not sorry about it." π
β¨ NAME β¨
ocf_heartbeat_ManageVE β manages an OpenVZ Virtual Environment (VE). yeah. that's the whole job. and it ate. π
π¦ SYNOPSIS π¦
ManageVE [start | stop | status | monitor | migrate_to | migrate_from |
meta-data | validate-all]
that's the whole menu. pick your fighter. no cap. β¨
π DESCRIPTION π
so this resource agent is OCF compliant and it manages OpenVZ VEs, which means you literally need a proper OpenVZ installation, bestie β including a recent vzctl util. no vzctl, no service. it's giving "you can't sit with us" but like, technically. π«Ά
this resource agent may be configured for native migration if that's available in your cluster manager. and for Pacemaker specifically, the allow-migrate="true" meta attribute is the thing that enables native migration. main character attribute honestly. π
π SUPPORTED PARAMETERS π
veidβ the OpenVZ ID of the virtual environment. if you're wondering which IDs exist, go peek at the output ofvzlist -aand it'll show you all the assigned ones. π- (
required,integer, no default) β so yes, you have to give it, it has to be a number, and there is no sneaky default hiding in there. periodt.
- (
π SUPPORTED ACTIONS π
this resource agent supports the following actions (operations). every single one, we're listing them all, no skipping:
startβ starts the resource. suggested minimum timeout:75s. go girl, wake up. π₯stopβ stops the resource. suggested minimum timeout:75s. nap time, respectfully. π΄statusβ performs a status check. suggested minimum timeout:10s. suggested interval:10s. just a lil vibe check. β¨monitorβ performs a detailed status check. suggested minimum timeout:10s. suggested interval:10s. the full deep-dive, not just a glance. πmigrate_toβ executes the steps necessary for migrating the resource to the node. suggested minimum timeout:75s. come through, we're moving in. π§³migrate_fromβ executes the steps necessary for migrating the resource away from the node. suggested minimum timeout:75s. and we're moving out. π¦validate-allβ performs a validation of the resource configuration. suggested minimum timeout:5s. double-checking the fit before we go out, iconic behavior. πmeta-dataβ retrieves resource agent metadata (internal use only). suggested minimum timeout:5s. this one is not for you, bestie, it's for the machinery. π
π EXAMPLE CRM SHELL π
here's an example config for a ManageVE resource using the crm(8) shell:
primitive p_ManageVE ocf:heartbeat:ManageVE \
params \
veid=integer \
meta allow-migrate="true" \
op monitor depth="0" timeout="10s" interval="10s"
copy it, love it, live it. π
β EXAMPLE PCS β
and here's the same energy for a ManageVE resource using pcs(8):
pcs resource create p_ManageVE ocf:heartbeat:ManageVE \
veid=integer \
op monitor OCF_CHECK_LEVEL="0" timeout="10s" interval="10s"
two tools, one slay. π«Ά
π SEE ALSO π
- http://clusterlabs.org/ β go look, iykyk π
πΈ AUTHOR πΈ
ClusterLabs contributors β and if you want to know about individual authors, the resource agent source has that info. giving credit where it's due, always. β¨
okay that's the whole page, bestie, you made it to the end, I'm so proud π₯Ή
this little love letter came from resource-agents, version UNKNOWN, dated 04/08/2026 β mwah, go forth and manage those VEs π
ππ¦
π¦ where this page comes from
- fedora 43: resource-agents 4.18.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: resource-agents 4.18.0-1.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms