集群搭建
只有3台服务器,开始搭建mongodb集群里主要参照的是https://www.lanceyan.com/tech/arch/mongodb_shard1.html,端口的设置也是mongos为 20000, config server 为 21000, shard1为 22001 , shard2为22002, shard3为22003。其大体思路为:只有3台服务器,开始搭建mongodb集群里主要参照的是https://www.
只有3台服务器,开始搭建mongodb集群里主要参照的是https://www.lanceyan.com/tech/arch/mongodb_shard1.html,端口的设置也是mongos为 20000, config server 为 21000, shard1为 22001 , shard2为22002, shard3为22003。其大体思路为:只有3台服务器,开始搭建mongodb集群里主要参照的是https://www.