DevOps And SUSE - Open Source Conference SUSECON

Transcription

DevOps and SUSE From check-in to deploymentRodolfo BejaranoSUSE Systems Engineerrodolfo.bejarano@suse.comRick AshfordSUSE Systems Engineerrick.ashford@suse.com

2

Agenda 3IntroductionsDevelopment and OperationsThe SUSE ApproachThe ToolsArchitecture and WorkflowHow can SUSE Help? SUSE, All rights reserved.

Development and Operations

Traditional approach 5 SUSE, All rights reserved.

Traditional approach Development produces code - publishes it, then startson the next release cycle.6 SUSE, All rights reserved.

New Approach DevOps to the rescue!!Stresses communication, collaboration andintegration between software developersand information technology (IT) operationsprofessionals.7 SUSE, All rights reserved.

The DevOps Way8 SUSE, All rights reserved.

DevOps9 SUSE, All rights reserved.

Problem Statements

Typical Problem StatementsSoftware Packaging and Image Creation : Customized scripts for configuring services via config filetemplates is difficult to manage. When consolidated to a singleRPM, changes to a service require an RPM rebuild.Standards not always followed, with no enforcement controls forthem. Kernel-dependent components are impacted with every upgrade. Typical deployments of apps/middleware components arecomplex. 11Difficult to identify which files are required for an application whenspread over multiple RPMs.Deployment teams have difficulty identifying which part of the app todeploy SUSE, All rights reserved.

Typical Problem StatementsImaging / Packaging / Patching / Upgrades:12‒Difficulties decoupling middleware/application upgrades fromOS-related upgrades‒Building new images for new OS versions is usuallyapproached by building and re-building from scratch‒This typically requires project initiation and implementationevery time, with significant overhead costs. SUSE, All rights reserved.

The SUSE Approach

The SUSE Approach SUSE is more than just a Linux distribution, we create software that helpspeople solve problems & quickly adapt to business and industry changes.SUSE was founded on the approach of research and development focusing on high-quality engineering. It is one of our key differentiators inthe market.SUSE software is engineered for continuous delivery14 SUSE, All rights reserved.

The SUSE Approach Software Und SystemeEntwicklung Software & SystemsDevelopment15 SUSE, All rights reserved.

The SUSE Approach SUSE design principles:16 Open Source & Open Development APIs Standards-based (protocols, languages, etc) Enterprise focus

Concept

ConceptReportSystem InspectionSLES 12 “Machinery”KIWIVarious Output FormatopenQAYaST /AutoYaSTDevelop. .Build.Test.Deploy18

ConceptLeverage these components for developing, building, testing, integratingand managing hosts :PACKAGE :Open Build Service - www.openbuildservice.orgBUILD :SUSE Studio - www.susestudio.comDEPLOY :Virtual Workloads via SUSE OpenStack Cloud, VMware ESX, Cisco UCS,other image deployment mechanisms SE Manager, Nagios www.suse.com/products/suse-manager/19 SUSE, All rights reserved.

SUSE (and other) Tools

SUSE ComponentsPACKAGE :Open Build Service21 Web Client and a CLI (osc) Allows for simple package creation Upload sources with wget or via web client Import or copy source packages Add repositories Build packages locally or on source server Reporting Collaboration via branching/merging/review/commit - request tracking Version testing SUSE, All rights reserved.

SUSE ComponentsPACKAGE :Open Build ServiceEven Image Building is possible with OBS Development can be done at an Individual level OR at a project level with several contributors and multi-level reviewSee here for more details (videos, talks and workshops): http://openbuildservice.org/help/materials/22 SUSE, All rights reserved.

SUSE Studio Fastest, Easiest Way to Create Appliances SUSE Studio Online Free hosted appliance creation tool Build in minutes with just a few clicks SUSE Linux Enterprise (SLE) 11 SP2 / SP3, SLE 12,OpenSUSE 13.2 Template-based image creation Output formats include Xen, KVM, VMware, Hyper-V,Live CD/DVD, raw disk images Cloud image creation / deployment for Amazon EC2,Microsoft Azure, Openstack Includes gallery for showcasing appliances 23Try it out at http://susestudio.com

Modules: An Easier Way toGet New Enhancements 24Easier access to the latest updatesDifferent lifecycles, ranging from continuousintegration to three yearsFully maintained and supportedIncluded in subscription withoutadditional costFive optional modules besides base OS

