Project

General

Profile

Actions

Feature #10599

closed

Add support for hitless-reloads of HAproxy config

Added by DRago_Angel [InV@DER] almost 4 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
haproxy
Target version:
-
Start date:
05/27/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:

Description

HAproxy allows reload configs without restart of service via socket command: https://www.haproxy.com/blog/hitless-reloads-with-haproxy-howto/
It will be cool if HAproxy proxy package will have option to
  1. regenerate SrcIPs lists which was been changed, there is ways how to achieve this (first one more friendly):
    • compare modification dates of original alias file and file created in /var/etc/haproxy/*.lst
    • take incoming parameter: array of alias names that need to reload
      1. hitless reload of configs
      2. default apply action also better switch from $(check config && restart) to $(check config && hitless reload)
        This task related originally to https://redmine.pfsense.org/issues/9793
Actions

Also available in: Atom PDF