复古 护眼 海天 深邃 暗黑 默认
Logo
启动集群

启动集群 #

  1. 使用 spex cluster start --name <cluster-name> 启动集群。 示例: 启动名为 demo 的集群。
[root@centos71 demo]# spex cluster start --name demo
Operation ZooKeeper
start ZooKeeper      
10.0.1.1 : 2181 => success
/usr/bin/java
Starting zookeeper ... STARTED
ZooKeeper JMX enabled by default
Using config: /demo/zookeeper/apache-zookeeper-3.6.3-bin/bin/../conf/zoo.cfg
Completed......
Operation ShardingSphere-Proxy
start proxy      
10.0.1.1 : 3307 => success
The port is 3307
The classpath is /demo/shardingsphere-proxy/apache-shardingsphere-5.0.0-shardingsphere-proxy-bin/conf:.:/demo1/shardingsphere-proxy/apache-shardingsphere-5.0.0-shardingsphere-proxy-bin/lib/*:/demo1/shardingsphere-proxy/apache-shardingsphere-5.0.0-shardingsphere-proxy-bin/ext-lib/*
Please check the STDOUT file: /demo/shardingsphere-proxy/apache-shardingsphere-5.0.0-shardingsphere-proxy-bin/logs/stdout.log
Completed......