Code Monkey home page Code Monkey logo

chef-cookbooks's Introduction

These cookbooks depend on the silverware cookbook from https://github.com/infochimps-labs/ironfan-pantry for service discovery.

Things are still a work-in-progress. There may be bugs.

Things are mainly tested when used in conjuction with [Ironfan] (https://github.com/infochimps-labs/ironfan) on Amazon EC2.

In combination with Ironfan, these cookbooks let us do things like

knife cluster launch torquebox-frontend --bootstrap
knife cluster launch torquebox-backend-0 --bootstrap
knife cluster launch torquebox-backend-1 --bootstrap

The above commands bring up a mod_cluster server and two TorqueBox servers with all clustering setup. The nodes were launch one at a time because there are likely some race conditions in the service discovery currently being used that need to be sorted out.

New TorqueBox (torquebox-backend) servers can be added at any time and will join the cluster as expected. However, when a new mod_cluster (torquebox-frontend) cluster is added the existing TorqueBox servers won't automatically connect to it. You'll need to re-run chef-client on the TorqueBox servers then restart TorqueBox (sv restart torquebox) to get the backend servers talking to the new mod_cluster instance.

chef-cookbooks's People

Contributors

bbrowning avatar rabidtester avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.