#!/usr/bin/env python3 import html import cgi import funct import sql from configparser import ConfigParser, ExtendedInterpolation funct.head("HA") funct.check_login() funct.page_for_admin() path_config = "haproxy-webintarface.config" config = ConfigParser(interpolation=ExtendedInterpolation()) config.read(path_config) serv = "" print('' '

Configure HA

' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '

Create new HA cluster

MasterSlaveVRRP interfaceVRRP IPInstall HAProxy(?)
' '' '' '' '' '' '' '' '' '' '' 'Create' '
' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '

Or add VRRP to exist

MasterSlaveVRRP interfaceVRRP IPRestart Keepalived(?)
' '' '' '' '' '' '' '' '' '' '' 'Add' '
' '
')