
I was configuring a
LVS solution, but could not find any doc about lvs_id field in keepalived.conf, so i checked the source code of
Keepalived, open source is great!
- lvs_id was designed to be unique, for identifying a host;
- if no value is given, it will be set to host name as default;
- basically lvs_id is used in syslog and nitification mail, to id the hosts. so although using the indentical lvs_id in different hosts are not recommended, using the same ones won't break the system;
- since 1.1.8 they used router_id instead of lvs_id, but for backward compatibility, they still keep lvs_id.