OCF_HEARTBEAT_IPADDR - Online Linux Manual PageSection : 7
Updated : 03/25/2021
Source : resource-agents UNKNOWN
Note : OCF resource agents

NAMEocf_heartbeat_IPaddr − Manages virtual IPv4 addresses (portable version)

SYNOPSISIPaddr [start | stop | monitor | meta−data | validate−all]

DESCRIPTIONThis script manages IP alias IP addresses It can add an IP alias, or remove one​.

SUPPORTED PARAMETERSip The IPv4 address to be configured in dotted quad notation, for example "192​.168​.1​.1"​. (unique, required, string, no default) nic The base network interface on which the IP address will be brought online​. If left empty, the script will try and determine this from the routing table​. Do NOT specify an alias interface in the form eth0:1 or anything here; rather, specify the base interface only​. Prerequisite: There must be at least one static IP address, which is not managed by the cluster, assigned to the network interface​. If you can not assign any static IP address on the interface, modify this kernel parameter: sysctl −w net​.ipv4​.conf​.all​.promote_secondaries=1 (or per device) (optional, string, default "eth0") cidr_netmask The netmask for the interface in CIDR format​. (ie, 24), or in dotted quad notation 255​.255​.255​.0)​. If unspecified, the script will also try to determine this from the routing table​. (optional, string, no default) broadcast Broadcast address associated with the IP​. If left empty, the script will determine this from the netmask​. (optional, string, no default) iflabel You can specify an additional label for your IP address here​. (optional, string, no default) lvs_support Enable support for LVS Direct Routing configurations​. In case a IP address is stopped, only move it to the loopback device to allow the local node to continue to service requests, but no longer advertise it on the network​. (optional, boolean, default false) local_stop_script Script called when the IP is released (optional, string, no default) local_start_script Script called when the IP is added (optional, string, no default) ARP_INTERVAL_MS milliseconds between ARPs (optional, integer, default 500) ARP_REPEAT How many gratuitous ARPs to send out when bringing up a new address (optional, integer, default 10) ARP_BACKGROUND run in background (no longer any reason to do this) (optional, boolean, default yes) ARP_NETMASK netmask for ARP − in nonstandard hexadecimal format​. (optional, string, default "ffffffffffff")

SUPPORTED ACTIONSThis resource agent supports the following actions (operations): start Starts the resource​. Suggested minimum timeout: 20s​. stop Stops the resource​. Suggested minimum timeout: 20s​. monitor Performs a detailed status check​. Suggested minimum timeout: 20s​. Suggested interval: 5s​. validate−all Performs a validation of the resource configuration​. Suggested minimum timeout: 20s​. meta−data Retrieves resource agent metadata (internal use only)​. Suggested minimum timeout: 5s​.

EXAMPLE CRM SHELLThe following is an example configuration for a IPaddr resource using the crm(8) shell: primitive p_IPaddr ocf:heartbeat:IPaddr \ params \ ip=string \ op monitor depth="0" timeout="20s" interval="5s"

EXAMPLE PCSThe following is an example configuration for a IPaddr resource using pcs(8) pcs resource create p_IPaddr ocf:heartbeat:IPaddr \ ip=string \ op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="5s"

SEE ALSO­http://clusterlabs.org/

AUTHORClusterLabs contributors (see the resource agent source for information about individual authors)
0
Johanes Gumabo
Data Size   :   16,623 byte
man-ocf_heartbeat_IPaddr.7Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 239,155
Visitor ID   :     :  
Visitor IP   :   3.23.92.50   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.