Re: [Keepalived-devel] 1.2.7 -> 1.3.2
Status: Beta
Brought to you by:
acassen
|
From: Quentin A. <qu...@ar...> - 2016-12-06 11:24:43
|
On Tue, 2016-12-06 at 11:50 +0100, Ton | Ero-advertising wrote:
> Hello,
>
> i just upgraded keepalived from 1.2.7 to 1.3.2 only now i get the following errors:
>
> Specifying lvs_sync_daemon_interface against a vrrp is deprecated.
> Please use global lvs_sync_daemon
> Unknown keyword 'ip'
> Unknown keyword 'port'
> Unknown keyword 'ip'
> Unknown keyword ‘port'
> Truncating auth_pass to 8 characters
>
> they are more like warning cause keepalived is starting, but i think it would be wise to fix them.
There have been many changes and enhancements to keepalived since 1.2.7,
which includes better reporting of configuration errors, which you are
now experiencing.
>
> this is how that part in my config looks now:
>
> vrrp_instance VIP_NL_TEST1 {
> state MASTER
> priority 100
> authentication {
> auth_type PASS
> auth_pass interweb_VIP_NL_TEST1
The maximum password length is 8. Previously it was silently truncated,
now you are warned.
> }
> interface eth2
> lvs_sync_daemon_interface eth1
This is legacy configuration. Use lvs_sync_daemon in the global_defs
section (see doc/keepalived.conf.SYNOPSIS or man keepalived.conf for
more details). The reason for this change is that there is only one
lvs_sync_daemon systemwide, and it therefore doesn't make sense to be
able to configure it in multiple vrrp instances.
> virtual_router_id 100
> advert_int 1
>
> virtual_ipaddress {
> 192.168.1.100
> }
> }
>
> virtual_server 192.168.1.100 80 {
> ip 192.168.1.100
> port 80
There are no keywords "ip" or "port" in the virtual_server block. The
information is already specified on the virtual_server line.
> protocol TCP
> lb_algo wrr
> lb_kind DR
> delay_loop 6
>
> real_server 192.168.1.54 80 {
> weight 243
> HTTP_GET {
> url {
> path /crontab/keepalived.php?c=24
> digest 444bcb3a3fcf8389296c49467f27e1d6
> }
> connect_timeout 1
> nb_get_retry 1
> delay_before_retry 1
> }
> }
>
> what should i change to remove the warnings?
See comments above. I hope they help.
Quentin Armitage
|