Code Monkey home page Code Monkey logo

cookbook-jobscheduler's Introduction

JobScheduler Cookbook

Chef to install The SOS JobScheduler.

  • JobScheduler: 5.3.0
  • Nginx: 1.1.19
  • PostgreSQL: ... Not implemented yet
  • MySQL: 5.5.31

Requirements

Vagrant Plugin

Platform:

  • Ubuntu (12.04, 12.10)
  • CentOS ... Not implemented yet

Attributes

  • User
  • Source
  • Database
  • Server

Installation

Vagrant

VirtualBox

$ gem install berkshelf
$ vagrant plugin install vagrant-berkshelf
$ git clone git://github.com/ogom/cookbook-jobscheduler ./jobscheduler
$ cd ./jobscheduler/
$ vi ./Vagrantfile 
$ vagrant up
$ vagrant ssh
vagrant$ curl -L https://www.opscode.com/chef/install.sh | sudo bash
vagrant$ exit
$ vagrant provision

Amazon Web Services

$ gem install berkshelf
$ vagrant plugin install vagrant-berkshelf
$ vagrant plugin install vagrant-aws
$ vagrant box add dummy https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box
$ git clone git://github.com/ogom/cookbook-jobscheduler ./jobscheduler
$ cd ./jobscheduler/
$ cp ./example/Vagrantfile_aws ./Vagrantfile
$ vi ./Vagrantfile
$ vagrant up --provider=aws
$ vagrant ssh
vagrant$ curl -L https://www.opscode.com/chef/install.sh | sudo bash
vagrant$ exit
$ vagrant ssh-config | awk '/HostName/ {print $2}'
$ vi ./Vagrantfile
$ vagrant provision

knife-solo

$ gem install berkshelf
$ gem install knife-solo
$ knife configure
$ knife solo init ./chef-repo
$ cd ./chef-repo/
$ echo 'cookbook "jobscheduler", github: "ogom/cookbook-jobscheduler"' >> ./Berksfile
$ berks install --path ./cookbooks
$ knife solo prepare [email protected] -p 2222 -i ~/.vagrant.d/insecure_private_key
$ vi ./nodes/127.0.0.1.json
$ knife solo cook [email protected] -p 2222 -i ~/.vagrant.d/insecure_private_key --no-chef-check

Usage

Example of node config.

{
  "mysql": {
    "server_root_password": "rootpass",
    "server_debian_password": "debpass",
    "server_repl_password": "replpass"
  },
  "jobscheduler": {
    "database_password": "datapass"
  },
  "run_list":[
    "jobscheduler::initial",
    "jobscheduler::install"
  ]
}

Done!

http://localhost:8080/ or your server for JobScheduler Operatios Centre.

Links

License

  • MIT

cookbook-jobscheduler's People

Contributors

ogom avatar

Watchers

 avatar  avatar

Forkers

asagage

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.