software configuration management für traditionelle mainframe · pdf file ·...
TRANSCRIPT
© 2017 IBM Corporation
Software Configuration Management für traditionelle Mainframe-Artefakte
March 2017
Tage der Anwendungsentwicklung, Böblingen
Dennis BehmIBM z Systems SoftwareTechnical [email protected]
+49-7034-6432353
© 2017 IBM Corporation
Übersicht Software Delivery Pipeline
2
zO
SB
ac
ke
nd
Mid
dle
tie
rF
ron
ten
d
CommonSCM System
COBOL, PLI, JCL, JAVA, C,
..
Technology specific
Build
Jenkins, ANT, JCL, …
ArtefactRepository
TEST QS PRODDEV
Separation of Duties
Release Management
Quality Gates /
Approvals
zOS Build OutputsLoads, JCL, DBRM, ..
Dep
loym
ent
Au
tom
atio
n
WAR, EAR, XML, DML, DDL, Config, ..
© 2017 IBM Corporation
Develop Unit Test Integration TestSystem
TestAcceptance Test
Production Deployment
Software Delivery LifecyclesGeneric Overview of Development and Test Principles
Use modern SCM systems and IDEs to speed up the developer
Deploy your application under test with a single click
Move from manual testing to a automated and focused approach to reduce test overhead
© 2017 IBM Corporation
Rational
IBM Developer for z System (IDz) – eine moderne integrierte Entwicklungsumgebung (IDE)
für die Hostentwicklung
Rational Team Concert Enterprise Extensions – eine plattformübergreifende Lösung für das
Application Lifecycle Management (ALM)
4
RTC IDz
© 2017 IBM Corporation
IBM ALM Lösung: Rational Team Concert for Enterprise Platforms
Rational Team Concert integriert in dem
kundenspezifischen Entwicklungsprozess
– Software Configuration Management,
– Build-Management
– Projektplanung und –steuerung,
– die Erfassung und Bearbeitung von
Arbeitsaufträgen (WorkItems)
Aufgabenbezogene Entwicklung und Staging
Dependency Based Builds
Collaborative Development
Open Lifecycle and Service ManagementIntegration Platform
Continuous Delivery
Projektleiter Tester
Agile Teams
Entwickler
Operations
Stakeholder
Rational Doors Next Gen | Rational Team Concert | Rational Quality Manager
Collaborative Lifecycle Management
© 2017 IBM Corporation
Rational Team Concert basiert auf Jazz Technologie
SCM Work Items
Jazz Team Server
Build
Iterationsplanung Transparente Projektsicht
© 2017 IBM Corporation
Rational Team Concert High-Level Architektur
7
RTC Server
Agent
Agent
Agent
Agent
Agent
Datenbank
© 2017 IBM Corporation
Mainframe Entwickler-Cockpit
8
© 2017 IBM Corporation
SCM
9
© 2017 IBM Corporation
Verwaltung der unterschiedlichen Software Stände in Streams
10
© 2017 IBM Corporation
Überprüfung von Programmierrichtlinien während des Check-ins
11
© 2017 IBM Corporation
Freigaben können ein 4-Augenprinzip erzwingen
12
© 2017 IBM Corporation
MainframeBuildmanagement
13
© 2017 IBM Corporation
Dependency Based Build für Cobol, PLI und C/C++ für z/OS
Der Build berücksichtigt Abhängigkeiten zwischen den einzelnen Objekten innerhalb eines
Streams
– Es werden gezielt diejenigen Objekte umgewandelt, die geändert wurden und von
geänderten Objekten abhängig sind
14
Objekt A
(Cobol)Objekt B(Copybook)
Stream ENTW
Verwendet
Objekt C(Cobol)
Buildable
Files
Objekt A
Objekt B
Objekt C
zOS
Verwendet
© 2017 IBM Corporation
Beispiel Build-Report
15
© 2017 IBM Corporation
Build scope and differentiators
Build type Scope / build options Techno-
logoy
Use Case(s)
Team Build • Full build
• dependency based
build
• Subset build
ANT > Developers integrating their work
Personal
Build
• Dependency based
build of
Incoming/Outgoing
Changesets
• Subset build
ANT > Developers wanting to build up their personal
runtime library without affecting their teammates,
make use for STEPLIB for their personal tests
User Build • Build a single file
from your local
sandbox
JCL > Developers to compile their module under
development / under test for doing unit testing in
an isolated environment.
> Developer wanting to make sure a program
does not have any compilation errors and can
overwhelm the build queue
© 2017 IBM Corporation
Build sequentially
Process one language definition
Process one buildable file
For all language definitions
For all buildable files (of lang def)
Process one language definition
N threads to processn buildable files
For all language definitions
For all buildable files
Build multi-threadedsince 6.0.2
Multi-threaded team builds
17
© 2017 IBM Corporation
Staging & Deployment mit UrbanCode Deploy
18
© 2017 IBM Corporation
Übergabe der Build-Ergebnisse meiner Arbeit in das Artefakt-Repository
19
© 2017 IBM Corporation
Die angekommenen Artefakte
20
© 2017 IBM Corporation
Orchestrierung der unterschiedlichen Anwendungskomponenten
21
© 2017 IBM Corporation
Definition der Deploymentprozesse einer Komponente
22
© 2017 IBM Corporation
Durchführung des Deployments
23
© 2017 IBM Corporation
Durchführung des Deployments
24
© 2017 IBM Corporation
UrbanCode Plugin Ecosystem
© 2017 IBM Corporation
SW Architecture
© 2017 IBM Corporation
Technical overview - Traditional Mainframe Artifacts
Build System
Post build script
z/OS DeployToolkit
Create new version
CodeStationin HFS
Server
Agent
Download artifacts
Deploy steps
Deploy data sets
PDS
Update Inventory status
z/OS LPAR, Build system z/OS LPAR
Note: LPARs can be the same or different LPARs
Store meta data
Store version artifacts
Deploy steps
deploy
CICSDB2
WASz
IMS
JCL
REXXTSO
MVSSHELL
CodeStation
in UCD
FTP or Copy
© 2017 IBM Corporation28