环境准备
主机 | 配置说明 |
---|---|
物理配置 | cpu 4核以上,内存4GB以上,磁盘100GB以上 |
操作系统 | Linux version 4.19.90-2102.2.0.0062.ctl2.aarch64 (abuild@obs7) (gcc version 7.3.0 (GCC)) |
网络 | 数据交换服务器,需要和需要共享数据的数据库、大数据平台之间,网络设备畅通。如果存在网络不畅通情况下,必须通过前置机畅通,通过前置机跳转实现数据交换服务。 |
环境检查
1、修改/etc/hosts
- 注:三个主机名不允许一样,否则安装时会提示异常,另主机名不建议改为类似于192.168.180.131 localhost这种方式
软件下载
集群软件下载
http://zbomc.com:8888/ZCBUS/2.0/test/zcbus.grid.docker.v2.0.1.tar.gz单机版下载
http://zbomc.com:8888/ZCBUS/2.0/test/zcbus.simple_server.docker.v2.0.1.aarch64.tar.gz
解压
gzip -d zcbus.grid.docker.v2.0.1.tar.gz
tar xvf zcbus.grid.docker.v2.0.1.tar
gzip -d zcbus.simple_server.docker.v2.0.1.aarch64.tar.gz
tar xvf zcbus.simple_server.docker.v2.0.1.aarch64.tar
mv simple_server ./grid/soft/
- 说明:单机版本下载后,解压的simple_server目录移动到grid对应的soft目录下既可以开启ZCBUS集群安装之旅
配置文件说明:
- grid/conf/ssh.conf
- 配置多个节点之间SSH互信
- grid/conf/grid.ini
- 配置ZCBUS集群部署关系
集群配置文件
- ssh.conf
#ssh_trust
[host1]
name=iZ2ze97seqad5b4siy6ax0Z
host=172.17.26.59
port=22
user=root
password=ETzlrQT1COhSVKNe
[host2]
name=iZ2ze97seqad5b4siy6awzZ
host=172.17.26.60
port=22
user=root
password=ETzlrQT1COhSVKNe
[host3]
name=iZ2ze97seqad5b4siy6awyZ
host=172.17.26.61
port=22
user=root
password=ETzlrQT1COhSVKNe
- grid.ini
####################################################################
## Copyright(c) ZCBUS Corporation 2022. All rights reserved. ##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## can help to populate the variables with the appropriate ##
## values. ##
## ##
## IMPORTANT NOTE: This file should be secured to have read ##
## permission only by the zcbus user or an administrator who ##
## own this installation to protect any sensitive input values. ##
## ##
####################################################################
#-------------------------------------------------------------------------------
# for install zcbus dirpath
#-------------------------------------------------------------------------------
zcbus_data_path="/data/zc01"
#-------------------------------------------------------------------------------
# for install zcbus's dockers dirpath
#-------------------------------------------------------------------------------
zcbus_docker_path="/data/dk"
#-------------------------------------------------------------------------------
# for install kafka basic info
#-------------------------------------------------------------------------------
#kafka_cluster
kafka_ports="12181 12888 13888 19092"
## kafka副本数
FACTOR_NUM=2
## kafka内存,单位:G
KAFKA_MEM=1
ZC_ZK_MEM=1
ZOOK_PORT_1=`echo "${kafka_ports}"|awk '{print $1}'`
ZOOK_PORT_2=`echo "${kafka_ports}"|awk '{print $2}'`
ZOOK_PORT_3=`echo "${kafka_ports}"|awk '{print $3}'`
KAFKA_PORT=`echo "${kafka_ports}"|awk '{print $4}'`
#KAFKA_DIR="${zcbus_data_path}/kafka/data/kafka-logs"
#ZOOK_DIR="${zcbus_data_path}/kafka/data/zookeeper"
#-------------------------------------------------------------------------------
# for install zk user
#-------------------------------------------------------------------------------
zkgroup=zkgroup
zkuser=zkuser
zkpwd=zkpwd
#-------------------------------------------------------------------------------
# for install kfk user
#-------------------------------------------------------------------------------
kfkgroup=kfkgroup
kfkuser=kfkuser
kfkpwd=kfkpwd
#-------------------------------------------------------------------------------
# for install kafka node
#-------------------------------------------------------------------------------
ZCBUS_KAFKA=host1,host2,host3
#-------------------------------------------------------------------------------
# for install zcbus node
#-------------------------------------------------------------------------------
ZCBUS_NODES=host1,host2,host3
#-------------------------------------------------------------------------------
# for zcbus mysql master db host
#-------------------------------------------------------------------------------
ZCBUS_MASTER_DB=host1
#-------------------------------------------------------------------------------
# for zcbus mysql slave db host
#-------------------------------------------------------------------------------
ZCBUS_SLAVE_DB=host2
#-------------------------------------------------------------------------------
# for zcbus master node info
#-------------------------------------------------------------------------------
ZCBUS_MASTER_NODE=host1
#-------------------------------------------------------------------------------
# for zcbus kafka Authentication method,0 no Authentication,1 sasl
#-------------------------------------------------------------------------------
ZCBUS_SASL=0
#-------------------------------------------------------------------------------
# for zcbus soft and cache minimum limit 500GB
#-------------------------------------------------------------------------------
zcbus_data_limit=50G
#-------------------------------------------------------------------------------
# for zcbus docker images minimum limit 10GB
#-------------------------------------------------------------------------------
zcbus_docker_limit=10G
#-------------------------------------------------------------------------------
# for ZCBUS use memory min limit set, Suggest setting the minimum value 4GB
#-------------------------------------------------------------------------------
zcbus_memory_limit=4G
安装部署日志
- zcsrv.sh
[root@iZ2ze97seqad5b4siy6ax0Z grid]# sh zcsrv.sh instal
➜ ***************************************************************************************************
➜ ****************************** Ready Install for zcbus grid cluster ....***************************
➜ ****************************** check variabels for zcbus.properties ....***************************
➜ ***************************************************************************************************
➜ check status ZC_DATA_HOME sucessfull..
➜ check status ZC_DOCKER_HOME sucessfull..
➜ check status ZC_TYPE sucessfull..
➜ check status ZC_CUSTOMER_URL sucessfull..
➜ check status ZC_CACHE_SERVER sucessfull..
➜ check status ZC_NET_DB_SERVER_DBNAME sucessfull..
➜ check status ZC_NET_DB_SERVER_HOST sucessfull..
➜ check status ZC_NET_DB_SERVER_PORT sucessfull..
➜ check status ZC_NET_DB_SERVER_USER sucessfull..
➜ check status ZC_NET_DB_SERVER_PWD sucessfull..
➜ check status ZC_NET_DB_SERVER_ID sucessfull..
➜ check status ZC_DB_IPPORT sucessfull..
➜ check status ZC_METHOD sucessfull..
➜ check status ZC_SERV_LOCALTION sucessfull..
➜ check status ZC_IF_ADD_DEFAULT_ZCBUS sucessfull..
➜ check status ZC_INSTALL_MODE sucessfull..
➜ check status ZC_CACHE_SASL sucessfull..
will change zcbus.properties's restapi install mode ...
[INFO] whether to start install zcbus grid... Please input 'y/Y' to continue/press Ctrl+C to exit :y
[Step 1]: set shh trust ...
[Step 2]: check check hostname info ...
Note: Check Node 172.17.26.59's hostname...
Warning: Permanently added '172.17.26.59' (ECDSA) to the list of known hosts.
Note: Check Node 172.17.26.60's hostname...
Warning: Permanently added '172.17.26.60' (ECDSA) to the list of known hosts.
Note: Check Node 172.17.26.61's hostname...
Warning: Permanently added '172.17.26.61' (ECDSA) to the list of known hosts.
Note: Check Hostname for 172.17.26.59
172.17.26.60
172.17.26.61 ok ...
[Step 3]: check install dirs ...
Note: 172.17.26.59
➜ Dir /data/zc01 is not exist,mkdir it!!
✔ mkdir /data/zc01 successfully ...
✖ Check failed for limit 50G > 29G[/data/zc01]...
[root@iZ2ze97seqad5b4siy6ax0Z grid]# df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 1984704 0 1984704 0% /dev
tmpfs 1993088 0 1993088 0% /dev/shm
tmpfs 1993088 11648 1981440 1% /run
tmpfs 1993088 0 1993088 0% /sys/fs/cgroup
/dev/vda2 40960420 8945672 30123460 23% /
/dev/vda1 195372 9944 185428 6% /boot/efi
tmpfs 398656 0 398656 0% /run/user/0
[root@iZ2ze97seqad5b4siy6ax0Z grid]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 2.0G 12M 1.9G 1% /run
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/vda2 40G 8.6G 29G 23% /
/dev/vda1 191M 9.8M 182M 6% /boot/efi
tmpfs 390M 0 390M 0% /run/user/0
[root@iZ2ze97seqad5b4siy6ax0Z grid]#
[root@iZ2ze97seqad5b4siy6ax0Z grid]#
[root@iZ2ze97seqad5b4siy6ax0Z grid]# ls
bin conf LICENSE README.txt scripts soft zcsrv.sh
[root@iZ2ze97seqad5b4siy6ax0Z grid]#
[root@iZ2ze97seqad5b4siy6ax0Z grid]#
[root@iZ2ze97seqad5b4siy6ax0Z grid]#
[root@iZ2ze97seqad5b4siy6ax0Z grid]# vi conf/grid.ini
[root@iZ2ze97seqad5b4siy6ax0Z grid]#
[root@iZ2ze97seqad5b4siy6ax0Z grid]# ls
bin conf LICENSE README.txt scripts soft zcsrv.sh
[root@iZ2ze97seqad5b4siy6ax0Z grid]#
[root@iZ2ze97seqad5b4siy6ax0Z grid]# sh zcsrv.sh install
➜ ***************************************************************************************************
➜ ****************************** Ready Install for zcbus grid cluster ....***************************
➜ ****************************** check variabels for zcbus.properties ....***************************
➜ ***************************************************************************************************
➜ check status ZC_DATA_HOME sucessfull..
➜ check status ZC_DOCKER_HOME sucessfull..
➜ check status ZC_TYPE sucessfull..
➜ check status ZC_CUSTOMER_URL sucessfull..
➜ check status ZC_CACHE_SERVER sucessfull..
➜ check status ZC_NET_DB_SERVER_DBNAME sucessfull..
➜ check status ZC_NET_DB_SERVER_HOST sucessfull..
➜ check status ZC_NET_DB_SERVER_PORT sucessfull..
➜ check status ZC_NET_DB_SERVER_USER sucessfull..
➜ check status ZC_NET_DB_SERVER_PWD sucessfull..
➜ check status ZC_NET_DB_SERVER_ID sucessfull..
➜ check status ZC_DB_IPPORT sucessfull..
➜ check status ZC_METHOD sucessfull..
➜ check status ZC_SERV_LOCALTION sucessfull..
➜ check status ZC_IF_ADD_DEFAULT_ZCBUS sucessfull..
➜ check status ZC_INSTALL_MODE sucessfull..
➜ check status ZC_CACHE_SASL sucessfull..
will change zcbus.properties's restapi install mode ...
[INFO] whether to start install zcbus grid... Please input 'y/Y' to continue/press Ctrl+C to exit :y
[Step 1]: set shh trust ...
[Step 2]: check check hostname info ...
Note: Check Node 172.17.26.59's hostname...
Note: Check Node 172.17.26.60's hostname...
Note: Check Node 172.17.26.61's hostname...
Note: Check Hostname for 172.17.26.59
172.17.26.60
172.17.26.61 ok ...
[Step 3]: check install dirs ...
Note: 172.17.26.59
➜ Dir /data/zc01 is exist!!
Check sucessfull for limit 20G < 29G[/data/zc01]...
Note: 172.17.26.60
➜ Dir /data/zc01 is not exist,mkdir it!!
✔ mkdir /data/zc01 successfully ...
Check sucessfull for limit 20G < 36G[/data/zc01]...
Note: 172.17.26.61
➜ Dir /data/zc01 is not exist,mkdir it!!
✔ mkdir /data/zc01 successfully ...
Check sucessfull for limit 20G < 32G[/data/zc01]...
Note: 172.17.26.59
➜ Dir /data/dk is exist!!
Check sucessfull for limit 10G < 29G[/data/dk]...
Note: 172.17.26.60
➜ Dir /data/dk is exist!!
Check sucessfull for limit 10G < 36G[/data/dk]...
Note: 172.17.26.61
➜ Dir /data/dk is exist!!
Check sucessfull for limit 10G < 32G[/data/dk]...
✖ Check failed for limit 0 < 4...
[root@iZ2ze97seqad5b4siy6ax0Z grid]# free -g
total used free shared buff/cache available
Mem: 3 0 0 0 2 2
Swap: 0 0 0
[root@iZ2ze97seqad5b4siy6ax0Z grid]#
[root@iZ2ze97seqad5b4siy6ax0Z grid]# vi conf/grid.ini
[root@iZ2ze97seqad5b4siy6ax0Z grid]# ls
bin conf LICENSE README.txt scripts soft zcsrv.sh
[root@iZ2ze97seqad5b4siy6ax0Z grid]#
[root@iZ2ze97seqad5b4siy6ax0Z grid]#
[root@iZ2ze97seqad5b4siy6ax0Z grid]#
[root@iZ2ze97seqad5b4siy6ax0Z grid]#
[root@iZ2ze97seqad5b4siy6ax0Z grid]#
[root@iZ2ze97seqad5b4siy6ax0Z grid]# sh zcsrv.sh install
➜ ***************************************************************************************************
➜ ****************************** Ready Install for zcbus grid cluster ....***************************
➜ ****************************** check variabels for zcbus.properties ....***************************
➜ ***************************************************************************************************
➜ check status ZC_DATA_HOME sucessfull..
➜ check status ZC_DOCKER_HOME sucessfull..
➜ check status ZC_TYPE sucessfull..
➜ check status ZC_CUSTOMER_URL sucessfull..
➜ check status ZC_CACHE_SERVER sucessfull..
➜ check status ZC_NET_DB_SERVER_DBNAME sucessfull..
➜ check status ZC_NET_DB_SERVER_HOST sucessfull..
➜ check status ZC_NET_DB_SERVER_PORT sucessfull..
➜ check status ZC_NET_DB_SERVER_USER sucessfull..
➜ check status ZC_NET_DB_SERVER_PWD sucessfull..
➜ check status ZC_NET_DB_SERVER_ID sucessfull..
➜ check status ZC_DB_IPPORT sucessfull..
➜ check status ZC_METHOD sucessfull..
➜ check status ZC_SERV_LOCALTION sucessfull..
➜ check status ZC_IF_ADD_DEFAULT_ZCBUS sucessfull..
➜ check status ZC_INSTALL_MODE sucessfull..
➜ check status ZC_CACHE_SASL sucessfull..
will change zcbus.properties's restapi install mode ...
[INFO] whether to start install zcbus grid... Please input 'y/Y' to continue/press Ctrl+C to exit :y
[Step 1]: set shh trust ...
[Step 2]: check check hostname info ...
Note: Check Node 172.17.26.59's hostname...
Note: Check Node 172.17.26.60's hostname...
Note: Check Node 172.17.26.61's hostname...
Note: Check Hostname for 172.17.26.59
172.17.26.60
172.17.26.61 ok ...
[Step 3]: check install dirs ...
Note: 172.17.26.59
➜ Dir /data/zc01 is exist!!
Check sucessfull for limit 20G < 29G[/data/zc01]...
Note: 172.17.26.60
➜ Dir /data/zc01 is exist!!
Check sucessfull for limit 20G < 36G[/data/zc01]...
Note: 172.17.26.61
➜ Dir /data/zc01 is exist!!
Check sucessfull for limit 20G < 32G[/data/zc01]...
Note: 172.17.26.59
➜ Dir /data/dk is exist!!
Check sucessfull for limit 10G < 29G[/data/dk]...
Note: 172.17.26.60
➜ Dir /data/dk is exist!!
Check sucessfull for limit 10G < 36G[/data/dk]...
Note: 172.17.26.61
➜ Dir /data/dk is exist!!
Check sucessfull for limit 10G < 32G[/data/dk]...
Check sucessfull for limit 0 >= 0...
Check sucessfull for limit 3 >= 0...
Check sucessfull for limit 3 >= 0...
[Step 4]: check all host ...
➜ check all node ok ...
[Step 5]: Sync mode to 172.17.26.59 ...
Note: mkdir -p /data/zc01/grid/bin
Note: ready send file ./bin/pwd_encode.aarch64
Note: Copying ./bin/pwd_encode.aarch64 to root:172.17.26.59:/usr/bin/
➜ Copy ./bin/pwd_encode.aarch64 to root:172.17.26.59:/usr/bin/ ok ...
Note: ready send file ./bin/sshpass.aarch64
Note: Copying ./bin/sshpass.aarch64 to root:172.17.26.59:/data/zc01/grid/bin/
➜ Copy ./bin/sshpass.aarch64 to root:172.17.26.59:/data/zc01/grid/bin/ ok ...
Note: ready send file ./bin/ssh_trust.aarch64
Note: Copying ./bin/ssh_trust.aarch64 to root:172.17.26.59:/data/zc01/grid/bin/
➜ Copy ./bin/ssh_trust.aarch64 to root:172.17.26.59:/data/zc01/grid/bin/ ok ...
Note: ready send file ./zcsrv.sh
Note: Copying ./zcsrv.sh to root:172.17.26.59:/data/zc01/grid/
➜ Copy ./zcsrv.sh to root:172.17.26.59:/data/zc01/grid/ ok ...
Note: ready send file ./.env
Note: Copying ./.env to root:172.17.26.59:/data/zc01/grid/
➜ Copy ./.env to root:172.17.26.59:/data/zc01/grid/ ok ...
Note: ready send directory ./conf
Note: Copying ./conf to root:172.17.26.59:/data/zc01/grid/
➜ Copy ./conf to root:172.17.26.59:/data/zc01/grid/ ok ...
Note: ready send directory ./scripts
Note: Copying ./scripts to root:172.17.26.59:/data/zc01/grid/
➜ Copy ./scripts to root:172.17.26.59:/data/zc01/grid/ ok ...
[Step 6]: Sync mode to 172.17.26.60 ...
Note: mkdir -p /data/zc01/grid/bin
Note: ready send file ./bin/pwd_encode.aarch64
Note: Copying ./bin/pwd_encode.aarch64 to root:172.17.26.60:/usr/bin/
➜ Copy ./bin/pwd_encode.aarch64 to root:172.17.26.60:/usr/bin/ ok ...
Note: ready send file ./bin/sshpass.aarch64
Note: Copying ./bin/sshpass.aarch64 to root:172.17.26.60:/data/zc01/grid/bin/
➜ Copy ./bin/sshpass.aarch64 to root:172.17.26.60:/data/zc01/grid/bin/ ok ...
Note: ready send file ./bin/ssh_trust.aarch64
Note: Copying ./bin/ssh_trust.aarch64 to root:172.17.26.60:/data/zc01/grid/bin/
➜ Copy ./bin/ssh_trust.aarch64 to root:172.17.26.60:/data/zc01/grid/bin/ ok ...
Note: ready send file ./zcsrv.sh
Note: Copying ./zcsrv.sh to root:172.17.26.60:/data/zc01/grid/
➜ Copy ./zcsrv.sh to root:172.17.26.60:/data/zc01/grid/ ok ...
Note: ready send file ./.env
Note: Copying ./.env to root:172.17.26.60:/data/zc01/grid/
➜ Copy ./.env to root:172.17.26.60:/data/zc01/grid/ ok ...
Note: ready send directory ./conf
Note: Copying ./conf to root:172.17.26.60:/data/zc01/grid/
➜ Copy ./conf to root:172.17.26.60:/data/zc01/grid/ ok ...
Note: ready send directory ./scripts
Note: Copying ./scripts to root:172.17.26.60:/data/zc01/grid/
➜ Copy ./scripts to root:172.17.26.60:/data/zc01/grid/ ok ...
[Step 7]: Sync mode to 172.17.26.61 ...
Note: mkdir -p /data/zc01/grid/bin
Note: ready send file ./bin/pwd_encode.aarch64
Note: Copying ./bin/pwd_encode.aarch64 to root:172.17.26.61:/usr/bin/
➜ Copy ./bin/pwd_encode.aarch64 to root:172.17.26.61:/usr/bin/ ok ...
Note: ready send file ./bin/sshpass.aarch64
Note: Copying ./bin/sshpass.aarch64 to root:172.17.26.61:/data/zc01/grid/bin/
➜ Copy ./bin/sshpass.aarch64 to root:172.17.26.61:/data/zc01/grid/bin/ ok ...
Note: ready send file ./bin/ssh_trust.aarch64
Note: Copying ./bin/ssh_trust.aarch64 to root:172.17.26.61:/data/zc01/grid/bin/
➜ Copy ./bin/ssh_trust.aarch64 to root:172.17.26.61:/data/zc01/grid/bin/ ok ...
Note: ready send file ./zcsrv.sh
Note: Copying ./zcsrv.sh to root:172.17.26.61:/data/zc01/grid/
➜ Copy ./zcsrv.sh to root:172.17.26.61:/data/zc01/grid/ ok ...
Note: ready send file ./.env
Note: Copying ./.env to root:172.17.26.61:/data/zc01/grid/
➜ Copy ./.env to root:172.17.26.61:/data/zc01/grid/ ok ...
Note: ready send directory ./conf
Note: Copying ./conf to root:172.17.26.61:/data/zc01/grid/
➜ Copy ./conf to root:172.17.26.61:/data/zc01/grid/ ok ...
Note: ready send directory ./scripts
Note: Copying ./scripts to root:172.17.26.61:/data/zc01/grid/
➜ Copy ./scripts to root:172.17.26.61:/data/zc01/grid/ ok ...
Note: ready send directory soft/jdk
Note: Copying soft/jdk to root:172.17.26.59:/data/zc01
➜ Copy soft/jdk to root:172.17.26.59:/data/zc01 ok ...
Note: ready send directory soft/jdk
Note: Copying soft/jdk to root:172.17.26.60:/data/zc01
➜ Copy soft/jdk to root:172.17.26.60:/data/zc01 ok ...
Note: ready send directory soft/jdk
Note: Copying soft/jdk to root:172.17.26.61:/data/zc01
➜ Copy soft/jdk to root:172.17.26.61:/data/zc01 ok ...
➜ ============================================================172.17.26.59======================================================
groupadd: group 'zkgroup' already exists
useradd: user 'zkuser' already exists
Note: ready send directory soft/kafka/zk
Note: Copying soft/kafka/zk to root:172.17.26.59:/data/zc01/kafka/
➜ Copy soft/kafka/zk to root:172.17.26.59:/data/zc01/kafka/ ok ...
Note: ready send directory soft/kafka/zk_sasl_lib
Note: Copying soft/kafka/zk_sasl_lib to root:172.17.26.59:/data/zc01/kafka/zk/
➜ Copy soft/kafka/zk_sasl_lib to root:172.17.26.59:/data/zc01/kafka/zk/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.59/zk/zcbus_zookeeper
Note: Copying /tmp/zcbus/kafka/172.17.26.59/zk/zcbus_zookeeper to root:172.17.26.59:/etc/init.d/
➜ Copy /tmp/zcbus/kafka/172.17.26.59/zk/zcbus_zookeeper to root:172.17.26.59:/etc/init.d/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.59/zk/zoo_jaas.conf
Note: Copying /tmp/zcbus/kafka/172.17.26.59/zk/zoo_jaas.conf to root:172.17.26.59:/data/zc01/kafka/zk/conf/
➜ Copy /tmp/zcbus/kafka/172.17.26.59/zk/zoo_jaas.conf to root:172.17.26.59:/data/zc01/kafka/zk/conf/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.59/zk/zkEnv.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.59/zk/zkEnv.sh to root:172.17.26.59:/data/zc01/kafka/zk/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.59/zk/zkEnv.sh to root:172.17.26.59:/data/zc01/kafka/zk/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.59/zk/zoo.cfg
Note: Copying /tmp/zcbus/kafka/172.17.26.59/zk/zoo.cfg to root:172.17.26.59:/data/zc01/kafka/zk/conf/
➜ Copy /tmp/zcbus/kafka/172.17.26.59/zk/zoo.cfg to root:172.17.26.59:/data/zc01/kafka/zk/conf/ ok ...
ZooKeeper JMX enabled by default
Using config: /data/zc01/kafka/zk/bin/../conf/zoo.cfg
Starting zookeeper ... STARTED
➜ ============================================================172.17.26.60======================================================
groupadd: group 'zkgroup' already exists
useradd: user 'zkuser' already exists
Note: ready send directory soft/kafka/zk
Note: Copying soft/kafka/zk to root:172.17.26.60:/data/zc01/kafka/
➜ Copy soft/kafka/zk to root:172.17.26.60:/data/zc01/kafka/ ok ...
Note: ready send directory soft/kafka/zk_sasl_lib
Note: Copying soft/kafka/zk_sasl_lib to root:172.17.26.60:/data/zc01/kafka/zk/
➜ Copy soft/kafka/zk_sasl_lib to root:172.17.26.60:/data/zc01/kafka/zk/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.60/zk/zcbus_zookeeper
Note: Copying /tmp/zcbus/kafka/172.17.26.60/zk/zcbus_zookeeper to root:172.17.26.60:/etc/init.d/
➜ Copy /tmp/zcbus/kafka/172.17.26.60/zk/zcbus_zookeeper to root:172.17.26.60:/etc/init.d/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.60/zk/zoo_jaas.conf
Note: Copying /tmp/zcbus/kafka/172.17.26.60/zk/zoo_jaas.conf to root:172.17.26.60:/data/zc01/kafka/zk/conf/
➜ Copy /tmp/zcbus/kafka/172.17.26.60/zk/zoo_jaas.conf to root:172.17.26.60:/data/zc01/kafka/zk/conf/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.60/zk/zkEnv.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.60/zk/zkEnv.sh to root:172.17.26.60:/data/zc01/kafka/zk/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.60/zk/zkEnv.sh to root:172.17.26.60:/data/zc01/kafka/zk/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.60/zk/zoo.cfg
Note: Copying /tmp/zcbus/kafka/172.17.26.60/zk/zoo.cfg to root:172.17.26.60:/data/zc01/kafka/zk/conf/
➜ Copy /tmp/zcbus/kafka/172.17.26.60/zk/zoo.cfg to root:172.17.26.60:/data/zc01/kafka/zk/conf/ ok ...
ZooKeeper JMX enabled by default
Using config: /data/zc01/kafka/zk/bin/../conf/zoo.cfg
Starting zookeeper ... STARTED
➜ ============================================================172.17.26.61======================================================
groupadd: group 'zkgroup' already exists
useradd: user 'zkuser' already exists
Note: ready send directory soft/kafka/zk
Note: Copying soft/kafka/zk to root:172.17.26.61:/data/zc01/kafka/
➜ Copy soft/kafka/zk to root:172.17.26.61:/data/zc01/kafka/ ok ...
Note: ready send directory soft/kafka/zk_sasl_lib
Note: Copying soft/kafka/zk_sasl_lib to root:172.17.26.61:/data/zc01/kafka/zk/
➜ Copy soft/kafka/zk_sasl_lib to root:172.17.26.61:/data/zc01/kafka/zk/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.61/zk/zcbus_zookeeper
Note: Copying /tmp/zcbus/kafka/172.17.26.61/zk/zcbus_zookeeper to root:172.17.26.61:/etc/init.d/
➜ Copy /tmp/zcbus/kafka/172.17.26.61/zk/zcbus_zookeeper to root:172.17.26.61:/etc/init.d/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.61/zk/zoo_jaas.conf
Note: Copying /tmp/zcbus/kafka/172.17.26.61/zk/zoo_jaas.conf to root:172.17.26.61:/data/zc01/kafka/zk/conf/
➜ Copy /tmp/zcbus/kafka/172.17.26.61/zk/zoo_jaas.conf to root:172.17.26.61:/data/zc01/kafka/zk/conf/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.61/zk/zkEnv.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.61/zk/zkEnv.sh to root:172.17.26.61:/data/zc01/kafka/zk/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.61/zk/zkEnv.sh to root:172.17.26.61:/data/zc01/kafka/zk/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.61/zk/zoo.cfg
Note: Copying /tmp/zcbus/kafka/172.17.26.61/zk/zoo.cfg to root:172.17.26.61:/data/zc01/kafka/zk/conf/
➜ Copy /tmp/zcbus/kafka/172.17.26.61/zk/zoo.cfg to root:172.17.26.61:/data/zc01/kafka/zk/conf/ ok ...
ZooKeeper JMX enabled by default
Using config: /data/zc01/kafka/zk/bin/../conf/zoo.cfg
Starting zookeeper ... STARTED
===========host1 host2 host3============
➜ for 172.17.26.59 add user
groupadd: group 'kfkgroup' already exists
useradd: user 'kfkuser' already exists
Note: ready send directory soft/kafka/kafka
Note: Copying soft/kafka/kafka to root:172.17.26.59:/data/zc01/kafka/
➜ Copy soft/kafka/kafka to root:172.17.26.59:/data/zc01/kafka/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.59/kafka/zcbus_kafka
Note: Copying /tmp/zcbus/kafka/172.17.26.59/kafka/zcbus_kafka to root:172.17.26.59:/etc/init.d/
➜ Copy /tmp/zcbus/kafka/172.17.26.59/kafka/zcbus_kafka to root:172.17.26.59:/etc/init.d/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.59/kafka/kafka_server_jaas.conf
Note: Copying /tmp/zcbus/kafka/172.17.26.59/kafka/kafka_server_jaas.conf to root:172.17.26.59:/data/zc01/kafka/kafka/config/
➜ Copy /tmp/zcbus/kafka/172.17.26.59/kafka/kafka_server_jaas.conf to root:172.17.26.59:/data/zc01/kafka/kafka/config/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.59/kafka/producer.properties
Note: Copying /tmp/zcbus/kafka/172.17.26.59/kafka/producer.properties to root:172.17.26.59:/data/zc01/kafka/kafka/config/
➜ Copy /tmp/zcbus/kafka/172.17.26.59/kafka/producer.properties to root:172.17.26.59:/data/zc01/kafka/kafka/config/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.59/kafka/consumer.properties
Note: Copying /tmp/zcbus/kafka/172.17.26.59/kafka/consumer.properties to root:172.17.26.59:/data/zc01/kafka/kafka/config/
➜ Copy /tmp/zcbus/kafka/172.17.26.59/kafka/consumer.properties to root:172.17.26.59:/data/zc01/kafka/kafka/config/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.59/kafka/kafka-console-producer.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.59/kafka/kafka-console-producer.sh to root:172.17.26.59:/data/zc01/kafka/kafka/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.59/kafka/kafka-console-producer.sh to root:172.17.26.59:/data/zc01/kafka/kafka/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.59/kafka/kafka-console-consumer.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.59/kafka/kafka-console-consumer.sh to root:172.17.26.59:/data/zc01/kafka/kafka/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.59/kafka/kafka-console-consumer.sh to root:172.17.26.59:/data/zc01/kafka/kafka/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.59/kafka/kafka-topics.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.59/kafka/kafka-topics.sh to root:172.17.26.59:/data/zc01/kafka/kafka/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.59/kafka/kafka-topics.sh to root:172.17.26.59:/data/zc01/kafka/kafka/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.59/kafka/kafka-server-start.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.59/kafka/kafka-server-start.sh to root:172.17.26.59:/data/zc01/kafka/kafka/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.59/kafka/kafka-server-start.sh to root:172.17.26.59:/data/zc01/kafka/kafka/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.59/kafka/server.properties
Note: Copying /tmp/zcbus/kafka/172.17.26.59/kafka/server.properties to root:172.17.26.59:/data/zc01/kafka/kafka/config/
➜ Copy /tmp/zcbus/kafka/172.17.26.59/kafka/server.properties to root:172.17.26.59:/data/zc01/kafka/kafka/config/ ok ...
➜ for 172.17.26.60 add user
groupadd: group 'kfkgroup' already exists
useradd: user 'kfkuser' already exists
Note: ready send directory soft/kafka/kafka
Note: Copying soft/kafka/kafka to root:172.17.26.60:/data/zc01/kafka/
➜ Copy soft/kafka/kafka to root:172.17.26.60:/data/zc01/kafka/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.60/kafka/zcbus_kafka
Note: Copying /tmp/zcbus/kafka/172.17.26.60/kafka/zcbus_kafka to root:172.17.26.60:/etc/init.d/
➜ Copy /tmp/zcbus/kafka/172.17.26.60/kafka/zcbus_kafka to root:172.17.26.60:/etc/init.d/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.60/kafka/kafka_server_jaas.conf
Note: Copying /tmp/zcbus/kafka/172.17.26.60/kafka/kafka_server_jaas.conf to root:172.17.26.60:/data/zc01/kafka/kafka/config/
➜ Copy /tmp/zcbus/kafka/172.17.26.60/kafka/kafka_server_jaas.conf to root:172.17.26.60:/data/zc01/kafka/kafka/config/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.60/kafka/producer.properties
Note: Copying /tmp/zcbus/kafka/172.17.26.60/kafka/producer.properties to root:172.17.26.60:/data/zc01/kafka/kafka/config/
➜ Copy /tmp/zcbus/kafka/172.17.26.60/kafka/producer.properties to root:172.17.26.60:/data/zc01/kafka/kafka/config/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.60/kafka/consumer.properties
Note: Copying /tmp/zcbus/kafka/172.17.26.60/kafka/consumer.properties to root:172.17.26.60:/data/zc01/kafka/kafka/config/
➜ Copy /tmp/zcbus/kafka/172.17.26.60/kafka/consumer.properties to root:172.17.26.60:/data/zc01/kafka/kafka/config/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.60/kafka/kafka-console-producer.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.60/kafka/kafka-console-producer.sh to root:172.17.26.60:/data/zc01/kafka/kafka/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.60/kafka/kafka-console-producer.sh to root:172.17.26.60:/data/zc01/kafka/kafka/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.60/kafka/kafka-console-consumer.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.60/kafka/kafka-console-consumer.sh to root:172.17.26.60:/data/zc01/kafka/kafka/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.60/kafka/kafka-console-consumer.sh to root:172.17.26.60:/data/zc01/kafka/kafka/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.60/kafka/kafka-topics.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.60/kafka/kafka-topics.sh to root:172.17.26.60:/data/zc01/kafka/kafka/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.60/kafka/kafka-topics.sh to root:172.17.26.60:/data/zc01/kafka/kafka/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.60/kafka/kafka-server-start.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.60/kafka/kafka-server-start.sh to root:172.17.26.60:/data/zc01/kafka/kafka/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.60/kafka/kafka-server-start.sh to root:172.17.26.60:/data/zc01/kafka/kafka/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.60/kafka/server.properties
Note: Copying /tmp/zcbus/kafka/172.17.26.60/kafka/server.properties to root:172.17.26.60:/data/zc01/kafka/kafka/config/
➜ Copy /tmp/zcbus/kafka/172.17.26.60/kafka/server.properties to root:172.17.26.60:/data/zc01/kafka/kafka/config/ ok ...
➜ for 172.17.26.61 add user
groupadd: group 'kfkgroup' already exists
useradd: user 'kfkuser' already exists
Note: ready send directory soft/kafka/kafka
Note: Copying soft/kafka/kafka to root:172.17.26.61:/data/zc01/kafka/
➜ Copy soft/kafka/kafka to root:172.17.26.61:/data/zc01/kafka/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.61/kafka/zcbus_kafka
Note: Copying /tmp/zcbus/kafka/172.17.26.61/kafka/zcbus_kafka to root:172.17.26.61:/etc/init.d/
➜ Copy /tmp/zcbus/kafka/172.17.26.61/kafka/zcbus_kafka to root:172.17.26.61:/etc/init.d/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.61/kafka/kafka_server_jaas.conf
Note: Copying /tmp/zcbus/kafka/172.17.26.61/kafka/kafka_server_jaas.conf to root:172.17.26.61:/data/zc01/kafka/kafka/config/
➜ Copy /tmp/zcbus/kafka/172.17.26.61/kafka/kafka_server_jaas.conf to root:172.17.26.61:/data/zc01/kafka/kafka/config/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.61/kafka/producer.properties
Note: Copying /tmp/zcbus/kafka/172.17.26.61/kafka/producer.properties to root:172.17.26.61:/data/zc01/kafka/kafka/config/
➜ Copy /tmp/zcbus/kafka/172.17.26.61/kafka/producer.properties to root:172.17.26.61:/data/zc01/kafka/kafka/config/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.61/kafka/consumer.properties
Note: Copying /tmp/zcbus/kafka/172.17.26.61/kafka/consumer.properties to root:172.17.26.61:/data/zc01/kafka/kafka/config/
➜ Copy /tmp/zcbus/kafka/172.17.26.61/kafka/consumer.properties to root:172.17.26.61:/data/zc01/kafka/kafka/config/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.61/kafka/kafka-console-producer.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.61/kafka/kafka-console-producer.sh to root:172.17.26.61:/data/zc01/kafka/kafka/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.61/kafka/kafka-console-producer.sh to root:172.17.26.61:/data/zc01/kafka/kafka/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.61/kafka/kafka-console-consumer.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.61/kafka/kafka-console-consumer.sh to root:172.17.26.61:/data/zc01/kafka/kafka/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.61/kafka/kafka-console-consumer.sh to root:172.17.26.61:/data/zc01/kafka/kafka/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.61/kafka/kafka-topics.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.61/kafka/kafka-topics.sh to root:172.17.26.61:/data/zc01/kafka/kafka/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.61/kafka/kafka-topics.sh to root:172.17.26.61:/data/zc01/kafka/kafka/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.61/kafka/kafka-server-start.sh
Note: Copying /tmp/zcbus/kafka/172.17.26.61/kafka/kafka-server-start.sh to root:172.17.26.61:/data/zc01/kafka/kafka/bin/
➜ Copy /tmp/zcbus/kafka/172.17.26.61/kafka/kafka-server-start.sh to root:172.17.26.61:/data/zc01/kafka/kafka/bin/ ok ...
Note: ready send file /tmp/zcbus/kafka/172.17.26.61/kafka/server.properties
Note: Copying /tmp/zcbus/kafka/172.17.26.61/kafka/server.properties to root:172.17.26.61:/data/zc01/kafka/kafka/config/
➜ Copy /tmp/zcbus/kafka/172.17.26.61/kafka/server.properties to root:172.17.26.61:/data/zc01/kafka/kafka/config/ ok ...
[Step 8]: send for clear log mode 172.17.26.59 ...
Note: clear /data/zc01/simple_server
[Step 9]: send zcbus files to 172.17.26.59 ...
Note: ready send directory ./soft/simple_server
Note: Copying ./soft/simple_server to root:172.17.26.59:/data/zc01/
➜ Copy ./soft/simple_server to root:172.17.26.59:/data/zc01/ ok ...
[Step 10]: send for clear log mode 172.17.26.60 ...
Note: clear /data/zc01/simple_server
[Step 11]: send zcbus files to 172.17.26.60 ...
Note: ready send directory ./soft/simple_server
Note: Copying ./soft/simple_server to root:172.17.26.60:/data/zc01/
➜ Copy ./soft/simple_server to root:172.17.26.60:/data/zc01/ ok ...
[Step 12]: send for clear log mode 172.17.26.61 ...
Note: clear /data/zc01/simple_server
[Step 13]: send zcbus files to 172.17.26.61 ...
Note: ready send directory ./soft/simple_server
Note: Copying ./soft/simple_server to root:172.17.26.61:/data/zc01/
➜ Copy ./soft/simple_server to root:172.17.26.61:/data/zc01/ ok ...
➜ 172.17.26.59
host:172.17.26.59
masterip:172.17.26.59
[Step 14]: check cfg file to 172.17.26.59 [0]...
[Step 15]: send cfg file to 172.17.26.59 ...
Note: ready send file /tmp/zcbus/zcbus.properties.172.17.26.59
Note: Copying /tmp/zcbus/zcbus.properties.172.17.26.59 to root:172.17.26.59:/data/zc01/simple_server/common/zcbus.properties
➜ Copy /tmp/zcbus/zcbus.properties.172.17.26.59 to root:172.17.26.59:/data/zc01/simple_server/common/zcbus.properties ok ...
➜ 172.17.26.60
host:172.17.26.60
masterip:172.17.26.59
[Step 16]: check cfg file to 172.17.26.60 [0]...
[Step 17]: send cfg file to 172.17.26.60 ...
Note: ready send file /tmp/zcbus/zcbus.properties.172.17.26.60
Note: Copying /tmp/zcbus/zcbus.properties.172.17.26.60 to root:172.17.26.60:/data/zc01/simple_server/common/zcbus.properties
➜ Copy /tmp/zcbus/zcbus.properties.172.17.26.60 to root:172.17.26.60:/data/zc01/simple_server/common/zcbus.properties ok ...
➜ 172.17.26.61
host:172.17.26.61
masterip:172.17.26.59
[Step 18]: check cfg file to 172.17.26.61 [-3]...
[Step 19]: send cfg file to 172.17.26.61 ...
Note: ready send file /tmp/zcbus/zcbus.properties.172.17.26.61
Note: Copying /tmp/zcbus/zcbus.properties.172.17.26.61 to root:172.17.26.61:/data/zc01/simple_server/common/zcbus.properties
➜ Copy /tmp/zcbus/zcbus.properties.172.17.26.61 to root:172.17.26.61:/data/zc01/simple_server/common/zcbus.properties ok ...
[Step 20]: install zcbus docker for 172.17.26.61 ...
Note: 172.17.26.59
ssh 172.17.26.59 -o PreferredAuthentications=publickey -o StrictHostKeyChecking=no "sh /data/zc01/simple_server/zcmgr.sh slient /data/zc01/simple_server/common/zcbus.properties "
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
172.17.26.59==➜ Check /etc/hosts Sucessfull...
172.17.26.59==➜ For slient install by /data/zc01/simple_server/common/zcbus.properties ...
############################## check host ::: /etc/hosts #############################################
172.17.26.59==➜ check host ::: 2 ::: OK
172.17.26.59==➜ #172.17.26.59 iZ2ze97seqad5b4siy6ax0Z iZ2ze97seqad5b4siy6ax0Z
172.17.26.59 iZ2ze97seqad5b4siy6ax0Z
############################## check selinux ::: /etc/selinux/config #################################
172.17.26.59==➜ check selinux ::: disabled ::: OK
setenforce: SELinux is disabled
############################## check firewalld #######################################################
172.17.26.59==➜ check firewalld ::: not running ::: OK
############################## check sysctl ::: /etc/sysctl.conf #####################################
172.17.26.59==➜ kernel.shmall ::: 4294967296 (>=4294967296) ::: OK
172.17.26.59==➜ fs.aio-max-nr ::: 1048576 (>=1048576) ::: OK
172.17.26.59==➜ fs.file-max ::: 6815744 (>=6815744) ::: OK
172.17.26.59==➜ kernel.shmmax ::: 2070833152 (>=2070833152) ::: OK
172.17.26.59==➜ kernel.shmmni ::: 4096 (>=4096) ::: OK
172.17.26.59==➜ kernel.sem ::: 250 (>=250) 32000 (>=32000) 100 (>=100) 128 (>=128) ::: OK
172.17.26.59==➜ net.ipv4.ip_local_port_range ::: 1024 (>=1024) 65500 (>=65500) ::: OK
172.17.26.59==➜ net.core.rmem_default ::: 262144 (>=262144) ::: OK
172.17.26.59==➜ net.core.rmem_max ::: 4194304 (>=4194304) ::: OK
172.17.26.59==➜ net.core.wmem_default ::: 262144 (>=262144) ::: OK
172.17.26.59==➜ net.core.wmem_max ::: 1048576 (>=1048576) ::: OK
172.17.26.59==➜ kernel.threads-max ::: 999999 (>=999999) ::: OK
172.17.26.59==➜ kernel.pid_max ::: 999999 (>=999999) ::: OK
172.17.26.59==➜ vm.max_map_count ::: 1999999 (>=1999999) ::: OK
172.17.26.59==➜ net.ipv4.ip_forward ::: 1 (>=1) ::: OK
172.17.26.59==➜ fs.inotify.max_user_watches ::: 1048576 (>=1048576) ::: OK
172.17.26.59==➜ fs.inotify.max_user_instances ::: 1048576 (>=1048576) ::: OK
############################## check limits ::: /etc/security/limits.conf ############################
172.17.26.59==➜ soft-nofile ::: 1048500 (>=1048500) ::: OK
172.17.26.59==➜ hard-nofile ::: 1048500 (>=1048500) ::: OK
172.17.26.59==➜ soft-nproc ::: 65536 (>=65536) ::: OK
172.17.26.59==➜ hard-nproc ::: 65536 (>=65536) ::: OK
############################## CHECK RESULT ##########################################################
172.17.26.59==➜ OK : 24 ERROR : 0 WARNING : 0
172.17.26.59==[Step 1]: ready for data dir path ...
172.17.26.59==➜ Not Found path /data/zc01/zcbus...
172.17.26.59==➜ mkdir path for /data/zc01/zcbus finished ...
172.17.26.59==➜ Find path /data/zc01/zcbus
172.17.26.59==➜ Ready Path for /data/zc01/zcbus finished ...
check sucessfull for zclimit 10G < 26G[/data/zc01/zcbus]...
172.17.26.59==[Step 2]: checking if docker is installed ...
############################## docker version: 20.10.10 ##############################################
172.17.26.59==[Step 3]: checking docker-compose is installed ...
############################## docker-compose version: 2.12.2 ########################################
172.17.26.59==[Step 4]: checking docker service status...
● docker.service - Docker Application Container Engine
Loaded: loaded (/etc/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2023-11-05 17:58:43 CST; 22min ago
Docs: https://docs.docker.com
Main PID: 108172 (dockerd)
CGroup: /system.slice/docker.service
├─108172 /usr/bin/dockerd --selinux-enabled=false --default-ulimit nofile=65535:65535 --graph=/data/dk
└─108179 containerd --config /var/run/docker/containerd/containerd.toml --log-level info
Nov 05 17:58:43 iZ2ze97seqad5b4siy6ax0Z dockerd[108172]: time="2023-11-05T17:58:43.214829608+08:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
Nov 05 17:58:43 iZ2ze97seqad5b4siy6ax0Z dockerd[108172]: time="2023-11-05T17:58:43.223652747+08:00" level=warning msg="Your kernel does not support cgroup blkio weight"
Nov 05 17:58:43 iZ2ze97seqad5b4siy6ax0Z dockerd[108172]: time="2023-11-05T17:58:43.223671787+08:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
Nov 05 17:58:43 iZ2ze97seqad5b4siy6ax0Z dockerd[108172]: time="2023-11-05T17:58:43.223763547+08:00" level=info msg="Loading containers: start."
Nov 05 17:58:43 iZ2ze97seqad5b4siy6ax0Z dockerd[108172]: time="2023-11-05T17:58:43.285910001+08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.18.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Nov 05 17:58:43 iZ2ze97seqad5b4siy6ax0Z dockerd[108172]: time="2023-11-05T17:58:43.306819166+08:00" level=info msg="Loading containers: done."
Nov 05 17:58:43 iZ2ze97seqad5b4siy6ax0Z dockerd[108172]: time="2023-11-05T17:58:43.361630164+08:00" level=info msg="Docker daemon" commit=e2f740d graphdriver(s)=overlay2 version=20.10.10
Nov 05 17:58:43 iZ2ze97seqad5b4siy6ax0Z dockerd[108172]: time="2023-11-05T17:58:43.361973165+08:00" level=info msg="Daemon has completed initialization"
Nov 05 17:58:43 iZ2ze97seqad5b4siy6ax0Z systemd[1]: Started Docker Application Container Engine.
Nov 05 17:58:43 iZ2ze97seqad5b4siy6ax0Z dockerd[108172]: time="2023-11-05T17:58:43.387600580+08:00" level=info msg="API listen on /var/run/docker.sock"
172.17.26.59==➜ check docker service is running ...
172.17.26.59==[Step 5]: checking mysql directory ...
############################## Create directory mysql /data/zc01/zcbus/zcbusdata .... ################
172.17.26.59==✔ Mysql data directory /data/zc01/zcbus/zcbusdata/mysql/data create Successful!
172.17.26.59==[Step 6]: checking kafka directory ...
############################## Create directory kafka /data/zc01/zcbus/zcbusdata/kafka .... ##########
172.17.26.59==✔ Kafka data directory /data/zc01/zcbus/zcbusdata/zcbuskafka/logs create Successful!
172.17.26.59==[Step 7]: checking cache directory ...
############################## Create directory cache /data/zc01/zcbus/zcbusdata .... ################
172.17.26.59==✔ Mysql data directory /data/zc01/zcbus/zcbusdata/cache create Successful!
172.17.26.59==[Step 8]: checking zookeeper directory ...
############################## Create directory kafka /data/zc01/zcbus/zcbusdata/kafka .... ##########
172.17.26.59==✔ Zookeeoer data directory /data/zc01/zcbus/zcbusdata/zcbuszookeeper/data create Successful!
172.17.26.59==[Step 9]: loading zcbus images ...
docker load -i /data/zc01/simple_server/soft/images/prepare.tar.gz
Loaded image: reg.zbomc.com/zcbus/prepare:latest
172.17.26.59==➜ Load images to docker's sucessfull...
docker load -i /data/zc01/simple_server/soft/images/zcbus_vue.tar.gz
Loaded image: reg.zbomc.com/zcbus_vue:v2.0.1
172.17.26.59==➜ Load images to docker's sucessfull...
docker load -i /data/zc01/simple_server/soft/images/zcbus_restapi.tar.gz
Loaded image: reg.zbomc.com/zcbus_restapi:v2.0.1
172.17.26.59==➜ Load images to docker's sucessfull...
docker load -i /data/zc01/simple_server/soft/images/zcbus_server.tar.gz
Loaded image: reg.zbomc.com/zcbus_server:v2.0.1
172.17.26.59==➜ Load images to docker's sucessfull...
docker load -i /data/zc01/simple_server/soft/images/zcbus_net.tar.gz
Loaded image: reg.zbomc.com/zcbus_net:v2.0.1
172.17.26.59==➜ Load images to docker's sucessfull...
docker load -i /data/zc01/simple_server/soft/images/zcbus_mysql.tar.gz
Loaded image: reg.zbomc.com/zcbus_mysql:v2.0.1
172.17.26.59==➜ Load images to docker's sucessfull...
172.17.26.59==➜
172.17.26.59==➜ network zcbus is already exists ...
172.17.26.59==➜ set auto_aux_start = 1
172.17.26.59==➜ /data/zc01/simple_server/common/zcbus.properties ZC_SERV_LOCALTION :[2]
Check hostname [iZ2ze97seqad5b4siy6ax0Z]'s ip is :[172.17.26.59]
ready basic info ...
Finish init basic ...
172.17.26.59==➜ prepare server Sucessfull...
172.17.26.59==➜
time="2023-11-05T18:23:10+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
172.17.26.59==➜
172.17.26.59==[Step 10]: checking if ports is used ...
172.17.26.59==➜ Port 33060 is available!!
172.17.26.59==➜ Port 8890 is available!!
172.17.26.59==➜ Port 3306 is available!!
172.17.26.59==[Step 11]: ready basic soft for container ...
172.17.26.59==➜ Ready compare soft ...
172.17.26.59==➜ Read zcbusserver jdk sucessfull....
172.17.26.59==➜ Read zcbusserver jar sucessfull....
172.17.26.59==➜ Read zcbusserver bin sucessfull....
172.17.26.59==➜ Read zcbusserver lib sucessfull....
172.17.26.59==➜ /data/zc01/zcbus/module/lib to /data/zc01/zcbus/zcbusdata/zcbusserver/ is build sucessfull...
172.17.26.59==➜ /data/zc01/zcbus/module/bin to /data/zc01/zcbus/zcbusdata/zcbusserver/ is build sucessfull...
172.17.26.59==➜ /data/zc01/zcbus/module/jdk to /data/zc01/zcbus/zcbusdata/zcbusserver/ is build sucessfull...
172.17.26.59==➜ /data/zc01/zcbus/module/jar to /data/zc01/zcbus/zcbusdata/zcbusserver/ is build sucessfull...
172.17.26.59==[Step 12]: starting zcbus ...
time="2023-11-05T18:23:30+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
Container zcbusnet Creating
Container zcbusdb Creating
Container zcbusnet Created
Container zcbusrestapi Creating
Container zcbusdb Created
Container zcbusrestapi Created
Container zcbusvue Creating
Container zcbusvue Created
Container zcbusnet Starting
Container zcbusdb Starting
Container zcbusdb Started
Container zcbusnet Started
Container zcbusrestapi Starting
Container zcbusrestapi Started
Container zcbusvue Starting
Container zcbusvue Started
172.17.26.59==➜ =============will load data mode for server================
172.17.26.59==➜ Will Install for load zcbus's data...
time="2023-11-05T18:23:46+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
172.17.26.59==➜ Check zcbusdb Connect start ...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
172.17.26.59==➜ Check zcbusdb Connect Failed ,wait 10 seconds and retry 1 times ...
172.17.26.59==➜ Check zcbusdb Connect start ...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
172.17.26.59==➜ Check zcbusdb Connect Failed ,wait 10 seconds and retry 2 times ...
172.17.26.59==➜ Check zcbusdb Connect start ...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
172.17.26.59==➜ Check zcbusdb Connect Failed ,wait 10 seconds and retry 3 times ...
172.17.26.59==➜ Check zcbusdb Connect start ...
mysql: [Warning] Using a password on the command line interface can be insecure.
172.17.26.59==➜ Check zcbusdb Connect Sucessfull...
172.17.26.59==➜ Start Load data to zcbusdb ...
mysql: [Warning] Using a password on the command line interface can be insecure.
INFO => initDB first time ...
INFO => change password for zcbus...
INFO => finished password for zcbus...
INFO => sql source /zcbus/createdb.sql
mysql: [Warning] Using a password on the command line interface can be insecure.
INFO => DEAL sql file account_api...
INFO => DEAL sql file account_menu...
INFO => DEAL sql file account_rel_menu_api...
INFO => DEAL sql file account_rel_role_menu...
INFO => DEAL sql file account_role...
INFO => DEAL sql file bus_dict_item...
INFO => DEAL sql file bus_dict_type...
INFO => DEAL sql file bus_dict_style...
INFO => DEAL sql file bus_cluster_version...
INFO => DEAL sql file bus_parameter_module...
INFO => DEAL sql file custom_charset_to_big5...
INFO => DEAL sql file bus_parameter_module_image...
INFO => DEAL sql file bus_sys_parameter...
INFO => DEAL sql file bus_sql_parameter...
INFO => DEAL sql file bus_service_type_model...
INFO => DEAL sql file bus_search_group...
INFO => DEAL sql file bus_search_group_sql...
INFO => DEAL sql file bus_search_group_sql_map...
INFO => DEAL sql file bus_tool_sql_record...
INFO => DEAL sql file bus_api_key_map...
INFO => DEAL sql file bus_dict_table_column...
INFO => DEAL sql file bus_dict_table_type...
INFO => DEAL sql file bus_aux_publish_down_tab_list...
INFO => DEAL sql file bus_aux_publish_up_tab_list...
INFO => DEAL sql file bus_msg_dispatch...
INFO => DEAL sql file bus_msg_model...
INFO => DEAL sql file sys_article_img...
INFO => DEAL sql file sys_article...
INFO => DEAL sql file append_sasl...
INFO => DEAL sql file update...
INFO => DEAL sql file p1_server...
INFO => DEAL sql file p2...
INFO => DEAL sql file auxservstart...
INFO => Will exec sql for /zcbus/zcbus.v2.0.1.sql...
mysql: [Warning] Using a password on the command line interface can be insecure.
INFO => sql :select version from bus_cluster_version
mysql: [Warning] Using a password on the command line interface can be insecure.
===================not found upgrade sql =====================
INFO => Not Found upgrade sql file
===============
172.17.26.59==➜ Finished Load data to zcbusdb sucessfull...
====>>>ZCBUS [ Sun Nov 5 18:24:53 CST 2023 ]
time="2023-11-05T18:24:53+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
NAME COMMAND SERVICE STATUS PORTS
zcbusdb "docker-entrypoint.s…" zcbusdb running 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp
zcbusnet "docker-entrypoint.s…" zcbusnet running 3306/tcp, 0.0.0.0:33060->33060/tcp, :::33060->33060/tcp
zcbusrestapi "sh /run.sh" zcbusrestapi running 7080/tcp
zcbusvue "/docker-entrypoint.…" zcbusvue running 0.0.0.0:8890->80/tcp, :::8890->80/tcp
172.17.26.59==➜
172.17.26.59==[Step 12]: sync zcbus_docker to /data/zc01/zcbus/...
copy /data/zc01/simple_server/bin /data/zc01/zcbus/...
172.17.26.59==[Step 12]: ready basic soft for basic zcbus_docker server ...
Check hostname [iZ2ze97seqad5b4siy6ax0Z]'s ip is :[172.17.26.59]
172.17.26.59==➜ ZC_IPADDRESS :172.17.26.59
172.17.26.59==➜ ==============>/data/zc01/zcbus========172.17.26.59=======
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Note: add zcbus_docker service
? add zcbus_docker service successfully ...
172.17.26.59==➜ Read Master database info to /data/zc01/simple_server/config/zcbus_master.ini
[INF] load libmysqlclient.so
[LV0] 2023-11-05 18:24:59: connect to mysql zcbus/***@172.17.26.59:33060 ...
[INF] set client character set utf8mb4...
[INF] new client character set: utf8mb4
[INF] MYSQL VERSION: 50725
[INF] MYSQL INFO: 5.7.25-0ubuntu0.18.04.2-log
SET SESSION sql_mode='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'
[INF] connection test ok.
172.17.26.59==➜ sync basic info to /data/zc01/zcbus/ begin ...
copy /data/zc01/simple_server/bin /data/zc01/zcbus/...
copy /data/zc01/simple_server/yaml /data/zc01/zcbus/...
copy /data/zc01/simple_server/common/add_zcbus_docker_service.sh /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/docker.service /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/zcbus_client.rsp /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/zcbus_docker.service /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/zcbus.properties /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/zcbus.yml /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/.check /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/.zcbus.common /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/zcmgr.sh /data/zc01/zcbus/...
copy /data/zc01/simple_server/soft/docker-20.10.10.tgz /data/zc01/zcbus/soft/...
copy /data/zc01/simple_server/soft/docker-compose-Linux-aarch64 /data/zc01/zcbus/soft/...
copy /data/zc01/simple_server/soft/zcbus /data/zc01/zcbus/soft/...
172.17.26.59==➜ sync basic info to /data/zc01/zcbus/ end ...
172.17.26.59==➜ Test zcbus_docker Connect to zcbus_master.ini Sucessfull...
172.17.26.59==➜ =========================== ready restart zcbus_docker ====================
172.17.26.59==➜ sync config info to /data/zc01/zcbus/ begin ...
copy /data/zc01/simple_server/config /data/zc01/zcbus/...
copy /data/zc01/simple_server/yaml /data/zc01/zcbus/...
172.17.26.59==➜ sync config info to /data/zc01/zcbus/ end ...
time="2023-11-05T18:25:26+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
Container zcbusnet Restarting
Container zcbusnet Started
Container zcbusrestapi Restarting
Container zcbusrestapi Started
Container zcbusvue Restarting
Container zcbusvue Started
172.17.26.59==➜ =============================================================
172.17.26.59==➜ Manager console Website Address: http://172.17.26.59:8890
172.17.26.59==➜ Default login account : admin
172.17.26.59==➜ Default login password: 123456
172.17.26.59==➜
172.17.26.59==➜ =============================================================
172.17.26.59==✔ ----Zcbus has been installed and started successfully.----
time="2023-11-05T18:25:50+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
no such service: zcbus
172.17.26.59==➜ Zcbus Container zcbus Not Exists and install...
172.17.26.59==➜ Ready compare soft ...
172.17.26.59==➜ /data/zc01/zcbus/module/lib to /data/zc01/zcbus/zcbusdata/zcbus/ is build sucessfull...
172.17.26.59==➜ /data/zc01/zcbus/module/bin to /data/zc01/zcbus/zcbusdata/zcbus/ is build sucessfull...
172.17.26.59==➜ /data/zc01/zcbus/module/jdk to /data/zc01/zcbus/zcbusdata/zcbus/ is build sucessfull...
172.17.26.59==➜ /data/zc01/zcbus/module/jar to /data/zc01/zcbus/zcbusdata/zcbus/ is build sucessfull...
172.17.26.59==➜ /data/zc01/simple_server/common/zcbus.properties ZC_SERV_LOCALTION :[2]
Check hostname [iZ2ze97seqad5b4siy6ax0Z]'s ip is :[172.17.26.59]
Flush data to /compose_location/docker-compose.yml
time="2023-11-05T18:25:53+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
Container zcbusnet Running
Container zcbusrestapi Running
Container zcbusvue Running
Container zcbus Creating
Container zcbusdb Running
Container zcbus Created
Container zcbus Starting
Container zcbus Started
172.17.26.59==➜ =============will load data mode for zcbus================
====>>>ZCBUS [ Sun Nov 5 18:25:54 CST 2023 ]
time="2023-11-05T18:25:54+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
NAME COMMAND SERVICE STATUS PORTS
zcbus "/bin/bash -c ${ZCBU…" zcbus running
zcbusdb "docker-entrypoint.s…" zcbusdb running 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp
zcbusnet "docker-entrypoint.s…" zcbusnet running 3306/tcp, 0.0.0.0:33060->33060/tcp, :::33060->33060/tcp
zcbusrestapi "sh /run.sh" zcbusrestapi running 7080/tcp
zcbusvue "/docker-entrypoint.…" zcbusvue running 0.0.0.0:8890->80/tcp, :::8890->80/tcp
root 119143 1 0 18:25 ? 00:00:00 /data/zc01/zcbus/bin/zcbus_docker -log_level 2
root 119162 1 0 18:25 ? 00:00:00 /data/zc01/zcbus/bin/zcbus_docker -manager -log_level 2
root 119235 1 0 18:25 ? 00:00:00 /data/zc01/zcbus/bin/zcbus_docker -listener -log_level 2
➜ Install Zcbus success !!!
Note: 172.17.26.60
ssh 172.17.26.60 -o PreferredAuthentications=publickey -o StrictHostKeyChecking=no "sh /data/zc01/simple_server/zcmgr.sh slient /data/zc01/simple_server/common/zcbus.properties "
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
172.17.26.60==➜ Check /etc/hosts Sucessfull...
172.17.26.60==➜ For slient install by /data/zc01/simple_server/common/zcbus.properties ...
############################## check host ::: /etc/hosts #############################################
172.17.26.60==➜ check host ::: 2 ::: OK
172.17.26.60==➜ #172.17.26.60 iZ2ze97seqad5b4siy6awzZ iZ2ze97seqad5b4siy6awzZ
172.17.26.60 iZ2ze97seqad5b4siy6awzZ
############################## check selinux ::: /etc/selinux/config #################################
172.17.26.60==➜ check selinux ::: disabled ::: OK
setenforce: SELinux is disabled
############################## check firewalld #######################################################
172.17.26.60==➜ check firewalld ::: not running ::: OK
############################## check sysctl ::: /etc/sysctl.conf #####################################
172.17.26.60==➜ kernel.shmall ::: 4294967296 (>=4294967296) ::: OK
172.17.26.60==➜ fs.aio-max-nr ::: 1048576 (>=1048576) ::: OK
172.17.26.60==➜ fs.file-max ::: 6815744 (>=6815744) ::: OK
172.17.26.60==➜ kernel.shmmax ::: 2070833152 (>=2070833152) ::: OK
172.17.26.60==➜ kernel.shmmni ::: 4096 (>=4096) ::: OK
172.17.26.60==➜ kernel.sem ::: 250 (>=250) 32000 (>=32000) 100 (>=100) 128 (>=128) ::: OK
172.17.26.60==➜ net.ipv4.ip_local_port_range ::: 1024 (>=1024) 65500 (>=65500) ::: OK
172.17.26.60==➜ net.core.rmem_default ::: 262144 (>=262144) ::: OK
172.17.26.60==➜ net.core.rmem_max ::: 4194304 (>=4194304) ::: OK
172.17.26.60==➜ net.core.wmem_default ::: 262144 (>=262144) ::: OK
172.17.26.60==➜ net.core.wmem_max ::: 1048576 (>=1048576) ::: OK
172.17.26.60==➜ kernel.threads-max ::: 999999 (>=999999) ::: OK
172.17.26.60==➜ kernel.pid_max ::: 999999 (>=999999) ::: OK
172.17.26.60==➜ vm.max_map_count ::: 1999999 (>=1999999) ::: OK
172.17.26.60==➜ net.ipv4.ip_forward ::: 1 (>=1) ::: OK
172.17.26.60==➜ fs.inotify.max_user_watches ::: 1048576 (>=1048576) ::: OK
172.17.26.60==➜ fs.inotify.max_user_instances ::: 1048576 (>=1048576) ::: OK
############################## check limits ::: /etc/security/limits.conf ############################
172.17.26.60==➜ soft-nofile ::: 1048500 (>=1048500) ::: OK
172.17.26.60==➜ hard-nofile ::: 1048500 (>=1048500) ::: OK
172.17.26.60==➜ soft-nproc ::: 65536 (>=65536) ::: OK
172.17.26.60==➜ hard-nproc ::: 65536 (>=65536) ::: OK
############################## CHECK RESULT ##########################################################
172.17.26.60==➜ OK : 24 ERROR : 0 WARNING : 0
172.17.26.60==[Step 1]: ready for data dir path ...
172.17.26.60==➜ Not Found path /data/zc01/zcbus...
172.17.26.60==➜ mkdir path for /data/zc01/zcbus finished ...
172.17.26.60==➜ Find path /data/zc01/zcbus
172.17.26.60==➜ Ready Path for /data/zc01/zcbus finished ...
check sucessfull for zclimit 10G < 32G[/data/zc01/zcbus]...
172.17.26.60==[Step 2]: checking if docker is installed ...
############################## docker version: 20.10.10 ##############################################
172.17.26.60==[Step 3]: checking docker-compose is installed ...
############################## docker-compose version: 2.12.2 ########################################
172.17.26.60==[Step 4]: checking docker service status...
● docker.service - Docker Application Container Engine
Loaded: loaded (/etc/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2023-11-05 17:58:52 CST; 27min ago
Docs: https://docs.docker.com
Main PID: 72589 (dockerd)
CGroup: /system.slice/docker.service
├─72589 /usr/bin/dockerd --selinux-enabled=false --default-ulimit nofile=65535:65535 --graph=/data/dk
└─72596 containerd --config /var/run/docker/containerd/containerd.toml --log-level info
Nov 05 17:58:51 iZ2ze97seqad5b4siy6awzZ dockerd[72589]: time="2023-11-05T17:58:51.963053154+08:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
Nov 05 17:58:51 iZ2ze97seqad5b4siy6awzZ dockerd[72589]: time="2023-11-05T17:58:51.969191299+08:00" level=warning msg="Your kernel does not support cgroup blkio weight"
Nov 05 17:58:51 iZ2ze97seqad5b4siy6awzZ dockerd[72589]: time="2023-11-05T17:58:51.969209979+08:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
Nov 05 17:58:51 iZ2ze97seqad5b4siy6awzZ dockerd[72589]: time="2023-11-05T17:58:51.969310659+08:00" level=info msg="Loading containers: start."
Nov 05 17:58:52 iZ2ze97seqad5b4siy6awzZ dockerd[72589]: time="2023-11-05T17:58:52.034172243+08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.18.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Nov 05 17:58:52 iZ2ze97seqad5b4siy6awzZ dockerd[72589]: time="2023-11-05T17:58:52.054594806+08:00" level=info msg="Loading containers: done."
Nov 05 17:58:52 iZ2ze97seqad5b4siy6awzZ dockerd[72589]: time="2023-11-05T17:58:52.080388671+08:00" level=info msg="Docker daemon" commit=e2f740d graphdriver(s)=overlay2 version=20.10.10
Nov 05 17:58:52 iZ2ze97seqad5b4siy6awzZ dockerd[72589]: time="2023-11-05T17:58:52.080725192+08:00" level=info msg="Daemon has completed initialization"
Nov 05 17:58:52 iZ2ze97seqad5b4siy6awzZ systemd[1]: Started Docker Application Container Engine.
Nov 05 17:58:52 iZ2ze97seqad5b4siy6awzZ dockerd[72589]: time="2023-11-05T17:58:52.106167496+08:00" level=info msg="API listen on /var/run/docker.sock"
172.17.26.60==➜ check docker service is running ...
172.17.26.60==[Step 5]: checking mysql directory ...
############################## Create directory mysql /data/zc01/zcbus/zcbusdata .... ################
172.17.26.60==✔ Mysql data directory /data/zc01/zcbus/zcbusdata/mysql/data create Successful!
172.17.26.60==[Step 6]: checking kafka directory ...
############################## Create directory kafka /data/zc01/zcbus/zcbusdata/kafka .... ##########
172.17.26.60==✔ Kafka data directory /data/zc01/zcbus/zcbusdata/zcbuskafka/logs create Successful!
172.17.26.60==[Step 7]: checking cache directory ...
############################## Create directory cache /data/zc01/zcbus/zcbusdata .... ################
172.17.26.60==✔ Mysql data directory /data/zc01/zcbus/zcbusdata/cache create Successful!
172.17.26.60==[Step 8]: checking zookeeper directory ...
############################## Create directory kafka /data/zc01/zcbus/zcbusdata/kafka .... ##########
172.17.26.60==✔ Zookeeoer data directory /data/zc01/zcbus/zcbusdata/zcbuszookeeper/data create Successful!
172.17.26.60==[Step 9]: loading zcbus images ...
docker load -i /data/zc01/simple_server/soft/images/prepare.tar.gz
Loaded image: reg.zbomc.com/zcbus/prepare:latest
172.17.26.60==➜ Load images to docker's sucessfull...
docker load -i /data/zc01/simple_server/soft/images/zcbus_vue.tar.gz
Loaded image: reg.zbomc.com/zcbus_vue:v2.0.1
172.17.26.60==➜ Load images to docker's sucessfull...
docker load -i /data/zc01/simple_server/soft/images/zcbus_restapi.tar.gz
Loaded image: reg.zbomc.com/zcbus_restapi:v2.0.1
172.17.26.60==➜ Load images to docker's sucessfull...
docker load -i /data/zc01/simple_server/soft/images/zcbus_server.tar.gz
Loaded image: reg.zbomc.com/zcbus_server:v2.0.1
172.17.26.60==➜ Load images to docker's sucessfull...
docker load -i /data/zc01/simple_server/soft/images/zcbus_net.tar.gz
Loaded image: reg.zbomc.com/zcbus_net:v2.0.1
172.17.26.60==➜ Load images to docker's sucessfull...
docker load -i /data/zc01/simple_server/soft/images/zcbus_mysql.tar.gz
Loaded image: reg.zbomc.com/zcbus_mysql:v2.0.1
172.17.26.60==➜ Load images to docker's sucessfull...
172.17.26.60==➜
172.17.26.60==➜ network zcbus is already exists ...
172.17.26.60==➜ set auto_aux_start = 1
172.17.26.60==➜ /data/zc01/simple_server/common/zcbus.properties ZC_SERV_LOCALTION :[2]
Check hostname [iZ2ze97seqad5b4siy6awzZ]'s ip is :[172.17.26.60]
ready basic info ...
Finish init basic ...
172.17.26.60==➜ prepare server Sucessfull...
172.17.26.60==➜
time="2023-11-05T18:27:31+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
172.17.26.60==➜
172.17.26.60==[Step 10]: checking if ports is used ...
172.17.26.60==➜ Port 33060 is available!!
172.17.26.60==➜ Port 8890 is available!!
172.17.26.60==➜ Port 3306 is available!!
172.17.26.60==[Step 11]: ready basic soft for container ...
172.17.26.60==➜ Ready compare soft ...
172.17.26.60==➜ Read zcbusserver jdk sucessfull....
172.17.26.60==➜ Read zcbusserver jar sucessfull....
172.17.26.60==➜ Read zcbusserver bin sucessfull....
172.17.26.60==➜ Read zcbusserver lib sucessfull....
172.17.26.60==➜ /data/zc01/zcbus/module/lib to /data/zc01/zcbus/zcbusdata/zcbusserver/ is build sucessfull...
172.17.26.60==➜ /data/zc01/zcbus/module/bin to /data/zc01/zcbus/zcbusdata/zcbusserver/ is build sucessfull...
172.17.26.60==➜ /data/zc01/zcbus/module/jdk to /data/zc01/zcbus/zcbusdata/zcbusserver/ is build sucessfull...
172.17.26.60==➜ /data/zc01/zcbus/module/jar to /data/zc01/zcbus/zcbusdata/zcbusserver/ is build sucessfull...
172.17.26.60==[Step 12]: starting zcbus ...
time="2023-11-05T18:27:51+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
Container zcbusdb Creating
Container zcbusnet Creating
Container zcbusdb Created
Container zcbusnet Created
Container zcbusrestapi Creating
Container zcbusrestapi Created
Container zcbusvue Creating
Container zcbusvue Created
Container zcbusdb Starting
Container zcbusnet Starting
Container zcbusnet Started
Container zcbusrestapi Starting
Container zcbusdb Started
Container zcbusrestapi Started
Container zcbusvue Starting
Container zcbusvue Started
172.17.26.60==➜ =============will load data mode for server================
172.17.26.60==➜ Will Install for load zcbus's data...
time="2023-11-05T18:28:05+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
172.17.26.60==➜ Check zcbusdb Connect start ...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
172.17.26.60==➜ Check zcbusdb Connect Failed ,wait 10 seconds and retry 1 times ...
172.17.26.60==➜ Check zcbusdb Connect start ...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
172.17.26.60==➜ Check zcbusdb Connect Failed ,wait 10 seconds and retry 2 times ...
172.17.26.60==➜ Check zcbusdb Connect start ...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
172.17.26.60==➜ Check zcbusdb Connect Failed ,wait 10 seconds and retry 3 times ...
172.17.26.60==➜ Check zcbusdb Connect start ...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
172.17.26.60==➜ Check zcbusdb Connect Failed ,wait 10 seconds and retry 4 times ...
172.17.26.60==➜ Check zcbusdb Connect start ...
mysql: [Warning] Using a password on the command line interface can be insecure.
172.17.26.60==➜ Check zcbusdb Connect Sucessfull...
172.17.26.60==➜ Start Load data to zcbusdb ...
mysql: [Warning] Using a password on the command line interface can be insecure.
INFO => initDB first time ...
INFO => change password for zcbus...
INFO => finished password for zcbus...
INFO => sql source /zcbus/createdb.sql
mysql: [Warning] Using a password on the command line interface can be insecure.
INFO => DEAL sql file account_api...
INFO => DEAL sql file account_menu...
INFO => DEAL sql file account_rel_menu_api...
INFO => DEAL sql file account_rel_role_menu...
INFO => DEAL sql file account_role...
INFO => DEAL sql file bus_dict_item...
INFO => DEAL sql file bus_dict_type...
INFO => DEAL sql file bus_dict_style...
INFO => DEAL sql file bus_cluster_version...
INFO => DEAL sql file bus_parameter_module...
INFO => DEAL sql file custom_charset_to_big5...
INFO => DEAL sql file bus_parameter_module_image...
INFO => DEAL sql file bus_sys_parameter...
INFO => DEAL sql file bus_sql_parameter...
INFO => DEAL sql file bus_service_type_model...
INFO => DEAL sql file bus_search_group...
INFO => DEAL sql file bus_search_group_sql...
INFO => DEAL sql file bus_search_group_sql_map...
INFO => DEAL sql file bus_tool_sql_record...
INFO => DEAL sql file bus_api_key_map...
INFO => DEAL sql file bus_dict_table_column...
INFO => DEAL sql file bus_dict_table_type...
INFO => DEAL sql file bus_aux_publish_down_tab_list...
INFO => DEAL sql file bus_aux_publish_up_tab_list...
INFO => DEAL sql file bus_msg_dispatch...
INFO => DEAL sql file bus_msg_model...
INFO => DEAL sql file sys_article_img...
INFO => DEAL sql file sys_article...
INFO => DEAL sql file append_sasl...
INFO => DEAL sql file update...
INFO => DEAL sql file p1_server...
INFO => DEAL sql file p2...
INFO => DEAL sql file auxservstart...
INFO => Will exec sql for /zcbus/zcbus.v2.0.1.sql...
mysql: [Warning] Using a password on the command line interface can be insecure.
INFO => sql :select version from bus_cluster_version
mysql: [Warning] Using a password on the command line interface can be insecure.
===================not found upgrade sql =====================
INFO => Not Found upgrade sql file
===============
172.17.26.60==➜ Finished Load data to zcbusdb sucessfull...
====>>>ZCBUS [ Sun Nov 5 18:29:04 CST 2023 ]
time="2023-11-05T18:29:04+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
NAME COMMAND SERVICE STATUS PORTS
zcbusdb "docker-entrypoint.s…" zcbusdb running 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp
zcbusnet "docker-entrypoint.s…" zcbusnet running 3306/tcp, 0.0.0.0:33060->33060/tcp, :::33060->33060/tcp
zcbusrestapi "sh /run.sh" zcbusrestapi running 7080/tcp
zcbusvue "/docker-entrypoint.…" zcbusvue running 0.0.0.0:8890->80/tcp, :::8890->80/tcp
172.17.26.60==➜
172.17.26.60==[Step 12]: sync zcbus_docker to /data/zc01/zcbus/...
copy /data/zc01/simple_server/bin /data/zc01/zcbus/...
172.17.26.60==[Step 12]: ready basic soft for basic zcbus_docker server ...
Check hostname [iZ2ze97seqad5b4siy6awzZ]'s ip is :[172.17.26.60]
172.17.26.60==➜ ZC_IPADDRESS :172.17.26.60
172.17.26.60==➜ ==============>/data/zc01/zcbus========172.17.26.60=======
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Note: add zcbus_docker service
? add zcbus_docker service successfully ...
172.17.26.60==➜ Read Master database info to /data/zc01/simple_server/config/zcbus_master.ini
[INF] load libmysqlclient.so
[LV0] 2023-11-05 18:29:09: connect to mysql zcbus/***@172.17.26.60:33060 ...
[INF] set client character set utf8mb4...
[INF] new client character set: utf8mb4
[INF] MYSQL VERSION: 50725
[INF] MYSQL INFO: 5.7.25-0ubuntu0.18.04.2-log
SET SESSION sql_mode='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'
[INF] connection test ok.
172.17.26.60==➜ sync basic info to /data/zc01/zcbus/ begin ...
copy /data/zc01/simple_server/bin /data/zc01/zcbus/...
copy /data/zc01/simple_server/yaml /data/zc01/zcbus/...
copy /data/zc01/simple_server/common/add_zcbus_docker_service.sh /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/docker.service /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/zcbus_client.rsp /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/zcbus_docker.service /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/zcbus.properties /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/zcbus.yml /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/.check /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/.zcbus.common /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/zcmgr.sh /data/zc01/zcbus/...
copy /data/zc01/simple_server/soft/docker-20.10.10.tgz /data/zc01/zcbus/soft/...
copy /data/zc01/simple_server/soft/docker-compose-Linux-aarch64 /data/zc01/zcbus/soft/...
copy /data/zc01/simple_server/soft/zcbus /data/zc01/zcbus/soft/...
172.17.26.60==➜ sync basic info to /data/zc01/zcbus/ end ...
172.17.26.60==➜ Test zcbus_docker Connect to zcbus_master.ini Sucessfull...
172.17.26.60==➜ =========================== ready restart zcbus_docker ====================
172.17.26.60==➜ sync config info to /data/zc01/zcbus/ begin ...
copy /data/zc01/simple_server/config /data/zc01/zcbus/...
copy /data/zc01/simple_server/yaml /data/zc01/zcbus/...
172.17.26.60==➜ sync config info to /data/zc01/zcbus/ end ...
time="2023-11-05T18:29:36+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
Container zcbusnet Restarting
Container zcbusnet Started
Container zcbusrestapi Restarting
Container zcbusrestapi Started
Container zcbusvue Restarting
Container zcbusvue Started
172.17.26.60==➜ =============================================================
172.17.26.60==➜ Manager console Website Address: http://172.17.26.60:8890
172.17.26.60==➜ Default login account : admin
172.17.26.60==➜ Default login password: 123456
172.17.26.60==➜
172.17.26.60==➜ =============================================================
172.17.26.60==✔ ----Zcbus has been installed and started successfully.----
➜ Install Zcbus success !!!
Note: 172.17.26.61
ssh 172.17.26.61 -o PreferredAuthentications=publickey -o StrictHostKeyChecking=no "sh /data/zc01/simple_server/zcmgr.sh slient /data/zc01/simple_server/common/zcbus.properties "
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
172.17.26.61==➜ Check /etc/hosts Sucessfull...
172.17.26.61==➜ For slient install by /data/zc01/simple_server/common/zcbus.properties ...
############################## check host ::: /etc/hosts #############################################
172.17.26.61==➜ check host ::: 2 ::: OK
172.17.26.61==➜ #172.17.26.61 iZ2ze97seqad5b4siy6awyZ iZ2ze97seqad5b4siy6awyZ
172.17.26.61 iZ2ze97seqad5b4siy6awyZ
############################## check selinux ::: /etc/selinux/config #################################
172.17.26.61==➜ check selinux ::: disabled ::: OK
setenforce: SELinux is disabled
############################## check firewalld #######################################################
172.17.26.61==➜ check firewalld ::: not running ::: OK
############################## check sysctl ::: /etc/sysctl.conf #####################################
172.17.26.61==➜ kernel.shmall ::: 4294967296 (>=4294967296) ::: OK
172.17.26.61==➜ fs.aio-max-nr ::: 1048576 (>=1048576) ::: OK
172.17.26.61==➜ fs.file-max ::: 6815744 (>=6815744) ::: OK
172.17.26.61==➜ kernel.shmmax ::: 2070833152 (>=2070833152) ::: OK
172.17.26.61==➜ kernel.shmmni ::: 4096 (>=4096) ::: OK
172.17.26.61==➜ kernel.sem ::: 250 (>=250) 32000 (>=32000) 100 (>=100) 128 (>=128) ::: OK
172.17.26.61==➜ net.ipv4.ip_local_port_range ::: 1024 (>=1024) 65500 (>=65500) ::: OK
172.17.26.61==➜ net.core.rmem_default ::: 262144 (>=262144) ::: OK
172.17.26.61==➜ net.core.rmem_max ::: 4194304 (>=4194304) ::: OK
172.17.26.61==➜ net.core.wmem_default ::: 262144 (>=262144) ::: OK
172.17.26.61==➜ net.core.wmem_max ::: 1048576 (>=1048576) ::: OK
172.17.26.61==➜ kernel.threads-max ::: 999999 (>=999999) ::: OK
172.17.26.61==➜ kernel.pid_max ::: 999999 (>=999999) ::: OK
172.17.26.61==➜ vm.max_map_count ::: 1999999 (>=1999999) ::: OK
172.17.26.61==➜ net.ipv4.ip_forward ::: 1 (>=1) ::: OK
172.17.26.61==➜ fs.inotify.max_user_watches ::: 1048576 (>=1048576) ::: OK
172.17.26.61==➜ fs.inotify.max_user_instances ::: 1048576 (>=1048576) ::: OK
############################## check limits ::: /etc/security/limits.conf ############################
172.17.26.61==➜ soft-nofile ::: 1048500 (>=1048500) ::: OK
172.17.26.61==➜ hard-nofile ::: 1048500 (>=1048500) ::: OK
172.17.26.61==➜ soft-nproc ::: 65536 (>=65536) ::: OK
172.17.26.61==➜ hard-nproc ::: 65536 (>=65536) ::: OK
############################## CHECK RESULT ##########################################################
172.17.26.61==➜ OK : 24 ERROR : 0 WARNING : 0
172.17.26.61==[Step 1]: ready for data dir path ...
172.17.26.61==➜ Not Found path /data/zc01/zcbus...
172.17.26.61==➜ mkdir path for /data/zc01/zcbus finished ...
172.17.26.61==➜ Find path /data/zc01/zcbus
172.17.26.61==➜ Ready Path for /data/zc01/zcbus finished ...
check sucessfull for zclimit 10G < 29G[/data/zc01/zcbus]...
172.17.26.61==[Step 2]: checking if docker is installed ...
############################## docker version: 20.10.10 ##############################################
172.17.26.61==[Step 3]: checking docker-compose is installed ...
############################## docker-compose version: 2.12.2 ########################################
172.17.26.61==[Step 4]: checking docker service status...
● docker.service - Docker Application Container Engine
Loaded: loaded (/etc/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2023-11-05 17:58:59 CST; 31min ago
Docs: https://docs.docker.com
Main PID: 233202 (dockerd)
CGroup: /system.slice/docker.service
├─233202 /usr/bin/dockerd --selinux-enabled=false --default-ulimit nofile=65535:65535 --graph=/data/dk
└─233210 containerd --config /var/run/docker/containerd/containerd.toml --log-level info
Nov 05 17:58:59 iZ2ze97seqad5b4siy6awyZ dockerd[233202]: time="2023-11-05T17:58:59.660302396+08:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
Nov 05 17:58:59 iZ2ze97seqad5b4siy6awyZ dockerd[233202]: time="2023-11-05T17:58:59.666110737+08:00" level=warning msg="Your kernel does not support cgroup blkio weight"
Nov 05 17:58:59 iZ2ze97seqad5b4siy6awyZ dockerd[233202]: time="2023-11-05T17:58:59.666130377+08:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
Nov 05 17:58:59 iZ2ze97seqad5b4siy6awyZ dockerd[233202]: time="2023-11-05T17:58:59.666240497+08:00" level=info msg="Loading containers: start."
Nov 05 17:58:59 iZ2ze97seqad5b4siy6awyZ dockerd[233202]: time="2023-11-05T17:58:59.738269940+08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.18.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Nov 05 17:58:59 iZ2ze97seqad5b4siy6awyZ dockerd[233202]: time="2023-11-05T17:58:59.761316625+08:00" level=info msg="Loading containers: done."
Nov 05 17:58:59 iZ2ze97seqad5b4siy6awyZ dockerd[233202]: time="2023-11-05T17:58:59.789846851+08:00" level=info msg="Docker daemon" commit=e2f740d graphdriver(s)=overlay2 version=20.10.10
Nov 05 17:58:59 iZ2ze97seqad5b4siy6awyZ dockerd[233202]: time="2023-11-05T17:58:59.790180330+08:00" level=info msg="Daemon has completed initialization"
Nov 05 17:58:59 iZ2ze97seqad5b4siy6awyZ systemd[1]: Started Docker Application Container Engine.
Nov 05 17:58:59 iZ2ze97seqad5b4siy6awyZ dockerd[233202]: time="2023-11-05T17:58:59.812194618+08:00" level=info msg="API listen on /var/run/docker.sock"
172.17.26.61==➜ check docker service is running ...
172.17.26.61==[Step 5]: checking mysql directory ...
############################## Create directory mysql /data/zc01/zcbus/zcbusdata .... ################
172.17.26.61==✔ Mysql data directory /data/zc01/zcbus/zcbusdata/mysql/data create Successful!
172.17.26.61==[Step 6]: checking kafka directory ...
############################## Create directory kafka /data/zc01/zcbus/zcbusdata/kafka .... ##########
172.17.26.61==✔ Kafka data directory /data/zc01/zcbus/zcbusdata/zcbuskafka/logs create Successful!
172.17.26.61==[Step 7]: checking cache directory ...
############################## Create directory cache /data/zc01/zcbus/zcbusdata .... ################
172.17.26.61==✔ Mysql data directory /data/zc01/zcbus/zcbusdata/cache create Successful!
172.17.26.61==[Step 8]: checking zookeeper directory ...
############################## Create directory kafka /data/zc01/zcbus/zcbusdata/kafka .... ##########
172.17.26.61==✔ Zookeeoer data directory /data/zc01/zcbus/zcbusdata/zcbuszookeeper/data create Successful!
172.17.26.61==[Step 9]: loading zcbus images ...
docker load -i /data/zc01/simple_server/soft/images/prepare.tar.gz
Loaded image: reg.zbomc.com/zcbus/prepare:latest
172.17.26.61==➜ Load images to docker's sucessfull...
docker load -i /data/zc01/simple_server/soft/images/zcbus_vue.tar.gz
Loaded image: reg.zbomc.com/zcbus_vue:v2.0.1
172.17.26.61==➜ Load images to docker's sucessfull...
docker load -i /data/zc01/simple_server/soft/images/zcbus_restapi.tar.gz
Loaded image: reg.zbomc.com/zcbus_restapi:v2.0.1
172.17.26.61==➜ Load images to docker's sucessfull...
docker load -i /data/zc01/simple_server/soft/images/zcbus_server.tar.gz
Loaded image: reg.zbomc.com/zcbus_server:v2.0.1
172.17.26.61==➜ Load images to docker's sucessfull...
docker load -i /data/zc01/simple_server/soft/images/zcbus_net.tar.gz
Loaded image: reg.zbomc.com/zcbus_net:v2.0.1
172.17.26.61==➜ Load images to docker's sucessfull...
172.17.26.61==➜
172.17.26.61==➜ network zcbus is already exists ...
172.17.26.61==➜ set auto_aux_start = 1
172.17.26.61==➜ /data/zc01/simple_server/common/zcbus.properties ZC_SERV_LOCALTION :[1]
Check hostname [iZ2ze97seqad5b4siy6awyZ]'s ip is :[172.17.26.61]
ready basic info ...
Finish init basic ...
172.17.26.61==➜ prepare server Sucessfull...
172.17.26.61==➜
time="2023-11-05T18:31:21+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
172.17.26.61==➜
172.17.26.61==[Step 10]: checking if ports is used ...
172.17.26.61==➜ Port 8890 is available!!
172.17.26.61==➜ Port 33060 is available!!
172.17.26.61==[Step 11]: ready basic soft for container ...
172.17.26.61==➜ Ready compare soft ...
172.17.26.61==➜ Read zcbusserver jdk sucessfull....
172.17.26.61==➜ Read zcbusserver jar sucessfull....
172.17.26.61==➜ Read zcbusserver bin sucessfull....
172.17.26.61==➜ Read zcbusserver lib sucessfull....
172.17.26.61==➜ /data/zc01/zcbus/module/lib to /data/zc01/zcbus/zcbusdata/zcbusserver/ is build sucessfull...
172.17.26.61==➜ /data/zc01/zcbus/module/bin to /data/zc01/zcbus/zcbusdata/zcbusserver/ is build sucessfull...
172.17.26.61==➜ /data/zc01/zcbus/module/jdk to /data/zc01/zcbus/zcbusdata/zcbusserver/ is build sucessfull...
172.17.26.61==➜ /data/zc01/zcbus/module/jar to /data/zc01/zcbus/zcbusdata/zcbusserver/ is build sucessfull...
172.17.26.61==[Step 12]: starting zcbus ...
time="2023-11-05T18:31:41+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
Container zcbusnet Creating
Container zcbusnet Created
Container zcbusrestapi Creating
Container zcbusrestapi Created
Container zcbusvue Creating
Container zcbusvue Created
Container zcbusnet Starting
Container zcbusnet Started
Container zcbusrestapi Starting
Container zcbusrestapi Started
Container zcbusvue Starting
Container zcbusvue Started
172.17.26.61==➜ =============will load data mode for server================
172.17.26.61==➜ Skip enternal method and ZC_SERV_LOCALTION=1...
====>>>ZCBUS [ Sun Nov 5 18:31:49 CST 2023 ]
time="2023-11-05T18:31:49+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
NAME COMMAND SERVICE STATUS PORTS
zcbusnet "docker-entrypoint.s…" zcbusnet running 3306/tcp, 0.0.0.0:33060->33060/tcp, :::33060->33060/tcp
zcbusrestapi "sh /run.sh" zcbusrestapi running 7080/tcp
zcbusvue "/docker-entrypoint.…" zcbusvue running 0.0.0.0:8890->80/tcp, :::8890->80/tcp
172.17.26.61==➜
172.17.26.61==[Step 12]: sync zcbus_docker to /data/zc01/zcbus/...
copy /data/zc01/simple_server/bin /data/zc01/zcbus/...
172.17.26.61==[Step 12]: ready basic soft for basic zcbus_docker server ...
Check hostname [iZ2ze97seqad5b4siy6awyZ]'s ip is :[172.17.26.61]
172.17.26.61==➜ ZC_IPADDRESS :172.17.26.61
172.17.26.61==➜ ==============>/data/zc01/zcbus========172.17.26.61=======
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Note: add zcbus_docker service
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
? add zcbus_docker service successfully ...
172.17.26.61==➜ Read Master database info to /data/zc01/simple_server/config/zcbus_master.ini
[INF] load libmysqlclient.so
[LV0] 2023-11-05 18:31:56: connect to mysql zcbus/***@172.17.26.61:33060 ...
[INF] set client character set utf8mb4...
[INF] new client character set: utf8mb4
[INF] MYSQL VERSION: 50725
[INF] MYSQL INFO: 5.7.25-0ubuntu0.18.04.2-log
SET SESSION sql_mode='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'
[INF] connection test ok.
172.17.26.61==➜ sync basic info to /data/zc01/zcbus/ begin ...
copy /data/zc01/simple_server/bin /data/zc01/zcbus/...
copy /data/zc01/simple_server/yaml /data/zc01/zcbus/...
copy /data/zc01/simple_server/common/add_zcbus_docker_service.sh /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/docker.service /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/zcbus_client.rsp /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/zcbus_docker.service /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/zcbus.properties /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/zcbus.yml /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/.check /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/common/.zcbus.common /data/zc01/zcbus/common/...
copy /data/zc01/simple_server/zcmgr.sh /data/zc01/zcbus/...
copy /data/zc01/simple_server/soft/docker-20.10.10.tgz /data/zc01/zcbus/soft/...
copy /data/zc01/simple_server/soft/docker-compose-Linux-aarch64 /data/zc01/zcbus/soft/...
copy /data/zc01/simple_server/soft/zcbus /data/zc01/zcbus/soft/...
172.17.26.61==➜ sync basic info to /data/zc01/zcbus/ end ...
172.17.26.61==➜ Test zcbus_docker Connect to zcbus_master.ini Sucessfull...
172.17.26.61==➜ =========================== ready restart zcbus_docker ====================
172.17.26.61==➜ sync config info to /data/zc01/zcbus/ begin ...
copy /data/zc01/simple_server/config /data/zc01/zcbus/...
copy /data/zc01/simple_server/yaml /data/zc01/zcbus/...
172.17.26.61==➜ sync config info to /data/zc01/zcbus/ end ...
time="2023-11-05T18:32:23+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
Container zcbusnet Restarting
Container zcbusnet Started
Container zcbusrestapi Restarting
Container zcbusrestapi Started
Container zcbusvue Restarting
Container zcbusvue Started
172.17.26.61==➜ =============================================================
172.17.26.61==➜ Manager console Website Address: http://172.17.26.61:8890
172.17.26.61==➜ Default login account : admin
172.17.26.61==➜ Default login password: 123456
172.17.26.61==➜
172.17.26.61==➜ =============================================================
172.17.26.61==✔ ----Zcbus has been installed and started successfully.----
➜ Install Zcbus success !!!
✔ Install zcbus for 172.17.26.61... successfully ...
[Step 21]: clear node's soft cache for ...
Note: 172.17.26.59
ssh 172.17.26.59 -o PreferredAuthentications=publickey -o StrictHostKeyChecking=no "rm -rf /data/zc01/simple_server"
➜ Clear soft success !!!
Note: 172.17.26.60
ssh 172.17.26.60 -o PreferredAuthentications=publickey -o StrictHostKeyChecking=no "rm -rf /data/zc01/simple_server"
➜ Clear soft success !!!
Note: 172.17.26.61
ssh 172.17.26.61 -o PreferredAuthentications=publickey -o StrictHostKeyChecking=no "rm -rf /data/zc01/simple_server"
➜ Clear soft success !!!
==========================================================================
➜ for host 172.17.26.61 22 root ETzlrQT1COhSVKNe...
➜ for host 172.17.26.59 22 root ETzlrQT1COhSVKNe...
➜ for host 172.17.26.60 22 root ETzlrQT1COhSVKNe...
[Step 22]: ready master replication info ...
Note: ready for master host1:172.17.26.59
Note: Ready Master info
Note: ready send file /tmp/zcbus/create_rs_user.sh
Note: Copying /tmp/zcbus/create_rs_user.sh to root:172.17.26.59:/tmp/zcbus/
➜ Copy /tmp/zcbus/create_rs_user.sh to root:172.17.26.59:/tmp/zcbus/ ok ...
Note: Ready Master info
mysql: [Warning] Using a password on the command line interface can be insecure.
[Step 23]: ready slave replication info ...
Note: Ready slave /tmp/zcbus info
Note: ready send file /tmp/zcbus/sync_master_data.sh
Note: Copying /tmp/zcbus/sync_master_data.sh to root:172.17.26.60:/tmp/zcbus/
➜ Copy /tmp/zcbus/sync_master_data.sh to root:172.17.26.60:/tmp/zcbus/ ok ...
Note: Start Init Full Data Sync
Note: ready send file /tmp/zcbus/zc_sync_slave.sh
Note: Copying /tmp/zcbus/zc_sync_slave.sh to root:172.17.26.60:/tmp/zcbus/
➜ Copy /tmp/zcbus/zc_sync_slave.sh to root:172.17.26.60:/tmp/zcbus/ ok ...
Note: Running Slave for 172.17.26.60
time="2023-11-05T18:32:51+08:00" level=warning msg="network default: network.external.name is deprecated in favor of network.name"
Container zcbusdb Recreate
Container zcbusnet Running
Container zcbusrestapi Running
Container zcbusvue Running
Container zcbusdb Recreated
Container zcbusdb Starting
Container zcbusdb Started
zcbusdb
===> check zcbus'mysql server ...
mysql: [Warning] Using a password on the command line interface can be insecure.
now()
2023-11-05 10:32:55
Check Database ok ...
===> drop database zcbus ...
mysql: [Warning] Using a password on the command line interface can be insecure.
execute sucessfull...
===> create database zcbus ...
mysql: [Warning] Using a password on the command line interface can be insecure.
execute sucessfull...
===> lock tables ...
mysql: [Warning] Using a password on the command line interface can be insecure.
execute sucessfull...
===> begin back database ...
mysqldump: [Warning] Using a password on the command line interface can be insecure.
execute sucessfull...
execute sucessfull...
===> Get Master logs ...
mysql: [Warning] Using a password on the command line interface can be insecure.
execute sucessfull...
===> unlock tables ...
mysql: [Warning] Using a password on the command line interface can be insecure.
execute sucessfull...
===> start load data to zcbus ...
mysql: [Warning] Using a password on the command line interface can be insecure.
execute sucessfull...
file my-bin.000003 . position 6980077 ...
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
sleep(3)
0
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: 172.17.26.59
Master_User: zcbus_ref
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: my-bin.000003
Read_Master_Log_Pos: 6980521
Relay_Log_File: 7ecb0e77857f-relay-bin.000002
Relay_Log_Pos: 761
Relay_Master_Log_File: my-bin.000003
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB:
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 6980521
Relay_Log_Space: 975
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: 0
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 0
Last_IO_Error:
Last_SQL_Errno: 0
Last_SQL_Error:
Replicate_Ignore_Server_Ids:
Master_Server_Id: 1
Master_UUID: 7693e627-7bc5-11ee-9f05-0242ac130002
Master_Info_File: mysql.slave_master_info
SQL_Delay: 0
SQL_Remaining_Delay: NULL
Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates
Master_Retry_Count: 86400
Master_Bind:
Last_IO_Error_Timestamp:
Last_SQL_Error_Timestamp:
Master_SSL_Crl:
Master_SSL_Crlpath:
Retrieved_Gtid_Set: 7693e627-7bc5-11ee-9f05-0242ac130002:695
Executed_Gtid_Set: 122eb6a6-7bc6-11ee-9ddf-0242ac130002:1-1357,
7693e627-7bc5-11ee-9f05-0242ac130002:695
Auto_Position: 0
Replicate_Rewrite_DB:
Channel_Name:
Master_TLS_Version:
execute sucessfull...
Note: ready for slave host2:172.17.26.60 create replication user ...
Note: ready send file /tmp/zcbus/create_rs_user.sh
Note: Copying /tmp/zcbus/create_rs_user.sh to root:172.17.26.60:/tmp/zcbus/
➜ Copy /tmp/zcbus/create_rs_user.sh to root:172.17.26.60:/tmp/zcbus/ ok ...
Note: Ready Master info
mysql: [Warning] Using a password on the command line interface can be insecure.
Note: ready for master change log info for replication ...
Note: ready send file /tmp/zcbus/sync_to_master_data.sh
Note: Copying /tmp/zcbus/sync_to_master_data.sh to root:172.17.26.59:/tmp/zcbus/
➜ Copy /tmp/zcbus/sync_to_master_data.sh to root:172.17.26.59:/tmp/zcbus/ ok ...
Note: ready send file ./scripts/sync_master.sh
Note: Copying ./scripts/sync_master.sh to root:172.17.26.59:/tmp/zcbus/
➜ Copy ./scripts/sync_master.sh to root:172.17.26.59:/tmp/zcbus/ ok ...
Note: Ready master for 172.17.26.59
===> Get Master logs ...
mysql: [Warning] Using a password on the command line interface can be insecure.
execute sucessfull...
file my-bin.000004 . position 6962075 ...
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
sleep(3)
0
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: 172.17.26.60
Master_User: zcbus_ref
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: my-bin.000004
Read_Master_Log_Pos: 6962075
Relay_Log_File: 1e62d15b5da6-relay-bin.000002
Relay_Log_Pos: 317
Relay_Master_Log_File: my-bin.000004
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB:
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 6962075
Relay_Log_Space: 531
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: 0
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 0
Last_IO_Error:
Last_SQL_Errno: 0
Last_SQL_Error:
Replicate_Ignore_Server_Ids:
Master_Server_Id: 10
Master_UUID: 122eb6a6-7bc6-11ee-9ddf-0242ac130002
Master_Info_File: mysql.slave_master_info
SQL_Delay: 0
SQL_Remaining_Delay: NULL
Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates
Master_Retry_Count: 86400
Master_Bind:
Last_IO_Error_Timestamp:
Last_SQL_Error_Timestamp:
Master_SSL_Crl:
Master_SSL_Crlpath:
Retrieved_Gtid_Set:
Executed_Gtid_Set: 7693e627-7bc5-11ee-9f05-0242ac130002:1-696
Auto_Position: 0
Replicate_Rewrite_DB:
Channel_Name:
Master_TLS_Version:
execute sucessfull...
Note: ready for slave host2:172.17.26.60
集群运行状态检查
zcsrv.sh帮助
[root@iZ2ze97seqad5b4siy6ax0Z grid]# ./zcsrv.sh -h ➜ Usage : ➜ ================================================================== ➜ >>> Version 2.0.1. copyright (C) 2021 Zcbus. inc. <<< ➜ ================================================================== ➜ : install # install grid for zcbus ➜ : uninstall # uninstall grid all info ➜ : switch view/run # switch master'slave database service ➜ : update beforevalue aftervalue # update docker-compose/zcbus.properties's username or password ➜ : add 192.168.0.101 # add zcbus node for 192.168.0.101 ➜ : drop 192.168.0.101 # drop zcbus node for 192.168.0.101 ➜ : check all/trust/zcbus/db/kafka/web # check zcbus's all info ➜ : oper stop/start/restart/ps # oper zcbus's container operation ➜ : zk/zookeeper/kafka stop/start/check # oper kafka's operation ➜ : test_conn # check zcbus's db nodes's status
检查
[root@iZ2ze97seqad5b4siy6ax0Z grid]# ./zcsrv.sh check all
➜ *****************************************************************************
➜ ------------------------- check kafka/zookeeper -----------------------------
➜ *****************************************************************************
➜ check kafka broker for host1 : 172.17.26.59 server.properties
➜ Check kafka server:server.properties for 172.17.26.59 ok ...
➜ check kafka broker for host2 : 172.17.26.60 server.properties
➜ Check kafka server:server.properties for 172.17.26.60 ok ...
➜ check kafka broker for host3 : 172.17.26.61 server.properties
➜ Check kafka server:server.properties for 172.17.26.61 ok ...
➜ check zookeeper for host1 : 172.17.26.59
ZooKeeper JMX enabled by default
Using config: /data/zc01/kafka/zk/bin/../conf/zoo.cfg
➜ Check zookeeper server for 172.17.26.59 ok ...
➜ check zookeeper for host2 : 172.17.26.60
ZooKeeper JMX enabled by default
Using config: /data/zc01/kafka/zk/bin/../conf/zoo.cfg
➜ Check zookeeper server for 172.17.26.60 ok ...
➜ check zookeeper for host3 : 172.17.26.61
ZooKeeper JMX enabled by default
Using config: /data/zc01/kafka/zk/bin/../conf/zoo.cfg
➜ Check zookeeper server for 172.17.26.61 ok ...
➜ *****************************************************************************
➜ ----------------------------- check zcbusdb ---------------------------------
➜ *****************************************************************************
➜ ===============check ip 172.17.26.59==================
Note: Ready db node 172.17.26.59
1e62d15b5da6 reg.zbomc.com/zcbus_mysql:v2.0.1 "docker-entrypoint.s…" 11 minutes ago Up 11 minutes 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp zcbusdb
Note: Ready db node 172.17.26.59
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqld is alive
➜ ===============check ip 172.17.26.60==================
Note: Ready db node 172.17.26.60
7ecb0e77857f reg.zbomc.com/zcbus_mysql:v2.0.1 "docker-entrypoint.s…" 2 minutes ago Up 2 minutes 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp zcbusdb
Note: Ready db node 172.17.26.60
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqld is alive
➜ *****************************************************************************
➜ ---------------------------------- check net -------------------------------
➜ *****************************************************************************
Note: Ready net node 172.17.26.59
50f095f7d5a8 reg.zbomc.com/zcbus_net:v2.0.1 "docker-entrypoint.s…" 11 minutes ago Up 9 minutes 3306/tcp, 0.0.0.0:33060->33060/tcp, :::33060->33060/tcp zcbusnet
Note: Ready net node 172.17.26.60
e07855f100f9 reg.zbomc.com/zcbus_net:v2.0.1 "docker-entrypoint.s…" 7 minutes ago Up 5 minutes 3306/tcp, 0.0.0.0:33060->33060/tcp, :::33060->33060/tcp zcbusnet
Note: Ready net node 172.17.26.61
8a4b68f761ba reg.zbomc.com/zcbus_net:v2.0.1 "docker-entrypoint.s…" 3 minutes ago Up 2 minutes 3306/tcp, 0.0.0.0:33060->33060/tcp, :::33060->33060/tcp zcbusnet
➜ *****************************************************************************
➜ ---------------------------------- check web -------------------------------
➜ *****************************************************************************
Note: Ready web node 172.17.26.59
e6a3039e84b2 reg.zbomc.com/zcbus_vue:v2.0.1 "/docker-entrypoint.…" 11 minutes ago Up 9 minutes 0.0.0.0:8890->80/tcp, :::8890->80/tcp zcbusvue
21c22678df4f reg.zbomc.com/zcbus_restapi:v2.0.1 "sh /run.sh" 11 minutes ago Up 9 minutes 7080/tcp zcbusrestapi
Note: Ready web node 172.17.26.60
9cd8a1c70bd6 reg.zbomc.com/zcbus_vue:v2.0.1 "/docker-entrypoint.…" 7 minutes ago Up 4 minutes 0.0.0.0:8890->80/tcp, :::8890->80/tcp zcbusvue
9d88fa48f5ab reg.zbomc.com/zcbus_restapi:v2.0.1 "sh /run.sh" 7 minutes ago Up 4 minutes 7080/tcp zcbusrestapi
Note: Ready web node 172.17.26.61
29d0be0ceb73 reg.zbomc.com/zcbus_vue:v2.0.1 "/docker-entrypoint.…" 3 minutes ago Up 2 minutes 0.0.0.0:8890->80/tcp, :::8890->80/tcp zcbusvue
4195e7e842be reg.zbomc.com/zcbus_restapi:v2.0.1 "sh /run.sh" 3 minutes ago Up 2 minutes 7080/tcp zcbusrestapi
➜ *****************************************************************************
➜ ---------------------------- check work container --------------------------
➜ *****************************************************************************
Note: Ready work node 172.17.26.59
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5e20a0ab4524 reg.zbomc.com/zcbus_server:v2.0.1 "/bin/bash -c ${ZCBU…" 9 minutes ago Up 9 minutes zcbus
Note: Ready work node 172.17.26.60
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Note: Ready work node 172.17.26.61
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
- 安装完成之后,可以访问任何一个节点,都可以完成页面访问
报错1:
- 报错内容:
➜ Dir /data/zc01 is not exist,mkdir it!!
✔ mkdir /data/zc01 successfully ...
✖ Check failed for limit 50G > 29G[/data/zc01]...
- 原因:
磁盘空间不够,默认不小于50G - 处理:
(1)建议:扩容磁盘空间
(2)修改conf/grid.ini:
zcbus_data_limit=20G
报错2:
- 报错内容:
➜ Dir /data/dk is exist!!
Check sucessfull for limit 10G < 32G[/data/dk]...
✖ Check failed for limit 0 < 4...
- 原因:
内存不够,默认不小于4G - 处理:
(1)建议:扩容内存
(2)修改conf/grid.ini:
zcbus_memory_limit=2G
文档更新时间: 2023-11-06 21:11 作者:操李红