随笔分类 - C 运维:(高可用集群)
摘要:Nacos+mysql集群部署 一、简介 1、环境准备 参考连接:https://www.cnblogs.com/larscheng/p/11427733.html · JDK8安装在各台机器上,此处不再赘述。 · Ubuntu16.04(ip:192.168.227.84/85/86) · MyS
阅读全文
摘要:1 前言 Nacos配置集群后有多个地址,需要配置slb进行统一接口接入,由于开发代码指定Tcp协议,故nginx转发只能使用四层转发,nginx需要stream模块插件来实现。 1.1 安装nginx 1.1.1 安装Nginx 此处不再赘述nginx安装步骤。 1.2 配置stream模块 1.
阅读全文
摘要:脚本如下: #!/usr/bin/env perl use strict; use warnings FATAL => 'all'; use Getopt::Long; my ( $command, $ssh_user, $orig_master_host, $orig_master_ip, $or
阅读全文
摘要:1.master_check_ssh --conf=/etc/app1.conf 这个检查就报错的我觉得百分之九十都是ssh之间连接问题。务必要保证各节点之间都可以免秘钥访问! 2.master_check_repl --conf=/etc/app1.conf (1)报错代码: 类似就是说什么cop
阅读全文