In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Main points of content:
1. Experimental environment
2. Deployment of load balancer scheduler
First, the experimental environment:
Based on the previously deployed multi-Master cluster architecture, deploy two scheduler servers (I use nginx here) to achieve load balancing:
Kubernetes binary cluster deployment-- etcd storage components, flannel network components deployment:
Https://blog.51cto.com/14475876/2470049
Kubernetes binary cluster deployment 1-single master cluster deployment + multiple master clusters and deployment:
Https://blog.51cto.com/14475876/2470063
Server information
Role IP address master01192.168.109.138master02192.168.109.230 Scheduler 1 (nginx01) 192.168.109.131 Scheduler 1 (nginx02) 192.168.109.132node01 node 192.168.109.133node02 node 192.168.109.137 Virtual ip192.168.109.100
Two scripts are required:
Number one: keepalived.conf! Configuration File for keepalived global_defs {# receive email address notification_email {acassen@firewall.loc failover@firewall.loc sysadmin@firewall.loc} # email sending address notification_email_from Alexandre.Cassen@firewall.loc smtp_server 127.0.0.1 smtp_connect_timeout 30 router_id NGINX_MASTER} vrrp_script check_nginx {script "/ usr/local/nginx/sbin/ Check_nginx.sh "} vrrp_instance VI_1 {state MASTER interface eth0 virtual_router_id 51 # VRRP routing ID instance Each instance is a unique priority 100 # priority, and the slave server sets 90 advert_int 1 # to specify the VRRP heartbeat packet advertisement interval. Default 1 second authentication {auth_type PASS auth_pass 1111} virtual_ipaddress {10.0.0.188 + 24} track_script {check_nginx}} mkdir / usr/local/nginx/sbin/-pvim / usr/local/nginx/sbin/check_nginx.shcount=$ (ps-ef | grep nginx | egrep-cv "grep | $") if ["$count"-eq 0] Then / etc/init.d/keepalived stopfichmod + x / usr/local/nginx/sbin/check_nginx.sh second: nginxcat > / etc/yum.repos.d/nginx.repo
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.