Coder Social home page Coder Social 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/yudai/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.

cf_nise_installer_services's People

Contributors

pachkovsky avatar yudai avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

cf_nise_installer_services's Issues

Is it possible to make this project work again?

Hi yudai,

I know this project is not maintained now, and I believe many guys tried your method "cf_nise_installer" to install CloudFoundry on a local laptop or remote VM. but it's without CloudFoundry services. I think it is not enough.
I know we have another ways to deploy CloudFoundry (contain services) with BOSH or Nise_BOSH, but it's not convenient and more complex. and if deploy the CloudFoundry to a remote VM, it need VirtualBox/VMWare installed on the remote VM. it's not convenient. I expect run CloudFoundry services on local physical machine and remote VM without VirtualBox/VMWare, etc. as nobody like run a VM in a VM.

Currently I can install it successfully on Ubuntu 12.04, but can't start the postgresql, what more, the yml file only contain the postgresql services.

if you not have time to maintain this project, I can help contribute to it. and make this project work again. and if it is possible to do that, could you give me some references. thanks.

Instructions For Connecting Services

I see the instructions for installing the services with the cf_nise_installer_services but I don't see any instructions on how to then connect these services to my devbox, do those exist?

cf create-service fail

I've run CF and CF-Service at two VMs and I can see the postgressql service when execute cf create-service, but it failed and display:

CFoundry::ServerError 10001: NoMethodError: undefined method 'token' for nil:NilClass

Wrong repo cloned

When I run following command

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

I've got cf_nise_installer cloned and installed, not cf_nise_installer_services. Will temporary fix it by cloning manually.

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.