AWS EC2 상의 MongoDB replica set secondary 를 EBS 스냅샷 사용 migration
TL;DR (요약)터미널에서 mongo Repl 진입mongo> db.fsyncLock() 명령으로 mongoDB 얼리기$ xfs_freeze -f /mnt/mdbtake the EBS 스냅샷EBS 스냅샷이 pending 상태로 뜨면$ xfs_freeze -u /mnt/mdbmongo> db.fsyncUnlock() 명령으로 mongoDB 얼리기 해제 절차자동 Sync 방법:increase ulimithttps://medium.com/@muhammadtriwibowo/set-permanently-ulimit-n-open-files-in-ubuntu-4d61064429aclean shutdown mongod instance (use either a or b below)mongo> db.shutdownSer..
SQL/MongoDB
2019. 2. 13. 11:07
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- CSS
- classic asp
- centos
- git
- Debug
- Linux
- JSON
- laravel
- iphone
- ASP
- API
- Docker
- JQuery
- 워드프레스
- nodejs
- Wordpress
- javascript
- Prototype
- Mac
- PHP
- mssql
- iis
- sencha touch
- 안드로이드
- 한글
- macos
- nginx
- IOS
- Android
- IE
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
글 보관함