cookbook 'keepalived_ip_clusters', '= 1.0.1'
keepalived_ip_clusters (4) Versions 1.0.1 Follow0
Configures a Keepalived cluster with shared virtual IP addresses.
cookbook 'keepalived_ip_clusters', '= 1.0.1', :supermarket
knife supermarket install keepalived_ip_clusters
knife supermarket download keepalived_ip_clusters
Keepalived IP Cluster Manager
Manage Keepalived IP clusters.
Usage
keepalived_ip_clusters::default
Configure Keepalived:
Just include keepalived_ip_clusters in your node's run_list:
{
"name":"my_node",
"run_list": [
"recipe[keepalived_ip_clusters]"
]
}
Configure Clusters:
Manage cluster configuration:
{
"keepalived": {
"clusters": [
{
"addresses": ["192.168.1.10", "192.168.1.110"],
"password": "StrongPassword",
"members": {
"node1-hostname": {
"priority": 100,
"state": "MASTER"
},
"node2-hostname": {
"priority": 98,
"state": "BACKUP"
},
"node3-hostname": {
"priority": 99,
"state": "BACKUP"
}
}
},
{
"addresses": ["192.168.1.11", "192.168.1.111"],
"password": "AnotherStrongPassword",
"members": {
"node1-hostname": {
"priority": 100,
"state": "MASTER"
},
"node2-hostname": {
"priority": 98,
"state": "BACKUP"
},
"node3-hostname": {
"priority": 99,
"state": "BACKUP"
}
}
}
]
}
}
Dependent cookbooks
| keepalived ~> 3.0.2 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
License Metric
1.0.1 failed this metric
FC066: Ensure chef_version is set in metadata: keepalived_ip_clusters/metadata.rb:1
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.1 failed this metric
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any