Skip to content
Snippets Groups Projects
Commit cf69c5f3 authored by Giovanni Zizzi's avatar Giovanni Zizzi
Browse files

keepalived configuration optimized

parent 10d8dfdd
No related branches found
No related tags found
3 merge requests!8Development,!6Rhmk ha,!4Dev rhmk
...@@ -11,7 +11,7 @@ node 'ocp-ubuntu15.cnaf.infn.it' { ...@@ -11,7 +11,7 @@ node 'ocp-ubuntu15.cnaf.infn.it' {
class {'iaas::role::rhmk': class {'iaas::role::rhmk':
# percona_master => true, # percona_master => true,
keepalived_state => 'MASTER', keepalived_state => 'MASTER',
keepalived_priority => 150, keepalived_priority => 101,
ha_servers => { ha_servers => {
priority_hostname => 'ocp-ubuntu15', priority_hostname => 'ocp-ubuntu15',
priority_ip => '131.154.100.160', priority_ip => '131.154.100.160',
......
...@@ -32,7 +32,7 @@ include keepalived ...@@ -32,7 +32,7 @@ include keepalived
name => 'VI_1', name => 'VI_1',
interface => $admin_interface, interface => $admin_interface,
state => $state, state => $state,
virtual_router_id => '51', virtual_router_id => '21',
priority => $priority, priority => $priority,
auth_type => 'PASS', auth_type => 'PASS',
auth_pass => '1111', auth_pass => '1111',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment