Advanced Technical Skills, Americas
z10
Spencer V. Krueger
Elizabeth A. Somers
IBM Advanced Technical Skills
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
© 2009 IBM Corporation
Advanced Technical Skills, Americas
Trademarks
The following are trademarks of the International Business Machines Corporation in the United States and/or other countries.
APPN
CICS*
DB2* e-business logo*
Enterprise Storage Server
ESCON*
FICON
FICON Express
GDPS
HiperSockets
IBM*
IBM eServer
HiperSockets
IBM logo*
IMS
MQSeries*
OS/390*
Parallel Sysplex*
PR/SM
Resource Link
S/390*
Sysplex Timer*
Tivoli*
Total Storage
VM/ESA*
WebSphere* z/Architecture z/OS z/VM zSeries
* Registered trademarks of IBM Corporation
The following are trademarks or registered trademarks of other companies.
Intel is a trademark of the Intel Corporation in the United States and other countries.
Java and all Java-related trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc, and Oracle Corp, in the United States and other countries.
Oracle Corp. Siebel registered trademark
Lotus, Notes, and Domino are trademarks or registered trademarks of Lotus Development Corporation.
Linux is a registered trademark of Linus Torvalds.
Microsoft, Windows and Windows NT are registered trademarks of Microsoft Corporation.
Penguin (Tux) compliments of Larry Ewing.
SET and Secure Electronic Transaction are trademarks owned by SET Secure Electronic Transaction LLC.
UNIX is a registered trademark of The Open Group in the United States and other countries.
* All other products may be trademarks or registered trademarks of their respective companies.
Notes:
Performance is in Internal Throughput Rate (ITR) ratio based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput improvements equivalent to the performance ratios stated here.
IBM hardware products are manufactured from new parts, or new and serviceable used parts. Regardless, our warranty terms apply.
All customer examples cited or described in this presentation are presented as illustrations of the manner in which some customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics will vary depending on individual customer configurations and conditions.
This publication was produced in the United States. IBM may not offer the products, services or features discussed in this document in other countries, and the information may be subject to change without notice. Consult your local IBM business contact for information on the product or services available in your area.
All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only.
Information about non-IBM products is obtained from the manufacturers of those products or their published announcements. IBM has not tested those products and cannot confirm the performance, compatibility, or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products.
Prices subject to change without notice. Contact your IBM representative or Business Partner for the most current pricing in your geography.
This presentation and the claims outlined in it were reviewed for compliance with US law. Adaptations of these claims for use in other geographies must be reviewed by the local country counsel for compliance with local laws.
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
2
Advanced Technical Skills, Americas
WebLogic on Linux for System z - Topics
z/VM, LPARs, IFLs, Linux on System z
– Virtualization
– Which Linux do I install on System z?
Planning Prerequisites (Linux, JAVA, Disk)
WebLogic Architecture (formally BEA)
WebLogic Install
– WebLogic 10.3.1/2 & 10.3.3
WebLogic Server (WLS) Administration
– Start Server, Update WLS Domains
Sample Application
IBM ATS Assistance
– References
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
3
Advanced Technical Skills, Americas
System z Administration - z/VM, LPARs, IFLs, Linux
z/VM
– Linux Guest
– Virtual CPUs
– Integrated Facility for Linux (IFL) & CP’s
• Physical CPUs
LPAR
– Logical CPUs
Virtualization
– Disk storage, OSA and Communications Connectors, etc
Supported Linux Operating Systems:
– Novell SuSE 10 SP2, and higher
– RedHat Enterprise Linux 4.7 and higher, RedHat Enterprise 5.3 or higher
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
4
Advanced Technical Skills, Americas
System z Linux – z/VM & IFL’s
Multiple virtual machines that represent a physical mainframe
With each z/VM LPARs , each Instance (or Guest) may have multiple virtual IFLs
One z/VM guest can be associated with multiple Oracle databases
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
5
Advanced Technical Skills, Americas
System z Linux & WebLogic Install Prerequisites
WebLogic is referred to as Oracle WebLogic Server 11gR1 (10.3.2) and
"Oracle WebLogic Server 11g“
Download from OTN the "generic" Oracle package installer (it is not specific to Linux on System z)
X-Term; RealVNC, TightVNC….others
– www.realvnc.com
– www.tightvnc.com
Red Hat EL 4 (UL7+), Red Hat EL 5 (UL3+)
Novell SuSe 10 (SP2+)
IBM Java 6 64bit (SR4 or higher) product is NOT supplied with any of the
Linux distributions, so you will need to download at the following url: http://www.ibm.com/developerworks/java/jdk/linux/download.html
Installation Modes : Console, Graphical, Silent (Linux for System z Release Notes recommend using Console mode)
Oracle Universal Installer (OUI) GUI interface to install WebLogic
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
6
Advanced Technical Skills, Americas
Component Installation Steps…
1.
Preparation for Linux Install on System z
(SLES10 or RedHat)
2.
Install Novell SLES10 SP2 or RedHat
Novell SLES10 used in examples that follow
3.
Install IBM Java 6 64bit (SP7)
4.
Install WebLogic
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
7
Advanced Technical Skills, Americas
Installing Linux on System z – Step 1 (SLES10)
Linux must first be installed either standalone in a Logical Partition
(LPAR) or under z/VM
This example will install Novell
SuSe 10 SP2 Linux under z/VM
With a z/VM instance created:
– a parmfile, kernel and an initrd file are FTPed to z/VM
– These 3 files are then executed, and as part of the execution, we IPL the kernel in storage and start the install
• In LPAR mode; we will mount the
1 st SLES10 CD #1 into the HMC
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
8
Advanced Technical Skills, Americas
Installing Novell SLES10 SP2 – Step 2
Easier to unload the SuSE CDs (usually 4 of them) to disk prior to starting the install
Verify that all the media is unloaded and a mount point has been established
Install using an X-Term session or your Browser
– http://xx.xx.xx.xx
:5801 (where xx.xx.xx.xx is your IP address) to access the install panels within z/VM
– Start an X-Term (VNC) session
• All examples that follow use a VNC X-Term session
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
9
Advanced Technical Skills, Americas
Installing Novell SLES10 SP2 – Step 2-continued
Open the VNC icon on your desktop and enter the IP address and 1. “:1” designates the VNC server instance to be used.
• http://xx.xx.xx.xx:
1
Installation panels will prompt for configuration parameters, beginning with Language.
– Continue on and select options by clicking thru configuration panels
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
10
Advanced Technical Skills, Americas
Installing IBM Java 6 64bit – Step 3
Download: www.ibm.com/developerworks/java/jdk/linux/download.html
SR7 under ‘Download’ in the row for 64Bit System z Java (User registration required)
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
11
Advanced Technical Skills, Americas
Installing IBM Java 6 64bit – Step 3-continued
Once downloaded, you must untar and decompress the file. Use the following command:
– tar –xzvf /<enter your directory>/ibm-java-sdk-6.0-7.0-linuxs390x-tgz or
– gunzip -c /<enter your directory>/ibm-java-sdk-6.0-7.0-linuxs390x.tgz | tar -xvf - > javaunpack.txt
Java 6 can/will then be installed
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
12
Advanced Technical Skills, Americas
WebLogic on IBM System z Linux Under z/VM
Architecture
Software Download Notes
Terminology & Definitions
Install Planning
Install & Quick Start
– WebLogic Base
WebLogic Server Administration
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
13
Advanced Technical Skills, Americas
WebLogic Server (WLS) Architecture
X
Web Client
NOT currently
Supported
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
14
Advanced Technical Skills, Americas
WebLogic Install Directory Layout
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
15
Advanced Technical Skills, Americas
Software Download Notes
A complete list of supported configurations can be found at:
– http://download.oracle.com/docs/cd/E13196_01/platform/suppconfigs/index.html
Release Notes Middleware 11gR1 for IBM: Linux on System z (WLS 10.3.2) are accessible: http://download.oracle.com/docs/cd/E15523_01/doc.1111/e15731/toc.htm
Verify you have adequate “tmp” space when you unzip
You will notice WebLogic is referred to as Oracle WebLogic Server 11gR1
(10.3.2) and "Oracle WebLogic Server 11g".
You download from OTN the "generic" package installer. It is not specific to
Linux on z.
The IBM Java SDK 6 64-bit SR4 (or higher) is required. At this time we recommend you stay with SR4"
At this time the download is only on OTN - it is not yet on edelivery.oracle.com
even though the release notes point to that url (as of 4/2010).
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
16
Advanced Technical Skills, Americas
WebLogic Terminology & Definitions
WebLogic Domain
– A WebLogic Server administration domain is a logically related group of
WebLogic Server resources.
– Domains include a special WebLogic Server instance called the Administration
Server , and you configure a domain to include additional WebLogic Server instances called Managed Servers .
• Administrative Server
– One instance of WebLogic Server in each domain acts as an Administration Server.
The Administration Server provides a central point for managing a WebLogic Server domain.
• Managed Server
– All other WebLogic Server instances in a domain are called Managed Servers.
• In a domain with only a single WebLogic Server instance, that server functions both as Administration Server and Managed Server.
Node Manager
– Utility which allows lifecycle control of an Administration Server and Managed
Server instances from a remote location. A Node Manager process is associated with a specific machine .
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
17
Advanced Technical Skills, Americas
WebLogic Installation Planning Requirements
Default Ports; 7001, 7010
URL
WLS 10.3.2 Base Install Disk Requirements
– Net Installer ~39M Install on demand
– Enterprise Installer footprint from 179M
• Delivered with installer
• WebLogic Server
• 742M – Full distribution
• Apache Web Plug-In (not currently supported as of 10.3.2 for
Linux on System z)
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
18
Advanced Technical Skills, Americas
WebLogic Installation – Step 4
Start an X-Term SERVER session using a PUTTY session
– VNCSERVER is designated by a session instance #
Start an X-Term CLIENT session
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
19
Advanced Technical Skills, Americas
WebLogic Installation – Step 4.1
Use Oracle Universal Installer (OUI) to install WebLogic
– ./java -Djava.io.tmpdir=/dev -jar /wlogic/tmp/wls1032_generic.jar
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
20
Advanced Technical Skills, Americas
WebLogic Installation – Step 4.1-continued
A series of install panels will display, complete entries and click Next. Below are key panels to note:
– Verify/Enter the “Middleware Home
Directory”.
– Select “Custom” install WebLogic
Server type. This will allow you to view specific components to be installed.
• Make sure the “Server Examples” component is checked.
– Select the local IBM JDK to be used.
– Specify the WLS directory for the install within the Middleware directory.
– “Installation Summary” panel is displayed, click “Next” to start the
Install.
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
21
Advanced Technical Skills, Americas
WebLogic Installation – Step 4.1-continued
WLS “Install Begins” panel
WLS Install “Complete” panel
Check “Run Quick Start” box
Click “Done”
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
22
Advanced Technical Skills, Americas
WebLogic “Quick Start” – Step 4.2
Once the Installation Complete, the previous OUI screen graphic will disappear for several seconds (see below) and only the VNC screen will remain. Eventually the OUI “QuickStart” panel will appear.
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
23
Advanced Technical Skills, Americas
WebLogic “Quick Start” – Step 4.2-continued
The “Getting Started with
WebLogic Server 10.3.2” button is highlighted. Clicking on this button will start the
WLS “Configuration Wizard”.
Our first configuration step will be to Create a
WLS Domain.
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
24
Advanced Technical Skills, Americas
WebLogic “Quick Start” – Step 4.2-continued
A series of configuration panels will display. Below is a brief list of some of the parameters to be specified:
– Specify the WLS domain name and location. The domain will be located in the weblogic directory under user_projects
– WLS “Administrator” userid and password
– WLS domain start mode (Dev or Prod) and verify JDK used,
IBM Java 6
– You can optionally “Select modify settings for”
• “Administration Server”
– Enter Administration Server name and Listener address and Port
(Default: 7001)
• “Manager Servers, Cluster and Machines”
• “RDBMS Security Store”
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
25
Advanced Technical Skills, Americas
WebLogic “Quick Start” – Step 4.2-continued
A summary of the WLS Domain to be created is displayed, verify, and then click Create.
When completed, you are returned to the “ Quickstart ” main panel
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
26
Advanced Technical Skills, Americas
WebLogic “Quick Start” – Step 4.3
WebLogic Server Administration
– Administration Console using Internet Explorer (IE) browser
• http://<ip address for System z Linux guest>: 7011 /index.jsp
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
Click “Start the
Administration
Console”
27
Advanced Technical Skills, Americas
WebLogic “Quick Start” – Step 4.3-continued
Enter Userid and default password “welcome1”
WLS Administration Console
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
28
Advanced Technical Skills, Americas
WebLogic Sample Application
AviTek – MedRec
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
29
Advanced Technical Skills, Americas
WebLogic Sample Application: AviTek – MedRec
OOTB uses PointBase DBMS
– Not supported for enterprise-quality deployment
– Evaluation license of PointBase has a database size limit of 30
MB
PointBase server is started automatically when you start
WebLogic Server
– To access MedRec application, issue "startWebLogic.sh" script
MedRec can be configured to use DB2 or Oracle or most any database that has JDBC support.
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
30
Advanced Technical Skills, Americas
WebLogic Sample Application: AviTek – MedRec
To launch the Medical Records Application, first shut down the current WebLogic
Server instance using the Shut Down Server button in the top right corner of this panel
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
31
Advanced Technical Skills, Americas
WebLogic Sample Application: AviTek – MedRec
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
32
Advanced Technical Skills, Americas
WebLogic Sample Application: AviTek – MedRec
In the VNC session, the Firefox browser will start automatically. http://localhost:7011/medrec
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
33
Advanced Technical Skills, Americas
WebLogic Sample Application: AviTek – MedRec
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
34
Advanced Technical Skills, Americas
WebLogic References - Links
WebLogic "101" on System z Linux-Installing on Linux for System z Under zVM, IBM TechDoc’s Document ID: WP101603
– http://w3-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP101603
Oracle Fusion Middleware Release Notes 11gR1 for IBM: Linux on System z
– http://download.oracle.com/docs/cd/E15523_01/doc.1111/e15731/toc.htm
Oracle Certification Matrix:
– http://www.oracle.com/technology/software/products/ias/files/oracle%20weblogic%20p ortal%2010.3.2.x%20certification%20matrix.xls
Supported configurations:
– http://download.oracle.com/docs/cd/E13196_01/platform/suppconfigs/index.html
IBM Java 6 64bit:
– www.ibm.com/developerworks/java/jdk/linux/download.html
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
35
Advanced Technical Skills, Americas
IBM Advanced Technical Skills (ATS)
Contacts
Tim Thompson, Manager timt@us.ibm.com
Sam Amsavelu samvelu@us.ibm.com
David Simpson simpson.david@us.ibm.com
Beth Somers – esomers@us.ibm.com
Spencer Krueger skrueger@us.ibm.com
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
36
Advanced Technical Skills, Americas
z10
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
37
Advanced Technical Skills, Americas
Installing Novell SLES10 SP2
– Preparation:
Installing Linux on System z - Step 1
– Installing Linux on System z – Step 2
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
38
Advanced Technical Skills, Americas
Installing Linux on System z – Step 1.1
Main Menu: Start the Installation or
Update (4)
Start the Installation or Update:
Start the Installation or Update (1)
Source Medium: Network (2)
Network Protocal: FTP (1)
Network Device: OSA-2 (1)
More…Press the “CLEAR” key to move to the next screen.
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
39
Advanced Technical Skills, Americas
Installing Linux on System z – Step 1.2
Bus Interface: QDIO (1)
– Portname usually blank, so as to not interfere with other systems in other
LPARs that may use this card
Physical Medium: Ethernet (1)
Enable OSI Level 2 Support?: No (2)
– Selecting NO, will use OSI Layer 3
More…Press the “CLEAR” key to move to the next screen.
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
40
Advanced Technical Skills, Americas
Installing Linux on System z – Step 1.3
Auto DHCP?: Yes (1)
Enter Your IP Address: nnn.nnn.nnn.nnn
– Enter Network Mask: 255.255.255.0
Anonymous FTP? Yes (1)
ID/Name to access FTP server: _______
Password to access FTP server: ______
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
41
Advanced Technical Skills, Americas
Installing Linux on System z – Step 1.4
Use a HTTP proxy?: No (2)
Display Type: VNC (2)
– VNC Password: ________
A series of messages will be display, indicating VNC Server started and
Starting YaST2…
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
42
Advanced Technical Skills, Americas
Installing Novell SLES10 SP2 – Step 2
Installation Prompts:
– Accept License
– Configure Disk: Use EKCD disk for Linux
– Select New Installation:
• Set/Select Region and Time Zone
• Summary list of the installation items is displayed
• Confirm license agreement “I Agree”
– Install Begins:
• Creating mount point for /etc/fstab
• …several panel messages will appear…
• Confirm hardware Network cards
• Installation Complete message/panel
WebLogic on System z Linux under z/VM Technical Briefing
© 201o IBM Corporation
43