Download presentation
Presentation is loading. Please wait.
Published byHilary Boyd Modified over 8 years ago
1
Cloud Installation & Configuration Management
2
Outline Definitions Tools, “Comparison” References
3
Definitions Configuration management (CM) WikipediaWikipedia - “field of management that focuses on establishing and maintaining consistency of a system’s or product’s performance and its functional and physical attributes with its requirements, design, and operational information throughout its life. For information assurance, CM can be defined as the management of security features and assurances through control of changes made to hardware, software, firmware, documentation, test, test fixtures, and test documentation throughout the life cycle of an information system” PuppetLabsPuppetLabs – “the process of standardizing resource configurations and enforcing their state across IT infrastructure in an automated yet agile manner. Configuration management is critical to the success of other IT processes, including provisioning, change management, release management, patch management, compliance and security.” “Configuration management tools should probably be considered as an essential tool when moving into the cloud” From OpenStack:OpenStack “Maintaining an OpenStack cloud requires that you manage multiple physical servers, and this number might grow over time. Because managing nodes manually is error-prone, we strongly recommend that you use a configuration management tool. These tools automate the process of ensuring that all of your nodes are configured properly and encourage you to maintain your configuration information (such as packages and configuration options) in a version controlled repository”
4
Tools – Configuration Management AnsibleWorks AnsibleWorks an orchestration engine—built to provide a powerful framework for systems automation Ansible and Openstack Ansible and Openstack CFEngine CFEngine systems management tool designed to help you configure and automate your IT infrastructure https://cfengine.com/archive/manuals/st-cloud https://cfengine.com/archive/manuals/st-cloud Manage Openstack instances with CFEngine Manage Openstack instances with CFEngine Chef Chef a configuration management tool written in Ruby and ErlangRubyErlang http://gettingstartedwithchef.com/ http://gettingstartedwithchef.com/ OpenStack Chef recipes OpenStack Chef recipes PuppetLabs PuppetLabs http://puppetlabs.com/solutions/cloud-automation/compute/openstack http://puppetlabs.com/solutions/cloud-automation/compute/openstack https://github.com/stackforge/puppet-openstack https://github.com/stackforge/puppet-openstack
5
Some Comparison LanguageLicense Mutual auth Encrypts Verify mode AnsiblePythonGPLYes[1]Yes[2]Yes Bcfg2PythonBSD [12]Yes[5]Yes[6]Yes[7] ChefRubyApacheYes[10]Yes[6]Yes [11] CFEngineCGPL, COSL [14]Yes[1]Yes[14]Yes [15] JujuPython Affero Gen. Public Lic. PuppetRuby Apache (>2.7.0), GPL before Yes[27]Yes[6]Yes [28] QuattorPerl, Python EDG[19], Apache 2.0 Yes[31]Yes[32] SmartFrogJavaLGPLYes[42] SaltPython[46]Apache [21]Yes[47] Yes Spacewalk Java (C, Pl, Py, PL/SQL) GPLv2Yes AIX*BSDHP-UXLinuxMac OS XSolarisWindowsOthers AnsibleYes No Bcfg2Partial[56]Yes[57]NoYes[58]Partial[59]YesNo CFEngineYesYes [57][60][61] Yes Yes[62]Yes ChefNo[63]YesYes[63]YesPartialYesYes[64]Yes JujuYes PuppetYes PartialYes QuattorNo YesNoYesNo SmartFrogNo[69] Yes No[69] SaltNo[70]YesNo[70]Yes[71]YesYes[72]YesPartial[70] SpacewalkNo[73]No Yes[74]NoYes[75]No Reference: http://en.wikipedia.org/wiki/Comparison_of_open-source_configuration_management_software
6
References (I) Puppet vs Chef vs CFEngine vs Ansible http://www.socallinuxexpo.org/scale11x/presentations/puppet- vs-cfengine-vs-chef-guide-stressed-developers http://www.socallinuxexpo.org/scale11x/presentations/puppet- vs-cfengine-vs-chef-guide-stressed-developers https://www.scriptrock.com/blog/puppet-vs-cfengine/ https://www.scriptrock.com/blog/puppet-vs-cfengine/ http://bitfieldconsulting.com/puppet-vs-chef http://bitfieldconsulting.com/puppet-vs-chef http://www.bubblewrapp.com/why-we-chose-ansible-over- puppet/ http://www.bubblewrapp.com/why-we-chose-ansible-over- puppet/ http://probably.co.uk/puppet-vs-chef-vs-ansible.html http://probably.co.uk/puppet-vs-chef-vs-ansible.html
7
Tools – Cloud Management/Installation Packstack: OpenStack install tool command line utility that uses Puppet modules to support rapid deployment of OpenStack on existing servers over an SSH connection Deploying OpenStack using PackStack Deploying OpenStack using PackStack RDO Quickstart RDO Quickstart Poor doc. On OpenStack wiki Poor doc. On OpenStack wiki DevStack DevStack Deploy OpenStack for developers ideal for potential users who want to see what the Dashboard looks like from an admin or user perspective, and OpenStack contributors wanting to test against a complete local environment. script to quickly create an OpenStack development environment is not and has never been intended to be a general OpenStack installer
8
Foreman (I) Idea: CHEP2013 - Facilities, Infrastructures, Networking and Collaborative ToolsFacilities, Infrastructures, Networking and Collaborative Tools “Configuration Management: Puppet + ecosystem as configuration management system Foreman as machine inventory tool and dashboard Receives reports from Puppet runs & provides dashboard” Other intentions to move to Foreman - BNL
9
Foreman (II) Complete lifecycle management tool – physical & virtual hosts Language: Ruby Offers Provisioning – bare-metal & cloud, one place, simple process Configuration – complete config. managem. solution, Puppet Monitoring – collects Puppet reports, host config.
10
Foreman Architecture
11
More on Foreman (I) Swift proxy - autonomous web-based foreman component that is placed on a host performing a specific function in the host commissioning phase Swift proxy Puppet Import reports, facts, classes, env from Puppet Master Node classifier & param store for Puppet Master Can manage multiple Puppet Masters Inventory Automatically collect system inventory Reporting Dashboard for all puppet hosts, detailed logs, alerting e-mails Node Classifier (ENC) UI to associate hosts with recipes Group hosts in hostgourps Update many hosts at oce
12
More on Foreman (II) Provisioning Public & private clouds, bare-metal PXE or imaged-based Manage DNS/DHCP, TFTP (smart-proxies) Orchestration VM setup Supports rollback Knows to handle conflicts ( IP address already in use) User managem. LDAP RBAC – per host-group, domain,.. Organization & Location Support multiple locations & organizations units
13
More on Foreman (III) Foreman-Installer – automatic install Foreman-Installer Foreman Foreman Proxy Puppet-master Apache, git,…
14
Foreman snapshots
15
Foreman – CERN experience
16
References (II) Foreman http://theforeman.org/ http://theforeman.org/ http://projects.theforeman.org/projects/foreman/wiki http://projects.theforeman.org/projects/foreman/wiki http://openstack.redhat.com/Deploying_RDO_Using_Foreman http://openstack.redhat.com/Deploying_RDO_Using_Foreman CERN https://indico.cern.ch/getFile.py/access?contribId=472&sessionId=8 &resId=1&materialId=slides&confId=214784 https://indico.cern.ch/getFile.py/access?contribId=472&sessionId=8 &resId=1&materialId=slides&confId=214784 https://indico.cern.ch/getFile.py/access?contribId=217&sessionId=8 &resId=0&materialId=slides&confId=214784 https://indico.cern.ch/getFile.py/access?contribId=217&sessionId=8 &resId=0&materialId=slides&confId=214784
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.