In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Keepalived High availability Cluster keepalived High availability Cluster means that a master server and a backup server share a virtual ip address. When the master server goes down, the backup server starts to work, thus avoiding access accidents. Set up keepalived high availability cluster [master] # yum-y install keepalived # vim / etc/keepalived/keepalived.conf vrrp_instance webha {state MASTER master server interface eth0 network interface priority 130 priority authentication {auth_type PASS auth_pass 123456 master, Backup password same} virtual_ipaddress {192.168.4.251 Virtual Network address}} # service keepalived start # chkconfig keepalived on Boot # chkconfig-- list | grep keepalived # ipadd show | grep 192.168.4 check which server the virtual ip is on [slave] # vim / etc/keepalived/keepalived.confvrrp_instance webha {state SLAVE/BACKUP backup server interface eth0 network interface priority 130 priority authentication {auth_type PASS auth_pass 123456 main, Backup password same} virtual_ipaddress {192.168.4.251 virtual network address}} # service keepalived start # curl http://192.168.4.251
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.