Hello,
I'm trying to configure MongoDB Management Service (MMS) in order to monitor a test sharded cluster but I'm having trouble with it. I've created an account in the web page and successfully installed the MMS agent (in the Administration/Agents tab I can see the agent is communicating with MMS properly). The cluster is formed by two shards (S0, S1) each being a replica set with three members (two data nodes and an arbiter), three config servers and one mongos (all of them running in Windows 200x Server machines). The processes distribution is the following:
MACHINE PROCCESS
-----------------------------------------
1 mongos, MMS agent
2 S0-RS0, C0
3 S0-RS1, S1-RS2 (Arbiter), C2
4 S1-RS0, C3
5 S1-RS1, S0-RS2 (Arbiter)
Where SX-RSY stands for Shard X - Replica set member Y and C means config server .
When I try to configure the hosts related to the cluster through the "Deployment/+Add/Create new cluster" option, I get the following error message:
"Error: Unable to find enough servers. Please check the server eligibility settings and port ranges, and ensure all agents are running"
To tell the truth, I do not completely understand what values are expected in the "Create new cluster" form fields. For instance:
- Name: Does it have to match some specific string or it is just a name for the MMS interface?
- Eligible Server RegExp: This is very confusing for me. I'm using several machines for the cluster with arbitrary Windows names and I do not know what is expected here. I've tried using a static ip
address shared by all of them and the '.' character but I do not know what is really expected.
- Eligible Port Range: Does this refer to a range that contains all the ports involved in the cluster (mongos, config servers, data nodes...)? The range could be very big compared with the number of effective ports being used...
- Config Server Configuration (Distribution): How can I indicate the three ports of the config servers? Is it enough with one?
- Shard Name Prefix: Here I have the same question as with the name field...
- DB Path Prefix: I do not know what prefix refers as each process has its own --dbpath value...
I assume that only the agent should be able to connect to the cluster processes (what I already checked).
Could anyone help me with this please?
Thank you very much in advance