6
Ponownie uruchomiłem 2 shardy na niestandardowych portach, wymieniając ich pliki .conf. Teraz po podłączeniu poprzez Mongo i wydać listshards uzyskać:mongodb rekonfigure shard ports
mongos> db.runCommand({ listshards : 1 });
Tue Oct 23 17:36:21 uncaught exception: error {
"$err" : "error creating initial database config information :: caused by :: socket exception [CONNECT_ERROR] for vserver-dev-2:37017",
"code" : 11002
}
(37017 jest stary port). Jak mogę zaktualizować porty shard na routerze (mongos)?
Jesteś zbawcą! Dzięki –