rational development and test environment - ibm · pdf file–rational development and...
TRANSCRIPT
© 2012 International Business Machines Corporation 1
RD&T Environment V 9.0, Tobias Braun, zHero
Rational Development and Test Environment
Tobias [email protected]
© 2012 International Business Machines Corporation 2
RD&T Environment V 9.0, Tobias Braun, zHero
FAQ‘s
1. Introducing RD&T
2. Licensing
3. Requirements
4. Use Cases
5.
Agenda
© 2012 International Business Machines Corporation 3
RD&T Environment V 9.0, Tobias Braun, zHero
• Liberate developers to rapidly prototype new applications• Develop and test System z applications anywhere, anytime!• Free up mainframe development MIPS for production capacity• Eliminate costly delays by reducing dependencies on operations staff
RDz & ISPF user
ISPF user
RDz user
RDz userRDz user
COBOL, PL/I, C++, Java, EGL, Batch, Assembler, Debug Tool
x86 PC running Linux
RDz user
IMS
z/OS
WAS
DB2
MQ
CICS
Announcing the Rational Development & Test Environment
Chapter 1: Introducing RD&T
© 2012 International Business Machines Corporation 4
RD&T Environment V 9.0, Tobias Braun, zHero
System z ArchitectureSimulator
x64 PC running Linux
System z SW Stack
z/OSCICS MQ DB2 WebSphere IMS Assembler COBOL C/C++ PL/I
Debug Tool
RD&T
RTCz Agent RDz Agent
<USB License Key*>
The Rational Development and Test Environment for System z consists of:
• System z Architecture Simulator (based on zPDT)
System z Architecture Simulator provides System z architecture on Intel
Capable of running any System z compatible operating system. z/OS currently supported.
provides great flexibility in running a customized environment
• Software stack provides a choice of IBM middleware test environments
Actual middleware software (including z/OS)
Actual enterprise compilers
Actual APIs (no simulation)
• RDz and RTCz agents
Packaged for simplification
Still need RTC and RDz client license(s) to activate
Chapter 1: Introducing RD&T
© 2012 International Business Machines Corporation 5
RD&T Environment V 9.0, Tobias Braun, zHero
• RD&T V9.0 now uses Installation Manager
• Separate installers provided
– Standard GUI mode
– Line mode
• IM logging enabled by default
• IM 64 bit libraries required for install
• IM install steps
– Check for and install IM version 1.6.2
– Prompt for RD&T install location
– Check for RD&T install package pre-reqs
– Install RD&T artifacts
– Run RD&T installer
• RD&T customization steps still required
– Tailor system files
– Create and customize device map file
Changes to RD&T V9.0 installer
Chapter 2:New Features in RD&T
© 2012 International Business Machines Corporation 6
RD&T Environment V 9.0, Tobias Braun, zHero
6
RD&T V9.0 IM Installer
Chapter 2:New Features in RD&T
© 2012 International Business Machines Corporation 7
RD&T Environment V 9.0, Tobias Braun, zHero
• With Rational Development and Test Environment for System z V9, you can install the
product directly on the operating system used by the supported hardware platform selected
(native installations) or you can use a supported virtualization technology to install virtual
instances of the product on supported hardware platforms (virtual installations).
• Operating System requirements for native installations:– Red Hat Enterprise Linux (RHEL) 6.3
– SUSE Linux Enterprise Server (SLES) 11 SP2
– OpenSUSE 12.1
• Operating System platforms supported for virtual installations:– Red Hat Enterprise Linux (RHEL) 6.3
– SUSE Linux Enterprise Server (SLES) 11 SP2
– The zBX Model 003 integrated software and hardware system
• Virtualization Technologies supported:– VMWare vSphere 5
– zBX version 3
Virtualization support
Chapter 2:New Features in RD&T
© 2012 International Business Machines Corporation 8
RD&T Environment V 9.0, Tobias Braun, zHero
• Many processes
• Many 3270 sessions
• Many network connections
Parallel Sysplex on RD&T V9.0
Chapter 2:New Features in RD&T
© 2012 International Business Machines Corporation 9
RD&T Environment V 9.0, Tobias Braun, zHero
• z/VM 6.2 volumes supporting multiple z/VM guests Coupling Facilities z/OS images
• z/OS 1.13.1 volumes supporting Common z/OS IPL
volume Unique system parms
and page volumes Additional system
facilities volumes Coupling facility
volume Standalone sysres
volume
Parallel Sysplex – Sample system
Chapter 2:New Features in RD&T
© 2012 International Business Machines Corporation 10
RD&T Environment V 9.0, Tobias Braun, zHero
FAQ‘s
1. Introducing RD&T
2. Licensing
3. Requirements
4. Use Cases
5.
Agenda
© 2012 International Business Machines Corporation 11
RD&T Environment V 9.0, Tobias Braun, zHero
• RD&T is enabled via a USB key
Key makes Unit Test feature operational
• USB key is shipped disabled, activated via Rational Key Center
• Physical delivery required for key and stack (DVDs)
No electronic download available
11
RD&T environment licensing
Chapter 3: Licensing
© 2012 International Business Machines Corporation 12
RD&T Environment V 9.0, Tobias Braun, zHero
• Rational Development and Test Environment for System z V9 offers a new, cost effective,
flexible licensing option. Using the Resource Value Unit (RVU) metric, the Rational
Development and Test Environment for System z V9 can be licensed in terms of the highest
number of activated emulated Central Processors. This metric accommodates the dynamic
nature of the software development lifecycle, enabling movement of users and activation of
Development and Test Environments as needed to support maintenance, development and
test activities.
• Rational Development and Test Environment for System z V9 includes two offerings:
– Rational Development and Test Environment for System z: The base Development and Test
Environment, for development, test, employee education, or demonstration of applications that run on
z/OS. You can purchase base Development and Test Environment Authorized User Single Install
licenses or RVU licenses, depending on intended usage.
– Rational Development and Test Environment for System z with Parallel Sysplex: Includes the base
Development and Test Environment for development, test, employee education, or demonstration of
applications that run on z/OS, plus the IBM z Personal Development Tool virtual Coupling Facility that
is packaged in the z/VM software distribution. The Development and Test Environment with Parallel
Sysplex offering is targeted for enterprise teams, and thus only RVU licenses are offered.
New RD&T V9.0 licensing options
Chapter 3: Licensing
© 2012 International Business Machines Corporation 13
RD&T Environment V 9.0, Tobias Braun, zHero
#of CPsmonoplex/sysplex
Rational License Manager (FlexLM)
zPDT1. Read Dev map & USB key2. Create Shared Memory3. Start RD&T Monitor4. Signal monitor of changes5. Check heartbeat and Status6. Terminate Monitor at end
RD&T Token Monitor 1. Connect to shared memory2. Init logging and wait for signal3. Get all tokens at oncea. Check out/in with “linger time”4, Renew before linger expires5. Repeat until signal to end
Device Map
Tokens avail: Yes/NoHeartbeat timestamp
Reason Codes
Shared Memory
• Goals: License RD&T based on tokens. Enable per-CP pricing Enable pricing for monoplex or
sysplex Behaviors consistent with current
zPDT
• Implementation: RD&T Token monitor added. New license indicators on USB key
indicate tokens are required Virtual z definition (device map)
indicates #of CPs and mono/sysplex Communication via Unix signals and
shared memory only. Logs provided by RD&T Token Monitor For non-token use of RDT, monitor runs
but simply simulates token availability. zPDT suspends if tokens are not available
USB Key
Use of Rational tokens
Chapter 3: Licensing
© 2012 International Business Machines Corporation 14
RD&T Environment V 9.0, Tobias Braun, zHero
• z/OS V1.13, including sub-features
• WebSphere Application Server for z/OS V7.0, V8.0, and V8.5
• CICS Transaction Server (CICS TS) V4.1, V4.2, and V5.1
• CICS Transaction Gateway V8.1
• IMS V11.1 and V12.1
• DB2 for z/OS, V9.1 and V10
• WebSphere MQ for z/OS, V7.0
• IBM Java SDK for z/OS, V6.0, V6.0.1, and V7.0
• COBOL V4.2
• Enterprise PL/I V4.2.1
• XL C++ V1.12 and V1.13
• IBM Rational COBOL Runtime V6.0.1 (EGL)
• IBM Debug Tool V12.1
Selected z/OS Software Products Licensed for
Use with RD&T V9.0
Chapter 3: Licensing
© 2012 International Business Machines Corporation 15
RD&T Environment V 9.0, Tobias Braun, zHero
• IBM Directory Maintenance Facility for z/VM, function level 620
• IBM Performance Toolkit for VM, function level 620
• IBM RACF Security Server for z/VM, function level 620
• IBM Remote Spooling Communications Subsystem Networking for z/VM,
function level 620
• IBM z/VM, version 6 release 2
Selected z/VM Software Products Licensed for
Use with RD&T V9.0 Parallel Sysplex Edition
Chapter 3: Licensing
© 2012 International Business Machines Corporation 16
RD&T Environment V 9.0, Tobias Braun, zHero
RD&T license server
RD&T(Server)
RD&T(Server)
RD&T(Server)
RD&T(Server)
RD&T(Server)
1 USB key + license server can support entire enterprise deployment or configure
separate servers and USB keys for departmental monitoring
Hi CapacityUSB Key
RD&T may be IPLed on any HW (no USB required, only network access)
RDz user
RDz user
RDz user
RDz user
RDz user
RDz user
RDz user RDz user RDz user
License Server with RD&T V9.0
RD&T License Key Server
Chapter 3: Licensing
© 2012 International Business Machines Corporation 17
RD&T Environment V 9.0, Tobias Braun, zHero
FAQ‘s
1. Introducing RD&T
3. Licensing
4. Requirements
5. Use Cases
6.
Agenda
© 2012 International Business Machines Corporation 18
RD&T Environment V 9.0, Tobias Braun, zHero
• Processor
– Recommended configuration is Generation 3 Intel i7 2.6 GHz
Quad-core or equivalent
– At least 1 Linux core is required for each set of 3 z/OS cores
implemented.
– For standard installations, a 4-Core system with 1 core devoted to
Linux and 3 cores devoted to z/OS is recommended.
– For Parallel Sysplex installations, an 11-Core system with 3 cores
devoted to Linux and 8 cores devoted to z/VM and its guests is
recommended
• RAM
– 2 GB to 4 GB of RAM required per emulated Central Processor
(CP) for z/OS
– 1 GB per processor core allocated to Linux
– For those using the Parallel Sysplex capability, 1 GB per coupling
facility
RD&T machine specifications
Chapter 4: Requirements
© 2012 International Business Machines Corporation 19
RD&T Environment V 9.0, Tobias Braun, zHero
• Disk space– 50 GB to 100 GB of disk space is required for z/OS. There should also be
twice as much disk space available as the total required memory defined for
the Rational Development and Test Environment for System z instance.
– For those using the Parallel Sysplex capability, an additional 54 GB of disk
space is required to hold the zVM software distribution, the sample system,
and to implement the sample configuration that comes with the Parallel
Sysplex capability. Depending on how much software you load into each
z/OS system running in a Parallel Sysplex configuration, you may need up
to 220 GB per z/OS system.
• Network– 100MB / 1GB Ethernet adapter (shared by Linux and z/OS)
– Wireless (OK for Linux, not recommended for z/OS)
• USB
– Required for hardware key
– License server may used
RD&T machine specifications (cont.)
Chapter 4: Requirements
© 2012 International Business Machines Corporation 20
RD&T Environment V 9.0, Tobias Braun, zHero
FAQ‘s
1. Introducing RD&T
2. Licensing
3. Requirements
4. Use Cases
5.
Agenda
© 2012 International Business Machines Corporation 21
RD&T Environment V 9.0, Tobias Braun, zHero
• Multiple data types– Sequential files, PDS’s, PDSE’s, HFS, ZFS, DB2 databases, IMS databases, VSAM files, ICF
Catalogs
– Multiple ways to access data
• TCP/IP– RDz
– FTP
– NFS
– SMB
– NJE
• Dataset migration– ADRDSSU
• DASD volume migration– Complete volumes (3380 or 3390) are transferred. This includes IPL text, volume labels, VTOC,
and unallocated space. The logical contents of the volume are not examined. Data sets on the
volume are not recognized. The utility copies and transfers all the tracks on the volume.
– RD&T DASD Migration Utility – zPDTMSRV, hckd2ckd
Accessing Existing z/OS Data
Chapter 5: Use Cases
© 2012 International Business Machines Corporation 22
RD&T Environment V 9.0, Tobias Braun, zHero
RD&THost
RD&T based build
CICS
MVS
RDz
Remote
Projects RSE
Server
RSE Client
Web Service
Explorer
Host ConnectCICS
MVS
Build tools
SCM
Build tools
• Development on RD&T with host-based SCM:
• Copy code and data to RD&T as needed
• Use RDz or other methods to run a standard compile/debug cycle
• When tests and changes are complete, merge changes back to
mainframe
22
© 2012 International Business Machines Corporation 23
RD&T Environment V 9.0, Tobias Braun, zHero
RD&T
Host
Distributed SCM and Build
RTCzServer
CICS
MVS
RDz
Rational Team Concert /z Client
Remote
ProjectsRTCz Build Toolkit
RSE
Server
RTCz
Miner
RSE Client
Web Service
Explorer
Host ConnectCICS
MVS
RTCz Build Toolkit
• Development on RD&T with distributed SCM:
• SCM manages movement of code to and from mainframe.
• Builds may be done either on RD&T or on mainframe (depending on SCM).
• Test outputs installed by SCM on RD&T.
• Use RDz or other methods to run a standard compile/debug cycle
23
© 2012 International Business Machines Corporation 24
RD&T Environment V 9.0, Tobias Braun, zHero
FAQ‘s
1. Introducing RD&T
2. Licensing
3. Requirements
4. Use Cases
5.
Agenda
© 2012 International Business Machines Corporation 25
RD&T Environment V 9.0, Tobias Braun, zHero
1. What is the maximum number of developers a RD&T server can support?
• This can vary depending on the underlying hardware and development activity. Desktops can
typically support 3-5 users. Server class machines can support up to 15-25 users.
2. How can I get test data for use in RD&T?
• Customers can use existing tools like IDCAMS, DB2 utilities, etc. to extract test data and then
download it to the RD&T machine. RD&T provides a DASD volume migration utility that can
download an entire 3390 DASD volume onto the RD&T machine.
3. Can I run other levels of the middleware provided?
• RD&T is supplied with a standard set of software middleware, compilers, and runtimes. The
included license covers this software at the supplied versions. Special license terms and
conditions for other versions/ releases of software may be created as long as the requested
software is currently in service and remains in service 6 months from the sales date.
4. Can I use other IBM tools in the RD&T environment?
• ESW zOTC or zMLC tools (like PD tools) currently are not licensed for use with RD&T.
Passport Advantage products can be used in the RD&T environment. Exceptions to these
rules are handled on a case by case basis with individual IBM product owners.
5. Can I run third party software?
• Yes, if the third party license allows this. Customers must work with their software vendor to
determine licensing considerations.
Common Questions
Chapter 6: FAQ‘s
© 2012 International Business Machines Corporation 26
RD&T Environment V 9.0, Tobias Braun, zHero
6. Does RD&T require linux skills?
• Linux skills are required to setup the host linux operating system and to allocate linux resources for
the System z architecture simulator.
• Some linux networking skills are helpful.
• Linux program installation and maintenance skills are also required.
7. Does RD&T require system programming skills?
• z/OS does require system programming skills to set up the development and/or testing environments.
• IBM recommends setting up one RD&T instance and then cloning that configuration to other instances.
8. What about security?
• RACF is installed, but with minimal configuration.
• The sample configuration guide has suggestions for basic security.
• Security is a site choice. The ability to customize z/OS on a platform designed for individuals or small teams may:
Provide better testing opportunities
Provide customization for individual productivity gains
Provide opportunities to learn about z/OS fundamentals
Common Questions – (cont.)
Chapter 6: FAQ‘s
© 2012 International Business Machines Corporation 27
RD&T Environment V 9.0, Tobias Braun, zHero
• IBM Rational Development and Test Environment for System z Quick Start Guide (GI13-1802-03)
• IBM Rational Development and Test Environment for System z USB Hardware Device Quick Start Guide (GI11-9147-02)
• Installation: System z Personal Development Tool Redbooks
Basic instructions for installation/ configuration of Linux, zPDT, and starter z/OS system
References
System z Personal Development Tool Volume 1: Introduction and Reference (SG24-7721-05)
System z Personal Development Tool Volume 2: Installation and Basic Usage (SG24-7722-05)
System z Personal Development Tool Volume 3: Additional Topics (SG24-7723-05)
System z Personal Development Tool Volume 4: Coupling and Parallel Sysplex (SG24-7859-02)
• Configuring z/OS with IBM Rational Development and Test Environment for System z - z/OS 1.13 (SC14-7281-04)
Contains basic instructions and examples for z/OS system customization
Isolate base configuration files from customized files
Store user data on a separate disk
Configure TCP/IP settings
Configure security for critical system files
Create user IDs
Other minor but common changes to z/OS
• System programmer assistance will be required to replicate specific conventions, security models,
subsystems, etc
RD&T installation and configuration documentation
Chapter 6: FAQ‘s
© 2012 International Business Machines Corporation 28
RD&T Environment V 9.0, Tobias Braun, zHero
• The RD&T environment does NOT support all System z function, such as:
Physical Parallel, ESCON®, FCP, FICON®
and High Performance FICON channels
Coupling links and coupling facilities
List-directed IPL
External Time Reference (ETR)
Server Time Protocol (STP)
MIDAWs
Logical channel subsystems
HiperSockets™
Multiple I/O paths per device
Not all CHSC functions are supported
Some IBM System z Crypto Express2
Some IBM 3088 CTC device
• RD&T does not produce an environment equal to a larger System z.
Some aspects of a larger system are unlikely to be met in any very small environment.
Inability to verify and enhance the scalability of a program
Inability to run application programs that require hundreds of MIPS.
A RD&T system is not recommended for very fine-level performance tuning that is sensitive to memory location, cache functions, and pipeline optimization.
In addition, the RD&T platform does not nearly have the same quality of service as does a mainframe in terms of availability and connectivity.
• Anyone needing any of the function outlined above should consider a traditional System z server.
RD&T limitations
Chapter 6: FAQ‘s
© 2012 International Business Machines Corporation 29
RD&T Environment V 9.0, Tobias Braun, zHero
29
Tobias [email protected]
+49 151 15162580
© 2012 International Business Machines Corporation 30
RD&T Environment V 9.0, Tobias Braun, zHero
Backup
© 2012 International Business Machines Corporation 31
RD&T Environment V 9.0, Tobias Braun, zHero
1. Create user storage on RD&T systemAllocate linux disk space to hold a 3390 volume dumpand to hold a reformatted volume dump.
alcckd /z/USER01 -d3390-3alcckd /z/USER02 -d3390-3alcckd /z/USER03 -d3390-3
2. Activate user volumes on RD&T systemUpdate devmap or issue awsmount for new volume(s).Ipl z/OS system.Initialize new volume(s) with label and VTOC.Vary new volume(s) online.
3. Create source dump on source systemA normal ADRDSSU job is used to dump the source volume.
4. Xmit dump on source systemCreate xmit formatted dump.
5. Send dump to RD&T systemSend the xmit-formatted dump using an ftp connection from source z/OS to target z/OS. (May use intermediate FTP node.)
6. Receive dump on RD&T systemPre-allocated datasets on the receiving z/OS system. One data set is the target of an ftp transfer from Linux (or some other source) and the other is for the output of the TSO RECEIVE function. This last data set is then the input to a RESTORE job.
7. Format dump on RD&T systemUse TSO to reformat the dump into the original format created by ADRDSSU.
8. Restore the volume on RD&T systemRestore the z/OS volume.
Provisioning Using ADRDSSU
Chapter 5: Use Cases
© 2012 International Business Machines Corporation 32
RD&T Environment V 9.0, Tobias Braun, zHero
32
• Start server program on z/OS START MIGRATER
• Start client program on linux hckd2ckd 192.168.2.211:3990 /z/SYSCFG –v SYSCFG
Provisioning Using the DASD Migration Facility
Chapter 5: Use Cases
© 2012 International Business Machines Corporation 33
RD&T Environment V 9.0, Tobias Braun, zHero
Test LPAR
z/OS
…
Organized by project team, vertically scaled, sharing resources, limited automation
ProjectTeam
[April Maintain]
ProjectTeam
[Prototype SOA]
ProjectTeam
[June New Func]
ProjectTeam
[Dec Sys Upgrade]
TestData
App
App
App
Problems Encountered
1. Shared resources combined with overlapping schedules can elicit conflicts, impede innovation and slow code delivery
2. Coordination of environmental changes and releases cause bottlenecks, delays and additional overhead
3. Shared test data is difficult to manage and can lead to over testing or incorrect test results
Typical z/OS Testing Architecture
Chapter 5: Use Cases
© 2012 International Business Machines Corporation 34
RD&T Environment V 9.0, Tobias Braun, zHero
Organized by application team, horizontally sliced, dedicated resources, highly automated
Problems Encountered
1. Shared resources combined with overlapping schedules can elicit conflicts, impede innovation and slow code delivery
2. Coordination of environmental changes and releases cause bottlenecks, delays and additional overhead
3. Shared test data is difficult to manage and can lead to over testing or incorrect test results
4. Provisioning, managing, and synchronizing project test environments including data
QA
/ In
tegra
tion T
est LP
AR
z/OS LPAR
…
ProjectTeam
[April Maintain]
ProjectTeam
[Prototype SOA]
ProjectTeam
[June New Func]
ProjectTeam
[Dec Sys Upgrade]
IntegratedTestData
LPAR
Data
RD&T
Data
RD&T
Data
LPAR
Data
Delivery Organized for Flexibility and Speed
Chapter 5: Use Cases