Percona Community Forum » MongoDB
47 FOLLOWERS
Percona Community Forum is a technical forum for help with Percona's open-source software for MySQL®, PostgreSQL, and MongoDB® databases.
Percona Community Forum » MongoDB
18h ago
Hello,
I want to configure pbm-agent to backup to S3 with server-side encryption with Amazon S3 managed keys(SSE-S3) , don’t want to use custom key. If I am doing aws s3 cp command, the option is “–sse”.
How to configure above in pbm_config.yamp file? I did it, but it shows error.
storage:
type: s3
s3:
region: us-east-1
bucket: xxxxxxxxxx
prefix: data/pbm/backup
serverSideEncryption:
sseAlgorithm: aws:kms
After restarting pbm-agent, it shows the config like below:
[root@ip-10-88-3-46 etc]# pbm config
pitr:
enabled: false
oplogSpanMin: 0
compression: s2
storage:
type: s3
s3:
provider: aws
regio ..read more
Percona Community Forum » MongoDB
18h ago
Description:
How to run mongo on specific port in k8s 3 node replica set?
Steps to Reproduce:
I deployed 3 node replica set using cr.yaml and as expected it deployed 3 node replica set with default port 27017. I want to run mongo on custom port. How can I make it happen? What changes I need to do in cr.yaml for this?
Version:
I am using operator 1.15
Logs:
[If applicable, include any relevant log files or error messages]
Expected Result:
[What the user expected to see or happen before the issue occurred]
Actual Result:
[What actually happened when the user encountered the issue]
Additional Inf ..read more
Percona Community Forum » MongoDB
3d ago
Hai,
When upgrading from MongoDB version 5.x to 6.0.14, our SSL connection stopped working properly even though it was fine with version 5.x. We tried adding the tlsUseSystemCA property as suggested, but the issue persisted.
https://jira.mongodb.org/browse/SERVER-72839
docker compose
mongod --auth --keyFile /data/key/authKey.key --replSet rs1 --dbpath /data/db --port 27017 -enableEncryption --encryptionKeyFile=/data/key/mongodb.key --encryptionCipherMode=AES256-GCM --setParameter replWriterThreadCount=64 --setParameter enableFlowControl=false --setParameter maxSessions=1000000 --setParameter l ..read more
Percona Community Forum » MongoDB
3d ago
Hi
I’m working on connecting Percona Backup for MongoDB by installing Percona Server for MongoDB via Docker. Although I’ve installed it, I’m unable to retrieve the IP address even after running the command docker inspect psmdb
4 posts - 2 participants
Read full topic ..read more
Percona Community Forum » MongoDB
6d ago
Hi Everyone,
we are encountering with the MongoDB Exporter configuration when using TLS authentication. While we have successfully enabled TLS on our MongoDB instance and can access MongoDB using certificates and usernames, but we are facing difficulties when configuring the MongoDB Exporter via system services with the same credentials.
Following is exec start command :/usr/local/bin/mongodb_exporter --mongodb.uri=“mongodb://xx:xx@hostname:27017/?tls=true&tlsCertificateKeyFile=/etc/mongodb/certs/mongodb.pem&tlsCAFile=/etc/mongodb/certs/caToValidateClientCertificates.pem” --log.level=d ..read more
Percona Community Forum » MongoDB
1w ago
Description:
MongoDB Cluster cannot failover when down time all pods
Steps to Reproduce:
Kubectl delete (all pods in replicaset) --force -n namespace or shutdown all nodes in K8s cluster
Version:
Percona Operator for MongoDB* 1.15.0
Logs:
Logs in Operator:
2024-04-25T08:48:42.241Z ERROR failed to reconcile cluster {“controller”: “psmdb-controller”, “object”: {“name”:“mongo-psmdb-db”,“namespace”:“tungdt”}, “namespace”: “tungdt”, “name”: “mongo-psmdb-db”, “reconcileID”: “7614bf82-1bf1-43e0-b4ab-f07b6c5a358c”, “replset”: “rs0”, “error”: “dial: ping mongo: server selection error: context deadline ..read more
Percona Community Forum » MongoDB
1w ago
Hey friends
I’ve been recently using MongoDB for a week and I want to take physical backup in the MongoDB instance. I came across many sites, and finally got that pbm is the best tool for physical backups, but I don’t understand how to use pbm it is very complex in the installation itself, and very confusing so kindly anyone help me in this regard on the installation of pbm
Thanks in Advance
With Regards
Gousik Rao N
2 posts - 2 participants
Read full topic ..read more
Percona Community Forum » MongoDB
1w ago
Description:
I am trying for restoration from scheduled backups, but its not successful and also please guide how to validate after restoration.
Steps to Reproduce:
I have the below:
cr.yaml - configured for scheduled backup
Backup.yaml - for on-demand backup
restore.yaml - for on-demand restoration
On-demand bkp is also available and scheduled backups are also available.
5. I am able to restore using on-demand bkp, how to validate it ?? please share the steps.
6. And I am unable to restore using schedule backups, please guide.
Version:
1.15.0
Logs:
Logs after restoration applied for on-dema ..read more
Percona Community Forum » MongoDB
2w ago
Description:
Primary node on the replica set has crashed for some reason and is unable to start. It scans the collection for index building and gets signal(15) to be killed, after which, it shuts down and repeats the process once again.
We are running percona/percona-server-mongodb:6.0.9-7.
Here are the logs from mongod of failing node:
{"t":{"$date":"2024-04-18T07:02:56.003+00:00"},"s":"I", "c":"-", "id":51773, "ctx":"initandlisten","msg":"progress meter","attr":{"name":"Index Build: scanning collection","done":127049100,"total":234295627,"percent":54}}
{"t":{"$date":"2024-04-18T07 ..read more
Percona Community Forum » MongoDB
2w ago
Description:
operator restart, results in mongodb restart
Steps to Reproduce:
If there is OOM on percona operator, for some reason the replicaset also restarts
Version:
1.15
psmdb-operator:
Container ID: containerd://c1b2fc542653657b6481c17d4598c0b6a034d75be2109b4cbd96ecf1edac24e5
Image: nexus-docker-reader.com/percona/percona-server-mongodb-operator:1.15.0
Image ID: nexus-docker-reader.com/percona/percona-server-mongodb-operator@sha256:d8a5b33db1938d42769cb5a87d34a128332a2d0302eaa6d7c860e7c4667ea3b6
Ports: 8080/TCP, 8081/TCP
Host Ports: 0/TCP, 0 ..read more