Demo entry 6722657

desc

   

Submitted by anonymous on Mar 23, 2018 at 07:04
Language: Properties. Code size: 172 Bytes.

# 7.杀死主节点,测试集群是否能够继续对外提供服务
$ docker stop mongo-node0

# 8.进入其他节点容器
$ docker exec -it mongo-node1 /bin/bash

# 9.进入mongodb交互模式
$ mongo

# 10.查看副本集状态
$ rs.status();

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).