Hi,
I have installed PMM 2.10.1 and Configured cluster of MongoDB 4.4.0 with this structure:
Server1:
mongo-router-01:27017
mongo-config-01:27021
mongo-shard-01-node-a:27018
mongo-shard-01-node-b:27019
mongo-shard-01-node-c:27020
Server2:
mongo-router-02:27017
mongo-config-02:27021
mongo-shard-02-node-a:27018
mongo-shard-02-node-b:27019
mongo-shard-02-node-c:27020
Server3:
mongo-router-03:27017
mongo-config-03:27021
mongo-shard-03-node-a:27018
mongo-shard-03-node-b:27019
mongo-shard-03-node-c:27020
I just added mongo-router-01:27017 to pmm-admin with following command and it is OK:
sudo pmm-admin add mongodb --cluster someMongoCluster --username=mongodb_exporter --password=SomeStrongPassword
But when I try to add mongo-shard-01-node-a with the following command:
sudo pmm-admin add mongodb --cluster someMongoCluster --replication-set=mongo-shard-01 --username=mongodb_exporter --password=SomeStrongPassword mongo-shard-01-node-a mongo-shard-01-node-a:27018
Following Error has occurred:
Connection check failed: connection() : auth error: sasl conversation error: unable to authenticate using mechanism “SCRAM-SHA-1”: (AuthenticationFailed) Authentication failed…
l am sure username and password are correct.
What is the problem?
Why Percona has not provide an straightforward get start about fully implementation of PMM 2 for Secured Clustered MongoDB?