Configuration Management Who we are Eric J ames - - - PowerPoint PPT Presentation
Configuration Management Who we are Eric J ames - - - PowerPoint PPT Presentation
Configuration Management Who we are Eric J ames - Programmer/Analyst, Library IT Tenyo Grozev - Engineer, Infrastructure Services Vincent Balbarin - Solution Architect, Design Services Configuration Management Tool Chain Vagrant Chef
Who we are
Eric J ames - Programmer/Analyst, Library IT Tenyo Grozev - Engineer, Infrastructure Services Vincent Balbarin - Solution Architect, Design Services
Configuration Management Tool Chain
Vagrant Chef Ansible
Vagrant
Basic Vagrant components
Box Network (port exposure, public, private,share) Synched folder Provider (virtual box, aws) Provision (file, shell, docker, ansible, chef)
Vagrant in Use
https://github.com/yulgit1/pcdm-geo-models/blob/yale_master/Vagrantfile https://github.com/yalelibrary/search-frontend/blob/RC9/Vagrantfile https://github.com/yalelibrary/search-frontend/blob/RC9/script.sh
Chef
Configuration management tool (Ruby + Erlang) Server or standalone mode (chef_solo, chef_zero) Support for Linux, Windows, and others Uses “recipes” to describe specific configurations Collects information about the host system (ohai) Chef DK for local development
Chef demo
$ vagrant plugin install vagrant-omnibus $ vagrant plugin install vagrant-berkshelf $ vagrant init bento/centos-7.3 $ chef generate cookbook serverapi
ServerAPI
EC2-API Vmware-API :8080
:8081 :8082
- Setup packages repos
- Install RVM + rubies
- Clone APIs from Github, bundle
install and start
Ansible: What is it?
The framework is written in Python. Resource providers are native to the managed node. Agentless
Communicates via SSH (*nix) or WinRM (Windows) Local execution
Configuration is expressed as YAML (YAML Ain’t Markup Language) Individual modules may be invoked to perform adhoc management.
Ansible Demo Configure a Redhat Linux Sandbox instance as an Ansible management node.
https://git.yale.edu/spinup/ansible
Use Ansible to configure a Windows Server 2012r2 Sandbox instance for Windows Puppet development.