OCF_HEARTBEAT_POWERV(7)
πΈ NAME πΈ
okay bestie, this is OCF_HEARTBEAT_POWERV(7) from the OCF resource agents manual, and the star of the show is ocf_heartbeat_powervs-move-ip β it manages Power Virtual Server overlay IP routes. Thatβs the whole name situation, iconic behavior only. π
β¨ SYNOPSIS β¨
powervs-move-ip [start | stop | monitor | meta-data | validate-all]
π DESCRIPTION π
This resource agent moves an IP address from one Power Virtual Server instance to another. slay. β¨
Prerequisites, bestie β read these fr fr:
- High availability cluster β the cluster nodes must be deployed across two Power Virtual Server workspaces located in separate data centers within the same region. The virtual IP can only move between a fixed pair of nodes, with each node residing in a separate workspace.
- Predefined static routes β static routes must be configured in both workspaces. Each route must use the service IP as the destination and the corresponding node IP address as the next hop.
- IBM Power Cloud API authentication β authentication must be configured using either the Power Virtual Server Metadata service or an IBM Cloud API key (these options are mutually exclusive):
- use a trusted profile with the required privileges for both workspaces, or
- use a service API key with the required privileges for both workspaces, stored locally on the cluster nodes.
- the trusted profile name or the API key must be referenced in the resource definition.
For detailed guidance on high availability for SAP applications on PowerVS, visit: https://cloud.ibm.com/docs/sap?topic=sap-ha-overview. π«Ά
π SUPPORTED PARAMETERS π
ipβ the virtual IP address is the destination address of a network route. (required, string, no default)api_keyβ IBM Cloud API key, or a file path prefixed with@containing the API key. If this parameter is not specified or set to its default valueidentity_token, authentication uses the Power Virtual Server Metadata API. In this case, an IBM Cloud Identity and Access Management (IAM) trusted profile is used to establish a trust relationship with the virtual server instance, and the trusted profile can be selected with theprofileparameter. (optional, string, default"identity_token")api_typeβ connection to Power Virtual Server regional endpoints over a public or private network (public|private). (optional, string, default"private")regionβ region that represents the geographic area where the instance is located. The region is used to identify the Cloud API endpoint. (required, string, no default)route_host_mapβ mapping of the hostname of the Power Virtual Server instance to the route CRN of the overlay IP route. Separate the hostname and route CRN with a colon':', separate different hostname and route CRN pairs with a semicolon';'. Exactly two entries are allowed. Example:hostname1:route-crn-of-instance1;hostname2:route-crn-of-instance2(required, string, no default)use_token_cacheβ caching of the API access token in a local file to reduce authentication overhead. (optional, string, default"True")monitor_apiβ enhanced monitoring by using Power Cloud API calls to verify route configuration correctness. (optional, string, default"False")deviceβ network adapter for the overlay IP address. The adapter must have the same name on all Power Virtual Server instances. If thedeviceparameter is not specified, the IP alias is assigned to the interface whose configured IP address matches the routeβs next hop address. (optional, string, no default)iflabelβ a custom suffix for the IP address label. It is appended to the interface name in the formatdevice:label. The full label must not exceed 15 characters. (optional, string, no default)proxyβ proxy server used to access IBM Cloud API endpoints. The value must be a valid URL in the formathttp[s]://hostname:port. (optional, string, no default)profileβ trusted profile associated with the instance for authorization using the metadata API. Useid:PROFILE_IDto select a profile by id orname:PROFILE_NAMEto select a profile by name. If not specified, the default trusted profile is used. (optional, string, no default)atomicβ when set toTrue, the local route is enabled and the remote route is disabled atomically using a single API call (POST /v1/routes/{id}/switch-enabled). When set toFalse(default), the routes are updated individually. (optional, string, default"False")
π¦ SUPPORTED ACTIONS π¦
This resource agent supports the following actions (operations):
startβ starts the resource. Suggested minimum timeout:60s.stopβ stops the resource. Suggested minimum timeout:60s.monitorβ performs a detailed status check. Suggested minimum timeout:60s. Suggested interval:60s.validate-allβ performs a validation of the resource configuration. Suggested minimum timeout:60s.meta-dataβ retrieves resource agent metadata (internal use only). Suggested minimum timeout:10s.
π EXAMPLE CRM SHELL π
Hereβs the example config for a powervs-move-ip resource using the crm(8) shell π«Ά
primitive p_powervs-move-ip ocf:heartbeat:powervs-move-ip \
params \
ip=string \
region=string \
route_host_map=string \
op monitor timeout="60s" interval="60s" depth="0"
π EXAMPLE PCS π
And hereβs the example config for a powervs-move-ip resource using pcs(8) πΈ
pcs resource create p_powervs-move-ip ocf:heartbeat:powervs-move-ip \
ip=string \
region=string \
route_host_map=string \
op monitor timeout="60s" interval="60s" OCF_CHECK_LEVEL="0"
π₯ SEE ALSO π₯
http://clusterlabs.org/ β go look, bestie. π
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors). Respect the contributors, fr fr. π«Ά
This pageβs footer energy: OCF_HEARTBEAT_POWERV(7) from resource-agents, version UNKNOWN, dated 10/01/2026. Byeee, bestie! πβ¨
π¦ 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