Skip to main content

Home/ attuneuniversity/ Group items tagged Mongodb

Rss Feed Group items tagged

Online Training  at Attune University

Mongodb Replica Set configuration - 0 views

  •  
    etc/hosts (for master AND slave) 192.168.0.1 reeeshu 192.168.0.2 Attune For master AND slave user@ubuntu:~$ su - mongodb mongodb@ubuntu:~ Master and slave Node Configuration dbpath=/data/db logpath=/var/log/mongodb/mongodb.log logappend=true nojournal = true port = 27017 bind_ip = machine_ip (for eg. 100.11.11.11) fork = true replSet = myset Modify the value of bind_ip to reflect the address over which you would like to access MongoDB.
1 - 1 of 1
Showing 20 items per page