MongoDBã«ããã¬ããªã±ã¼ã·ã§ã³ã®ä¸ç¨®ãReplica Setsã«ã¤ãã¦ã®æ¦è¦ MongoDBã§ã¯å種RDBMSã§æ¡ç¨ããã¦ããMaster/Slaveã§ã®ã¬ããªã±ã¼ã·ã§ã³æ¹å¼ã®ä»ã«Replica Setsã¨ããä»çµã¿ãå©ç¨ãããã¨ãã§ããã ããã¯è¤æ°ã®DBããã»ã¹ãã¯ã©ã¹ã¿ãªã³ã°ãããã¨ã§åé·æ§ã確ä¿ããä»çµã¿ã§ã å¾æ¥ã®ã¬ããªã±ã¼ã·ã§ã³ã¨éã£ã¦èªåã§ã®FailOverãå®ç¾ãã¦ããã å ·ä½çã«ã¯Primaryã§ããã¡ã³ããå種ã¯ã¨ãªãåä»ãRead,Writeãè¡ãã æ¸ãè¾¼ã¾ããå 容ã¯Secondaryã«ãã©ã¼ãªã³ã°ãããã ä¸è¨å³ãåç §ã å®éã«Replica Setsãæ§ç¯ããçºã®æé ã以ä¸ã«ç¤ºãã¾ãã è¤æ°ã®mongodããã»ã¹ãç«ã¡ä¸ããã ãã®çºã®ãã¼ã¿ãã£ã¬ã¯ããªãä½æã $ mkdir -p ./data/repltest1 $ mkdir -p ./data/r
{{#tags}}- {{label}}
{{/tags}}