Continuous Delivery of Software with IBM DevOps Solutiondevelopermarch.com/developersummit/2015/report/downloadPDF/A… · Continuous Delivery of Software with IBM DevOps Solution
Post on 05-Jun-2020
1 Views
Preview:
Transcript
Continuous Delivery of Software
with IBM DevOps Solution
Gopal R Kempaiah
Country Manager Technical Sales
IBM Systems
Addressing delivery challenges
Addressed by...Addressed by...
Agile Dev
Customers
Desire for fast and continuous innovation
Line of Business
Requirements
Dev & Test Teams
Code & Tests
Operations Team
Business Services
Gap Gap
DevOps
Water-SCRUM-Fall?
Agile Development highlights bottlenecks
Test and Ops teams have increased pressures to keep up with increased loads but continue to use waterfall approaches
and traditional tools.
Functional Testing
Acceptance Testing
Production
Gap
3
Development
Code & Tests
Operations
Business Services
DevOps: The time is nowFour key drivers are making DevOps a 2012 imperative for all organizations.
DevOps
Business Agility
CloudComputing
Operational Discipline
Agile Development
DevOps is…
A set of principles and values that
facilitate collaboration across
disciplines to…
1. Enable rapid evolution of
deployed business services
2. Reduce risk, decrease cost, and
improve quality across the
portfolio
People
Process
Information
http://bit.ly/PRPklm
DevOps Principles and Values
1. Collaborate across disciplines
2. Develop and test against a
production-like system
3. Deploy frequently using
repeatable and reliable
processes
4. Continuously monitor and
validate operational quality
characteristics
People
Process
Information
How do we make this happen?
Automate everything
Version everything
Test everything
Track and Plan everything
Instrument and Audit everything
Dashboard everything
Application Artifacts
ApplicationCodeApplicationCode
InstrumentationandConfiguration
InstrumentationandConfiguration
Runtime EnvironmentDefinition
Runtime EnvironmentDefinition
Version
Automate
Test
Track and Plan
Instrument and Audit
Dashboard
7
Key Concepts1. Continuous Integration
2. Continuous Delivery
3. Continuous Test
4. Continuous Monitoring
5. Infrastructure as Code
6. Build and Delivery Pipeline
1. Continuous Integration
Tools:
• Jazz Build Engine
• Jenkins, Hudson
• Urban Code Deployhttp://bit.ly/PRQ4a7
2. Continuous Delivery
Tools:
• UrbanCode Deploy
• SmartCloud Continuous Deliveryhttp://bit.ly/PRQ4a7
IBM SmartCloud Continuous Delivery packaging
Build -> Publish -> Deploy -> Test
Extending Agile Development with Continuous Delivery
Rational Team Concert
Agile
Development
IBM SmartCloud Provisioning
Deployment to
Virtual Systems
11
3. Continuous Test
Tools:
• RTW, RIT, RTPS
• RQM
• Third Party Testing Tools http://bit.ly/PRQ9dQ
13
What is Service Simulation and Test Virtualization?
Test Virtualization enables to create “virtual services”:
oVirtual Services simulate the behavior of an entire application or system during testing
oVirtual Services can run on commodity
hardware, private cloud, public cloud
oEach developer, tester can easily have their
own test environment
oDeveloper and testers continue to use their
testing tools (Manual, Web performance, UI
test automation)
Cap
ture & M
od
elC
aptu
re & M
od
el
System dependencies are a key challenge in setting up test environments:
�Unavailable/inaccessible: Testing is constrained due to production schedules, security restrictions, contention between teams, or because they are still under development
�Costly 3rd party access fees: Developing or testing against Cloud-based or other shared services can result in costly usage fees
�Impractical hardware-based virtualization: Systems are either too difficult (mainframes) or remote (third-party services) to replicate via traditional hardware-based virtualization approaches
Heterogeneous Environments
Public CloudPrivate Cloud
Data Warehouse MainframeEnterprise
Service Bus
Directory Identity
File systems
Collaboration
App Under TestRouting Service
Third-partyServices Portals
ContentProviders EJB
SharedServicesArchives
Business Partners
Messaging Services
Databases Mainframeapplications
App Under Test
Third-partyServices
Packaged apps, messaging services, etc.
Virtual Services
Incremental Integration TestingIncremental Integration Testing
Actual Service/App
Virtual Service/App
�Test Virtualization is an enabler for continuous Integration Testing
�Services, applications, systems are introduced into the continuous integration cycle in a prioritized, controlled fashion.
IBM Rational Test Virtualization Solution
IBM Rational Test Virtualization Solution for continuous integration and testing
• Avoid time spent installing and configuring software just to discover
basic build issues
• Smoke tests can be integrated as part of the continuous integration
process through deployment automation and test virtualization
• Smoke test results are made available to the entire team to shorten
resolution
Assets ProductIncrement
Virtual Machines
App Server
Order Mgr
Virtual Lab
Manager
Cloud Environment
CRM
VMCatalog
Build •Smoke Tests•Sandboxes•Self-provisionning
4. Continuous Monitoring
Tools:
• SmartCloud Application Performance
Management (Tivoli)
• PureApplication Systems
5. Infrastructure as Codepackage "apache2" do
package_name node['apache']['package']
end
service "apache2" do
case node['platform_family']
when "rhel", "fedora", "suse"
service_name "httpd"
# If restarted/reloaded too quickly httpd has a habit of failing.
# This may happen with multiple recipes notifying apache to restart - like
# during the initial bootstrap.
restart_command "/sbin/service httpd restart && sleep 1"
reload_command "/sbin/service httpd reload && sleep 1"
Tools:
• UCD
• IBM SmartCloud Provisioning, IBM Workload
Deployer, IBM PureApplication Systems
• Chef, Puppet
Installation Instructions
RedHat Linux
Apache Web Server
Python
1. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut laboreet dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi utaliquip ex ea commodo consequat.
2. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id estlaborum.
1. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantiumdoloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventoreveritatis et quasi architecto beatae vitae dicta sunt explicabo.
2. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sedquia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Nequeporro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur,
3. adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore etdolore magnam aliquam quaerat voluptatem.
1. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipitlaboriosam, nisi ut aliquid ex ea commodi consequatur?
2. Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihilmolestiae consequatur,
3. vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
Traditional Dev - Ops Hand-off
6. Build & Delivery Pipeline
Tools:
• All of the above! AND
• Rational Asset Manager
• RTC, ClearCase
• Other SCM systems
Delivery Pipeline
Deploy
EnvironmentRunning System
Source Control Management
Source Artifacts
.jsp
.java
.html
chef recipes
.sh
Deployable Artifacts
Build, Package,& Unit TestApplication Binaries & Platform Configuration
Library
Agile Mobile Delivery
21
RTC UCB UCD-P
RTVS
RIT
RTW-RTW-MTE
Softlayer Image
Liberty DB2
SchemaWorklight
WLAPWLAPP
AdaptorDeviceDevice
App
IIM Client
UCD AgentUCD Agent
RTW RTW Server
RQM
UCR
Softlayer PodSoftlayer PodiO
S
An
dAgile Program/Project Plans
Test plans, Suites, Cases
Change links for release, application, initiatives
Req
, Cha
nge,
Tes
t Lin
ks
Build project for iOS and And
Multi-app release, status, impact analysis
Virtual API services
Service calls during testing
Service recording
Service creation
Pattern provision
Middleware installation, application deployment
Test executionTest results
Test suite/case execution
Device app for instrumentation
Device app for testing
www.ibm.com/software/rational
© Copyright IBM Corporation 2012. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in these materials may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. IBM, the IBM logo, Rational, the Rational logo, Telelogic, the Telelogic logo, and other IBM products and services are trademarks of the International Business Machines Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others.
www.ibm.com/software/rational
top related