User Tools

Site Tools


giraffplus:failover-mechanism

This is an old revision of the document!


Step 1: Install MongoDB

  1. Download the mongo db installation file here
  2. Unzip the content to C:\
  3. Rename the folder C:\mongodb-win32-x64_64*** to just mongodb
  4. Create a file named mongod.cfg inside C:\mongodb and fill it with the following lines:
    logpath=C:\mongodb\log\mongo.log
    dbpath=C:\mongodb\data\db
  5. Open a console with administrative privileges and type:
    cd C:\mongodb
    md data\db
    md log
    bin\mongod.exe --config "C:\mongodb\mongod.cfg" --install
  6. Close the console.

Step 2: Configure the middleware

  1. Open home_configuration\rundir\confadmin\services\giraff.middleware.pid.cfg
  2. Change mw.localdb=disabled to mw.localdb=enabled
  3. Restart the middleware
giraffplus/failover-mechanism.1402067708.txt.gz · Last modified: 2014-06-06 15:15 by filippo

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki