Git Product home page Git Product logo

cf_nise_installer_services's Introduction

Services Addon for Cloud Foundry v2 Nise Installer

Services Installer with Nise BOSH and nise-bosh-vagrant

This addon in an installer for Cloud Foundry build-in services on a single server or a Vagrant VM. Servicee nodes build with this installer work with a devbox created with cf_nise_installer.

This installer is still ALPHA version.

Building Service Node on Single Server

Requirements

  • Ubuntu 10.04 64bit
    • Ubuntu 12.04 is not supported
  • 8GB+ free HDD space
  • 4GB+ memory
    • m1.medium or larger instance is recommended on AWS

* NOTICE *

You cannot install services on the same server on which Cloud Foundry componens installed by cf_nise_installer are running. You need another server to deploy services with this installer.

Installing

Run the commands below on your server:

sudo apt-get install curl
bash < <(curl -s -k -B https://raw.github.com/kelby/cf_nise_installer_services/${INSTALLER_BRANCH:-master}/local/bootstrap.sh)

The bootstrap.sh script installs everything needed for your services node. This command may take a couple of hours at first run.

You need to restart your server once after the installation is completed.

Launching Processes

You can start the processes for your services node by running the following command in the cf_nise_installer_services directory cloned by the bootstrap.sh script:

./local/start_processes.sh

This command launches the Monit process and then start up all monit jobs installed by Nise BOSH.

You can also manually manage the processes with the Monit command:

# Start Monit
sudo /var/vcap/bosh/bin/monit
# Launch `all` processes
sudo /var/vcap/bosh/bin/monit start all
# See status
sudo /var/vcap/bosh/bin/monit status
sudo /var/vcap/bosh/bin/monit summary # shorter
# Stop `all` processes
sudo /var/vcap/bosh/bin/monit stop all

Confirm all the processes shown by monit summary indicate running. It takes a few minutes to initialize all processes.

Build Service Node with Vagrant

You can create a services node VM quickly with Vagrant and nise-bosh-vagrant.

Requirements

  • Vagrant 1.2 or later
  • Ruby 1.9.3-p448 (Required by cf-release)
  • 8GB+ free HDD space
  • 4GB+ free memory

Launch Vagrant VM with CF components

Run the following command:

sudo apt-get install curl
bash < <(curl -s -k -B https://raw.github.com/yudai/cf_nise_installer_services/${INSTALLER_BRANCH:-master}/vagrant/bootstrap.sh)

Once the command is finished, you can target your devbox and push applications.

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.