table of contents
OCF_HEARTBEAT_POWERV(7) | OCF resource agents | OCF_HEARTBEAT_POWERV(7) |
NAME¶
ocf_heartbeat_powervs-subnet - Manages moving a Power Virtual Server subnet
SYNOPSIS¶
powervs-subnet [start | stop | monitor | meta-data | validate-all]
DESCRIPTION¶
Resource Agent to move a Power Virtual Server subnet and its IP address from one virtual server instance to another. The prerequisites for the use of this resource agent are as follows:
1. Red Hat Enterprise Linux 9.2 or higher: Install with @server group to ensure that NetworkManager settings are correct. Verify that the NetworkManager-config-server package is installed.
2. A two-node cluster that is distributed across two different Power Virtual Server workspaces in two data centers in a region.
3. IBM Cloud API Key: Create a service API key that is privileged for both Power Virtual Server workspaces. Save the service API key in a file and copy the file to both cluster nodes. Use same filename and directory location on both cluster nodes. Reference the path to the key file in the resource definition.
For comprehensive documentation on implementing high availability for SAP applications on IBM Power Virtual Server, visit https://cloud.ibm.com/docs/sap?topic=sap-ha-overview.
SUPPORTED PARAMETERS¶
ip
(required, string, no default)
cidr
(required, string, no default)
subnet_name
(optional, string, no default)
api_type
(optional, string, default "private")
region
(required, string, no default)
api_key
(required, string, no default)
crn_host_map
(required, string, no default)
vsi_host_map
(required, string, no default)
proxy
(optional, string, no default)
jumbo
(optional, string, default "false")
route_table
(optional, string, default "500")
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
monitor
validate-all
meta-data
EXAMPLE CRM SHELL¶
The following is an example configuration for a powervs-subnet resource using the crm(8) shell:
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"
EXAMPLE PCS¶
The following is an example configuration for a powervs-subnet resource using pcs(8)
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¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
11/19/2024 | resource-agents UNKNOWN |