Modules: A Closer LookContentModule Name25LifecycleWeb and ScriptingModulePHP, Python, Ruby on Rails3 years, 18monthsoverlapLegacy ModuleSendmail, old IMAP stack, oldJava, etc.3 yearsPublic Cloud ModulePublic cloud initialization codeand toolsContinuousintegrationToolchain ModuleGCCYearlydeliveryAdvanced SystemsManagement Modulecfengine, puppet and the newmachinery toolContinuousintegrationContainers ModuleDockerContinuousintegration

Advanced Systems ManagementModule – Machinery26

Platform for Your Data Center EvolutionEnterprise OpenStack Distribution–Leading open source cloud project delivering fastinnovation of advanced IaaS cloud servicesIntegration with Ceph Distributed Storage–Reduce costs with a single software-definedstorage solution for massively scalable and reliableblock, object, and image storageDriver of Organizational Innovation–Develop and deploy new applications that takeadvantage of SUSE OpenStack Cloud capabilitiesAward-Winning Worldwide Support–27Backed by the excellence of SUSE engineeringand the only organization with a 20-year history ofsupporting open source software

Fast Installation andSimplified ManagementSUSE OpenStack CloudAdministration Server–Faster ROI through faster installation andeasier management of OpenStack CloudHighly Available Cloud Services–Maintain business agility and deliverenterprise-grade SLAs through continuousavailability of cloud servicesStandardized Product Life Cycle–28Packaged product integrated with SUSEupdate and maintenance processes toensure simplified enterprise maintenance

Take Advantage of Ecosystem and SkillsSupports Mixed KVM, Xen,Microsoft Hyper-V, and VMware Clouds–Increase flexibility in cloud design whilemaximizing performance and optimizinglicensing costs for workloadsSUSE Hardware andApplication Certifications–Confidently run SUSE OpenStack Cloud onindustry standard hardware and deploy theapplications you want in the cloudOpen APIs for Integrationwith Third-Party Solutions–29Maintain current IT investments or expandcapabilities to build cloud to uniquerequirements

SUSE Manager:Operating System Lifecycle Management Gain control Optimize operations Enable innovation30

Non-SUSE ComponentsVersion Control:Subversion, GIT, Mercurial, etc For code commits Integrates with OBS as sources/reposCI (Continuous Integration) Orchestration: Jenkins‒‒31http://jenkins-ci.org“Like cron on steroids” SUSE, All rights reserved.

More System Management @SUSECon32 CAS18158: How to use SUSE Manager and CVEs FUT20721: SUSE Manager Roadmap FUT20073: Lifecycle - Planning Ahead to Avoid Stress HO20098: Install and Configure SMT and SUSEManager for Dummies TUT18400: Architecting your SUSE ManagerDeployment TUT20514: SaltStack and SUSE TUT20516: Using SUSE Manager in HeterogeneousEnvironments TUT20829: Implementation of a SUSE-based Solutionwith SUSE Manager at Apollo-Optik

33Corporate Headquarters 49 911 740 53 0 (Worldwide)Join us on:Maxfeldstrasse 590409 NurembergGermanywww.suse.comwww.opensuse.org

Unpublished Work of SUSE. All Rights Reserved.This work is an unpublished work and contains confidential, proprietary and trade secret information of SUSE.Access to this work is restricted to SUSE employees who have a need to know to perform tasks within the scope oftheir assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated,abridged, condensed, expanded, collected, or adapted without the prior written consent of SUSE.Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability.General DisclaimerThis document is not to be construed as a promise by any participating company to develop, deliver, or market aproduct. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in makingpurchasing decisions. SUSE makes no representations or warranties with respect to the contents of this document,and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Thedevelopment, release, and timing of features or functionality described for SUSE products remains at the solediscretion of SUSE. Further, SUSE reserves the right to revise this document and to make changes to its content, atany time, without obligation to notify any person or entity of such revisions or changes. All SUSE marks referenced inthis presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. Allthird-party trademarks are the property of their respective owners.

Manager for Dummies TUT18400: Architecting your SUSE Manager Deployment TUT20514: SaltStack and SUSE TUT20516: Using SUSE Manager in Heterogeneous Environments TUT20829: Implementation of a SUSE-based Solution with SUSE Manager at Apollo-Optik