Step by Step replica setup of MongoDB on windows - Part 13

preview_player
Показать описание
Please find the step by step doc .

Рекомендации по теме
Комментарии
Автор

Great explanation, straight forward, hands-on practical. Thankyou so much for this amazing, I was way too confused when I was trying to use changeStreams. Thanks.

yashdodani
Автор

i loved this video, thank u so much. I just missed you talk about keyfile, and i dont know if can help sbd. But, here it's.

1 - Open the command prompt;
2 - Navigate to the directory where you want to create the key file, in my case: C:\MongoDB\Program Files
3 - Run the command
Openssl rand -base64 741 > keyfile (make sure directly in the folder where the document was created).
4 - Set the permissions on the keyfile so that only the user running mongodb can read it. To do this, run the command below:
Icacls keyfile /inheritance:r
Icacls keyfile /grant:r "<username>:(R)".
Replace <username> with the user who will be running MongoDB.
Copy the keyfile to all members of the replica set.

studywithjoyme
Автор

thanks sir for clear tutorials with exact commands

yukinohana
Автор

Thank you so much for this video, I went through so many more and this was the one that really helped me! You rock! <3

lindagn
Автор

Hi, Do I need to run these commands after every restart? Also Do I need to keep the CMD active for all time? Thanks in advance.

VinuChacko-hw
Автор

When I redo it to learn, it says allready initialized in the rs.initiate(rsconf) step and does not offer secondary or primary connection. How can I solve this?

efeincir
Автор

This video really saved me. Thank you a lot!

nhatvu
Автор

Man you are really helping. ty so much

moein_dev
Автор

i like ur video, love from indonesia <3

bocahlagi
Автор

thank you for the
clear instructions!

fernandoborges
Автор

I'm stuck after doing the replica set.
Please help me if you can sir.

I did everything that you told to do in this tutorial, then I just went to "Services" and started the mongodb server.
Then when I was trying to connect my nodejs application with my mongodb database-
1. The connection to server was taking much longer time to establish.
2. When I was trying to send a GET request, the server was not responding.

If there is something I am missing after doing this whole replica set, then please help me by replying to this comment.

yashdodani
Автор

can you make the notepad instructions available ? very clear video, easy to follow

dannycorganrg
Автор

Hi, this is one of the best video on replicaset. but i have few questions. how can we run this thing as a service in windows and linux based environment.
we stoped the mongod service from services. now starting the service again is not working. can you please show how to start that primary node or as standlone service.

AbdulRahman-yibx
Автор

Hello Sir,
if i restarting the system, should i run it again one by one?

distarterhabennagen