DEV Community

kakadais
kakadais

Posted on

몽고디비 리플리케이션 리플리카 셋 방화벽 설정 팁 / MongoDB Replica Set Network(firewall) Setup tip

몽고디비 리플리카 셋 설정 할 때 해당 서버들의 방화벽에 반드시 해당 ip도 등록을 해줘야 한다.
특히 클라우드 서비스의 경우 공인ip와 내부 서버 설정이 분리되어 있기 때문에 loop back ip로 외부 방화벽이 인식을 안하므로..
mongod 프로세스가 셀프 체킹을 할 때 alive check를 하지 못 하는 불상사가 있다.

이틀을 허비 했다. 쉬봉.
나같은 놈이 또있다면, 개꿀 팁일듯.

/

When we setup firewall for MongoDB Repliction,
we need to setup the ip itself.

It seems that mongod process checkup all the connections include itself, and the firewall cuts the connections checkup itself.

This is kind of tricky for me to figure it out;;
All the setup looks like having no problems..

I spent almost two days to figure this simple thing.

Hope to be helpful.

Top comments (0)