{% extends "base.html" %}
{% block title %}{{ lang.menu_links.ha.title }} {% endblock %}
{% block h2 %}{{ lang.menu_links.ha.title }} {% endblock %}
{% block content %}
{% from 'include/input_macros.html' import input, checkbox %}
{% if user_status == 0 or user_plan == 'user' %}
{% include 'include/no_sub.html' %}
{% elif not is_needed_tool %}
{{lang.words.create|title()}} {{lang.words.w_a}} {{lang.words.new}} HA {{lang.words.cluster}}
{{lang.words.current2|title()}} {{lang.words.installation}} |
{{lang.words.current2|title()}} |
{{lang.words.current2|title()}} {{lang.words.installation}} |
{{lang.words.slave|title()}} |
{{lang.words.master|title()}} {{lang.words.interface|title()}} |
{{lang.words.slave|title()}} {{lang.words.interface|title()}} |
VRRP IP |
|
|
|
|
|
{{ input('interface', size='7', title=lang.phrases.int_vrrp) }} |
{{ input('slave_interface', size='7', title=lang.phrases.int_vrrp) }} |
{{ input('vrrp-ip', size='14') }} |
|
{{lang.words.add|title()}} VIRT |
{{lang.words.stay|title()}} {{lang.words.as}} {{lang.words.master|title()}} |
SYN-flood {{lang.words.protection}} |
HAProxy |
NGINX |
|
|
|
{{ checkbox('virt_server', title='Roxy-WI will add VRRP address as a separated server', checked='checked') }} |
{{ checkbox('return_to_master', title='If checked, the Keepalived master will not release VRRP if the service is down') }} |
{{ checkbox('syn_flood') }} |
{{ checkbox('hap', title='Roxy-WI will try to install HAProxy') }} |
{{ checkbox('hap_docker', title='Roxy-WI will install HAProxy as a Docker container') }} |
{{ checkbox('nginx', title='Roxy-WI will try to install NGINX') }} |
{{ checkbox('nginx_docker', title='Roxy-WI will install NGINX as a Docker container') }} |
|
|
{{lang.words.add|title()}} VRRP {{lang.words.to}} {{lang.words.an}} {{lang.words.existing2}} {{lang.words.cluster}}
{{lang.words.current2|title()}} {{lang.words.installation}} |
{{lang.words.master|title()}} |
{{lang.words.current2|title()}} {{lang.words.installation}} |
{{lang.words.slave|title()}} |
{{lang.words.master|title()}} {{lang.words.interface|title()}} |
{{lang.words.slave|title()}} {{lang.words.interface|title()}} |
VRRP IP |
|
|
|
|
{{ input('interface-add', size='7', title=lang.phrases.int_vrrp) }} |
{{ input('slave_interface-add', size='7', title=lang.phrases.int_vrrp) }} |
{{ input('vrrp-ip-add', size='14') }} |
|
|
|
|
{{lang.words.restart|title()}} |
{{lang.words.return|title()}} {{lang.words.to}} {{lang.words.master|title()}} state |
|
|
|
|
|
{{ checkbox('kp', title='If checked Roxy-WI will restart Keepalived') }} |
{{ checkbox('add_return_to_master', checked='checked') }} |
|