I cannot use wiredTiger
as a service for MongoDB
.
Then, I progresses step by step according to the following guide;
http://docs.mongodb.org/manual/release-notes/3.0-upgrade/
Step-1: Start 3.0 mongod.OK, I did.
Step-2: Export the data using mongodump. OK
Step-3: Create data directory for WiredTiger. OK - user permissions were adjusted.
Step-4: Restart the mongod with WiredTiger. OK
mongod --storageEngine wiredTiger --dbpath <newWiredTigerDBPath>
And yes, mongod
worked. But the Step-5
says that "Upload the exported data using mongorestore." However my console busy and says "waiting for connections on port 27017" because last command is not include a service like service mongod start
.
Then I tried editing my /etc/mongod.conf
file to run as a service. But I couldn't. I added wiredTiger director as dbpath. But I guess I need to edit /etc/init/mongod.conf
file. Because it contains some codes that give permissions for db directory.
After I spent 8 hours I think there isn't enough documentation yet. And I want to ask;
What should I do for using wiredTiger on my MongoDB?
I'm wondering is there anybody who uses wiredTiger on MongoDB?
console