Man page - ocf_heartbeat_iface-bridge(7)
Packages contains this manual
- ocf_heartbeat_nagios(7)
- ocf_heartbeat_symlink(7)
- ocf_heartbeat_aws-vpc-route53(7)
- ocf_heartbeat_rabbitmq-cluster(7)
- ocf_heartbeat_rabbitmq-server-ha(7)
- ocf_heartbeat_mariadb(7)
- ocf_heartbeat_aliyun-vpc-move-ip(7)
- ocf_heartbeat_ids(7)
- ocf_heartbeat_jboss(7)
- ocf_heartbeat_conntrackd(7)
- ocf_heartbeat_ovsmonitor(7)
- ocf_heartbeat_sfex(7)
- ocf_heartbeat_osceip(7)
- ocf_heartbeat_powervs-subnet(7)
- ocf_heartbeat_lxc(7)
- ocf_heartbeat_nfsnotify(7)
- ocf_heartbeat_postfix(7)
- ocf_heartbeat_openstack-info(7)
- ocf_heartbeat_iface-bridge(7)
- ocf_heartbeat_scsi2reservation(7)
- ocf_heartbeat_nginx(7)
- ocf_heartbeat_dovecot(7)
- ocf_heartbeat_vdo-vol(7)
- ocf_heartbeat_portblock(7)
- ocf_heartbeat_vsftpd(7)
- ocf_heartbeat_ocivip(7)
- ocf_heartbeat_lxd-info(7)
- ocf_heartbeat_nfsserver(7)
- ocf_heartbeat_sg_persist(7)
- ocf_heartbeat_slapd(7)
- ocf-tester(8)
- ocf_heartbeat_dhcpd(7)
- ocf_heartbeat_iface-vlan(7)
- ocf_heartbeat_oraasm(7)
- ocf_heartbeat_rsyncd(7)
- ocf_heartbeat_exportfs(7)
- ocf_heartbeat_gcp-vpc-move-vip(7)
- ocf_heartbeat_docker-compose(7)
- ocf_heartbeat_storage-mon(7)
- ocf_heartbeat_gcp-vpc-move-route(7)
- ocf_heartbeat_apache(7)
- ocf_heartbeat_podman(7)
- ocf_heartbeat_gcp-ilb(7)
- ocf_heartbeat_db2(7)
- ocf_heartbeat_gcp-pd-move(7)
- ocf_heartbeat_dummypy(7)
- ocf_heartbeat_nvmet-port(7)
- ocf_heartbeat_named(7)
- ocf_heartbeat_kamailio(7)
- ocf_heartbeat_azure-lb(7)
- ocf_heartbeat_mysql-proxy(7)
- ocf_heartbeat_oracle(7)
- ocf_heartbeat_ethmonitor(7)
- ocf_heartbeat_pound(7)
- ocf_heartbeat_ipsec(7)
- ocf_heartbeat_aws-vpc-move-ip(7)
- ocf_heartbeat_vmware(7)
- ocf_heartbeat_azure-events-az(7)
- ocf_heartbeat_rsyslog(7)
- ocf_heartbeat_gcp-vpc-move-ip(7)
- ocf_heartbeat_clvm(7)
- ocf_heartbeat_mdraid(7)
- ocf_heartbeat_rkt(7)
- ocf_heartbeat_openstack-cinder-volume(7)
- ocf_heartbeat_corosync-qnetd(7)
- ocf_heartbeat_fio(7)
- ocf_heartbeat_nvmet-namespace(7)
- ocf_heartbeat_jira(7)
- ocf_heartbeat_docker(7)
- ocf_heartbeat_openstack-floating-ip(7)
- ocf_heartbeat_pgsql(7)
- ocf_heartbeat_pingd(7)
- ocf_heartbeat_zabbixserver(7)
- ocf_heartbeat_garbd(7)
- ocf_heartbeat_varnish(7)
- ocf_heartbeat_openstack-virtual-ip(7)
- ocf_heartbeat_syslog-ng(7)
- ocf_heartbeat_azure-events(7)
- ocf_heartbeat_mpathpersist(7)
- ocf_heartbeat_pgagent(7)
- ocf_heartbeat_proftpd(7)
- ocf_heartbeat_iscsi(7)
- ocf_heartbeat_anything(7)
- ocf_heartbeat_smb-share(7)
- ocf_heartbeat_awsvip(7)
- ocf_heartbeat_awseip(7)
- sfex_init(8)
- ocf_heartbeat_mysql(7)
- ocf_heartbeat_oralsnr(7)
- ocf_heartbeat_galera(7)
- ocf_heartbeat_iface-macvlan(7)
- ocf_heartbeat_redis(7)
- ocf_heartbeat_nvmet-subsystem(7)
- ocf_heartbeat_crypt(7)
- ocf_heartbeat_tomcat(7)
- ocf_heartbeat_asterisk(7)
- ocf_heartbeat_dnsupdate(7)
- ocf_heartbeat_machine-info(7)
- ocf_heartbeat_lvmlockd(7)
- ocf_heartbeat_minio(7)
apt-get install resource-agents
Manual
OCF_HEARTBEAT_IFACE
NAMESYNOPSIS
DESCRIPTION
SUPPORTED PARAMETERS
SUPPORTED ACTIONS
EXAMPLE CRM SHELL
EXAMPLE PCS
SEE ALSO
AUTHOR
NAME
ocf_heartbeat_iface-bridge - Manages Bridge network interfaces.
SYNOPSIS
|
iface-bridge [start | stop | status | monitor | meta-data | validate-all] |
DESCRIPTION
This resource manages Bridge network interfaces. It can add, remove, configure bridges and spanning-tree.
SUPPORTED PARAMETERS
bridge_name
Define the name of the bridge (max 15 charaters).
(unique, required, string, no default)
bridge_slaves
Define the list of interfaces, space separated, to add to the bridge. The list can be empty.
(unique, optional, string, no default)
bridge_ageing
Set the ethernet (MAC) address ageing time in seconds.
(optional, integer, no default)
port_hairpin
Set hairpin forwarding mode. A list of ports that should have hairpin enabled can be specified using the following Example: eth0 eth1
(optional, string, no default)
stp
Enable or disable Spanning Tree Protocol on the bridge.
(optional, boolean, default false)
stp_bridgeprio
Set the bridge's priority to defined value. The priority value is a number between 0 and 65535), and has no dimension. Lower priority values are preferred. The bridge with the lowest priority will be elected as root bridge.
(optional, integer, no default)
stp_fd
Set the bridge forward delay (in seconds).
(optional, integer, default 0)
stp_maxage
Set the bridge maximum message age (in seconds).
(optional, integer, no default)
stp_hello
Set the bridge hello time (in seconds).
(optional, integer, no default)
stp_pathcost
Set the port cost. This is a dimensionless metric. A list of port/cost can be specified using the following format: unpromoted cost unpromoted cost. Example: eth0 100 eth1 1000
(optional, string, no default)
stp_portprio
Set the port priority. This is a number between 0 and 63. brctl man page reports a value between 0 and 255, but tests show a limit of 63 on a live system. This metric is used in the designated port and root port selection algorithms. A list of port/priority can be specified using the following format: unpromoted cost unpromoted cost. Example: eth0 10 eth1 60
(optional, string, no default)
multicast_router
Enable or disable multicast routing on the bridge.
(optional, boolean, default 1)
multicast_snooping
Enable or disable multicast snooping on the bridge.
(optional, boolean, default 1)
multicast_port_router
Enable or disable a port from the multicast router. Kernel enables all port by default. A list of port can be specified using the following format: unpromoted 0|1 unpromoted 0|1. Example: eth0 1 eth1 0
(optional, string, no default)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 30s.
stop
Stops the resource. Suggested minimum timeout: 20s.
status
Performs a status check. Suggested minimum timeout: 20s. Suggested interval: 10s.
monitor
Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 10s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 20s.
EXAMPLE CRM SHELL
The following is an example configuration for a iface-bridge resource using the crm (8) shell:
primitive
p_iface-bridge ocf:heartbeat:iface-bridge \
params \
bridge_name=
string
\
op monitor timeout="20s" depth="0"
interval="10s"
EXAMPLE PCS
The following is an example configuration for a iface-bridge resource using pcs (8)
pcs resource
create p_iface-bridge ocf:heartbeat:iface-bridge \
bridge_name=
string
\
op monitor timeout="20s"
OCF_CHECK_LEVEL="0" interval="10s"
SEE ALSO
http://clusterlabs.org/
AUTHOR
ClusterLabs contributors (see the resource agent source for information about individual authors)