Skip to content

marcusportmann/mmp-paas

Repository files navigation

mmp-paas

Overview

The mmp-paas project provides the capability to provision the various technologies that make up the PaaS platform in an automated manner using Packer, Vagrant and Ansible. Support is provided for the Virtualbox, VMware Fusion and VMware vSphere virtualisation platforms.

The config.yml file defines all the servers that make up the PaaS platform and the Ansible configuration that should be applied to these servers. The profiles section at the top of the config.yml file defines collections of servers that should be provisioned as a related unit. This allows a portion of the PaaS platform to be deployed using commands similar to the following:

vagrant --profile=<PROFILE NAME> up --provider=<PROVIDER NAME> --no-parallel

or

vagrant --profile=<PROFILE NAME> destroy --force

e.g.

vagrant --profile=paas_minimal up --provider=virtualbox --no-parallel

vagrant --profile=developer up --provider=vmware_fusion --no-parallel

or

vagrant --profile=paas_minimal destroy --force

vagrant --profile=developer destroy --force

You can connect to a server using SSH with the username vagrant and the password vagrant. This user is able to su to the root user.

Usage

  1. Download and install VirtualBox from https://virtualbox.org.

  2. Configure the VirtualBox Host-Only Ethernet Adapter as follows:

Adapter:
  IPv4 Address: 192.168.100.1
  IPv4 Network Mask: 255.255.255.0

DHCP Server:
  Enable Server: True
  Server Address: 192.168.56.100
  Server Mask: 255.255.255.0
  Lower Address Bound: 192.168.56.101
  Upper Address Bound: 192.168.56.254
  1. Install Git e.g. on CentOS execute yum -y install git.

  2. Download and install Packer from https://packer.io.

  3. Download and install Vagrant from https://www.vagrantup.com.

  4. Open a Bash terminal.

  5. Clone the https://github.com/marcusportmann/mmp-packer.git project.

  6. Execute the build-virtualbox.sh script under the mmp-packer directory.

  7. Follow the instructions on http://docs.ansible.com/ansible/intro_installation.html#installing-the-control-machine to install Ansible.

  8. Clone the https://github.com/marcusportmann/mmp-paas.git project.

  9. Execute the following command under the mmp-paas directory:

vagrant --profile=paas_minimal up --provider=virtualbox --no-parallel
  1. Create the Ceph OSD cluster on the first Ceph monitor node e.g. 192.168.100.58 by executing the following command as the root user:

ceph osd pool create docker 128

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages