giraffplus:failover-mechanism
Step 1: Install MongoDB
Download the mongo db installation file
here
Unzip the content to C:\
Rename the folder C:\mongodb-win32-x64_64*** to just mongodb
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
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
Close the console.
Open home_configuration\rundir\confadmin\services\giraff.middleware.pid.cfg
Change mw.localdb=disabled to mw.localdb=enabled
Restart the middleware
giraffplus/failover-mechanism.txt · Last modified: 2014-06-12 10:06 by davide