Changes for page HA Proxy
Last modified by Sungwon Lee on 2026/07/05 03:54
From version
2.1
edited by Sungwon Lee
on 2026/07/05 03:54
on 2026/07/05 03:54
Change comment:
There is no comment for this version
To version 1.1
edited by Sungwon Lee
on 2026/07/05 03:53
on 2026/07/05 03:53
Change comment:
Auto-saved during real-time collaboration
Summary
Details
- Page properties
-
- Content
-
... ... @@ -1,7 +1,5 @@ 1 1 etc/haproxy/haproxy.cfg 2 2 3 -1번노드, 2번노드 동일 설정 4 - 5 5 {{code}} 6 6 # ===================================================================== 7 7 # 1. HTTP (Port 80) Configuration ... ... @@ -72,7 +72,6 @@ 72 72 73 73 {{/code}} 74 74 75 -/etc/keepalived/keepalived.conf 76 76 77 77 {{code}} 78 78 vrrp_script check_haproxy { ... ... @@ -108,42 +108,3 @@ 108 108 } 109 109 110 110 {{/code}} 111 - 112 -2번 노드 113 - 114 -{{code}} 115 -vrrp_script check_haproxy { 116 - script "killall -0 haproxy" 117 - interval 2 118 - weight 2 119 -} 120 - 121 -vrrp_instance VI_1 { 122 - state BACKUP # Set to BACKUP 123 - interface ens3 # Change to your actual 10.10.3.0/24 interface name 124 - virtual_router_id 51 # Must match MASTER 125 - priority 100 # Lower priority than MASTER 126 - advert_int 1 127 - 128 - authentication { 129 - auth_type PASS 130 - auth_pass k8s_secret # Must match MASTER 131 - } 132 - 133 - unicast_src_ip 10.10.3.132 134 - unicast_peer { 135 - 10.10.3.131 136 - } 137 - 138 - virtual_ipaddress { 139 - 10.10.3.130/24 # Same Virtual IP (VIP) as MASTER 140 - } 141 - 142 - track_script { 143 - check_haproxy 144 - } 145 -} 146 - 147 -{{/code}} 148 - 149 -