223 reputation
15
bio website mongodb.org
location Sydney, Australia
age 32
visits member for 1 year, 10 months
seen 11 mins 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.


11m
answered How MongoDB indexes differs from MySQL indexes?
34m
comment Which MongoDB administration UIs offer a table view (OS X)?
@Crashalot: Robomongo includes a table view as well as JSON and text view.
39m
answered Mongodb ubuntu - config server and shard together
48m
answered Is there way to have logical connection in MongoDB?
1h
answered Which version of linux OS has support for MongoDB installation?
Apr
4
comment What synchronizes two delayed replicas, which is part of the replica set, included in sharded cluster?
If you want to get a consistent copy of the data files, you need to quiesce the database using db.syncLock() before taking your file copy backup and db.fsyncUnlock() after the backup completes. Copying the data files is typically a much longer progress than a snapshot backup. You also need to make your sharded cluster metadata readonly while taking the backup; if you do so by stopping a config server you can do a file copy backup of that rather than mongodump.
Mar
31
awarded  Organizer
Mar
31
revised What synchronizes two delayed replicas, which is part of the replica set, included in sharded cluster?
Re-tagged as "backup" instead of "repair"
Mar
31
answered Can arbiterOnly replica in MongoDB become SECONDARY and what it means?
Mar
31
comment Can arbiterOnly replica in MongoDB become SECONDARY and what it means?
What version of MongoDB is this? Can you post the output of rs.conf() and rs.status()?
Mar
31
suggested suggested edit on What synchronizes two delayed replicas, which is part of the replica set, included in sharded cluster?
Mar
31
comment What synchronizes two delayed replicas, which is part of the replica set, included in sharded cluster?
@pys: you can take approximate point-in-time backups of your sharded cluster using LVM snapshots, but you need to do those from regular secondaries rather than delayed secondaries and include a snapshot of your config data. If you reconsider your "delayed backup" idea as "archived snapshots", you can still get the desired end result of having full hourly or weekly backups of your sharded cluster.
Mar
31
awarded  Yearling
Mar
31
answered What synchronizes two delayed replicas, which is part of the replica set, included in sharded cluster?
Mar
31
comment What synchronizes two delayed replicas, which is part of the replica set, included in sharded cluster?
I expected the original question to be migrated from StackOverflow, but it was closed as off-topic instead. Reposting my answer here, as it is still relevant - your idea of backing up sharded clusters using delayed secondaries is probably not going to work as you are anticipating. You will have a backup of data, but not a proper point-in-time backup of your sharded cluster.
Jan
3
comment how to start sharding in mongodb
I suggest following the Deploy a Sharded Cluster tutorial in the MongoDB manual. It looks like you're at the step where you need to add shards to the cluster. You see the config and admin databases because you've connected your mongos to the config servers, but you do not have a functional cluster without adding the shards. You'll also need to shard your database and collections once the cluster is setup (as per the tutorial).
Dec
19
comment Where to insert data after sharding?
@PraveenJeganathan: what is your shard key for this collection? It sounds like you may be trying to insert a document that is missing the required fields for the shard key.
Dec
19
answered Where to insert data after sharding?
Sep
12
answered Based on what criteria voting take place in MongoDB?
Aug
21
answered mongo replication not happening