Reputation
789
Top tag
Next privilege 1,000 Rep.
See vote count; VIP usercard
Badges
4 10
Newest
 Enthusiast
Impact
~13k people reached

2d
comment Setting up MongoDB MMS on Sharded Cluster
If you have a sharded cluster, you should able to add the address of one of your mongos servers and have the rest of the cluster discovered. If you're still having trouble .. can you comment with a link to the MMS group (or the group name) in MMS so someone from MongoDB can help investigate? Thanks.
Apr
21
comment How MongoDB allocate new data block when data block is full
Note that this description only applies to the default MMAP storage engine (MongoDB 3.0 and earlier). Optional storage engines in MongoDB 3.0+ (eg. WiredTiger) have different allocation strategies and some considerations such as document padding may not be applicable.
Apr
21
answered How can I create a mongo db based on mysql squema?
Apr
13
awarded  Enthusiast
Apr
3
comment Replica Set In Mongo Are All Primary
You only need to run rs.initiate() once, which is on the first node you initialise to become a primary. Secondaries should be added via rs.add() on the primary. A common mistake is to run rs.initiate() on all nodes which results in creating three one-node replica sets with the same name (rather than one replica set with three nodes). From your description, it sounds like this is what you may have done. If so, the fix would be to delete the data directories from your secondaries and rs.add() those nodes to the replica set via the primary.
Apr
3
answered Size of data in secondary exceeded primary after its initial resync from primary in MongoDB
Mar
29
awarded  Tenacious
Mar
24
comment Genghis admin ui not working with mongodb 3.0.1 wired tiger
There weren't any changes in the PHP 1.6.6 driver that should have affected this, but good to hear you resolved your problem :)
Mar
23
comment Genghis admin ui not working with mongodb 3.0.1 wired tiger
Hrm .. haven't been able to reproduce the issue. What version of Genghis are you running? Can you try to run a standalone test with just $db->listCollections() in a PHP script?
Mar
21
comment Genghis admin ui not working with mongodb 3.0.1 wired tiger
Are you certain you are using the 1.6.5 PHP driver? Can you check via phpinfo() to be certain? If the listCollections() call isn't working with WiredTiger storage, this usually indicates an older driver that does not support the new listCollections server command required for WiredTiger in MongoDB 3.0. I just tried Genghis 2.3.11 with the 1.6.5 PHP driver and it works fine for listing collections with WiredTiger storage.
Mar
20
comment MongoDB production security and backup
@AyeyeBrazo There are commands listed if you follow the tutorials for a specific approach. For example: Back Up and Restore with MongoDB Tools or Back Up With Filesystem Snapshots. There are different approaches to backup depending on your deployment type and requirements. What specific steps/examples are you looking for ? What sort of deployment do you have (single node, replica set, ..)?
Mar
19
comment Get disk usage information of mongodb database
possible duplicate of Get disk usage information of mongodb database
Mar
19
answered MongoDB 3.0 : Configure storage engine at collection or database level
Mar
19
answered How to Import mongodb database from development Environment to local env by using Commmand?
Mar
19
answered MongoDB production security and backup
Mar
19
comment Issue running MongoDb 3.0
There should be more details in your logfile; check the logpath configured in /etc/mongodb.conf. Note: the more typical way to install MongoDB on Ubuntu is using the supported .deb packages for mongo-org. You would then start MongoDB with sudo service mongod start.
Mar
19
comment what is the downtime of mongodb cluster when upgrade to 3.0
While MMS supports provisioning instances on AWS, you can also use it to manage an existing cluster or deploy to your own environment (i.e. AWS is not a requirement): docs.mms.mongodb.com/tutorial/nav/add-servers. There are also other options for monitoring: docs.mongodb.org/manual/administration/monitoring.
Mar
19
comment what is the downtime of mongodb cluster when upgrade to 3.0
FYI, another option to consider in future (though probably not free depending on how large your cluster is) would be using the MongoDB Management Service (MMS)'s Automation feature. That changes all the manual steps for upgrading a cluster into a UI (or API) driven edit from your current 2.6.x version to 3.0.x: mms.mongodb.com.
Mar
19
answered what is the downtime of mongodb cluster when upgrade to 3.0
Mar
19
comment MongoDB Insufficient free space for journal files
Rather than running your server down to the last available byte, I would recommend attaching a larger EBS volume and moving your dbpath to this. If you're that low on disk space you're living very dangerously ;-).