Skip to content

Installation

DagSonsteboSB edited this page Jul 20, 2016 · 12 revisions

This guide will split the installation of Trillian into two parts:

  • The requirements for the parent CloudStack environment in which the nested environments are built and how this is installed and configured.
  • The installation of the Ansible plays/roles which build the nested CloudStack instances.

Parent CloudStack installation steps

  1. Build your parent CloudStack infrastructure as per standard CloudStack installation procedures. There are no CloudStack version requirements, however the backend hypervisor has to be VMware ESXi.
  2. Configure a NFS linux server with a shared NFS root folder - this allows Trillian to simply create subfolders within this root folder for the purpose of providing primary and secondary storage to nested CloudStack instances. The NFS server can be shared with the parent CloudStack instance if required.
  3. Create two shared networks in the parent CloudStack infrastructure:
  • Shared management network: this must be accessible from all hosts in the parent environment, i.e. it must either be on the same VLAN and IP range as the parent CloudStack management servers and hypervisors, or L3 routable.
  • Nested trunked network: this must be configured with VLAN 4095 to allow the nested CloudStack environments to define their own VLAN ranges and ensure these propagate between hypervisors in the parent environment. Obviously top-of-rack switches will also need to be configured to allow this traffic to pass.
  1. Build and configure your Trillian Ansible host and environments MySQL database server (can be the same).

Installation of the Trillian Ansible playbooks and roles

Ansible host

  1. Build a CentOS7 VM attached to the parent CloudStack management network. Other OS'es can be used but CentOS makes Python 2.7 handling easier. The standard CentOS core install has all pre-requisites.
> yum install git -y
> git clone https://github.com/shapeblue/Trillian
> sh ./Trillian/utils/install_ansible.sh

edit ./Trillian/Ansible/group_vars/all to match PARENT configuration

Clone this wiki locally