754 reputation
210
bio website mongodb.org
location Sydney, Australia
age 32
visits member for 2 years, 9 months
seen 2 hours ago

Software generalist and aspiring writer with an unhealthy addiction to technology, lego, programmable toys, scripting languages, open source, and problem solving.

I work for MongoDB, Inc.

Disclaimer: opinions and technical advice given here are my own and do not represent an official statement by my employer.


2d
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
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
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 ;-).
Mar
19
comment Trouble starting Service mongodb-mms-backup-daemon
On-Prem MMS is only available as part of a MongoDB commercial subscription. You should contact MongoDB, Inc for support.
Mar
17
comment When upgrading config servers to use WireTiger, the running config server with wiredtiger does not authenticate the existing pass and user?
@ChengchengPei Apologies for not replying sooner .. out at meetings :). --keyfile implies --auth so if you want to fully disable you need to remove both options when starting mongod. It sounds like you were able to resolve your issue now?
Mar
17
comment When upgrading config servers to use WireTiger, the running config server with wiredtiger does not authenticate the existing pass and user?
For the restore path you need to include the database name in the dump directory, i.e.: mongorestore --port 27019 --db admin /var/data/config1/mongodump-15-03-16/admin . In my example it was dump/config/.
Mar
17
comment When upgrading config servers to use WireTiger, the running config server with wiredtiger does not authenticate the existing pass and user?
Since the users were not created during the initial mongodump, I think you need to remove ` --username user --password pass --authenticationDatabase admin --authenticationMechanism MONGODB-CR` from the mongorestore. Alternatively, start mongod without auth enabled, mongorestore the user data, then restart mongod with auth enabled.
Mar
17
comment what is the password to user mongodb when mongodb is installed in ubuntu?
How did you install MongoDB, and how are you starting mongod? If you used the official packaged install for Ubuntu the mongod service should already be set to run with the correct permissions: sudo service mongod start. The sudo in this case is to start the service. The service definition ensures that mongod runs as the mongodb user.
Mar
17
comment When upgrading config servers to use WireTiger, the running config server with wiredtiger does not authenticate the existing pass and user?
I've raised an issue to get this fixed in the MongoDB manual: jira.mongodb.org/browse/DOCS-5029.
Mar
16
comment how to upgrade the config servers to use WiredTiger in mongodb 3.0.0
For the auth failed error I would check your credentials by trying to login using the mongo shell. Have you upgraded your authSchema? Can you also make sure you are using a 3.0 mongorestore (mongorestore --version)? FYI, there should be no need to run sudo for mongorestore or mongodump (better to fix the file/directory permissions, if incorrect).
Mar
16
comment how to upgrade the config servers to use WiredTiger in mongodb 3.0.0
Config servers do not run as replica sets, so there is no automatic process to sync them. To convert data between storage engine formats you need to mongodump the data from an mmap instance and then mongorestore into a WiredTiger instance. Given the config servers have to be consistent, you could take a different approach and copy the first mongodump to each config server .. but that involves network transfer for data that should already be local to each config server (but not in the desired storage engine format).
Mar
16
comment When upgrading to mongodb 3.0, should I upgrade authentication schema after upgrading the storage engine to WiredTiger?
The authentication schema does not matter to wiredTiger (it only handles details at the storage layer). Since you will need to update your drivers/tools to work with wiredTiger anyway, I think it makes sense to upgrade the authSchema as part of that same process. It would be confusing to have old/migrated users continuing to use the old MONGODB-CR schema and new users created with SCRAM-SHA-1. Upgrading the authSchema will ensure all users are using SCRAM-SHA-1, which is the preferred auth mechanism for MongoDB 3.0 and beyond.
Mar
16
comment In mongodb cluster, Can I shut down one config server and one data server in the shard at the same time
Yes, you can do this. As noted, if you want to maintain availability in your replica set the normal rules for election apply (i.e. have a majority of nodes available).
Mar
16
comment MongoDB with WireTiger Extract Data from Collection FIles
Without seeing specifics of the errors or exceptions it's hard to help here. I see that you've already reached out on the mongodb-user discussion group, which is a more appropriate forum for open-ended discussion and investigation.