Dev Ops For Dummies
Dev Ops For Dummies
APIs to z Systems
IBM Limited Edition
by Rosalind Radcliffe
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
DevOps from APIs to z Systems For Dummies®, IBM Limited Edition
Published by
John Wiley & Sons, Inc.
111 River St.
Hoboken, NJ 07030-5774
www.wiley.com
Copyright © 2017 by John Wiley & Sons, Inc.
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form
or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as
permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without the prior written
permission of the Publisher. Requests to the Publisher for permission should be addressed to the
Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011,
fax (201) 748-6008, or online at http://www.wiley.com/go/permissions.
Trademarks: Wiley, For Dummies, the Dummies Man logo, The Dummies Way, Dummies.com, Making
Everything Easier, and related trade dress are trademarks or registered trademarks of John Wiley & Sons,
Inc. and/or its affiliates in the United States and other countries, and may not be used without written
permission. IBM and the IBM logo are registered trademarks of International Business Machines
Corporation. All other trademarks are the property of their respective owners. John Wiley & Sons, Inc.,
is not associated with any product or vendor mentioned in this book.
For general information on our other products and services, or how to create a custom For Dummies book
for your business or organization, please contact our Business Development Department in the U.S. at
877-409-4177, contact [email protected], or visit www.wiley.com/go/custompub. For information about
licensing the For Dummies brand for products or services, contact BrandedRights&[email protected].
10 9 8 7 6 5 4 3 2 1
Publisher’s Acknowledgments
Some of the people who helped bring this book to market include the
following:
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Table of Contents
INTRODUCTION ............................................................................................... 1
About This Book ................................................................................... 2
Icons Used in This Book....................................................................... 2
Beyond the Book .................................................................................. 3
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
The Balancing Act: People, Processes, and Tools ........................... 31
People............................................................................................. 31
Processes ....................................................................................... 32
Tools ............................................................................................... 33
What Problems Does DevOps Solve?............................................... 34
Improving Application Development with DevOps ........................ 35
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Large financial organization in Europe ...................................... 63
CICS development organization .................................................. 64
Automated Testing and Deployment............................................... 65
Application Understanding ............................................................... 66
Seizing control of development .................................................. 67
Unleashing progress..................................................................... 67
Full Practice Adoption ........................................................................ 68
Table of Contents v
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
vi DevOps from APIs to z Systems For Dummies, IBM Limited Edition
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Introduction
D
evOps is a way of doing business; it applies to all aspects of
an organization. DevOps brings Agile and Lean IT practices
to the entire organization to allow for quick reaction to
business demands. De O s a lies to all or ani ations new,
born-on-the-web companies as well as traditional small and
large businesses that have been around for many years.
Introduction 1
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
About This Book
DevOps from APIs to z Systems For Dummies, IBM Limited Edition, is
desi ned or e ecuti es, decision ma ers, and ractitioners who
are in organizations that have to deal with mainframe systems
or anyone who wants to learn more how DevOps can work within
lar e scale e istin or ani ations.
This boo also hel s com anies with e istin de elo ment and
o erations or ani ations that are se arated and siloed, includ-
ing those that are outsourced. You also discover a little history
behind how these silos developed and how now is the perfect time
to transition to a DevOps culture.
The Warnin icon alerts you to ossible side e ects and/or im li-
cations of adopting DevOps.
Technical Stu oes into s ecific details that may be more rel-
e ant to a ractitioner than to an e ecuti e.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Beyond the Book
This boo ro ides an introduction to De O s and how it fits in
organizations that have cross-platform environments including
main rames. But these a es can hold only so much, so or more
in ormation beyond what s co ered here, chec out the ollow-
ing links:
Introduction 3
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
4 DevOps from APIs to z Systems For Dummies, IBM Limited Edition
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
IN THIS CHAPTER
» De nin mainframes and y t ey re
important
Chapter 1
Understanding the
alue of t e Mainframe
W
hen you hear the word mainframe, many di erent
thoughts may come to mind. To some, the mainframe
is an old machine no longer in use. To others, main-
frames are, by far, the most reliable computing solution available.
There was a time when it was “common knowledge” that the
mainframe was dead. To paraphrase Mark Twain, news of the
mainframe’s demise was greatly exaggerated.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
» 10 out of 10 of the world’s largest insurers use the
mainframe.
» 90 percent of the world’s largest airlines use z Systems.
» 1.3 million CICS transactions are processed every second,
every day. In comparison, there are 68,542 Google searches
every second globally.
In this chapter, I give you the background for the mainframe and
how it’s used today.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
» For more general purpose enterprise production workloads,
there’s z/OS.
» The most recent addition is Linux for z Systems, completing
the Linux story across the server lines.
alculatin t e alue of t e
Mainframe
The mainframe was designed from the casters up to be the ideal
lat orm or traditional online transaction rocessin OLTP wor -
loads. The was s ecifically enhanced to handle the e losi e
growth that today’s mobile users are driving into the mainframe.
The z13, with built-in encryption technology and the capability to
do inline analytics, can be the basis for key business solutions such
as real-time analytics and in-transaction fraud detection.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
With the Systems ca ability to run efficiently at ercent uti-
li ation or hi her , clients can ut essentially all the rocessin
ower they urchased to e ecti e roducti e wor . With shar-
in al orithms, honed to a fine ed e o er years o e erience,
mainframes provide the ability to consolidate many workloads
into very few machines while still ensuring the most important
workloads have the processing power they need. Mainframe users
et all this efficiency with a nearly seamless ability to scale with
their business.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
LOO I A OS OI E
MAI FRAME ORLD
To decipher the who’s who of the mainframe world, you must first
start with a little look back at history:
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
ublic cloud, ri ate cloud, or on remise. Di erent actors con-
tribute to the appropriate location for the systems, including
security concerns as well as country laws. When o ernments
require that personal data stay within the country boarders,
companies, depending on where they’re located and where the
country they’re working in, may need to add a new private cloud
or add their own data center.
ybrid infrastructure
Hybrid infrastructure is about mana in two or more di er-
ent clouds as one bi one. Consider the model where you want
to leverage Linux instances from within the enterprise and in a
public cloud. You want to have a single interface managing those
instances regardless of where they’re running. Businesses that
can e ecti ely utili e multi le cloud resources will ma imi e
their efficiency.
ybrid data
Hybrid data is about leveraging data from multiple sources to cre-
ate information. This is important to businesses today because
much of their traditional data is in relational structures like DB2
or Oracle, and much o the cloud data is in unstructured NoSQL
models li e Mon o or Couch. Businesses need to be able to unite
both to be successful.
ybrid applications
Hybrid applications are about splitting up applications and running
them across multiple environments. This is extremely important
to enterprises because this is about breaking up their monolithic
applications and turning them into services or application pro-
rammin inter aces APIs . These APIs can then be combined
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
in new ways, with new tools and technologies. Businesses that
unleash their business assets as APIs will not only create a new
agile technological environment but also enable a powerful agile
development model.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Ima ine this You o to wor in the mornin , define a new idea or
marketing your products to users (or perhaps a small demographic
o your user community , and ha e an a lication su ortin that
idea out in the users’ hands the same day. This is the promise of
systems of engagement working with systems of record. Instead
of carrying the burden of creating everything in one place, this
model exists by taking the core capabilities in the systems of
record and ro idin them to systems o en a ement as APIs that
can be easily consumed. These APIs then can be combined and
recombined in di erent ways to create new results rom the same
base data. Because the tools used on the systems of engagement
leverage tools like Ruby and JavaScript, they can create powerful
a s uic ly, and because they use systems o record APIs, they
can inherit enterprise class capabilities.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Many of today’s mainframe applications contain transactions
that can easily be e osed as APIs by usin the REST standard,
and with ca abilities such as SWAGGER used to define these APIs,
it s easier or de elo ers to find and combine a set o APIs into
a new business or business function. Even if the applications
today are monolithic, ser ices can easily be created usin /OS
Connect to define the API. These can then be e osed internally
and e ternally by usin an API mana er. By e osin the e istin
main rame a lications business alue throu h APIs, or ani-
zations can more easily access this value to drive new business
opportunities.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
14 DevOps from APIs to z Systems For Dummies, IBM Limited Edition
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
IN THIS CHAPTER
» Understanding the application
complexity
Chapter 2
Understanding the
Typical Mainframe
Application
Development Challenges
A
pplication development for the mainframe has remained
the same for years (in updating this book, this is one of the
chapters I was hoping to change dramatically; however,
not much has changed in the last two years). In many environ-
ments, you see the same tools and processes in use that were in
place 30 years ago. In this chapter, I review the challenges that
have caused these processes to be put in place and how these tools
and processes are now limiting the capability to change as quickly
as today’s business requirements demand.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Understanding Application Complexity
Applications that have evolved over many years, by their nature,
will end up more complex than originally intended. Business criti-
cal applications, with their need to be highly available, drive even
more complexity. Developers, unwilling to update existing code
they didn’t write (and may not even understand), tend to add new
code that works around the existing code, making the result even
harder to maintain. At the core of the original applications are
usually sets of transactions performing some business task. For
example, there could be a transaction to create a customer record,
update a customer record, read that customer, or delete a customer
record. These transactions would get some input usually through
a screen, as dis layed in Fi ure , and then er orm the
action on the data. The best of the applications didn’t mix the dis-
play and presentation logic with the business logic but some did.
These transactions are now functions hidden inside the monolithic
application, but they’re what provide the business value.
The applications that form the systems of record have been built
and changed over the years by using tools with 3270 interfaces.
Those 3270 oriented tools have survived long after the demise of the
3270 hardware thanks, in part, to the 3270 Emulator. 3270 Emula-
tors turn modern workstations into 30-year-old user input devices.
Fi ure shows the standard Interacti e System Producti ity Facil-
ity ISPF rimary o tion menu dis layed on a modern wor station.
FIGURE 2-1: The standard ISPF primary option menu displayed on a modern
workstation.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
WHERE IS THE DOCUMENTATION?
Developers don’t like to document their code, a reality that has not
changed over time. With applications that started 30 years ago, the
lack of documentation and clarity of design means the applications
have been modified, changed, and extended over the years without
clear understanding of the original design. Even when developers
documented the original design, it was usually not tied directly to the
code and rarely, if ever, updated as the code was changed. This left
the documentation with little semblance to the current code base.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
possible interactions into account), there could be problems. Many
production problems are the result of an incorrect “deployment”
o a chan e not that the chan e itsel wasn t coded correctly.
Because the fact that making a change could cause an outage, many
organizations reduced the number of windows where application
changes could be made. Reducing the number of outage windows
was seen as reducing the risk, and although more changes were
applied at once, they were grouped and hopefully tested together.
Reducing changes was seen as the key way to reduce risk, which
would then group up changes into large releases scheduled for
production in these planned outages. This grouping of changes,
although seen as reducing risk, actually increased the risk of
incompatible changes or required long testing cycles to ensure
compatibility.
System Availability
In Cha ter , I e lain that main rame systems ha e not only been
in use but also have provided continuous service for years. System
availability generally refers to the percentage of time the capability
provided by the system is available. For many systems, this avail-
ability is generally measured as 99 percent, outside of planned
outa es. Howe er, many clients measure /OS a ailability by the
number of years the system has been running without an out-
age. The basic assumption of the mainframe is that its hardware
and software are designed to be both reliable and highly avail-
able. There is redundancy built into every part of the system. The
software is written to support multiple workloads in a shared
environment with failure isolation and dynamic recovery facilities
that at least mask if not avoid outages as perceived by the users.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Manual Test Processes
Manual testing is the norm for many mainframe applications.
With little application understanding, determining what needed
to be tested for each change was hard. For many organizations,
this resulted in taking months to manually test any change that
was going into production, running entire batch runs, and hav-
ing the business analysts manually verify the application changes.
Manual tests were the norm as the testing tools were lim-
ited and the processes had separate teams doing the testing in
a later phase. The concepts of Test Driven Development weren’t
used in the main rame. With the ad ent o Unit and with the
transition to more a lication ro rammin inter aces APIs to
expose business functions, automated testing can be more easily
accomplished.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
source code mana ers SCMs that allow or reater sharin and
isibility to the code. The SCMs ha e e ol ed o er the years to
su ort arallel de elo ment, ro idin efficient ways or clearly
understanding the state of the code for any level. Modern build
tools ha e de elo ed that aren t art o the SCM but allow users
to easily select the ri ht build tool and the ri ht SCM or the wor .
These build tools have developed to provide complex build pro-
cesses without complex scripting requirements. The list goes on
for the new advancements the distributed teams have had while
the z teams continued to use the same tools with very limited
enhancements o er the years. Some e am les include code or
iPhone, Android Studio or Android de elo ment, IBM De el-
o er or Systems or /OS de elo ment, or web de elo ment
environments associated with cloud-based platform-as-a-service
PaaS en ironments, such as Bluemi .
Siloed Teams
The fragmentation of tools and skills discussed in the preceding
section has led over the years to the siloed teams you see today.
These organizational silos are based on one of the platforms the
solution is tar eted or. Some e ce tions e ist to this where teams
are buildin a a a lications that mi ht run on di erent lat orms
or some de elo ment teams s ecifically build code to su ort mul-
tiple platforms with C/C++. But this is much less common.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
IN THIS CHAPTER
» nderstandin at DevOps is
Chapter 3
DevOps and the
Mainframe: Mission
Possible?
I
f you’ve been reading this book straight through, you’ve read
about the challenges in the mainframe environment as well as
the need for speed in addressing business needs. This require-
ment for change is why this chapter addresses this need, and
De O s is the way to do it. In this cha ter, I define De O s and
how it applies to complex environments.
De nin DevOps
DevOps is about bringing the principles of Agile and Lean IT to the
entire enterprise, from the initial business users, to development
and test, through to operations. The term DevOps comes from the
merging of Development and Operations, but it’s important to
understand it’s more than that. DevOps is about an organizational
strategy to manage the entire life cycle from requirements to a
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
running system, across all platforms and teams. DevOps is about
the people and processes used. Tools help support the processes
and people.
Notice that I said it’s a strategy as well as about people and pro-
cesses. DevOps is a transformation in the way people work and
how they work together. It’s about breaking down the silos that
ha e built u between di erent rou s o er the years. Also, it s
important to understand that while tools help, use of tools doesn’t
make an organization DevOps.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
» Culture
» Think
» Code
» Deliver
» Run
» Manage
» Learn
ulture
Culture is at the heart o any or ani ation the culture dictates i
the transformation brings value or you just change tools. Setting
the right understanding across the organization and backing it up
with practices and rewards is critical to gain the business value.
Those companies that have transformed indicate that cultural
change is what gave the organizations new life and excitement.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Think
Think is the first area o De O s and re resents the areas related to
driving the overall business direction and receiving user feedback.
Businesses need to be more agile, responding to the ever-changing
client desires and government regulations. Achieving this goal of
agility requires the ability to deliver quickly, but both high quality
and appropriate feedback ensures what’s being delivered is actu-
ally going to satisfy the requirements. This need to deliver fast
change with immediate customer feedback as well as high quality
presents a real challenge.
Code
The code area focuses on all the practices related to development
and test, including collaborative development and continuous
integration.
Collaborative development
Software development practices, which have evolved over the
years, ha e been ormali ed into many di erent disci lines, such
as development, test, quality assurance, performance, and busi-
ness analysis. In larger shops, separate teams often handle these
disci lines. This leads to many di erent rou s ha in to wor
together to deliver the end result. In addition to the teams orga-
nized by discipline, the advent of geographically dispersed teams
and outsourcin o arts o de elo ment ha e si nificantly com-
plicated the situation.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Collaborati e de elo ment s oal is to brin all these disci lines
to ether in cross unctional teams to more efficiently roduce
business value. This cross-functional team is supported by tool-
ing to allow people, no matter their location around the globe,
to truly collaborate together, sharing ideas and providing the
transparency needed for the entire organization. In the best of
all worlds, this cross functional team, including operations and
business analysts, would sit physically together to take advantage
of the natural collaboration possible through colocation. How-
ever, in today’s world that’s rarely possible, so tooling needs to
be used to bring the team together virtually.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
ontinuous testin
Continuous inte ration is hel ul only with continuous testin .
Continuous testin ro ides the ollowin
Function test, the next level of testing, should begin with function
tests being built based on the requirements. This ensures tests
are created as function is built and they can be tested together in
the same iteration. Automating function tests at the API or inter-
face level can simplify the process of creation of the tests and
the maintenance of the tests. These tests can also be run with
code coverage reports to provide additional coverage of the exist-
ing code.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
System testing sometimes referred to as integration test, per-
formance testing, and scalability testing are generally done in
environments that are similar to the production environment.
Deliver
Deliver is the area of DevOps that focuses on the automated release
and de loyment rocess. Continuous de loyment is one area that
many or ani ations mo in to De O s ocus on howe er, it s
important to consider that continuous deployment doesn’t have
to imply deployment into production. The deployment needs to
include all environments within the organization.
Many of the tools that are so called DevOps tools are created for this
area of continuous deployment. The goal is to develop a DevOps
i eline, shown in Fi ure , that allows the or ani ation to
move changes through the pipeline in an automated manner as far
as the business requires.
Mana e
The ne t area, which is mana e, includes both Continuous Moni-
toring and Optimization, both providing feedback into the contin-
uous lannin rocess. Continuous monitorin ro ides the data
and metrics to operations, quality assurance, development, and
line-of-business. It’s important to remember this monitoring
isn’t done just in production, but it’s done in all environments to
provide feedback as early as possible. It may not be reasonable to
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
run production-monitoring tools on each development machine,
but the same monitoring tools that run in production should be
run on the test environments.
Learn
The last area is learn in many ways learn should ust be an o erlay
of the entire process. One key goal of DevOps is to get feedback as
quickly as possible and as often as possible. Do whatever it takes
to experiment to provide the best possible solutions for your users.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Java, Javascript, Python, and so on. Practices such as Agile and
Test Driven development evolved in the distributed space, while
the mainframe development teams generally continued to prac-
tice water all methodolo ies and de elo in COBOL and PL/ .
Because the practices and languages were not changing, neither
did the tools. De elo ers became ery roficient at buildin code
in Interactive System Productivity Facility (ISPF).
For those of you who don’t know ISPF, it’s the green screen menu
system a ailable or /OS, shown in Fi ure .
ISPF provides the editor and the interface that allow others to
build the tools for development and operations. Many vendors
built library management systems and production control sys-
tems to control the source code and load modules for deployment
into production. These tools were generally built for Operations to
use to manage the environment and were then used by develop-
ment as the tool was already available.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
want to use the tools and process you use, or does she want to use
the modern tools she is used to Main rame or ani ations need
to take advantage of the DevOps transformation in order to stay
relevant.
Current /OS de elo ers are com ortable with ISPF and the cur-
rent practices, and, yes, it’s possible for new developers to learn
them as well, but to continue to row and maintain the /OS
development, you must modernize the tools. The current products
weren’t built to support modern development practices, and new
developers expect basic functions provided in modern tools that
ust aren t a ailable with the traditional /OS de elo ment. This
is a si nificant chan e, but the alue in not ha in to worry about
lack of future workforce alone makes that investment worth it.
Now loo at the o erations side. A ain you will find se aration o
teams between mainframe and distributed. The mainframe oper-
ations teams have built up procedures over the years to ensure
availability and reliability. In order to do this, generally they have
reduced the times when changes are introduced into the sys-
tem and have created release windows. During these windows,
the changes that have been approved by the appropriate date will
be deployed. These change windows are sometimes called release
parties, where all participants involved are on a bridge call for the
entire time, coordinating each part of the change to ensure all
related changes are timed in the right order, across all platforms.
Most mainframe applications today have some front-end system
or system o en a ement that ro ides the inter ace. Chan es
to these parts need to be coordinated to ensure the system cor-
rectly functions. This coordination is done through the bridge call.
Because the teams ha e di erent rocesses and tools, eo le ha e
to do the coordination.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Many times there is a third team in ol ed in this icture as well
the Quality Assurance team. Chec out Fi ure .
FIGURE - : A look at the virtual brick walls between the Dev, QA, and
Ops teams
People
Many eo le find chan e hard. De O s is about chan in the way
people work to be more collaborative and cross teaming. Building
a De O s culture isn t li e ado tin a tool or a chan ed rocess
it’s changing the focus of the organization to the end delivery and
building trust across the various groups.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
People have to be measured appropriately. Traditionally, devel-
opment has been measured based on new function availability
while operations has been measured based on availability of the
systems. These can be seen as competing metrics. In DevOps,
everyone should be measured on delivery of new function with
availability of the environment. Everyone is therefore focused on
the same end oal and can wor to ether more efficiently.
Processes
In the preceding section, I discuss people and the cultural aspects
o De O s. Processes define what the eo le actually do. A De O s
culture is the first critical as ect, but you also need to chan e
the rocesses to fit with this new culture. Numerous rocesses
are associated with the entire DevOps model (too many for this
book to cover). I’ve addressed continuous integration, continuous
deployment, and shift-left testing. One additional process I want
to discuss is the o erall Chan e Mana ement rocess.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Tools
DevOps is not tools, but tools do help support the transformation.
Tools are required to support the automation, transparency, and
collaboration required as part of DevOps. When determining what
tools will be used, it’s necessary to take an enterprise view. Most
organizations today use multiple languages and run on multiple
platforms. The tools selected need to support all those languages
and platforms in use. If the tools can’t support all the languages
and platforms then those teams are left out of the collabora-
tion and silos remain. Collaboration tools need to s an the entire
organization providing the transparency and integration with the
other change management tools or help desk related tools. The
deployment tooling should support all the platforms, allowing a
coordinated deployment without the need of a set of people to
coordinate between platforms.
DevOps has evolved over the last number of years. At the begin-
ning, many organizations thought allowing teams to select their
own toolin would ro ide the best solution others loo ed or
more standardization. Now it has become clear through many
di erent com anies trans ormations that some tools need to be
standardi ed, while others can ha e more e ibility. Se eral tools
are needed for standardization:
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
» e or trac in system This single tool tracks work
across teams, has a managed backlog, and coordinates
collaboration all of which helps organizations maintain a
clear understanding of business work to be accomplished.
Having a single standard tracking system across the entire
organization, including operations, may not be realistic. For
example, there will be a help desk system that collects
problems as well. However, having the systems integrated so
the help desk tickets are replicated into the problem tracking
system used ensures a single managed backlog of defects
and enhancements Having di erent and separate tracking
systems makes managing the work in progress for a team
much more di cult and causes confusion on priorities
» e test mana ement tool The test management tool
provides a central repository for tracking and management
of tests, which allows for reuse and tracking.
» Deployment capability Application deployment for all
re uired platforms simplifies the overall process and
management. This is critical as a single managed system for
the organization. This integrates with the CI/CD coordinator
to provide clarity of deployment.
» IDE and speci c test automation tools These need the
most exibility because they’re tied more to the language
being developed and the system. This area is where
individual preference can make a significant di erence I like
to say it’s not worth fighting the editor battle People have
their favorite editor; let them use it.
» ode covera e tools Code coverage tools are re uired and
should be part of the toolbox provided to the developer, but
an appropriate code coverage tool for each language and
platform is re uired This is an example of where multiple
tools are re uired but all for the same functionality
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
are made in the production environment. This delays the deploy-
ment of business value and gives the false impression that the
mainframe is slow. This causes organizations to implement func-
tion on other platforms, which then causes additional complexity
in the application environment.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
easier to maintain and enhance. This allows developers to focus
more on the delivery of business value.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
IN THIS CHAPTER
» Looking at the DevOps best practices for
z Systems
Chapter 4
Looking at DevOps Best
Practices for z Systems
I
you read Cha ter be ore comin here, you disco ered what
De O s is and why it s im ortant to main rame de elo ment.
Don t worry You don t ha e to read that cha ter be ore this
one, but in this cha ter, I ocus on some best ractices or this
transition.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Modern development practices
and tools
Probably the most im ortant ste in the De O s trans ormation
or or ani ations with Systems is to a ly modern tools and
de elo ment ractices within the de elo ment teams. Tryin to
brea down the silos without this ste is ery difficult.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Providing a modern IDE is critical, but don’t push it as a new
editor People have their own favorite editor, so let them use
it The key to the IDE is the new capabilities it should provide
for application understanding and easy access to the z
System Using z/OS explorer as a base for all users of z/OS is
a good start It’s provided for anyone who has a z system, so
it’s not an extra purchase, but it’s the provided modern
interface for developers and system programmers The
additional development tools should fit into z/OS explorer
» Another area is a modern source code manager SCM
Traditional host-based SCM solutions are generally more
library managers than SCM solutions Modern SCM solutions
allow developers to more easily work with their changes and
merge those changes with other changes also in progress
Supporting parallel development e ciently is key to these
modern SCM solutions The best modern SCM for your
organization will be one that can support all the languages
and platforms for the organization
On z/OS, you can work in a variety of languages, including
COBOL or PL/I but also ava or possibly Swift With this
language variety, it’s critical to have an SCM that easily works
with all these languages in the way users expect Having
COBOL source in the same SCM as the ava code allows
developers to see the interfaces used between the two and
makes available to everyone the logic of the business rules
Another consideration is the file systems on z/OS most
traditional host SCMs were designed and built for partitioned
data sets PDSs However, as the system has evolved, the
hierarchal file system HFS , which is a more natural file
system for most people because it’s ust like any other system
they work on, has developed and needs to be supported as
a first-class resource The modern SCMs support the HFS
naturally
» Collaborative development tooling is the next area of focus
and should again support all languages and platforms All
teams should be able to work within the same solution so
they can collaborate across the organization I describe this
capability in Chapter 3 The key from a mainframe perspec-
tive is that it’s included Providing all of this in dashboards
available to the entire company helps facilitate the goal of
everyone being responsible for delivery
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
» For mainframe development, another re uired capability is
application understanding Existing mainframe applications
are generally monolithic and not well documented Having
application understanding tools helps teams understand the
dependencies between applications as well as understand
the ow of individual programs Clearly understanding the
application makes it much easier for anyone to update the
application and estimate the time re uired to do so
» Modern testing tools, such as unit test capability, code
coverage, and code rules enforcement, are also critical to
this process improvement With tools to help teams in these
areas, the adoption of automated testing increases
» In addition, tooling to help generate interface tests and
virtual service definitions allows the teams to work indepen-
dently but together at the same time
Test environments
Pro idin sufficient test en ironments or indi idual teams to be
able to do their de elo ment and test, without delays, is the ne t
ey or the De O s trans ormation. It doesn t hel to build unction
in small increments or im ro e the roducti ity o the de elo -
ment team i there isn t an en ironment or them to de elo and
run their automated tests. Today, many or ani ations ha e shared
test en ironments that are scheduled between the multi le teams.
Fi ure shows a ty ical testin en ironment today with multi le
teams sharin the same en ironments.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
FIGURE -1: A typical z/OS testing environment showing sharing of
resources
There are many ways to create test data, and di erent creation
and amounts o data are re uired or di erent le els
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
main rame a lications to be directly e osed to mobile a lica-
tions, security becomes more critical. All o this test data needs to
be art o the test data mana ement lan.
FIGURE -2: The use of virtual services for di erent parts of an application
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
For a Re resentational State Trans er REST inter ace that will
be used between a mobile a lication and a bac end system, the
teams can define the a aScri t Ob ect Notation SON schema
to be used or the REST call. With this definition, a irtual ser-
ice can be created to allow the mobile team to de elo the ront
end without ha in access to a runnin bac end system. The
inter ace can also be used to create a test case that s used by the
bac end team as it de elo s the bac end ca ability. By usin
this same definition, the li elihood o inte ration roblems si -
nificantly decreases.
Common deployment
Common de loyment ca ability is another critical area to be
addressed. With the com le nature o a lications, ma in sure a
sin le automated de loyment ca ability is ro ided or all arts o
the a lication and used in all hases o the de elo ment rocess
si nificantly hel s reduce de loyment issues. This a lication
de loyment should also include the confi uration re uired or any
middleware com onent as art o the de loyment. Ima ine ha -
in a sin le tool that does the de loyment o the mobile, mid tier,
and bac end system to ether in e ery hase o de elo ment. By
the time the ca ability is de loyed to roduction, it may ha e been
de loyed a hundred times in earlier en ironments, thereby disco -
erin any de loyment issues earlier. This also ensures that com-
onents actually tested to ether were actually de loyed to ether.
Improving productivity
One o the sim lest roducti ity ains occurs with the ado tion
o automated testin . Many or ani ations see a si nificant ain
in the trans ormation rom mostly manual testin to automated
testin . The first actor can be the chan e in s ills re uired.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Instead o ta in the time rom the line o business or the basic
manual erification testin , these indi iduals can ocus on eri-
fication o the deli ered alue, with already tested ca ability.
They can now ocus on the alue ro ided or erification and can
s end most o their time on business acti ities.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
FIGURE - : An application discovery browser
Optimizing systems
With the new de elo ment tools, ractices, and automated test-
in there comes a reat o ortunity to o timi e the en ironment.
For main rame en ironments, the sim lest first ste is to ta e
ad anta e o the o timi ations by usin the latest releases o the
com liers. Each release o the main rame hardware has de elo ed
new ca abilities, and many o these ca abilities re uire the use o
the new com liers to ain the ull ad anta e. Recom ilin ro-
rams that ha en t been com iled or years is the first bi ste .
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
bein run o er time and how they indi idually er orm. This data
can be used to ma e the best decisions on where to o timi e first.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
IN THIS CHAPTER
» Looking at open-source tooling for
DevOps pipelines
Chapter 5
Applying Open-Source
Tools to DevOps and
z Systems
W
hen you see presentations or conferences about DevOps,
you see many di erent o en source tools. Many
or ani ations ha e ocused on creatin o en source
i elines or their distributed de loyment rocess. Why is o en
source ha in such an e ect O en source is so tware with source
code that anyone can read, chan e, and enhance. The oal o
o en source so tware is to ro ide an o en e chan e, su ort
collaborati e artici ation, ro ide trans arency, and encoura e
community oriented de elo ment. Instead o a sin le or ani a
tion bein res onsible or all arts, indi iduals with an interest
can re iew and submit their own u dates or enhancements or
chan es.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
In this cha ter, I discuss some o the ey as ects and tools that
are bein used, and then you loo at the a licability to the Sys
tem. This cha ter also co ers o en source tools that ha e seen
si nificant ado tion in the mar et lace. This study isn t scien
tific it isn t intended to list all the ossible o en source o tions,
but it s based on my customer e erience and the con erences
I e attended.
Open-Source Pipeline
Most De O s i elines ha e a set o ey ca abilities see Cha ter
or more details . They include a Source Code Mana er SCM , a
build tool, a i eline orchestrator, a de loyment ca ability, and
a built arti act re ository. There are a number o other standard
tools such as a code uality mana er, test mana ers, test automa
tion tools, and the IDE used by the de elo er, but those ary much
more o ten and aren t enerally included in the standard i eline
re uired or use. Chec out Cha ter or more in ormation.
Git
Git is a o ular o en source source code mana er SCM , and
many di erent endors ro ide su orted ersions. This SCM has
become the de acto standard or the industry. It s ocus on shar
in code between users, and it s distributed su ort ma es it ideal
or de elo ment o o en source solutions themsel es.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
FIGURE -1: A comparison of centralized and distributed SCMs.
When usin Git as the SCM, store your build out ut in an arti
act re ository instead o the SCM and ro ide the ro er lin a es
between the systems.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Build system
The build system is res onsible or com ilin the source code
and has been a tar et or a lar e number o o en source tools.
The most common build tool has been Ant. Ma en came alon to
im ro e Ant, and now Gradle ro ides e en more e ibility and
ca ability. Each o these tools ro ides the ca ability to define
how the source code should be rocessed by the com ilers. Tools
such as en ins are many times used as the build coordinator as
well as the i eline orchestrator usin Ant or another tool as the
actual build scri t.
Pipeline orchestrator
The i eline orchestrator is used to coordinate all the other acti
ities. For the i eline orchestrator, en ins is the most common
o en source coordinator, but Tra is CI has become more o ular
with smaller teams. en ins and Tra is CI ro ide the ca ability to
define a rocess ow and call other tools to er orm those actions.
They also ull the in ormation bac rom those tools to ro ide
dashboards o in ormation about the status o the i eline.
Deployment system
For actual de loyment tools, there hasn t been a si nificant
introduction o o en source tools. Howe er, containers such as
Doc er ha e e ol ed to sim li y de loyment. Doc er is an o en
source tool that ma es it easier to de loy a lications by creatin
a container that includes the a lication and re uired libraries. By
ac in all the arts to ether, all the de endencies are de loyed
to ether so the de elo er and o eration sta don t ha e to worry
about the ossible di erences in an o eratin system. This con
tainer can now run on any system.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Arti actory and Ne us are the two most commonly discussed
o en source re ositories. Ha in an arti act re ository has
become a re uirement or all customers usin Git see the earlier
section, Git, in this cha ter or more in ormation to ha e a
stora e or the built a lications.
For both o these rior systems or lan ua es, many or ani ations
ha e chosen to use rimarily the same o en source toolin , i
their com any choice is o en source.
In this section, you see these choices in detail and how they could
be used to wor or your or ani ation or com any.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
has code a e su ort when runnin on the lat orm. It s been
done in a way that the code can be in EBCDIC on /OS but will be in
American Standard Code or In ormation Interchan e ASCII or
Unicode Trans ormation Format UTF or all other lat orms,
which allows /OS code to ully artici ate in the o en source
SCM s ace and to ma e it easier to o en source ser ices, usin
traditional /OS lan ua es such as COBOL and PL/I.
From an SCM stand oint, now Git can be used or /OS de elo
ment i you re interested in the distributed SCM ca abilities.
Build system
en ins has a /OS connector that allows or a build rocess on
/OS that can use the Git su ort. Other o en source build tools
ha en t ro ided /OS s ecific su ort. By usin this su ort, you
can submit traditional ob Control Lan ua e CL to do a tradi
tional /OS com ile or ic o other /OS based tools or the build
rocess.
Pipeline orchestrator
De endin on your build and de loyment system, your i eline
orchestrator ust has to be able to connect to them, so s ecific
/OS su ort isn t re uired. Com anies ha e used en ins as a
i eline orchestrator or /OS a lications. Tra is CI doesn t ha e
/OS su ort at this time.
Deployment system
De loyment re uires s ecific /OS su ort, and en ins ro ides
the connector but no s ecific de loyment ca ability or /OS
because no o en source tools e ist that su ort the traditional
/OS lan ua es. Doc er ima es aren t directly su orted on /OS
today howe er, Doc er li e unction is bein de elo ed to allow
or the easy creation o containers on /OS or a lications. As o
the time o this writin , the first ca ability is comin out or CICS
a lications to et early eedbac on the conce t or traditional
/OS a lications. This Doc er li e container builds on the act
that /OS is desi ned or runnin multi le a lications within a
sin le system and handlin the wor load a ro riately.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Built artifact repository
As lon as your build rocess can create an arti act that can be
mo ed o /OS or you create a secondary rocess that creates
such an archi e, any arti act re ository should be able to handle
/OS arti acts. The difficultly will be in creatin the archi e to
trans ort the files.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
DevOps from APIs to z Systems For Dummies, IBM Limited Edition
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
IN THIS CHAPTER
» Getting to the API ecosystems in the
hybrid cloud
Chapter 6
Building for the Digital
Economy
T
he digital economy is transforming the way business pro-
vides value to its end-users. Multiple interfaces are required
to reach the di erent ossible audiences. This chan e dri es
the need to expose more of the business value through application
programming interfaces (APIs) to not only support internal
demands, but also to support new external opportunities. In this
chapter, I discuss the implications for the mainframe applications
and how they can fully participate in this new environment.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
inter ace testin is another as ect o how the teams can wor
to ether. By ha in inter ace definitions and buildin test cases
and irtual ser ices based on those inter aces, the teams can wor
inde endently o each other s schedules. This may seem at first
li e a counter oint to wor in to ether, but by ha in this inde-
pendence, teams can collaborate without having any one side hold
up the progress of the other.
The common toolin , rocesses, and inter ace testin are tools
and rocesses to hel , but how do they actually wor to ether to
ro ide alue This is where a lication desi n and collaboration
really come into play.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
With mobile a lications, REST inter aces are the most common
way o connectin . These REST ser ices are ro ided in multi le
ways:
/OS Connect ro ides a sim le way to add a ser ice inter ace to
an e istin a lication without chan in that a lication. The
ey here is without chan in the a lication. /OS Connect can
easily be used in combination with application understanding to
expose an existing set of capabilities to new business needs.
These ser ices that are e osed ia /OS Connect or other meth-
ods are many times a more IT centric iew o the ca ability. Some
of these may actually be business services that you want to expose
to a wider audience. For this, an API mana er such as API Connect
can be used to expose the services, and then secure, manage, and
meter them.
These defined APIs ro ide the base or all the di erent inter-
actions with the systems of record, allowing organizations to
ro ide the arious inter aces re uired by their customers. These
APIs can also be provided as services to outside organizations
to ro ide additional business alue and enable efficient cloud
environments.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
LEVERAGING DEVOPS SERVICES IN
THE CLOUD
Bluemix is a platform-as-a-service PaaS o ering from IBM that pro-
vides an e cient way to build the systems of engagement connected
to back-end services Bluemix is a combination of IBM, third-party,
and open-source technologies IBM Bluemix DevOps Services pro-
vides the application development environment for these systems of
engagement that’s based on the same technologies that can be used
for the in-house development
Consider a well defined and mana ed set o APIs rom the bac
end systems; now mobile developers using platforms such as
Bluemix can easily experiment and develop very robust appli-
cations based on the information available from the systems of
record. By providing these services or APIs to the Bluemix envi-
ronment, your organization can more easily and rapidly adapt to
chan es in the mar et lace. You can also use the same irtual
service capability to allow the developers in test to build against
those virtual services without having to have access to the real
service early on.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
understand where that waste is. Some possible measurements to
be capturing are
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
60 DevOps from APIs to z Systems For Dummies, IBM Limited Edition
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
IN THIS CHAPTER
» Starting with development
modernization
Chapter 7
Seeing DevOps Success
Stories in the Enterprise
D
i erent or ani ations ta e di erent a roaches to their
De O s trans ormation. In this cha ter, you learn rom a
number o enter rise clients how they decided to ta e on
this trans ormation and disco er what they e ained. I ha e
selected ust a ew stories or this boo to ro ide some re resen-
tati e sam les. More are a ailable rom the lin s ro ided in the
be innin o the boo .
Development Modernization
Many e am les o or ani ations e ist that start their De O s
ourney with de elo ment moderni ation. This can be one o the
least or ani ational chan e related chan es and is a start or
many or ani ations as the first re uired ste or the main rame
art o the or ani ation. De elo ment moderni ation includes
the ado tion o modern tools and ractices or the main rame
de elo ers.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Lar e nancial or anization
An e am le I would li e to start with is a lar e scale financial
or ani ation rimarily located in the United States. It has both
distributed and /OS de elo ment teams. De elo ment is located
in multi le sites, includin o shore howe er, teams are ener-
ally located to ether rather than s lit across the sites.
This or ani ation needed to u date its SCM and build structure
due to the lar e si e o its critical a lication. In order to ma e
this transition, the com any would re uire a si nificant redesi n
and u date to the e istin en ironment, and when it was finished,
it would still be in the same toolin with the same old rocess.
To sol e its roblem, the com any chose Rational Team Concert
RTC alon with IBM De elo er or Systems ID , ormerly
nown as Rational De elo er or Systems, as the solution and
lanned a sta ed mi ration. The mi ration lanned to mo e each
a lication team at a time, lea in the lar est a lication or
the last. In this case, the com any decided to start with the least
acti e ro ects in order to learn rom early de loyments. With the
scale o the mi ration and the number o users, the a lication
and team mi rations ha ened o er a cou le o years.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
While the /OS teams were mi rated, distributed teams were also
mo ed into RTC to ro ide the a ile lannin toolin re uired or
their a ile trans ormation. A ter the /OS teams com leted their
mi ration, additional ilots were created to mo e to continuous
inte ration, startin with some o the distributed teams.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
As a ey art o this acti ity, not only is the source code mana ed
but also the confi uration or the middleware, such as any MQ
u dates and Data ower confi urations. UrbanCode De loy ro-
ided the ri ht lu ins in su ort o each o the systems re uired.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
» Increased communication with a standard toolset for
consistency and a platform for dialogue
» Increased speed with automation and cutting release cycles
by 50 percent
» Increased responsiveness by incorporating feedback into
daily development and builds
» Increased innovation through reduced waste and greater
collaboration
This area can easily be seen through the updates the CICS
team releases, including application bundles and the z/OS
cloud work. The CICS team has, through its transformation,
become an example within IBM as to what can be done
through modern practices.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
The firm is le era in a lar e array o new technolo y in this
chan e, and two technolo ies stand out as si nificant
Application Understanding
As technolo y disru ts the insurance sector, ro iders are find-
in that traditional business models may no lon er be enou h to
han on to mar et share. Customer e ectations are on the rise
and ersonali ed roducts and ser ices can be an all im ortant
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
source o com etiti e ad anta e. Howe er, many leadin insurers
find their ability to inno ate is slowed down by com le , in e -
ible systems o record.
The firm s de elo ers can now trac com liance with the new
standards early in the testin cycle. The s o es erson also added
that by monitorin how well our new code com lies with our
tar ets, we can reduce the number o de ects once new a lica-
tions ha e been released into roduction. Any de ects we do find
can be ed into a rocess lat orm or remediation, hel in us fi
them aster.
Unleashing progress
By increasin control and s eed o de elo ment, the insurance
com any has ained the tools to deli ht customers, oster inno-
ation, and out maneu er com etitors to win new mar et share.
IBM A lication Disco ery and Deli ery Intelli ence hel s us
dri e u the s eed and uality o our de elo ment cycles, com-
ments a s o es erson. Earlier and more accurate testin i es
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
us the reedom to inno ate without wastin resources. As a result,
we can et new roducts and ser ices out in the mar et lace ahead
o the com etition, i in us an ed e in a crowded industry.
The insurance com any has also succeeded in dri in down de el-
o ment costs Since de loyin the IBM solution, our de elo ers
can wor much more efficiently and need less hel rom third
arty ro iders, allowin us to ma e better use o resources.
Armed with IBM tools, we can loo to uture challen es with more
confidence, sa e in the nowled e that we can ada t aster than
e er be ore.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
and ractices. The com any has embraced chan e and nows that
it won t now all the answers at the be innin o the so tware
deli ery li e cycle.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
DevOps from APIs to z Systems For Dummies, IBM Limited Edition
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
IN THIS CHAPTER
» Getting started with DevOps
Chapter 8
Making a DevOps
Transition
I
n this chapter, I describe the steps to get started with DevOps.
This chapter uses examples and experiences based on a number
of customer engagements.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Today, however, very few organizations haven’t started a DevOps
journey in some way. Some don’t use the term DevOps, but they’re
moving to a culture of small batches, automation, and continuous
improvement through removing waste. Most of the organizations,
however, have started with the distributed or mobile applications
and have left the mainframe side out. Now they’re looking at the
difficulties that ha e increased due to the trans ormation o the
front end, while leaving the systems of record process unchanged.
Enterprises are confused on how to improve without breaking
their systems of record.
As a result, many IBM clients have asked for help with “how to
get started” and/or creating an enterprise roadmap. Many times
this starts with a De O s wor sho , which can be the first time
parts of the organization have truly talked together. These work-
shops need to be cross-functional and cross business areas so
a clear icture o the current roblems can be identified. Really
this workshop helps point out the problems with the current pro-
cesses and the di erences between teams in those rocesses. So
this section gives you the steps you need to make that transition
into DevOps.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Step 1: Pick the right set of applications
Not all applications are created equal. Some adjust themselves
more easily to DevOps than others. Some require DevOps more
than others. To be successful in DevOps, especially in the enter-
prise space, picking the right set of applications for the initial
trials is key. IBM has a Digital Transformation Model for Applica-
tions to help you categorize enterprise applications and chart a
roadma or your De O s ourney. Remember, this is an or ani-
zational transformation; all applications will need to change. The
first selected a lications are im ortant because you use these to
learn how best to transition and provide an important example for
a successful transformation.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Step 3: Determine what’s
holding you back
I you now where you want to o, the ne t ste is to fi ure out
what’s holding you back. Analyze the overall cycle time (lead +
processing time), quality (number of defects at various stages),
and productivity (number of resources involved) metrics for
the a lications in uestion. A holistic study, across all three
dimensions, gives you insights into not only where your true
bottlenecks are, but also their severity and their impact on the
software delivery life cycle.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Second, determine if this initiative is worth doing by building a
return on in estment ROI model. Loo or a minimum o a two
times the return o er a three to fi e year hori on. Stic with
s eed, uality, and roducti ity or benefits. For costs, consider
both real costs (software, services, consulting, and so on) and
hidden costs (people and process change, disruptions, and more).
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Step 6: Repeat
De O s is a trans ormation. Once you ha e trans ormed the first
few applications and gained knowledge and understanding of how
it works in your organization, it’s time to repeat the cycle through
all applications. It doesn’t end once all application teams are
transitioned. Now comes the continual improvement. Continue to
look for additional bottlenecks and areas for improvement, and
continue to improve. It’s important to keep the metrics in place to
see the continual improvement.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
IN THIS CHAPTER
» Bringing Cloud and DevOps together in
the enterprise
Chapter 9
Understanding Where
DevOps Can Take You
I
n this chapter, I discuss the additional value a DevOps culture
can ro ide an or ani ation. This cha ter ro ides s ecific
examples of how cloud relates to the mainframe in this new
DevOps environment. In this chapter, I also discuss a number of
myths that have developed around DevOps for the enterprise and
how you should determine the best fit lat orm or your uni ue
development needs.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
The problem
Most enterprises are facing competition today that didn’t exist
fi e or ten years a o. Bac then their com etition was other enter-
prises. Today an enterprise also competes with small start-ups
that provide only a small piece of what the enterprise provides.
These start-ups begin with a DevOps culture and don’t have the
existing organizational structures or systems to slow them down.
While none of these start-ups really competes with the enterprise
in its entirety, to ether they re resent an attac that a ects the
enterprise’s viability.
The belie by some eo le in the cloud field is that cloud mar s the
end of the enterprise. They believe this because they feel that there’s
no way for the enterprise to move with the speed and agility that
these start-ups move. They feel that the services that the enterprise
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
provides are the very inhibitors to success because these services are
monolithic a lications that inherently can t mo e uic ly enou h
to su ort this new model. But what i there was a way to retain
those business assets and be agile too?
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Of course it could still be used at purchase time the way it had
always been used, but now the functionality can be reused in new
and di erent ways.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
sharing data securely in a high-performance platform with high
availability.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
The value of systems of engagement leveraging systems of record
doesn’t end with the business being able to relate to user commu-
nities better. It can actually sell this functionality as hybrid cloud
business APIs to other businesses. Suddenly those niche com-
petitors become value added resellers of the enterprise capability.
The enterprise gains a new revenue stream, as IT becomes a new
way to earn revenue. Traditional niche providers are able to grow
by providing a more complete portfolio of business capability
tailored to the community it ser es. Users also benefit as ser ices
become more ersonali ed and ocused on their s ecific wants
and needs.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
assumed I new all the ins and outs o PL/X or assembler.
I learned them when I started. Over the years, the assumption
that talent could be hired with those e istin s ills has mor hed
the development landscape.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
that re uire hi h a ailability and ha e hi h transaction throu h-
ut are enerally seen as more a ro riate or /OS. Additional
attributes such as closeness to data and high volume are addi-
tional characteristics that mi ht lead to /OS.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
If you don’t recognize the reference to the Gregorian calendar,
it s really ust the calendar we use today with months, and
it s named a ter Po e Gre ory XIII, who introduced the calen-
dar in October . My oint is that the calendar hasn t chan ed
in hundreds of years, so there’s not a lot of need to change this
service.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
DevOps is only about automated
deployment
It’s easy to fall into this trap. After all, most of the DevOps prod-
ucts and ser ices currently a ailable in the mar et lace ocus on
de loyment usin so tware to automate the de loyment cycle.
» Environment availability
» Manual deployments
» Test and use case setup
» Governance
» Development practices
Start with roducti ity. Most IT leaders et this one a ter all, i
you’re using automation, you’re using fewer resources and that
rees u time to ocus on more alue added acti ities. But uality,
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
on the other hand, isn’t initially apparent. If you dig deeper, you’ll
find the our dimensions to uality im ro ement
So, while you may be chasin the se iness o s eed, ma e sure you
ee an eye on the nuts and bolts. I you do it ri ht, you should be
able to enjoy all three for the price of one.
DevOps is a tool
This last myth is the worst of all the myths. Many organizations
consider De O s to sim ly be a toolin e ercise where et-
tin the ri ht tool is the ey to the De O s u le and that once
it’s implemented correctly, the organization will be well on its
way for faster turnaround times. Unfortunately, the reality is a bit
more complicated.
Here are a few things you may not realize about DevOps:
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
» For the tools to work e ectively, the back-end infrastructure
has to change as well. In many cases, this dramatically
undoes years of organizational process, protocols, and
control.
» Arguably the hardest realization is changing the people and
processes to enable a seamless deployment process across
multiple silos that traditionally have had diametrically
opposite objectives.
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Notes
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Notes
These materials are © 2017 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
WILEY END USER LICENSE AGREEMENT
Go to www.wiley.com/go/eula to access Wiley’s ebook EULA.