OCF_HEARTBEAT_POWERV(7)
π OCF_HEARTBEAT_POWERV(7) β like, the manual manual β¨
okay bestie, so this is a page from the OCF resource agents section 7 collection, and it's all about ocf_heartbeat_powervs-subnet. yes the filename says POWERV and the agent says powervs-subnet, that's just how it is, we don't question the vibes π
πΈ NAME πΈ
ocf_heartbeat_powervs-subnet β literally manages moving a Power Virtual Server subnet around. that's the whole job. π
β¨ SYNOPSIS β¨
powervs-subnet [start | stop | monitor | meta-data | validate-all]
that's it. five actions. pick your fighter π
π¦ DESCRIPTION π¦
so this Resource Agent's whole main-character job is moving a Power Virtual Server subnet and its IP address from one virtual server instance to another. iconic, honestly.
but before you can slay, there are prerequisites β and no, you can't skip them, i'm sorry π:
- Red Hat Enterprise Linux 9.2 or higher β install it with the
@servergroup so your NetworkManager settings are correct, okay? then verify that theNetworkManager-config-serverpackage is installed. don't skip the verify step, i'm watching π - A two-node cluster β and it's gotta be distributed across two different Power Virtual Server workspaces, sitting in two data centers, inside one region. yes, two of everything. balance. symmetry. main character energy. π«Ά
- IBM Cloud API Key β create a service API key that's privileged for both Power Virtual Server workspaces. save that service API key in a file, then copy the file to both cluster nodes. use the same filename and directory location on both cluster nodes (fr fr, matching paths only), and reference the path to the key file in the resource definition. π
for the comprehensive documentation on implementing high availability for SAP applications on IBM Power Virtual Server, go visit https://cloud.ibm.com/docs/sap?topic=sap-ha-overview β it's giving required reading π
π SUPPORTED PARAMETERS π
ipβ the IP address inside the subnet. and the way this works? the IP address moves together with the subnet. they're a package deal, no separating them π« (required, string, no default)cidrβ the Classless Inter-Domain Routing (CIDR) of the subnet. yes, the whole phrase, we're being precise β¨ (required, string, no default)subnet_nameβ name of the subnet. and if you don't specify one? CIDR just becomes the name. it's giving "we'll figure it out" π (optional, string, no default)api_typeβ how you connect to the Power Virtual Server regional endpoints: over a public or a private network (public|private). (optional, string, default"private")regionβ the region representing the geographic area where the instance is located. the region is what's used to identify the Cloud API endpoint, so it's lowkey important πΊοΈ (required, string, no default)api_keyβ either the API Key itself, or@API_KEY_FILE_PATHfor IBM Cloud access. so: the API key content, or the path of an API key file β indicated by that@symbol. that little@is doing so much work ποΈ (required, string, no default)crn_host_mapβ maps the hostname of the Power Virtual Server instance to the CRN of the Power Virtual Server workspaces hosting that instance. separate the hostname and CRN with a colon':', and separate different hostname-and-CRN pairs with a semicolon';'. example:hostname01:CRN-of-Instance01;hostname02:CRN-of-Instance02π― (required, string, no default)vsi_host_mapβ maps the hostname of the Power Virtual Server instance to its instance id. same grammar bestie: colon':'between hostname and instance id, semicolon';'between pairs. example:hostname01:instance-id-01;hostname02:instance-id-02π« (required, string, no default)proxyβ proxy server used to access IBM Cloud API endpoints. the middleman. the connector. we respect them. π (optional, string, no default)jumboβ create a Power Virtual Server subnet with an MTU size of9000(true|false). big packets, big energy π₯ (optional, string, default"false")route_tableβ the ID of the route table for the interface. default is500. (optional, string, default"500")
π SUPPORTED ACTIONS π
this resource agent supports the following actions (operations):
startβ starts the resource. suggested minimum timeout:900s. buckle up, it's a long one β³stopβ stops the resource. suggested minimum timeout:450s. πmonitorβ performs a detailed status check. suggested minimum timeout:60s, suggested interval:60s. the vibe check, basically πvalidate-allβ performs a validation of the resource configuration. suggested minimum timeout:300s. proofread before you post πmeta-dataβ retrieves resource agent metadata (internal use only). suggested minimum timeout:10s. don't touch, that's the backend's business π
π EXAMPLE CRM SHELL π
here's an example config for a powervs-subnet resource using the crm(8) shell β copy-paste worthy, verbatim, character for character:
primitive p_powervs-subnet ocf:heartbeat:powervs-subnet \
params \
ip=string \
cidr=string \
region=string \
api_key=string \
crn_host_map=string \
vsi_host_map=string \
op monitor timeout="60s" interval="60s" depth="0"
look at that depth="0". impeccable. π
β EXAMPLE PCS β
and here's the same kind of example for a powervs-subnet resource, this time using pcs(8) β note the OCF_CHECK_LEVEL="0" instead of depth, they're different girls, don't mix them up π
pcs resource create p_powervs-subnet ocf:heartbeat:powervs-subnet \
ip=string \
cidr=string \
region=string \
api_key=string \
crn_host_map=string \
vsi_host_map=string \
op monitor timeout="60s" interval="60s" OCF_CHECK_LEVEL="0"
π§ SEE ALSO π§
- http://clusterlabs.org/ β go touch grass, it's the ClusterLabs site π±
π AUTHOR π
ClusterLabs contributors β and if you want to know about individual authors, the resource agent source has got you (see the resource agent source for information about individual authors) π«Ά
and that's the page!! π¦ this was written by the resource-agents crew, version UNKNOWN, dated 10/01/2026 β so like, unknown version but a very known date, make it make sense π anyway ily, go move that subnet ππ
π¦ where this page comes from
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms