GithubHelp home page GithubHelp logo

isabella232 / vagrant-boundary-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from boundary/vagrant-boundary-demo

0.0 0.0 0.0 127 KB

Demonstration host virtual environment

License: Apache License 2.0

Shell 4.09% Puppet 92.13% HTML 3.78%

vagrant-boundary-demo's Introduction

Vagrant Environment for Boundary Demo

Provides virtual machines targets for a Boundary Demo

Prerequisites

  • Git 1.7 or later, here
  • Vagrant 1.7.2 or later. Vagrant can be downloaded here
  • VirtualBox 4.3.2.6 or later. VirtualBox can be downloaded here

Installation

Getting Started

The Boundary meter is installed on each of the virtual machines via the Boundary Puppet Module. Boundary Meter installation requires that the api token be known at install time. The Boundary API Token can be found in the Settings -> Account dialog in the Boundary user interface.

List of Platforms to Virtual Machine Mapping

The table below provides the mapping of platform to virtual machine name that is used later to start a virtual machine for testing plugins.

Role Virtual Machine Name Notes
Web Server #1 web-01
Web Server #2 web-02
Web Server #3 web-03
Database Server #1 db-01
Database Server #2 db-02
Monitor Server #1 monitor-01

Starting a Virtual Machine

With the Boundary API token perform the following:

  1. Either checkout or clone the git repository ()[]
  2. Issue the following command, the target platforms are listed in the table below:
$ BOUNDARY_API_TOKEN=<api token> vagrant up <virtual machine name>

Stopping a Virtual Machine

$ vagrant halt <virtual machine name>

Destroying a Virtual Machine

$ vagrant destroy <virtual machine name>

Plugin Installation and Configuration

Web Servers

  1. Start virtual machines
$ BOUNDARY_API_TOKEN=<api token> vagrant up web-01 --provider virtualbox
  1. Deploy Apache plugin on each of the web servers

Database Servers

$ BOUNDARY_API_TOKEN=<api token> vagrant up db-01 db-02 --provider virtualbox
  1. Deploy MySQL plugin on each of the database servers

Monitoring Server

  1. Start virtual machine
$ BOUNDARY_API_TOKEN=<api token> vagrant up monitor-01 --provider virtualbox
  1. Deploy httpcheck plugin
  2. Configure check of web-01
  3. Configure check of web-02
  4. Configure check of web-03

vagrant-boundary-demo's People

Contributors

jdgwartney 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.