我需要删除文件 server01(目前离线很长时间)。配置如下:
shards:
{ "_id" : "mongo1", "host" : "mongo1/server01:27017,server02:27017,server03:27017" }
{ "_id" : "mongo2", "host" : "mongo2/server02:27018,server03:27018,server04:27018" }
{ "_id" : "mongo3", "host" : "mongo3/server03:27019,server04:27019,server05:27019" }
{ "_id" : "mongo4", "host" : "mongo4/server01:27022,server04:27022,server05:27022" }
{ "_id" : "mongo5", "host" : "mongo5/server01:27023,server02:27023,server05:27023" }
并且我已经对数据库进行了如下分区:
{ "_id" : "dbace", "partitioned" : true, "primary" : "mongo2" }
ETC。
生产使用中的集群。是否可以删除名为“server01”的故障服务器,该怎么做?