DBaasNow V3

Prepare MongoDB hosts and connect

Host requirements

Follow managed host preparation. Members need matching OS family, stable FQDNs that peers and clients can resolve, synchronized time, validated SSH privileges and sufficient data/journal/archive storage. Size CPU and memory for the workload; no arbitrary host size is guaranteed to work.

An instance is identified by its port. The managed installation uses the following instance paths and service name; replace <port> with the configured port:

Item Instance path/name
Application /app/mongo_<port>
Data /data/mongo_<port>
Journal /log/journal/mongo_<port>
Archive /arch/mongo_<port>
Service mongod_<port>

Validate free space and ownership before provisioning. Do not share cleanup paths with another workload. Review the effective WiredTiger configuration and cache allocation against the host's memory and workload. Verify resource use after provisioning before accepting the deployment for application traffic.

Network and connection

Allow the configured database port between members and from approved clients, plus management, collector and metrics routes in the network matrix. Default MongoDB port 27017 is an example, not a requirement for every instance.

Use a replica-set-aware driver and stable member names. For example:

mongodb://db1.example.com:27017,db2.example.com:27017,db3.example.com:27017/?replicaSet=example&retryWrites=true

Replace the names, port and replica-set name with the project's actual configuration. Supply authentication database, credentials and TLS settings through the application's secret/configuration mechanism. Do not replace replica-set member names with raw IPs just because a client lookup failed; repair name resolution consistently.

Test driver reconnection and write retry behavior. An election can interrupt in-flight work even when the driver discovers the new primary.


Guide overview ยท Documentation home