Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

Automatic replica set configuration #6

Open
armanuorder opened this issue Aug 19, 2015 · 5 comments
Open

Automatic replica set configuration #6

armanuorder opened this issue Aug 19, 2015 · 5 comments

Comments

@armanuorder
Copy link

Hello,

First, thanks for creating this cookbook! It is evident that you put a lot of effort into making this and it is a tremendous help to the community to have a working cookbook that supports mongo 3 with lots of configuration options being manageable through chef. The only other cookbook I've had similar success with is the original edelight mongodb-cookbook which has now been taken over by chef-brigade: https://github.com/chef-brigade/mongodb-cookbook . They are also working on adding mongo 3 support, but not quite there yet as their cookbook is a bit more complex.

One thing that would be really nice to have is automatic configuration of the replica set using chef search to identify other nodes using the same replica set name and having chef run the appropriate commands to configure the cluster. The cookbook I linked above does this using the mongo ruby gem to connect to mongo during convergence and automatically reconfigures the cluster based on what it finds in chef server's own database.

Currently, with your cookbook, replica set configuration seems to be accomplished by manually running the appropriate rs.initiate() and rs.add() commands. Alternatively since you support MMS automation agent, one can plug in to that system to leverage the features provided by MMS to manage the replica set. However, if one did not wish to use MMS but desired to use mongo 3, the only option seems to be manual configuration.

Are you planning to add automatic replica set configuration in the near future? I would switch to using your cookbook exclusively if this was possible.

What other features are planned?

Great work so far, thanks again.

@chuangtim
Copy link

+1

@chuangtim
Copy link

@armanuorder hi,do you have any idea for automatic replica set configuration?I also looking for the solustion for mongodb replica set configuration.

@chuangtim
Copy link

@sunggun-yu

@vinaybandakka
Copy link

+1

1 similar comment
@moos3
Copy link

moos3 commented Sep 13, 2016

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants