Skip to content

btsomogyi/cloudcenter-dee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DockerEE_UCS_BM

Docker Enterprise Edition On UCS BareMetal

Ansible Playbook for Docker-EE on UCS BareMetal Servers

Ansible code for deploying Docker Enterprise Edition This repo contains Ansible play-book code for deploying Docker Enterprise Edition v17.06 on UCS bare metal nodes. Following pre-requisites/important notes, are needed before the play-book can be played on -

  1. UCS Manager Service Profile configuration is out of scope of this playbook. It is expected that Day0/1 tasks for setting up UCS servers, storage configuration, network configuration have already been taken up.
  2. Bare Metal OS with RHEL7.3 has been taken care of beforehand.
  3. All the operating system have atleast 2 disks, one for OS boot and the other one for Docker Enterprise usage.
  4. Playbook expects to run from a build server having Ansible version 2.3.2 installed and have connectivity to all the target hosts w/ password less SSH access. To setup password less ssh access pls refer - https://access.redhat.com/solutions/9194
  5. It expects some of the environement variable to be setup as global-vars, details are captured in respective sections.
  6. This playbook is written for environment which works behind proxy, if not needed certain sub-tasks should be skipped.
  7. Same is the case with certain environemental files like /etc/hosts, Cisco VIC enic driver RPM etc to be present in files sections of certain roles.
  8. Play-book does all POST OS installation tasks including storage configurations and Docker EE installs.
  9. Play-book is written with UCS-Manager version 3.2(1d) and corresponding Cisco VIC - enic driver for RHEL7.3.

. Ansible play-book tree structure -

├── DEE-Nodes ├── DEE-Nodes.retry ├── DEE-Nodes.yml ├── README.md ├── defunct │   ├── UCPdtr │   │   └── tasks │   │   └── main.yml │   ├── UCPdtr-r2 │   │   └── tasks │   │   └── main.yml │   └── UCPswarm │   └── tasks │   └── main.yml ├── group_vars │   └── all └── roles ├── DEE-Worker │   └── tasks │   └── main.yml ├── DTR-Initial │   ├── defaults │   │   └── main.yml │   ├── tasks │   │   └── main.yml │   └── vars │   └── all ├── DTR-Replica │   └── tasks │   └── main.yml ├── UCP-Initial │   ├── defaults │   │   └── main.yml │   ├── files │   │   └── docker_subscription.lic │   ├── tasks │   │   └── main.yml │   └── vars │   └── all ├── UCP-Replica │   └── tasks │   └── main.yml ├── common │   ├── files │   ├── tasks │   │   ├── main.yml │   │   ├── oel-common.yml │   │   └── rhel-common.yml │   └── templates │   ├── bash_profile │   ├── environment │   ├── ntp.conf │   └── rhsm.conf ├── common-ucs │   ├── files │   │   └── kmod-enic-2.3.0.39-rhel7u3.el7.x86_64.rpm │   └── tasks │   └── main.yml ├── docker │   ├── files │   │   └── rh-daemon.json │   ├── tasks │   │   ├── main.yml │   │   ├── oel-docker.yml │   │   └── rhel-docker.yml │   └── templates │   └── http-proxy.conf ├── firewall │   └── tasks │   └── main.yml ├── ntp │   └── tasks │   ├── main.yml │   └── main.yml.bak ├── storage │   ├── files │   │   └── docker-thinpool.profile │   └── tasks │   ├── main.yml │   └── rh-storage.yml └── yum └── tasks └── main.yml

44 directories, 39 files

. Swarm/UCP cluster formation and DTR installations need to be done separately after running this playbook as of now. In near future we will add these 2 tasks as well into existing playbook.

. To run the playbook, one need to download entire directory structure on a build node and run following command, after editing DEE-Nodes file with cluster nodes details, putting values inside group_vars/all file -

ansible-playbook -verbose -i DEE-Nodes DEE-Nodes.yml -u root

About

Cloud Center Docker Enterprise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages