Giter Site home page Giter Site logo

cloudify-manager-install's Introduction

Cloudify Manager Install

Circle CI Code Health

A new, simpler, way to install a Cloudify manager. Runs in half the time, with a fraction of the frustration. 1000% satisfaction guaranteed.

Usage

Installation

In the local install, the only thing the user needs, is a single RPM.

The RPM is now live on S3 (community version can be found here, the premium can be found here). You can download and install it, following the instructions below.

For those who wish to manually create their own RPM (for development purposes) see below steps 1-6.

Creating the RPM

  1. SSH into a clean VM (or a bare metal server, of course).
  2. Download the create_rpm script to the machine with:

curl -L -O https://raw.githubusercontent.com/cloudify-cosmo/cloudify-manager-install/master/packaging/create_rpm

  1. Give it executable permissions:

chmod +x create_rpm

  1. Execute the script:

Note: For this to work you will either need an ssh key that can access cloudify-premium (premium) or cloudify-versions (community), or you will need to export GITHUB_USERNAME and GITHUB_PASSWORD env vars.

./create_rpm

To build community, execute with: ./create_rpm --edition community

  1. This will result in an rpm created in /tmp/cloudify-manager-install-premium-1.0-1.x86_64.rpm or /tmp/cloudify-manager-install-community-1.0.1.x86_64.rpm.

Note that steps 1-6 may be performed on a machine other than the one intended to serve as a Cloudify manager. It will be then up to the user to ensure the rpm is then copied to the other machine.

Installing Cloudify Manager

  1. yum install the rpm:

sudo yum install -y /tmp/cloudify-manager-install-premium-1.0-1.x86_64.rpm or sudo yum install -y /tmp/cloudify-manager-install-community-1.0-1.x86_64.rpm

  1. This step extracts necessary files on the system and gives permissions to the /etc/cloudify/config.yaml file. One of the files extracted is the cfy_manager executable which will be used to actually install the manager.
  2. Only the private and public IPs are necessary to install the manager, and those can be provided directly to the executable like this:

cfy_manager install --private-ip <PRIVATE-IP> --public-ip <PUBLIC-IP>

If more configurations are necessary, you may edit the config file in: /etc/cloudify/config.yaml.

  1. After the command has finished, you should have a working manager, with cfy installed for both the current user and root.

Configuration

If you wish to change some configuration after install, just edit config.yaml again and run cfy_manager configure. It takes about a minute.

Teardown

At any point, you can run cfy_manager remove, which will remove everything Cloudify related from the machine, except the installation code, that will remain in /etc/cloudify/config.yaml, so that you will have the ability to run cfy_manager install again.

Goodies

  • cfy_manager install and cfy_manager configure can be run as many times as you like. The commands are completely idempotent.
  • Want to reconfigure the manager, but don't want to drop the DB? Set "postgres": {"create_db": false}" in the config file.
  • Working in offline mode? No problem. cfy_manager install can be used as is, assuming the RPM was somehow delivered to the machine.
  • Detailed debug logs of the installation process are available in /var/log/cloudify/manager/cfy_manager.log

cloudify-manager-install's People

Contributors

mcouthon avatar tehasdf avatar isaac-s avatar inbala avatar idob-cloudify avatar funkyhat avatar limor-gs avatar tyacbovi avatar qooban avatar barucoh avatar geokala avatar adigrabow avatar dusking avatar opencm avatar yarivgiga avatar earthmant avatar glukhman avatar cosmo-admin avatar sivanbar avatar kubama avatar aviaefrat avatar dmitryaii avatar jcollado avatar

Watchers

James Cloos 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.