GithubHelp home page GithubHelp logo

web5design / load-balancer-image Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eucalyptus/load-balancer-image

0.0 3.0 0.0 278 KB

Eucalyptus load balancer VM image

License: GNU General Public License v2.0

load-balancer-image's Introduction

Load Balancer Image

What is this?

This repository contains kickstart templates and scripts used to build the Eucalyptus Load Balancer EMI.

Installing from an RPM package

Prerequisites

  • Euca2ools 3.0.0 or newer, available here

RPM Install

The easiest way to get Load Balancer support into your Eucalyptus 3.3 installation is to install the RPM package. The latest milestone release can be obtained from the repository here. Of course, you'll first need to have the Eucalyptus 3.3 nightly release installed on your system. Once that is complete, you can install load balancer support from the same package repository. Run the following command on the box hosting your Cloud Controller:

$ yum install eucalyptus-load-balancer-image-devel

By running that command you'll install the development version of the load balancer image. To install the release version of the image, you can run the following instead:

$ yum install eucalyptus-load-balancer-image

Installing into the Cloud

You can read more about the differences between the development and released versions of the image below. Now that you've installed the package, you now need to load the image into Eucalyptus. You can do that with the following commands:

$ . /path/to/my/eucarc
$ euca-install-load-balancer --install-default

Your Load Balancer is not installed, configured and ready to go! If you're interesting in seeing which Load Balancer images you have installed on your system, you can run:

$ euca-install-load-balancer --list

This command will list all bundles installed with their versions as well as showing you which machine image is enabled in Eucalyptus.

Repository information

Kickstart templates

You'll notice that in the repository there are two separate kickstart templates:

  • eucalyptus-load-balancer-image.ks.in - This kickstart builds the image that will ship with Eucalyptus
  • eucalyptus-load-balancer-image-devel.ks.in - This kickstart builds an image that is useful for development (e.g., you can SSH into this one and muck around)

Prerequisites to building an image

PLEASE NOTE: It's highly recommended you build the EMI using Centos 6.4! These instructions assume that you're doing just that.

You're first going to need to install the EPEL 6 repository release package:

$ yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

In order to use the scripts to build an EMI image and the RPM package that contains it, you'll have to install a few prerequisites:

$ yum install git rpmdevtools python-jinja2 python-imgcreate

Building an image

To build a tarball that is compatible with eustore, do the following:

$ scripts/build-eustore-tarball.sh <kickstart-template>

Where kickstart is either the template for the release or development version of the EMI. This tarball can then be packaged as an RPM by running the following commands:

$ scripts/build-rpm.sh

If you're building the development version of the image, run this instead:

$ scripts/build-rpm.sh devel

The RPM packages built will be placed in the results subdirectory.

Installation and configuration of the eustore tarball

Installing the Load Balancer Image

You'll need to use the eustore tools in order to install the image into your cloud. First, copy the eustore tarball that was created when you ran build-eustore-tarball.sh to your Eucalyptus Cloud Controller along with the Load Balancer installation script (euca-install-load-balancer). Then run the following command:

$ ./euca-install-load-balancer -t eucalyptus-load-balancer-image.tgz

Manually Enabling the Load Balancer

The command above will automatically enable the image you install. If for any reason you need to manually set the machine image ID or other Load Balancer parameters, you can use the commands below:

$ euca-modify-property -p loadbalancing.loadbalancer_emi=emi-12345678
$ euca-modify-property -p loadbalancing.loadbalancer_instance_type=m1.small

load-balancer-image's People

Contributors

mspaulding06 avatar viglesiasce avatar gholms avatar

Watchers

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