Requirements for MongoDB staging/target environments
The staging and target environments have the same set of requirements for MongoDB.
Network and connectivity requirements
Before proceeding further, ensure that you meet the general requirements for Delphix Engine network connectivity.
For MongoDB plugin specific network and connectivity requirements, refer to the sections below.
SSH connectivity to the target host
Target environments are required to have
sshd
running and configured for the Delphix Continuous Data Engine to connect over SSH.The Delphix Continuous Data Engine platform expects to maintain long-running, highly performant SSH connections with the host environment.
Once connected to a target environment through SSH, the Delphix Continuous Data Engine initiates a MongoDB client connection (
mongosh
) from the target environment to the source environment.
Creating NFS mounts on target host
Delphix Continuous Data Engine shares its storage space with the target host using NFS mounts.
Protocol | Port Number | Use |
---|---|---|
TCP/UDP | 111 | Remote Procedure Call (RPC) port mapper used for NFSv3 mounts. |
TCP | 1110 | Network Status Monitor (NSM) client from target hosts to the Continuous Data Engine. |
TCP | 2049 | NFS client from target hosts to the Continuous Data Engine (NFSv3 and NFSv4). |
TCP | 54043 | Client mount daemon (NFSv3 only). |
TCP | 54044 | Lock state notification service (NFSv3 only). |
TCP | 54045 | Network Lock Manager (NLM) client from target hosts to Continuous Data Engine (NFSv3 only). |
UDP | 33434 - 33464 |
|
Connecting to MongoDB instances (source, staging database, VDBs)
Outgoing [From] | Incoming [To] | Protocol | Port Number | Use |
---|---|---|---|---|
Staging host | Source MongoDB instance | TCP | <source-port> | MongoDB source database instance port to connect to, for taking backup as well as setting up streaming replication. The default port for a MongoDB instance is 27017. |
End-user hosts | Target MongoDB instance (staging database instance or VDBs). | TCP | <target-port> | Connecting to the created database instance on the target host. |
Host environment requirements
Staging/target host requirements | Explanation |
Host compatibility check
| It is required that the source and the target environments should have identical operating system and hardware configurations. |
MongoDB installation and compatibility check
| The MongoDB binary version on the staging/target must be identical to the source side. |
There must be a directory on the staging/target host where the MongoDB connector support files can be installed (i.e. /var/tmp) with the following properties:
| This path is called the Toolkit Path on the Environment creation UI page. |
During VDB provisioning, there must be a mount point directory (i.e. /mnt) that will be used as the base for mount points – created with the following properties:
| N/A |
Hostname and IP address must be correctly set in the /etc/hosts file. | The output of
CODE
|
Required utilities and tools
| MongoDB connector checks the status of the running MongoDB instance and validates if ports are available on the staging/target host using the Check if the
|
Storage requirement |
|
| This would make sure the MongoDB binaries are available in the list of executable programs on a given host. |