Windows下默認單機啓動
若要以集羣方式啓動需手動指定參數
startup.cmd -m cluster
Linux下默認集羣啓動
同樣的若要以單機啓動需手動指定參數
./startup.sh -m standalone
另外集羣啓動,只需要配置 cluster.conf.example --> cluster.conf 裏面指定 ip:port 即可
如:
若要以集羣方式啓動需手動指定參數
同樣的若要以單機啓動需手動指定參數
./startup.sh -m standalone
如: