Hi everyone
question:
if the Security: keyFile file can be updated without restarting the replicaset nodes?
Thanks!!!
Hi everyone
question:
if the Security: keyFile file can be updated without restarting the replicaset nodes?
Thanks!!!
Welcome to the community!
No it is not possible without restart
What version are you using and your configuration like?
However for latest versions you can do this with no downtime
Please check this doc
Hi, Thank you very much for the reply.
Y have the version 4.0.5
and the config:
# network interfaces
net:
maxIncomingConnections: 64000
serviceExecutor: adaptive
port: 27017
bindIp: 127.0.0.1
ssl:
mode: requireSSL
PEMKeyFile: /opt/MongoDB/file.pem
allowInvalidCertificates: true
allowInvalidHostnames: true
security:
keyFile: /opt/MongoDB/keyfile
authorization: "enabled"
By configuration i meant your setup details like sharded/unsharded cluster,number of nodes,config servers,mongoose etc
Reason for asking this is if it is a sharded cluster you should have min. two mongoose for no downtime upgrade as per the link i shared
Also check this doc for unsharded cluster