-
Type: Question
-
Resolution: Done
-
Priority: Critical - P2
-
None
-
Affects Version/s: 3.6 Required
-
Component/s: Sharding
-
Labels:None
-
Environment:We had to change hostname and ip Adress.
I change replikast information of config and rs
But rs tries to reach Configserver at startup and will not find on so it hangs
db. How to change the ip number of the config server in the rs ? l
RS log: cfg1 is replica set of configsever
2018-05-16T10:29:56.800+0200 W NETWORK [monitoring keys for HMAC] Unable to reach primary for set cfg1
2018-05-16T10:29:57.100+0200 W NETWORK [initandlisten] Failed to connect to 4.128.226.36:27019, in(checking socket for error after poll), reason: Connection refused
We had to change hostname and ip Adress. I change replikast information of config and rs But rs tries to reach Configserver at startup and will not find on so it hangs db. How to change the ip number of the config server in the rs ? l RS log: cfg1 is replica set of configsever 2018-05-16T10:29:56.800+0200 W NETWORK [monitoring keys for HMAC] Unable to reach primary for set cfg1 2018-05-16T10:29:57.100+0200 W NETWORK [initandlisten] Failed to connect to 4.128.226.36:27019, in(checking socket for error after poll), reason: Connection refused
We had to change hostname and ip number of our system
I changed all member hostname of all replica sets (also config server replicaset)
Now rs is not starting, config server is up an running but rs seems to adress old
ips of config. #how can i change that.
Got Error:
2018-05-16T10:29:56.800+0200 W NETWORK [monitoring keys for HMAC] Unable to reach primary for set cfg1
2018-05-16T10:29:57.100+0200 W NETWORK [initandlisten] Failed to connect to 4.128.226.36:27019, in(checking socket for error after poll), reason: Connection refused
Its from the replica set log
cfg1 is config server replica set