启动
./bin/zkServer.sh start conf/zoo.cfg
停止
./bin/zkServer.sh stop conf/zoo.cfg
查看状态
./bin/zkServer.sh status conf/zoo.cfg
连接zk
./bin/zkCli.sh -server
创建节点
create /node nodename
添加用户
addauth digest user:pwd
设置目录权限
setAcl / auth:user:pwd:cdrwa
./bin/zkServer.sh start conf/zoo.cfg
./bin/zkServer.sh stop conf/zoo.cfg
./bin/zkServer.sh status conf/zoo.cfg
./bin/zkCli.sh -server
create /node nodename
addauth digest user:pwd
setAcl / auth:user:pwd:cdrwa
版权声明:本文内容系天翼云实名用户自发贡献,版权归原作者所有,天翼云开发者社区不拥有其著作权,亦不承担相应法律责任,未经许可,不得转载。
如有疑问或争议,请联系ctyunbbs@chinatelecom.cn删除。
./bin/zkServer.sh start conf/zoo.cfg
./bin/zkServer.sh stop conf/zoo.cfg
./bin/zkServer.sh status conf/zoo.cfg
./bin/zkCli.sh -server
create /node nodename
addauth digest user:pwd
setAcl / auth:user:pwd:cdrwa
版权声明:本文内容系天翼云实名用户自发贡献,版权归原作者所有,天翼云开发者社区不拥有其著作权,亦不承担相应法律责任,未经许可,不得转载。
如有疑问或争议,请联系ctyunbbs@chinatelecom.cn删除。