- From: Micah Wedemeyer <
>
- To:
- Subject: [chef] Replica set setup with chef
- Date: Fri, 21 Jan 2011 18:49:43 -0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=gt8G6mqGstpWp8tyzJ1NZKgNBknOGOqkEUdDIicSFlvGFjP5RQOLYWimp09l3IVL7M LEoyFLD2YvrOm0MMMZ8V0WV+JrkqW/h4toE4uX1p5yIdm6OR9LLIMHSwo2eu990ufGta ivud4BEw4WDIdSn0s8BFST4foBu3L/RNwfBA8=
Is anyone doing Mongo sharding or replica sets with chef? As far as I can tell, you need to run some commands interactively (ie. rs.initialize) in the mongo shell to initialize a replica set. I think I could probably do this with chef by piping the commands directly to the shell, but is there an easier way? Some kind of config file settings I could use? Otherwise, I need to wait for the server to come up, send it the command, and then hope that everything works.
Thanks,
Micah
- [chef] Replica set setup with chef, Micah Wedemeyer, 01/21/2011
Archive powered by MHonArc 2.6.16.