Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:network:high-availability [2021/10/15 19:30] – added script that syncs the dhcp leases bobafetthotmaildocs:guide-user:network:high-availability [2022/08/31 20:55] – Fixed error in uci file header preventing use of alt config file nathhad
Line 99: Line 99:
 </code> </code>
  
-To ensure `/etc/init.d/keepalived` script starts the daemon pointed at your config set `/etc/config/keepalived` like:+To ensure `/etc/init.d/keepalived` script starts the daemon pointed at your config
 + 
 +write the following in `/etc/config/keepalived` :
  
 <code> <code>
-config global_defs                                                                             +config globals                                                                             
    option alt_config_file          "/etc/keepalived/keepalived.conf"    option alt_config_file          "/etc/keepalived/keepalived.conf"
 </code> </code>
  
-This above will cause the init script to not generate its own config, but merely create a symlink to your script in /tmp where the daemon ends up pointing to.+This will tell the keepalived service to use the configuration file you wrote at /etc/keepalived/keepalived.conf 
  
 ==== 4. Configure conntrackd ==== ==== 4. Configure conntrackd ====
  • Last modified: 2023/02/04 18:31
  • by nathhad