Setup Active-Passive Cluster with Keepalived & HAProxy (Two raspberry pis) HD

20.03.2020
Keepalived is a routing software written in C that provides simple and robust facilities for loadbalancing and high-availability to Linux systems. In this video we will talk about this technology and implement it along side HAProxy as a high availability (failover) Chapters 0:00 Intro 2:10 What is failover? 4:30 What are we building 7:20 KeepAlived Example * What is Keepalived? * Setup Keepalived with HAProxy * VRRP/VIP * Two rapsberrypis with keepalived and haproxy sudo apt-get install keepalived sudo vim /etc/keepalived/keepalived.conf vrrp_instance pi1 { state MASTER interface eth0 virtual_router_id 101 priority 100 authentication { auth_type PASS auth_pass 1234 } virtual_ipaddress { 192.168.254.100 } } vrrp_instance pi2 { state BACKUP interface wlan0 virtual_router_id 102 priority 200 authentication { auth_type PASS auth_pass 1234 } virtual_ipaddress { 192.168.254.100 } } Software Architecture Videos https://www.youtube.com/playlist?list=PLQnljOFTspQXNP6mQchJVP3S-3oKGEuw9 Database Engineering Videos https://www.youtube.com/playlist?list=PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2 Network Engineering Videos https://www.youtube.com/playlist?list=PLQnljOFTspQUBSgBXilKhRMJ1ACqr7pTr Load Balancing and Proxies Videos https://www.youtube.com/playlist?list=PLQnljOFTspQVMeBmWI2AhxULWEeo7AaMC Postgres Videos https://www.youtube.com/playlist?list=PLQnljOFTspQWGrOqslniFlRcwxyY94cjj Docker https://www.youtube.com/playlist?list=PLQnljOFTspQWsD-rakNw1C20c1JI8UR1r Programming Pattern Videos https://www.youtube.com/playlist?list=PLQnljOFTspQV1emqxKbcP5esAf4zpqWpe Web Security Videos https://www.youtube.com/playlist?list=PLQnljOFTspQU3YDMRSMvzflh_qXoz9zfv HTTP Videos https://www.youtube.com/playlist?list=PLQnljOFTspQU6zO0drAYHFtkkyfNJw1IO Python Videos https://www.youtube.com/playlist?list=PLQnljOFTspQU_M83ARz8mDdr4LThzkBKX Javascript Videos https://www.youtube.com/playlist?list=PLQnljOFTspQWab0g3W6ZaDM6_Buh20EWM Discord Server https://discord.gg/CsFbFce Support me on PayPal https://bit.ly/33ENps4 Become a Patreon https://www.patreon.com/join/hnasr? Stay Awesome, Hussein

Похожие видео

Показать еще