cookbook 'ucarp', '= 0.0.5'
ucarp (2) Versions 0.0.5 Follow0
Installs/Configures ucarp
cookbook 'ucarp', '= 0.0.5', :supermarket
knife supermarket install ucarp
knife supermarket download ucarp
Description
Manages ucarp IP failover on Linux.
Requirements
Currently supports Debian and Ubuntu style networking.
Attributes
- vid - ID of the virtual server, defaults to 1
- password - ucarp password
- advskew - advertisement skew in seconds, defaults to 1 for master
- advbase - advertisement interval in seconds, defaults to 1
- master - true if this node is the master
- vip - the virtual IP
- netmask - the netmask of the virtual IP
- interface - the interface ucarp manages, defaults to eth0
- bonded_interfaces - the interfaces to bond when bonding is enabled, defaults to eth0, eth1
- bond_mode - the bonding mode when bonding is used
Usage
Add the ucarp recipe to the runlist. Specify site configuration
with node attributes.
Example role for a master:
name "ucarp_master"
description "Role for ucarp master"
run_list([
"recipe[ucarp]"
])
override_attributes({
:ucarp => {
:password => "sekret",
:vip => "192.168.122.10",
:netmask => "255.255.255.0",
:master => true
}
})
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
CHANGELOG for ucarp
This file is used to list changes made in each version of ucarp.
0.0.5:
- Flush the IP address off the enslaved interfaces when setting up bonding
0.0.4:
- Add support for bonded interfaces
0.0.2:
- Interface is now an attribute
0.0.1:
- Initial release of ucarp
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Foodcritic Metric
0.0.5 passed this metric
0.0.5 passed this metric