User Tools

Site Tools


giraffplus:failover-mechanism

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
    net start mongodb
  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.txt · Last modified: 2014-06-12 10:06 by davide