Комментарии:
the greatest video about MongoDB i ever watch
ОтветитьHey Bro
You forgot an experiment in this Lab
mongodb replica set with 3 Nodes will be very good but if 1 of 3 Nodes die then there is no problem. But if 2 out of 3 nodes, an even number, die, you know the consequences. Without a Primary Node, what will you do now?
And the next thing is that the Primary's job is divided among the Slave Nodes. But the main responsibility is still the Primary Node. Suppose at some point your Primary Node is Full Disk and your system resources cannot be scaled vertically, what do you plan to do with your MongoDB Cluster?.
Please give me your answer as soon as possible. Thanks!!!
Nice video. @Just me and Opensource can you show how you set-up docker
ОтветитьI just found this video, i couldve saved hours from the things i did which is only 12 minutes in this videos creating a replica set with 3 instances of mongdb. Wow! im gonna watch the whole series now. Thank you so much!
ОтветитьExcellent..do you have any video to show cross region replication for mongodb 3 pods?
ОтветитьThere does not seem to be mongo services deployed on docker swarm , just separate mongodb containers on different hosts. Mapping in /etc/hosts also seems counter productive , because it implies you always want mongo0 on hostA , mongo1 on hostB and mongo2 on hostC. That is not how services deployed on docker swarm work - mongo0 , mongo1 and mongo2 as services could be deployed randomly on hostA or hostB or hostC.
ОтветитьBut what is the replicaset and what if we want to create rs1 and rs2, another question why can we need rs"n" ?
Ответитьthanks)
ОтветитьIs there any gui tool to setup replication rather than running through manual procedures?
ОтветитьI love your videos. Great quality work and very useful and practical. Thanks!
ОтветитьHi, using the local server with three instances without issue, but if have three separate servers, facing node not found error. Are you able to advice? Thank you.
ОтветитьHi bro thank you for this very explanatory . how to bind multiple ip address
ОтветитьHow to force secondry to become primery
ОтветитьAwesome Thank's
ОтветитьGreat job Venkat, this is really helpful!
Ответитьthankkkkkkkkssss you are literally a life saver <3
Ответитьvery nice video
ОтветитьHi very good tutorial thanks. A question how to enable authentication into a replicaset? Only on primary and how using a docker? Thanks.
ОтветитьGreat demonstration. Thank you for the video!
ОтветитьDo we have to install docker on each machine (mongodb0...)
Ответить. bos i subscribed to your channel , now already had another one to depend at times like this . got ur back
Ответитьwhy ddn't you use
rs.add("ServerB")
rs.add("ServerC")
what is the difference between
rs.initiate()
vs
rs.initiate( {
_id : "rs0",
members: [
{ _id: 0, host: "localhost:27017" },
{ _id: 1, host: "localhost:27018" },
{ _id: 2, host: "localhost:27019" }
]
})
what is the condition of both cases.
hi Sir,
I am getting some different message of the command rs.status()
rs.status()
{
"ok" : 0,
"errmsg" : "not running with --replSet",
"code" : 76,
"codeName" : "NoReplicationEnabled"
}
What is the meaning of this ?
Awesome!
ОтветитьThanks a lot!
ОтветитьThank you bro, got the clear idea on mongodb replica set.👍
ОтветитьThank you so much
ОтветитьHi venkat I am from India..the explanation was really great but I have one doubt: I have converted my standalone to replica sets in windows lastday but today after restarting my system
1.I am unable to Rerun my replica sets(getting this error: connect failed to replica set myReplicaSet/localhost:27017,localhost:27027,localhost:27037).
2.when I run my primary node(27017)..it is telling me that " "errmsg" : "This node was not started with the replSet option" when i typed rs.status() and also giving throwing as "Document(s) exist in 'system.replset', but started without --replSet."
PLEASE HELP ME VENKAT
Wonderful, appriciate the efforts to help
ОтветитьGreat video thanks for sharing! Do you need to have a minimum of three servers to configure a replica set? Or can I set one up with only two?
ОтветитьThank you from Russia))
ОтветитьThis is gold. Thank you..
ОтветитьHi Venkat,
Thanks for nice video. I did mongodb replica set by seeing your vidoe, however noticed secondary node asks to run rs.slaveOk() command before run any command when i connects to its(secondary node) mongo shell. Could you please let me know is this expected beheaviour.
Hi , thanks for the great tutorial. is it possible to get the docker file that you used for this deployment?
Ответитьawesome thanks.
ОтветитьShut up and take my subscribe
Ответитьthank you for this very explanatory tutorial.
I have a question: can we just use 2 machines for replication or 3 machines is the minimum?
I can't find anything about it in the documentation
Thanks.
thanks , really clever explanation!
ОтветитьHello, I had a question that can we set up sync or replication between my on-prem MongoDB server and my azure VM MongoDB server.
ОтветитьWhy I got "writeConcern is not allowed within a multi-statement transaction" when trying the "multi-document transaction". I ran in on primary node. Please help!
ОтветитьHow to update hosts
ОтветитьThanks for very helpful video. I have one confusion When you connected to first mongo instance and did rs.initiate() In mongo prompt appears that is secondary but after you rs.status() it shows that node is primary?
ОтветитьI have two secondary server.both are not syncing.
They are on rs0:other mode instead of rs0: secondary.
Please help.
8876856851
Whatsapp please
As always - phenomenal video Venkat!! You're the best buddy :)
Ответитьwhat would be connecting string if we wanted to connect to this same replica set using the mongsqld commands
i used './mongosqld --mongo-uri "mongodb://mongo-0.mongo:27017,mongo-1.mongo:27017,mongo-2.mongo:27017/?replicaSet=rs0&readPreference=secondary"'
and i am getting the error current topology: Type: ReplicaSetNoPrimary, unable to discover
Hi Venkat, these mongodb series are very very useful and clearly explained many things. Can you please make some videos on Mysql DB. Thanks.
Ответить