MongoDB topology
MongoDB is present on both nodes of the databases cluster, but with different roles:cluster-n03– active mongod service, part of replica setrs1and typically the PRIMARY.cluster-n04– MongoDB binaries/tools are available, but there is no activemongod.serviceor/etc/mongod.confunder systemd.
MongoDB on cluster-n03
- Version:
db version v3.4.13 - Service:
mongod.service(enabled, active) - Binary / config:
- Service command:
/usr/bin/mongod --config /etc/mongod.conf dbPath: /data/mongoport: 27017bindIp: 0.0.0.0replication.replSetName: rs1
- Service command:
cluster-n03 is part of replica set rs1 and is typically the PRIMARY node used by applications.
MongoDB on cluster-n04
- Version:
db version v3.6.8(tools installed) - Service:
mongod.serviceis not found under systemd./etc/mongod.confis not present.
- This host may participate in the MongoDB topology in a different way (e.g. containerized
mongod, alternate service name) or not at all. - Do not assume MongoDB failover to
cluster-n04without verifying the actual deployment.
Operational notes
- Treat
cluster-n03as the main MongoDB node for now. - Before relying on
cluster-n04for MongoDB HA, confirm:- How (or if) it joins replica set
rs1. - Where its data path and configuration live.
- How applications discover and connect to the replica set.
- How (or if) it joins replica set

