Hi
I’m working on an installation of Ops Manager 5.0 with MongoDB 4.2 backing db.
MongoDB has been setup with 3 replication nodes.
[dkshans@fdbdmcnmomp01 ~]$ mongo mongodb://fdbdmcnfadd01:27017/fluxa --eval 'rs.status()' | egrep 'name|stateStr'
"name" : "fdbdmcnfadd01.example.org:27017",
"stateStr" : "PRIMARY",
"name" : "fdbdmcnfadd02.example.org:27017",
"stateStr" : "SECONDARY",
"name" : "fdbdmcnfadd03,example,org:27017",
"stateStr" : "SECONDARY",
...
Then when I try the installation it fails:
[root@fdbdmcnmomp01 ~]# service mongodb-mms start
Starting pre-flight checks
[WARNING] Running MongoDB Ops Manager with version 4.2.19 is deprecated: Config{loadBalance=false, encryptedCredentials=false, ssl='false', dbNames='[mmsdbserverlog, mmsdbautomation, monitoringdiagnostics, mmsdbpings, mmsdbprofile, mmsdbjobs, monitoringstatus, automationcore, agentlogs, automationstatus, mmsdbserverlessrrd, chartsmetadata, mmsdb, mmsdbprovisionlog, mmsrt, mmsdbrrd, mmsdbconfig, mmsdblogcollection, mongologsmetadata, backupusage, mmsdbagentlog, mmsdbbilling, backupstatus, backuplogs, mmsdbmetering, mmsdbautomationlog, ndsstatus, cloudconf, backupdb, mmsdbprovisioning, mmsdbqueues, nds]', uri=mongodb://fdbdmcnfadd01.example.org:27017/?maxPoolSize=150&retryWrites=false&retryReads=false}
[WARNING] Version 4.4.0 will be required in a future release.
Invalid replica set configuration: at least 3 nodes required: Config{loadBalance=false, encryptedCredentials=false, ssl='false', dbNames='[mmsdbserverlog, mmsdbautomation, monitoringdiagnostics, mmsdbpings, mmsdbprofile, mmsdbjobs, monitoringstatus, automationcore, agentlogs, automationstatus, mmsdbserverlessrrd, chartsmetadata, mmsdb, mmsdbprovisionlog, mmsrt, mmsdbrrd, mmsdbconfig, mmsdblogcollection, mongologsmetadata, backupusage, mmsdbagentlog, mmsdbbilling, backupstatus, backuplogs, mmsdbmetering, mmsdbautomationlog, ndsstatus, cloudconf, backupdb, mmsdbprovisioning, mmsdbqueues, nds]', uri=mongodb://fdbdmcnfadd01.example.org:27017/?maxPoolSize=150&retryWrites=false&retryReads=false}
Pre-flight checks failed. Service can not start.
Preflight check failed.
Config is simple:
[root@fdbdmcnmomp01 ~]# egrep -v "^#|^$" /opt/mongodb/mms/conf/conf-mms.properties
mongo.mongoUri=mongodb://fdbdmcnfadd01.example.org:27017/?maxPoolSize=150&retryWrites=false&retryReads=false
mongo.ssl=false
jvm.java.security.krb5.conf=
jvm.java.security.krb5.kdc=
jvm.java.security.krb5.realm=
mms.kerberos.principal=
mms.kerberos.keyTab=
mms.kerberos.debug=
Any hint is much appreciated!
best regards
Hans