Code Monkey home page Code Monkey logo

collective's Introduction

collective

The new collective repo.

Manage vagrant/vbox clusters easily, with a quasi dedicated chef server. Safe for bridged networks.

This app helps syncronize developers working on cluster software.

Environment Setup

# env
gem install bundler

bundle install

# install vagrant plug-ins; yes, slightly confusing - download|install...
rake download:plugins

# Project deps
rake download:gems # should just run bundle

rake download:files # for various files needed by the app

rake download:repos # for various repos needed by the app

rake download:cookbooks # grabs cookbooks via berkshelf

# !! Now you can do either a cluster or manual setup !!

Cluster setup (recommended)

# Cluster?
rake vm:cluster:base:up

# Upload and sync all nodes with chef
rake vm:cluster:base:sync

# Start the whole thing over again (destructive)?
rake vm:cluster:base:rebirth

What does Cluster run?

Below are manual commands which cluster will run

# Re-provision?
rake vm:cluster:base:provision

# Re-bootstrap nodes?
rake vm:cluster:base:bootstrap

# Re-upload chef data?
rake vm:cluster:base:upload

# Re-Prepare node1, etc...
rake vm:cluster:base:prepare

# Re-Sync nodes with chef server
rake vm:cluster:base:sync

Manual setup

Manually boot the above with Node1 and a Chef node?

rake vm:chef:up

rake vm:chef:provision

rake vm:node1:up

rake vm:node1:provision

rake vm:cluster:base:bootstrap

rake vm:cluster:base:upload

rake vm:cluster:base:sync

Clif Notes

Remember, all the above can be easily be done via:

rake vm:cluster:base:up

Or by doing a full rebirth which will FROM SCRATCH delete and restart the provisioning process again (if you messed something up)

rake vm:cluster:base:rebirth

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.