Configuration Management Who we are Eric J ames - - - PowerPoint PPT Presentation

configuration management who we are
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Configuration Management

slide-2
SLIDE 2

Who we are

Eric J ames - Programmer/Analyst, Library IT Tenyo Grozev - Engineer, Infrastructure Services Vincent Balbarin - Solution Architect, Design Services

slide-3
SLIDE 3

Configuration Management Tool Chain

Vagrant Chef Ansible

slide-4
SLIDE 4

Vagrant

slide-5
SLIDE 5

Basic Vagrant components

Box Network (port exposure, public, private,share) Synched folder Provider (virtual box, aws) Provision (file, shell, docker, ansible, chef)

slide-6
SLIDE 6

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

slide-7
SLIDE 7

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

slide-8
SLIDE 8

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

slide-9
SLIDE 9

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.

slide-10
SLIDE 10

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.