GithubHelp home page GithubHelp logo

Comments (9)

jeromelebel avatar jeromelebel commented on June 18, 2024

I never tried the master/slave configuration... do you have the crash log at least? I would need to learn how to configure mongo to have this in order to debug this.

from mongohub-mac.

SachaMPS avatar SachaMPS commented on June 18, 2024

Hey jerome... Thats the crash log if i try to acces the master :
https://skitch.com/clammdeck/gaka8/terminal-bash-220x37

Opening up the slave doesnt throw any error.. it just shows nothing :) It says read-only mode but theres not much actually to read :)
https://skitch.com/clammdeck/gak2n/hetzner-read-78.47.77.125-27017

CONFIGURING A MASTER SLAVE SETUP IS DAMN SIMPLE:
Its explained here: http://www.mongodb.org/display/DOCS/Master+Slave

Actually you just need to run the two commands - if you try it on one server you can use the dbpath option in the brackets:
$ bin/mongod --master [--dbpath /data/masterdb/]
$ bin/mongod --slave --source [:] [--dbpath /data/slavedb/]

Saludos Sacha

from mongohub-mac.

jeromelebel avatar jeromelebel commented on June 18, 2024

Can you compile mongohub from the latest version of master? Tell me if it works now.

from mongohub-mac.

SachaMPS avatar SachaMPS commented on June 18, 2024

Sorry i am too dump to compile it :(

from mongohub-mac.

jeromelebel avatar jeromelebel commented on June 18, 2024

That's ok :-)

Try that : https://github.com/downloads/fotonauts/MongoHub-Mac/MongoHub_test.zip

from mongohub-mac.

SachaMPS avatar SachaMPS commented on June 18, 2024

Thank You :) Yes it works... Great !!! :)

The only thing left (but not a big problem) is that the read-only slave doesnt show anything... So even you can't read anything :) This warning comes up: Warning: connected to a non-master node (read-only).

from mongohub-mac.

jeromelebel avatar jeromelebel commented on June 18, 2024

If you can work, I will take some time to fix that. Please leave this issue opened until, I fix that.

from mongohub-mac.

jeromelebel avatar jeromelebel commented on June 18, 2024

By the way, I won't work on Master+Slave, but on Replica+Sets

from mongohub-mac.

jeromelebel avatar jeromelebel commented on June 18, 2024

Should be fixed in 3.0. You can verify this issue, and close it.

from mongohub-mac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.