FAQ: ããã¯ã¢ãããšåŸ©å
é ç®äžèŠ§
- èŠä»¶
- ããã¯ã¢ããæ©èœã«ã¯ã©ã®ããŒãžã§ã³ã® MongoDB ãå¿ èŠã?
- ããã¯ã¢ããã«ã¯ã©ã®ãã㪠MongoDB æš©éãå¿ èŠã?
- MongoDB Ops Managerã¯ãããŒã¿ãµã€ãºãã©ã®ããã«æž¬å®ããŸããã
- ããã¯ã¢ããã¯ãã¹ãŠã®ã¿ã€ãã®é 眮ã§æ©èœããŸããïŒ
- ããã¯ã¢ããæ©èœãã¹ã¿ã³ãã¢ãã³é 眮ããµããŒãããŠããªãçç±
- æäœ
- ããã¯ã¢ããæ©èœã®ä»çµã¿
- ããã¯ã¢ããã¯æ¬çªç°å¢ã®ããŒã¿ããŒã¹ã«åœ±é¿ãäžããŸããïŒ
- ããã¯ã¢ãããæå¹ãªç¶æ ã§ã¬ããªã«ã»ãããç¶æããã«ã¯ã©ãããã°ããã§ããã
- ã¬ã¬ã·ãŒããã¯ã¢ãããšãŒãžã§ã³ã
- ããã¯ã¢ãããšãŒãžã§ã³ãã¯ã©ãã§å®è¡ããã°ãããïŒ
- 1ã€ã®ã·ã¹ãã äžã§ããã¯ã¢ãããšãŒãžã§ã³ããšã¢ãã¿ãªã³ã°ãšãŒãžã§ã³ããå®è¡ã§ããŸããã
- è€æ°ã®ããã¯ã¢ãããšãŒãžã§ã³ããå®è¡ããŠé«å¯çšæ§ãå®çŸã§ããŸãã
- ããã¯ã¢ãããšãŒãžã§ã³ãã¯ããŒã¿ããŒã¹ãå€æŽããŸããïŒ
- æåã®ããã¯ã¢ããåæã¯ããŒã¿ããŒã¹ã®ããã©ãŒãã³ã¹ã«ã©ã®ãããªåœ±é¿ãäžããŸããã
- åå空éãã£ã«ã¿ãŒ
- MongoDB Ops Managerãã³ã¬ã¯ã·ã§ã³ãããã¯ã¢ããããªãããã«ããã«ã¯ã©ãããã°ããã§ããã
- ããã¯ã¢ãããããåå空éãå€æŽããã«ã¯ã©ãããã°ããã§ãã?
- ããŒã¿åŸ©å
- MongoDB Ops Managerã¯ã©ã®ããã«ãã€ã³ãã€ã³ã¿ã€ã 埩å ãæäŸããŸããã
- 6 æéããšãããé »ç¹ã«ã¹ãããã·ã§ãããååŸã§ããŸãã
- ç¬èªã®ã¹ãããã·ã§ããä¿æããªã·ãŒãèšå®ã§ããŸããã
- 埩å ã¹ãããã·ã§ããã®äœæã«ãããæé
- ããã¯ã¢ããæ©èœã«ãã£ãŠããŒã¿æ€èšŒã¯å®è¡ãããŸããïŒ
- ã¹ãããã·ã§ããã®åŸ©å æ¹æ³
- ã¹ãããã·ã§ããã埩å ãããšãã«æäŸããããã®
- MongoDB Ops Managerã¯ããã¯ã¢ãããããããŒã¿ãã©ã®ããã«ããŒã«ããã¯ããŸããã
- ååæãå¿ èŠãªæ¡ä»¶
ãã® FAQ ã§ã¯ã MongoDB Ops ManagerãšãããŒã¿ããŒã¹ãšã³ã¬ã¯ã·ã§ã³ã®ããã¯ã¢ãããšåŸ©å æ¹æ³ã«é¢ãããããã質åã«ã€ããŠèª¬æããŸãã
MongoDB Agent ãšã 4.2
ã® FCVãæ〠MongoDB 4.2ã®æ°ããããã¯ã¢ããããã»ã¹ã®å°å
¥ã«ãã£ãŠããããã®åçã®äžéšãå€æŽãããŸããã ãããã®åçã«ã¯ããããã®æ°æ©èœãæ¢åã®åçãžã®åœ±é¿ã説æããå©ç¹ããããŸãã
èŠä»¶
ããã¯ã¢ããæ©èœã«ã¯ã©ã®ããŒãžã§ã³ã® MongoDB ãå¿ èŠã?
MongoDB Ops ManagerãªãªãŒã¹ ã·ãªãŒãº | 1.6 ãã 1.8 | 2.0 ãã 3.2 | 3.4 | 3.6 | 4.0 | 4.2 |
---|---|---|---|---|---|---|
MongoDB 2.4 ã®æå°ããŒãžã§ã³ | 2.4.3 | 2.4.3 | 2.4.3 | 2.4.0 [1] | ||
MongoDB 2.6 ã®æå°ããŒãžã§ã³ | 2.6.0 | 2.6.0 | 2.6.0 | 2.6.0 | 2.6.0 | 2.6.0 [2] |
MongoDB 3.0 ã®æå°ããŒãžã§ã³ | 3.0.0 | 3.0.0 | 3.0.0 | 3.0.0 | 3.0.0 | 3.0.0 [2] |
MongoDB 3.2 ã®æå°ããŒãžã§ã³ | 3.2.0 | 3.2.0 | 3.2.0 | 3.2.0 | 3.2.0 | |
MongoDB 3.4 ã®æå°ããŒãžã§ã³ | 3.4.0 | 3.4.0 | 3.4.0 | 3.4.0 | ||
MongoDB 3.6 ã®æå°ããŒãžã§ã³ | 3.6.0 | 3.6.0 | 3.6.0 | |||
MongoDB 4.0 ã®æå°ããŒãžã§ã³ | 4.0.0 | 4.0.0 | ||||
MongoDB 4.2 ã®æå°ããŒãžã§ã³ | 4.2.0 |
[1] | ç£èŠã®ã¿ |
[2] | ïŒ 1ã2 ïŒç£èŠãšããã¯ã¢ããã®ã¿ |
ããã¯ã¢ããã«ã¯ã©ã®ãã㪠MongoDB æš©éãå¿ èŠã?
èªèšŒãæå¹ã«ãªã£ãŠãã MongoDB ã€ã³ã¹ã¿ã³ã¹ãããã¯ã¢ããããå ŽåãMongoDB Agent ã«ã¯ MongoDB Agent ããã¯ã¢ããæ©èœã«èšèŒãããŠããç¹æš©ãå¿ èŠã§ãã
MongoDB Ops Managerã¯ãããŒã¿ãµã€ãºãã©ã®ããã«æž¬å®ããŸããã
MongoDB Ops Managerã¯ã次ã®å€æã䜿çšããŠã¹ãããã·ã§ããã®ãµã€ãºã枬å®ãã oplogããŒã¿ã®åŠçéã枬å®ããŸãã
1MB = 1024 2ãã€ãïŒ1 MiBïŒ
1 GB = 1024 3ãã€ãïŒ1 GiBïŒ
1 TB = 1024 4ãã€ãïŒ1 TiBïŒ
ããã¯ã¢ããã¯ãã¹ãŠã®ã¿ã€ãã®é 眮ã§æ©èœããŸããïŒ
MongoDB 4.2以éã«ã€ããŠã¯ãã ããŒã¿ããŒã¹ã®ããã¯ã¢ããã«é¢ããèæ ®äºé ããåç §ããŠãã ããã
FCV ããã³ãã以åã®ããŒã¿ããŒã¹ãå«ãMongoDBã§ã¯ãããã¯ã¢ããã¯ã¹ã¿ã³ãã¢ãã³é 眮ããµããŒãããŠããŸããã
4.0
ããã¯ã¢ããã¯ãã¬ããªã«ã»ãããšã·ã£ãŒãã£ã³ã°ãããã¯ã©ã¹ã¿ãŒãå®å šã«ãµããŒãããŠããŸãã
ããã¯ã¢ããæ©èœãã¹ã¿ã³ãã¢ãã³é 眮ããµããŒãããŠããªãçç±
MongoDB Ops Managerã¯ã oplogããããŒã¿ãã³ããŒããŠããã€ã³ãã€ã³ã¿ã€ã ãªã«ããªãåããç¶ç¶çãªããã¯ã¢ãããæäŸããŸãã MongoDB Ops Managerã¯ã oplogããªããããã¹ã¿ã³ãã¢ãã³ ãã¹ãã®ããã¯ã¢ããããµããŒãããŠããŸããã åäžã®mongod
ã€ã³ã¹ã¿ã³ã¹ã«ããããã¯ã¢ããããµããŒãããã«ã¯ã1 ã€ã®ã¡ã³ããŒã®ã¬ããªã«ã»ãããå®è¡ã§ããŸãã
æäœ
ããã¯ã¢ããæ©èœã®ä»çµã¿
ããã¯ã¢ããæ©èœã®è©³çŽ°ã«ã€ããŠã¯ããããã¯ã¢ãã ããã»ã¹ ããåç §ããŠãã ããã
ããã¯ã¢ããã¯æ¬çªç°å¢ã®ããŒã¿ããŒã¹ã«åœ±é¿ãäžããŸããïŒ
泚æ
ãã®åçã¯ãFCV 以åã®ããŒãžã§ã³ã§MongoDBãå®è¡äžããŠããããŒã¿ããŒã¹ã«ã®ã¿é©çšãããŸã4.0
ããã¯ã¢ããæ©èœã¯éåžžãæ¬çªç°å¢ã® MongoDB é 眮ãžã®åœ±é¿ãæå°éã«æããŸãã ãã®åœ±é¿ã¯ã ã¬ããªã«ã»ãã ã«æ°ãã ã»ã«ã³ã㪠ãè¿œå ããå Žåãšåæ§ã«ããã©ãŒãã³ã¹ãçºæ®ããŸãã
ããã©ã«ãã§ã¯ããšãŒãžã§ã³ãã¯ããã¯ã¢ããã®ããã®æããªãœãŒã¹ãéäžããæäœã§ãã æåã®åæ ã ã¬ããªã«ã»ãã ã® ã»ã«ã³ã㪠ããŒãã«å¯ŸããŠå®è¡ãããã®åœ±é¿ãå¶éããŸãã ãªãã·ã§ã³ã§ãããã¯ã¢ãããšãŒãžã§ã³ããã¬ããªã«ã»ããã®ãã©ã€ããªã«å¯ŸããŠæåã®åæãå®è¡ããããã«æ§æã§ããŸãããããã«ããæåã®åææäœã®åœ±é¿ã倧ãããªããŸãã
ããã¯ã¢ãããæå¹ãªç¶æ ã§ã¬ããªã«ã»ãããç¶æããã«ã¯ã©ãããã°ããã§ããã
ã¬ããªã«ã»ããå ã®ã»ãšãã©ã®æäœã¯ oplog ãä»ããŠè€è£œãããããã¯ã¢ãã ããã»ã¹ã«ãã£ãŠãã£ããã£ãããŸãã ãã ããäžéšã®æäœã§ã¯ãè€è£œãã ãªã å€æŽãè¡ãããŸãããããã®æäœã§ã¯ãå€æŽãå«ããããã« MongoDB Ops Managerã çŸåšã®ã¬ããªã«ã»ããããååæãã㊠ãã å¿ èŠ ããããŸãã
次ã®æäœã¯è€è£œãããªããããååæãå¿ èŠã«ãªããŸãã
ããŒã¿ããŒã¹ã®ååãå€æŽãŸãã¯åé€ããã«ã¯ãããŒã¿ãã£ã¬ã¯ããªå ã®ããŒã¿ãã¡ã€ã«ãåé€ããŸãã ãããã¯ã
mongosh
ããã® {db.dropDatabase()
ãªã©ãMongoDB ãè€è£œããæäœã䜿çšããŠããŒã¿ããŒã¹ãåé€ããŸãã€ã³ã¹ã¿ã³ã¹ãã¹ã¿ã³ãã¢ãã³ãšããŠå®è¡äžã«ããŒã¿ãå€æŽããŸãã
ããŒãªã³ã°åŠçã«ããã€ã³ããã¯ã¹ãã«ãã
compact
ãŸãã¯repairDatabase
ã䜿çšããŠã倧éã®ã¹ããŒã¹ãåå©çšããŸããååæã¯ã
compact
ãŸãã¯repairDatabase
æäœã®åŸã«å³å¯ã«å¿ èŠã§ã¯ãããŸãããã MongoDB Ops Managerã®ããŒã¿ã®ã³ããŒããµã€ãºå€æŽãããããã埩å ãããè¿ éã«ãªããŸãã
Tip
以äžãåç §ããŠãã ããã
ã¬ã¬ã·ãŒããã¯ã¢ãããšãŒãžã§ã³ã
ããã¯ã¢ããæ©èœã¯ãããã¯ã¢ãããæå¹åãããŠããMongoDB Agent ã«ç§»åãããŸããã ããã«ãããåã
ã®ããã¯ã¢ãããšãŒãžã§ã³ãã眮ãæããããŸãã ãã®æ
å ±ã¯ãã¬ã¬ã·ãŒã®ããã¯ã¢ãããšãŒãžã§ã³ãã«åºæã®åé¡ãã«ããŒããŸãã ãã®æ
å ±ã¯ãã¹ãŠãFCV ãŸãã¯ãã以åã®ããŒãžã§ã³ãå®è¡äžããŠããMongoDBããŒã¿ããŒã¹ã«é©çšãããŸãã4.0
ããã¯ã¢ãããšãŒãžã§ã³ãã¯ã©ãã§å®è¡ããã°ãããïŒ
以äžã®ãã¹ãã§ããã¯ã¢ãããšãŒãžã§ã³ããå®è¡ããŸãã
MongoDB ã€ã³ã¹ã¿ã³ã¹ãšã¯å¥ã§ãã ããã«ãããã·ã¹ãã ãªãœãŒã¹ã®ç«¶åãåé¿ãããŸãã
MongoDB ã€ã³ã¹ã¿ã³ã¹ã«æ¥ç¶ã§ããŸãã ãšãŒãžã§ã³ããš MongoDB ãã¹ãéã®æ¥ç¶ã®ãããã¯ãŒã¯èšå®ã確èªããŸãã å¿ èŠãªããŒãã®ãªã¹ãã«ã€ããŠã¯ãããšãŒãžã§ã³ãã®ãªãŒãã³ ããŒã ããåç §ããŠãã ããã
å°ãªããšã 2 ã€ã® CPU ã³ã¢ãš 3 GB ã® RAM ãããã ããã¯ã¢ãããšãŒãžã§ã³ããå®è¡ãããã³ã«ãããã¯ã¢ãããšãŒãžã§ã³ãã¯ãã¹ãã®ããã©ãŒãã³ã¹ã«ããã«åœ±é¿ãäžããŸãã
1ã€ã®ã·ã¹ãã äžã§ããã¯ã¢ãããšãŒãžã§ã³ããšã¢ãã¿ãªã³ã°ãšãŒãžã§ã³ããå®è¡ã§ããŸããã
ããã¯ã¢ãããšãŒãžã§ã³ããšã¢ãã¿ãªã³ã°ã®åäžã®ã·ã¹ãã ãŸãã¯ãã¹ãäžã§ã®å®è¡ã劚ããæè¡çå¶éã¯ãããŸããã ãã ããäž¡æ¹ã®ãšãŒãžã§ã³ãã«ã¯ãªãœãŒã¹èŠä»¶ãããã1 ã€ã®ã·ã¹ãã ã§äž¡æ¹ãå®è¡ãããšã MongoDB Ops Managerã§ã®é 眮ããµããŒããããããã®ãšãŒãžã§ã³ãã®æ©èœã«åœ±é¿ããå¯èœæ§ããããŸãã
ããã¯ã¢ãããšãŒãžã§ã³ãã«å¿
èŠãªãªãœãŒã¹ã¯ãæ°ãã oplog ãšã³ããªã®ã¬ãŒããšãµã€ãºïŒ1 æéãããã® oplog ã®åèš ã®ã¬ãã€ãïŒã«ãã£ãŠç°ãªããŸãã ã¢ãã¿ãªã³ã°ã«å¿
èŠãªãªãœãŒã¹ã¯ãã¢ãã¿ãªã³ã°å¯Ÿè±¡ã®mongod
ã€ã³ã¹ã¿ã³ã¹ã®æ°ãš ã€ã³ã¹ã¿ã³ã¹ãæäŸãã ããŒã¿ããŒã¹ mongod
ã®åèšæ°ã«ãã£ãŠç°ãªããŸãã
è€æ°ã®ããã¯ã¢ãããšãŒãžã§ã³ããå®è¡ããŠé«å¯çšæ§ãå®çŸã§ããŸãã
é«å¯çšæ§ãå®çŸããããã«è€æ°ã®ããã¯ã¢ãããšãŒãžã§ã³ããå®è¡ã§ããŸãã ãã®å Žåãããã¯ã¢ãããšãŒãžã§ã³ãã¯ç°ãªããã¹ãã§å®è¡ãããå¿ èŠããããŸãã
è€æ°ã®ããã¯ã¢ãããšãŒãžã§ã³ããå®è¡ããå Žåããããžã§ã¯ãããšã« 1 ã€ã®ãšãŒãžã§ã³ãã®ã¿ããã©ã€ããªãšãŒãžã§ã³ãã«ãªããŸãã ãã©ã€ããªãšãŒãžã§ã³ããããã¯ã¢ãããå®è¡ããŸãã æ®ãã®ãšãŒãžã§ã³ãã¯å®å šã«ã¢ã€ãã«ç¶æ ã§ãããã¹ããŒã¿ã¹ãã¹ã¿ã³ãã€ãšããŠãã°ã«èšé²ããããã©ã€ããªã«ãªãã¹ããã©ãããå®æçã« MongoDB Ops Manager ã«ç¢ºèªãããŸãã
ããã¯ã¢ãããšãŒãžã§ã³ãã¯ããŒã¿ããŒã¹ãå€æŽããŸããïŒ
ããã¯ã¢ãããšãŒãžã§ã³ãã¯ããã§ãã¯ãã€ã³ããšåŒã°ããå°ããªããŒã¯ã³ããœãŒã¹ããŒã¿ããŒã¹ã®oplogã«å®æçã«æžã蟌ã¿ãŸãã ãããã®ããŒã¯ã³ã¯ããã¯ã¢ããã®ããŒãããŒããæäŸãããœãŒã¹é 眮ã«ã¯åœ±é¿ããŸããã åããŒã¯ã³ã¯100ãã€ãæªæºã§ãã
æåã®ããã¯ã¢ããåæã¯ããŒã¿ããŒã¹ã®ããã©ãŒãã³ã¹ã«ã©ã®ãããªåœ±é¿ãäžããŸããã
æåã®ããã¯ã¢ããåæã®åœ±é¿ã¯ãæ°ããã»ã«ã³ã㪠ã¬ããªã«ã»ãã ã¡ã³ããŒãåæããå Žåãšåæ§ã§ãã ããã¯ã¢ãããšãŒãžã§ã³ãã¯ãã®ã¢ã¯ãã£ããã£ãå¶éãããåæãå¯èœãªéãè¿ éã«å®è¡ããããšããŸãã
åå空éãã£ã«ã¿ãŒ
泚æ
åå空éãã£ã«ã¿ãªã³ã°ã¯ãMongoDB Ops Manager ããŒãžã§ã³6.0.8
以éã§ã®ã¿ãµããŒããããŠããŸãã MongoDB é
眮ã«ã¯ã 4.0
以åãŸãã¯6.0.1
以éã®featureCompatibilityVersion
å€ãå¿
èŠã§ãã
MongoDB Ops Managerãã³ã¬ã¯ã·ã§ã³ãããã¯ã¢ããããªãããã«ããã«ã¯ã©ãããã°ããã§ããã
MongoDB Ops Managerã«ã¯ãããã¯ã¢ããããã³ã¬ã¯ã·ã§ã³ãŸãã¯ããŒã¿ããŒã¹ãæå®ã§ããåå空éãã£ã«ã¿ãŒãçšæãããŠããŸãã
ããã¯ã¢ãããããåå空éãå€æŽããã«ã¯ã©ãããã°ããã§ãã?
ãã£ã«ã¿ãŒãç·šéããã«ã¯ããããã¯ã¢ããã®èšå®ã®ç·šé ããåç §ããŠãã ããã åå空éãã£ã«ã¿ãŒãå€æŽãããšãååæãå¿ èŠã«ãªãå ŽåããããŸãã ãã®å ŽåãMongoDB Ops Manager ãååæãåãæ±ããŸãã
ããã¯ã¢ãããžã§ãã®ãã€ã³ãã«å€±æããå Žåã¯ã©ã®ããã«ããã¯ã¢ããã䜿çšã§ããŸããã
ãžã§ããããã¯ã¢ããããŒã¢ã³ãžã®ãã€ã³ãã«å€±æããæãäžè¬çãªçç±ã¯ãã©ã®ããŒã¢ã³ã«ãããã¯ã¢ãããããã¬ããªã«ã»ããã®ããŒã«ã«ã³ããŒçšã®ã¹ããŒã¹ããªãããã§ãã
ããã¯ã¢ãããžã§ãããã€ã³ãã§ããããã«ãã£ãã·ãã£ãŒãå¢ããã«ã¯ã次ã®æäœãè¡ããŸãã
ããã¯ã¢ããããŒã¢ã³ãè¿œå ã§ããŸãã
applyOps
ããã¯ã¢ããäžã® ãšã©ãŒã解決ããã«ã¯ã©ãããã°ããã§ããã
ããã¯ã¢ãã ãã°ã®applyOps
ã³ãã³ãã§äžè²«ãããšã©ãŒãçºçããå Žåã¯ãããŒã¢ã³ã®ã¹ããŒã¹ãäžè¶³ããŠããå¯èœæ§ããããŸãã
ç¶ç¶çãªæäœããµããŒãããããã«ããŒã¢ã³ã®ã¹ããŒã¹ãå¢ããã«ã¯ã次ã®æé ãè¡ããŸãã
head directory
ãä¿æãããã¡ã€ã«ã·ã¹ãã ã®ãµã€ãºãå¢ããããšãã§ããŸãã
ããŒã¿åŸ©å
MongoDB Ops Managerã¯ãæ°ããé 眮ã®ã·ãŒãã«äœ¿çšã§ããããŒã¿ãã¡ã€ã«ã®ã³ããŒãçæããŸãã
MongoDB Ops Managerã¯ã©ã®ããã«ãã€ã³ãã€ã³ã¿ã€ã 埩å ãæäŸããŸããã
éèŠ
MongoDB Ops Manager4.2.13MongoDB Ops Manager 以éã¯ãFCV 以éã§ãã®æ©èœããµããŒãããŠããŸãã4.2
埩å ãtriggerãããšã MongoDB Ops Managerã¯ãã®ã¹ãããã·ã§ãããžã®ãªã³ã¯ãäœæããŸãã ã¯ãªãã¯ãããšã MongoDB Ops Manager㯠Snapshot Store ãããã£ã³ã¯ãååŸããããããã¿ãŒã²ãã ãã¹ãã«ã¹ããªãŒãã³ã°ããŸãã
次ã«ããã®ãã¹ãäžã§å®è¡ãããŠãã MongoDB ããã¯ã¢ãã埩å ãŠãŒãã£ãªãã£ã¯ãæå®ãããæç¹ã«éãããŸã§ã® oplog ãšã³ããªãããŠã³ããŒãããé©çšããŸãã
MongoDB Ops Managerãç¹å®ã®ãã€ã³ãã€ã³ã¿ã€ã 埩å ãæäŸã§ãããã©ããã¯ãã¹ãããã·ã§ããã®ä¿æããªã·ãŒãšæ§æããããã€ã³ãã€ã³ã¿ã€ã ãŠã£ã³ããŠã«ãã£ãŠç°ãªããŸãã
ä¿æããªã·ãŒãšãã€ã³ãã€ã³ã¿ã€ã ãŠã£ã³ããŠã®è©³çŽ°ã«ã€ããŠã¯ã ã ã¹ãããã·ã§ãã ã¹ã±ãžã¥ãŒã«ãšä¿æããªã·ãŒã®ç·šé ããåç §ããŠãã ããã
6 æéããšãããé »ç¹ã«ã¹ãããã·ã§ãããååŸã§ããŸãã
ãããMongoDB Ops Manager㯠6 æé以äžã®é »åºŠã®ã¹ãããã·ã§ãã ã¹ã±ãžã¥ãŒã«ããµããŒãããŠããŸããã 詳现ã«ã€ããŠã¯ããã¹ãããã·ã§ããé »åºŠãšä¿æããªã·ãŒ ããåç §ããŠãã ããã
ç¬èªã®ã¹ãããã·ã§ããä¿æããªã·ãŒãèšå®ã§ããŸããã
ã¯ãã ããã¯ã¢ããé 眮㮠Edit Snapshot Scheduleã¡ãã¥ãŒ ãªãã·ã§ã³ã䜿çšããŠã¹ã±ãžã¥ãŒã«ãå€æŽã§ããŸãã 管çè ã¯ã API ã® snapshotSchedule ãªãœãŒã¹ ã䜿çšããŠãã¹ããã ã·ã§ããé »åºŠãšä¿æããªã·ãŒ ãå€æŽã§ããŸãã
埩å ã¹ãããã·ã§ããã®äœæã«ãããæé
MongoDB Ops Managerã¯ããã¹ãŠã®ããã¯ã¢ãããå§çž®ããã圢åŒã§MongoDB Ops Managerãã¹ãããã€ã³ãã©ã¹ãã©ã¯ãã£ã«éä¿¡ããŸãã
ããã«ããã€ã³ãã€ã³ã¿ã€ã 埩å ã§ã¯ãããã¯ã¢ããã®èŠæ±ããããã€ã³ãã€ã³ã¿ã€ã ã«ããŒã«ãã©ã¯ãŒãããããã«ãã¹ããåä¿¡ããã¹ãããã·ã§ããã«é©çšããå¿ èŠããã oplog ãšã³ããªã®éã«ãã£ãŠç°ãªããŸãã
ããã¯ã¢ããæ©èœã«ãã£ãŠããŒã¿æ€èšŒã¯å®è¡ãããŸããïŒ
ããã¯ã¢ããã¯åºæ¬çãªç Žæãã§ãã¯ãå®è¡ããããããã®ã³ã³ããŒãã³ãïŒäŸ: ãšãŒãžã§ã³ãïŒãããŠã³ããããæ©èœãããããå Žåã¯ã¢ã©ãŒããæäŸããŸãããæ瀺çãªããŒã¿æ€èšŒã¯å®è¡ããŸããã MongoDB Ops Managerã¯ãç Žæãæ€åºãããšã泚æåŽã§ãšã©ãŒãçºçãããçŸåšã®ããã¯ã¢ãããç¡å¹ã«ããŠãã¢ã©ãŒããéä¿¡ããŸãã
ã¹ãããã·ã§ããã®åŸ©å æ¹æ³
MongoDB Ops Managerçµç±ã§åŸ©å ããªã¯ãšã¹ãã§ããŸãã埩å ããã¹ãããã·ã§ãããšMongoDB Ops Managerã«ãã埩å ã®é ä¿¡æ¹æ³ãéžæã§ããŸãã ãã¹ãŠã®åŸ©å ã«ã¯ 2 èŠçŽ èªèšŒãå¿ èŠã§ãã SMS ãèšå®ãããŠããå Žåã MongoDB Ops Manager㯠SMS çµç±ã§èªèšŒã³ãŒããéä¿¡ããŸãã 埩å ããã»ã¹ãéå§ããã«ã¯ãããã¯ã¢ãã ã€ã³ã¿ãŒãã§ãŒã¹ã«èªèšŒã³ãŒããå ¥åããå¿ èŠããããŸãã
泚æ
ã€ã³ãããã¯ã2 èŠçŽ èªèšŒã« Google Authenticator ã䜿çšããŸãã Google Authenticator ã¯ãã€ã³ãã®æºåž¯é»è©±çªå·ãžã® SMS ããã¹ã ã¡ãã»ãŒãžã«ããèªèšŒãããä¿¡é Œã§ããŸãïŒã€ãŸã åœã³ãŒã 91ïŒã
ã¹ãããã·ã§ããã埩å ãããšãã«æäŸããããã®
MongoDB Ops Managerã¯ã MongoDBããŒã¿ãã¡ã€ã«ã® tar.gz
ã¢ãŒã«ã€ããšããŠåŸ©å
ãæäŸããŸãã
埩å ã®è©³çŽ°ã«ã€ããŠã¯ãã MongoDB ãããã€ã®åŸ©å ããåç §ããŠãã ããã
MongoDB Ops Managerã¯ããã¯ã¢ãããããããŒã¿ãã©ã®ããã«ããŒã«ããã¯ããŸããã
éèŠ
MongoDBFCV4.2 以éãå®è¡ããŠãã é 眮ã®å ŽåãããŒã«ããã¯ã¯ ã®ããã¯ã¢ããMongoDB Ops Manager ããŒã¿ã«ã¯åœ±é¿ããŸãããFCV 4.2 以éã MongoDB Ops Managerã¯ãéåæ°ãã³ããããããã€ã³ããŸã§ã®ã¿ã€ã ã¹ã¿ã³ããæã€ã¹ãããã·ã§ããã®ã¿ãä¿æããŸãã
MongoDBé 眮ã§ããŒã«ããã¯ãçºçããå Žåã MongoDB Ops Managerã¯ããã¯ã¢ãããããããŒã¿ãããŒã«ããã¯ããŸãã
MongoDB Ops Managerã¯ã远尟ã«ãŒãœã«ãæžèŸŒã¿ (write) æäœã®ã¿ã€ã ã¹ã¿ã³ããŸãã¯ããã·ã¥ã§äžäžèŽãèŠã€ãããšãã«ããŒã«ããã¯ãæ€åºããŸãã MongoDB Ops Manager㯠ããŒã«ããã¯oplog ç¶æ ã«ãªããã¬ããªã«ã»ããã® ãã©ã€ã㪠㮠å ã® 3 ã€ã®ãã€ã³ãããã¹ãããŠãå±¥æŽå ã®å ±éç¹ãèŠã€ããŸããMongoDB Ops ManagerMongoDBã®ããŒã«ããã¯ã¯ãå ±éç¹ãå¿ ããã ææ°ã® å ±éç¹ã§ããå¿ èŠããªããšããç¹ã§ ã»ã«ã³ã㪠ããŒã«ããã¯ãšç°ãªããŸãã
MongoDB Ops Managerãå ±éç¹ãèŠã€ãããšããµãŒãã¹ã¯ãã®ç¹ãè¶ ããoplogãšã³ããªãšã¹ãããã·ã§ãããç¡å¹ã«ããå ±éç¹ã®åã®ææ°ã®ã¹ãããã·ã§ããã«ããŒã«ããã¯ããŸãã ãã®åŸã MongoDB Ops Managerã¯éåžžã®ããã¯ã¢ããæäœãåéããŸãã
MongoDB Ops Manager ãå ±éç¹ãèŠã€ããããªãå Žåã¯ãååæãå¿ èŠã§ãã
ååæãå¿ èŠãªæ¡ä»¶
éèŠ
ãã®æ©èœã¯4.2 FCV ãæã€MongoDB4.2
ãšäºææ§ããããŸããã
ããã¯ã¢ãããšãŒãžã§ã³ã㮠远尟ã«ãŒãœã«ãé 眮ã®oplogã«è¿œãã€ããªãå Žåã¯ãããã¯ã¢ãããååæããå¿ èŠããããŸãã
ãã®ã·ããªãªã¯ã次ã®å Žåã«çºçããããšããããŸãã
ã¢ããªã±ãŒã·ã§ã³ãå®æçã«å€§éã®ããŒã¿ãçæããããããã©ã€ããªã®oplog window oplogMongoDB Ops Managerã¯ã ãæ¶è²»ãããããéã ã«æžã蟌ãŸããç¹ãŸã§çž®å°ãããŸãã
ããã¯ã¢ãããšãŒãžã§ã³ããããããžã§ãã³ã°ãããŠããªããã·ã³ãŸãã¯éå°ã«äœ¿çšãããŠãããã·ã³ã§å®è¡ããã oplog ã®ã¢ã¯ãã£ããã£ã«è¿œãã€ããªãå Žåã
ããã¯ã¢ãããšãŒãžã§ã³ãã oplog ãµã€ãºã§èš±å®¹ããã以äžã®æéããŠã³ããå Žåã ã¡ã³ããã³ã¹ã®ãããªã©ããšãŒãžã§ã³ããããŠã³ãããå Žåã¯ãé©æ Œã«åèµ·åããŠãã ããã oplogãµã€ãºã®è©³çŽ°ã«ã€ããŠã¯ã oplogMongoDBããã¥ã¢ã«ã® ã ã¬ããªã«ã»ãã ã ãåç §ããŠãã ããã
ãã¹ãŠã®ã¬ããªã«ã»ãã ããŒã¿ãåé€ããåãååã§æ°ããã¬ããªã«ã»ãããé 眮ãããšãé 眮ãå®æçã«åæãããåæ§ç¯ãããŸãã
ããŒã«ããã¯ãçºçããå Žåã ãšMongoDB Ops Managerã¯oplogå ã§å ±éã®ç¹ãèŠã€ããããŸããã
oplog ã€ãã³ãããã¬ããªã«ã»ããã®ããã¯ã¢ããã«ååšããªãããã¥ã¡ã³ããæŽæ°ããããšããå Žåããã©ã€ããªãšã®ããŒã¿æŽåæ§ããªãã»ã«ã³ããªããã®åæã«ãã£ãŠçºçããå¯èœæ§ããããŸãã
ã€ã³ããã¯ã¹ã ããŒãªã³ã°æ¹åŒ ã§äœæããå Žåã