mongodb-replica-set Questions

3

This is the portion of the dockerfile that has served us well to date. However, now I need to convert this to be a single node replica set (for transactions to work). I don't want any secondary or ...
Buckbuckaroo asked 22/3, 2021 at 22:12

3

Error Invalid "prisma.user.create()". Prisma needs to perform transactions, which requires your MongoDB server to be run as a replica set. I used Nx (nx.dev) with MongoDB/Express with Pri...
Akira asked 1/9, 2022 at 13:22

5

I tried to create a replica set following instruction such as : https://hevodata.com/learn/mongodb-replica-set-3-easy-methods/ Sadly, I have a problem at the first step : Problem The command : mon...
Bohunk asked 23/11, 2021 at 12:42

5

I want to turn on the replication in monga. So when I tried to use rs.initiate I get the following errorrs.initiate() { "ok" : 0, "errmsg" : "This node was not started with the replSet option", ...
Regardless asked 23/12, 2016 at 5:40

3

I am getting this message every time I do rs.initiate() : No host described in new configuration 1 for replica set rs0 maps to this node This is how my /etc/hosts/ file looks on both the repli...
Constantina asked 23/3, 2015 at 13:18

2

Solved

I have 2 mongo instance running in 2 different servers (one primary and other secondary); I am able to retrieve a document from the primary server using this connection code: var db = mongojs('use...
Juncaceous asked 29/9, 2016 at 11:36

1

Solved

I'm taking the Mongodb University M103 course and over there they gave a brief overview of what a cluster and a replica set is. From my understanding a cluster is a set of servers or nodes. While a...
Anthropogeography asked 7/5, 2020 at 11:7

2

Solved

I needed to use Mongo DB transactions, and recently I understood that transactions don't work for Mongo standalone mode, but only for replica sets (Mongo DB with C# - document added regardless of t...
Intimate asked 28/5, 2019 at 6:21

1

I have installed the latest version of mongodb (v4.0.5) using the following link https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/ Following this now I'm trying to set up replica...
Encephalo asked 31/12, 2018 at 10:54

5

Whenever I type: rs.initiate(), I get the following error message: { "info2" : "no configuration explicitly specified -- making one", "me" : "VMHOSTNAME:27017", "ok" : 0, "errmsg" : "No host d...

3

Solved

I want to set up a MongoDB replica set with docker. The setup seems to be fine but I'm not able to connect to the cluster with my Java-app. I'm running Docker version 17.06.0-ce on Windows 10 with ...
Canty asked 27/12, 2017 at 21:28

2

I have 2 application servers, which are connecting to a replicaSet (Primary, Secondary and Arbitrer). Issue i'm facing is [ 'MongoError: no primary found in replicaset', ' at ../server/node_mo...
Oscilloscope asked 17/5, 2018 at 2:6

8

Solved

I use ubuntu. I start three mongod replica set as follows: $ mongod --replSet setname --logpath "1.log" --dbpath /data/rs1 --port 27017 --smallfiles --fork $ mongod --replSet setname --logpath "2...
Pia asked 4/3, 2013 at 3:59

1

Solved

I use MongoDB 3.4.3 and have three machines in one replica set. Let its names as server1, server2 and server3. server2 is in a constant rollback state, so we turned it off. server3 is in recovering...
Caucasia asked 28/6, 2017 at 9:25

2

Solved

In replica set cluster of MongoDB how can i ensure quick response for a concurent users when my primary is busy in serving another request? Do i need to use load balancer, or the mongodb itself ro...
Dysgraphia asked 5/5, 2017 at 11:38

1

Solved

Im wondering as to how to start a mongodb replica set using the new Docker 1.12 swarm mode service model. starting a service allows you to specify a number of container replicas, which in the mini...
Winsor asked 21/8, 2016 at 0:55

1

Solved

This morning I went to deploy my updated Meteor project onto Heroku. I was upgrading from 1.1.0.3 to 1.4.1.1. Using the Meteor Buildpack Horse everything installed correctly, but the application ...
Alga asked 4/9, 2016 at 8:51

3

Solved

When I stop nodes of my replica set and start them up again, the primary node goes into status "recovering". I have a replica set created, running without authorization. In order to use authorizat...
Steffi asked 31/8, 2016 at 8:16
1

© 2022 - 2024 — McMap. All rights reserved.