oracle fusion middleware 11g r1 - weblogic server for system...
TRANSCRIPT
1
Oracle Fusion Middleware 11g R1 - Weblogic Server for System z
Marc Connolly
Technical Development Director
2
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions.The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
3
• Product Overview• Fusion Middleware (FMW)• Weblogic Server (WLS) within FMW• WLS Core Convergence (Before & After)• Product Features & Certifications
• Installation• What, Where & How
• Administration and Management• Domain Basics• Development & Deployment Tools• Configuration, Management• Clustering for High Availability
• System z Deployment Perspective
• Summary
Agenda
4
Oracle Fusion Middleware
Application Server, TP – Monitor, Java VM, Grid
5
Basic Architectural Components
Apache
Apache Listener
Request Queues
J2EE Server
DB Pool Mgr
Connection Queue
Database Listener
DB Internal Q
RDMS
HTTPListener
RMIListener
Apache
6
Basic Architectural Components
Apache
Apache Listener
Request Queues
WebLogic Server*
DB Pool Mgr
Connection Queue
Database Listener
DB Internal Q
RDMS
HTTPListener
RMIListener
*Weblogic Server = J2EE Server. This is important to remember and keep in mind.
7
Oracle Fusion MiddlewareWeblogic Server
Physical or Virtual Servers
Coherence EE
JRockit Real Time
WebLogic Server
Java EE: Reliability, Availability, Scalability & Performance
High Performance, Reliable, Scale Out for Java, C++ and .NET
High Performance JVM with Extreme Low Latency
WebLogic Suite
En
terp
ris e
Man
ager
Ad
min
an
d O
pe
rati
on
s
Develo
pm
ent T
oo
ls
Jde
ve
lop
er/E
clip
se
Java EE/ISVApps
SOASuite
WebCenterSuite
ContentManagement
Suite
IdentityManagement
Suite
BusinessIntelligence
Suite
8
Convergence to WebLogic Server Core with OC4J Components in FMW 11
BEA WebLogic Server
Best of Breed Application Server
Messaging Transactions
WL RuntimeJRockit
Clustering Configuration
Oracle Application Server
TopLink WS-*
CoherenceRAC
Certification
EnterpriseManager
Diagnostics
Best of Breed Oracle Platform
Best of Breed Oracle Middleware Server
Oracle WebLogic Server
TopLink WS-*
CoherenceRAC
Certification
EnterpriseManager
Diagnostics
Messaging Transactions
WL RuntimeJRockit
Clustering Configuration
9
WebLogic Server Java EE 5.0 and Java SE 6.0
• Standards Compliant• Certified JEE 5.0 Compatible
• High Performance
• Advanced Security
• Enterprise Messaging
• Web Services
• Integrated Operations & Administration
• Integrated, Productive Development Tools
• Open Source Certified √ √Java EE Management 1.1 Java EE Management 1.1
√ √Java EE Deployment 1.2Java EE Deployment 1.2
√ √JMX 1.2JMX 1.2
√ √JTA 1.1JTA 1.1
√ √JCA 1.5JCA 1.5
√ √JNDI 1.2JNDI 1.2
√ √JMS 1.1JMS 1.1
√ √JAX-WS 2.1JAX-WS 2.1
√ √EJB 3.0EJB 3.0
√ √Servlet 2.5Servlet 2.5
√ √JSF 1.2JSF 1.2
√ √JSP 2.1JSP 2.1
√ √JDBC 3.0 √JDBC 3.0 √
5.05.0Java EEJava EE
6.06.0Java SEJava SE
Java Standard Java Standard SupportSupport
10
Web Services and SOA InfrastructureStandards Based, High Performance and Secure
WebLogic Server
XMLCatalog
JAX-WSJAX-RPC
JMSJMSSOAPSOAP
HTTPHTTPSOAPSOAP
HTTPHTTPRESTREST
JAX-BData Binding
Attachment(MTOM/SwA) JAX-R
WS-Security SAML
WS-Reliable
Messaging
BufferedWeb Services
AsynchronousWeb Services
ConversationalWeb Services
Web Services Java Programming Model – Java EE
Declarative QoS - Web Services Interoperability Infrastructure (WS-*) – Built In
Web Services Management& Web Services Manager
Web Services DevelopmentWith JDeveloper & Eclipse
WSIF
11
Certified Platform InfrastructureTested Third Party Integration
Oracle WebLogic Server
• Oracle 9.2.0.8+, 10.1.0.5+, 10.2.0.6+, 11.1.0.6+
• Informix Dynamic Server 9.2, 9.3, 9.4, 10
• DB2/400• Sybase Adaptive Server 12.5,
12.5.x, 15• DB2 UDB 8.2, 9.1, 9.5• SQLServer 2005• MySQL 4, 5
• Microsoft Active Directory• Sun Java System Directory
Server• Oracle Internet Directory
• Tibco EMS 6.0• Sonic MQ 4.3• WebSphere MQ 6.1
• Apache 2.0.x,2.2.x• IIS 6.0, 7.0• SunOne 6.1, 7.0
• Firefox 2.0• Safari 1.2, 2.0• IE 6.0, 7.0
Java SE 6.0
Linux, Windows, HP-UX, Solaris, AIX
Java EE 5.0
• .NET (JMS): Vista, 2003, XP • Tuxedo 6.5-10.0
12
Certified Platform InfrastructureSupported System Configurations
Information Available Directly on OTN
and
“My Oracle Support” (Metalink)
13
Installation Overview
14
What & Where to Download
15
• Linux• Red Hat EL 4 (UL7+)• Red Hat EL 5 (UL3+)• SLES 10 (SP2+)
• JDK• IBM Java 6 64-bit (SR4)
• Installation Modes• Console, Graphical, Silent
• Linux for System z Release Notes Recommends Console
Linux for System z Requirements
16
WebLogic Server PackagingInstallation and Deployment
Net Installer
• Small download • WebLogic Server• ~39M - Install on demand• Install footprint from 179M• Process Management• Apache Plug Ins• Can install WebLogic Workshop
Enterprise Installer
• Delivered with installer• WebLogic Server• 742M – Full distribution• Install footprint from 179M• Process Management• Apache Plug Ins• Can install WebLogic Workshop
Focus:• Scaling Infrastructure• Large complex deployments
Focus:• Simple installs aimed at developers but provides full scale deployment infrastructure
Oracle WebLogic Server
WebLogic Server
Process Management
Web Server Plug Ins
Oracle WebLogic Server
WebLogic Server
Process Management
Web Server Plug Ins
17
Administration & Management Overview
18
• Weblogic Server• Domains
• Administration Servers
• Managed Servers (Clustered, Unclustered)
• File System Layout
• Development & Deployment Tools• Management
• Configuration• System Monitoring• Clustering for High Availability
Adminstration & ManagementOverview
19
Simple Domain OrganizationBasic Concepts & File System
Domain
Admin Server /u01/app/oracle_WL
../10.3.2
../logs
../modules
../user_projects
../utils
*Admin and
DomainDomain
Managed Server(s)
Essentials:
• 1 Admin Server per Domain • 1 or More Managed Servers per Domain
– Clustered &/or Unclustered • Managed Servers get Config from Admin • Separate JVM's for each Server• Server Instances are J2EE Managed Objects
– Managed via JMX, Console, WLST •
20
Domain OrganizationMultiple Domains, Separate Machines
Cluster
Domain A
Admin Server
ManagedServer 1
ManagedServer 2
ManagedServer 3
Node Manager*
Linux
*Utility for Remote Management of Admin or Managed Servers – Domain Independent
Cluster
Domain B
Admin Server
ManagedServer 1
ManagedServer 2
ManagedServer 3
Node Manager*
Linux
Machine A Machine B
21
Domain OrganizationSingle Domain, Multiple Machines
Cluster
Domain A
Admin Server
ManagedServer 1
ManagedServer 2
ManagedServer 5
Node Manager*
Linux
*Utility for Remote Management of Admin or Managed Servers – Domain Independent
ManagedServer 3
ManagedServer 4
ManagedServer 6
Node Manager*
Linux
Machine A Machine B
22
23
Development ToolsOracle JDeveloper and Eclipse
• Oracle JDeveloper - integrated design time for Fusion Middleware
• Eclipse – standards based design time contributed to directly by Oracle
JDeveloper 11g
ADF 11g
24
Application DeploymentUsing Standard Clients and Packaging
Development Tools
WLST, weblogic.deployer & Ant Tasks
WebLogic Administration Console
Java EE DeploymentPlan (JSR 88)
Java EE EAR File
app1.jar
app2.war
app.rar
JSR 88Deploy Plan
weblogic-web.xml
weblogic.xml
weblogic-ejb-jar.xml
Java Artifacts – EARs, WARs, RARs JARs
JDBC, JMS, WLDFShared Libraries
Deploy to Individual Nodes or Clusters
WebLogic Cluster
WebLogic Domain
Node Manager
ManagedServer 1
ManagedServer 2
ManagedServer 3
25
Operations, Administration and Management
DeploymentDeployment
Diagnostics PackDiagnostics Pack
WebLogic AdministrationWebLogic AdministrationConsoleConsole
Operations ControlOperations Control
Cluster ManagementCluster Management
Operational Automation Diagnostics
Administration
Adaptability
Cluster
Configuration ManagementConfiguration ManagementConfigure
Management & Diagnostics
Domain TemplatesDomain Templates
Deploy
Provision
Operationsand
AdministrativeAutomation
Enterprise ManagerEnterprise ManagerVisibility
26
Configuration Management
Node Manager
AS Control asctl JMX Client
Grid Control
WebLogic Administration Server
Enterprise Manager WLST(Scripting)
JMX Client
DiagnosticsDiagnosticsMonitoringMonitoring WorkloadWorkloadManagementManagementLoggingLogging PerformancePerformance
LifecycleLifecycleManagementManagement
ResourceResourceConfigurationConfiguration DeploymentDeployment Web ServicesWeb Services
ManagementManagementSecurity Security
ConfigurationConfiguration
WebLogic AdministrativeConsole
27
WebLogic Administration ConsoleJava EE Configuration, Deployment, Cluster Management
28
Configuration ManagementOnline, Offline, Batch Configuration Model
• Cluster configuration• Target cluster or individual
nodes
• Lock and edit• Maintain administrator
isolation• Batch update or rollback• Optional developer mode
• Online/offline configuration• Over a thousand parameters
can be changed live• Configuration can be changed
offline
Administration Server
WebLogic Domain
Managed Server 1
Managed Server 2
Managed Server 2
Cluster 1
Managed Server 4
Managed Server 5
Managed Server 6
Cluster 2
Node Manager
29
Oracle Enterprise ManagerPlug in for Weblogic Server
• Monitor and manage multiple WebLogic domains• Monitor and manage multiple WebLogic Server versions• Single management console for entire middleware infrastructure• Expand to non-Oracle Middleware – JVM, Tomcat, WebSphere …
EM Grid Control*
WebLogic Server 10.3
Domain a
Administration Server
Managed Server 1-n
WebLogic Server 10.3
Domain b
Administration Server
Managed Server 1-n
WebLogic Server 9.2
Domain c
Administration Server
Managed Server 1-n
WebLogic Server 8.1
Domain d
Administration Server
Managed Server 1-n
*Plug-in WebLogic is built into Oracle Enterprise Manager 10g Grid Control Release 2, Release 3, and Release 4.
30
Configuration ManagementWeblogic Scripting Tool (WLST)
Choose Products and Components:
-------------------------------
Release 10.3.1.0
|_____WebLogic Server [1] x
|_____Core Application Server [1.1] x
|_____Administration Console [1.2] x
|_____Configuration Wizard and Upgrade Framework [1.3] x
|_____Web 2.0 HTTP Pub-Sub Server [1.4] x
|_____WebLogic JDBC Drivers [1.5] x
|_____Third Party JDBC Drivers [1.6] x
|_____WebLogic Server Clients [1.7] x
|_____WebLogic Web Server Plugins [1.8] x
|_____UDDI and Xquery Support [1.9] x
|_____Server Examples [1.10]
*Estimated size of installation: 487.4 MB
#============================================================================# Create JMS Servers (1 JDBC based, 1 File based)#============================================================================print 'Creating JMS Server using JDBC Store with name: MedRecJMSServer '
username = "weblogic"password = "weblogic99"connect(username,password,"t3://pazxxt04.us.oracle.com:7001")
edit()
server="MedRecServer"cd("Servers/"+server)
startEdit()cd('/')cmo.createJMSServer('MedRecJMSServer')cd('/Deployments/MedRecJMSServer')cmo.setPersistentStore(getMBean('/JDBCStores/MedRecJMSJDBCStore'))set('Targets',jarray.array([ObjectName('com.bea:Name=MedRecServer,Type=Server')], ObjectName))
save()activate()
DomainAdmin Server
DomainDomain
MedRecServer
31
Clustering for High Availability
32
ClusterManagedServer 1
Domain
ManagedServer 2
HA with WebLogic State ReplicationSurviving a Failed WebLogic Server
WAN State Replication
MAN State Replication
Global Load
Balancer
Local Load Balancer
Local LoadBalancer
Cluster 1
State 1
State 2
Cluster 2
State 3
State 4
Global Load
Balancer
Local Load Balancer
Local LoadBalancer
Cluster 1
State 1
State 2
Cluster 2
State 3
State 4
State 1
State 2
Domain StateReplication
In Memory or Database BackedAsynch or Synch
In Memory
Synchronously
Database BackedAsynch
Load Balancer
33
WebLogic Typical High Availability Topology
WLS Cluster
WLS Cluster
WLS Cluster Oracle DB
Oracle DBApacheServeror OHS
ApacheServeror OHS
Node Mgr
Node Mgr Node Mgr
WLS Cluster
FW-1LB-1
FW-2
DMZ Intranet Internet
Node Mgr Desktop
X
X
X
X
34
HA with HTTP Load BalancingRouting & Failure Support
• Load balancing• Round robin
• Supported Web servers• IIS, SunOne, Apache
• Multi-machine cluster aware• HTTP Session Replication• Uses HTTP piggy backing
• Failure aware• Failed WLSs removed from cluster• Restarted WLSs added to cluster
• Routing• Static routing
*mod_wl is not yet available on Linux for System z. Apache Servers (e.g., OHS) would have to be deployed elsewhere.
WebLogic Cluster
…
WebLogic Server
Node Manager
WLS1
JVM
WLSn
JVM
Apache ServerHTTP Server
mod_wl*
35
HA with J2EE Load BalancingRouting & Failure Support
• Lightweight Servlet Solution• HTTPClusterServlet in WLS Instance
• JDBC• Clustered Multiple DataSource's• Standard JDBC Connection Pooling• RAC Support
• EJB & RMI• Object access thru “replica-aware stub” • Gend' by java rmic compiler stub/tie class;
automatic for EJB's, manual for RMI objects• Objects Replicated Cluster-wide• State Change/Failover per J2EE spec.
• JMS• Transparent Cluster-wide Destination
Access• Automatic JMS Client Failover
WebLogic Cluster
…
WebLogic Server
WLS1
JVM
WLSn
JVM
CookiesHTTP Client
Primary & Secondary Servlet Location
HTTPClusterServlet
JVM
36
System z DeploymentPerspective
37
Test
Production
QA & Volume
Development
System z DeploymentApplication Life Cycle Environments
1
23
4
38
QA & Volume Test
Production Development
• Periodic & Structured• Usually Well Defined• More Predictable
• Less Dynamic• More Predictable
• Very Well Defined• Monitored & Studied
• Very Dynamic• Diverse• Less Predictable
Resources
System z DeploymentEnvironment Resource Demand Profiles
39
• Environment Hosting Goals• Development, QA, Volume Test, Production, Everything?• What are the SLA's (HA, DR, Performance) for Each?• Which Technology Components are Appropriate for Each?
• Physical & Operational Resource Requirements• How much of the Hosting Goals can be supported?• Who Manages What, Where, When and How?
System z DeploymentOptions, Considerations, Approaches
40
Environment Hosting GoalsMultiple Development Environments*
Cluster
Dev Domain A
Admin Server
ManagedServer 1
ManagedServer 2
ManagedServer 3
Node Manager
z/VM Linux Guest
Cluster
Dev Domain B
Admin Server
ManagedServer 1
ManagedServer 2
ManagedServer 3
LPAR
*Example: Highly Contigent Upon Customer Requirements & Preferences
41
Environment Hosting GoalsSeparate Development & QA Environments*
Cluster
Dev Domain
Admin Server
ManagedServer 1
ManagedServer 2
ManagedServer 3
Node Manager
z/VM Linux Guest
Cluster
QA Domain
Admin Server
ManagedServer 1
ManagedServer 2
ManagedServer 3
LPAR A
z/VM Linux Guest
Node Manager
*Example: Highly Contigent Upon Customer Requirements & Preferences
42
Environment Hosting GoalsDedicated Production Environment*
Cluster
Prod Domain A
Admin Server
ManagedServer 1
ManagedServer 2
ManagedServer 3
Node Manager
z/VM Linux Guest
Cluster
Prod Domain B
Admin Server
ManagedServer 1
ManagedServer 2
ManagedServer 3
Node Manager
LPAR A LPAR B
Linux in LPAR Mode
*Example: Highly Contigent Upon Customer Requirements & Preferences
43
Environment Hosting GoalsDedicated Production Environment*
Cluster
Domain A
Admin Server
ManagedServer 1
ManagedServer 2
ManagedServer 5
Node Manager
ManagedServer 3
ManagedServer 4
ManagedServer 6
Node Manager
LPAR A LPAR B
z/VM Linux Guest z/VM Linux Guest
*Example: Highly Contigent Upon Customer Requirements & Preferences
44
Physical & Operational ResourcesWhat, Where and How Much, Who Controls?
• Identify Appropriate Workloads• All Workloads are Not Necessarily Good Candidates
• Establish Informed Patterns of Deployment
• Establish SLA's (HA, DR, Performance) for Each
• Manage, Monitor, Anticipate (Cap Planning)• Oracle Enterprise Manager• Java Tooling (Jconsole, IBM's Support Assistant, etc.)• Weblogic Diagnostic Framework (WLDF)• z/VM Facilities (PerfKit), ESAMON & Linux (nmon, sar, etc.)• Load Simulation Tools (e.g., Oracle ATS)
45
Physical & Operational ResourcesManage, Monitor, Anticipate (Capacity Planning)
WebLogic Diagnostic Framework JConsole & ESAMON
Oracle Advanced Testing Suite & ESAMON nmon data analysis
46
Physical & Operational ResourcesManage, Monitor, Anticipate (Capacity Planning)
47
Use Case Illustration
48
Comprehensive Process Platform
Business Process Modeling and Design
Human Workflow Business Rules Business Events Process Analytics EAI and B2B SOA and Native BPEL
Comprehensive Process Platform
Business Process Modeling and Design
Human Workflow Business Rules Business Events Process Analytics EAI and B2B SOA and Native BPEL
Enterprise Application Adapters
JDeveloper
Data Transformation
Enterprise Data Hub Data Virtualization, Data Synchronization
XML Web Services
Java Services
Technology Adapters
Identity Services (OID, LDAP, JAZN)
Rules and Decision Services
Legacy System Adapters
Human Workflow
B2B AdapterRosettaNet, UCCNet
Application Server
Oracle BPEL PM
ADF
Portal
Process Monitor
EDI, AS2
People
Systems
Services
Partners
Notification Services (Mail, Wireless)
JDeveloper
Process Designer
• Business Process Modeling and Design
• Human Workflow
• Business Rules
• Business Events
• Process Analytics
• EAI and B2B
• SOA and Native BPEL
Comprehensive Process Platform
Oracle BPEL Process ManagerSupported in Weblogic Server
49
Oracle BPEL Process DesignerIn Jdeveloper & Eclipse Plug-in
50
Opportunity ExampleLegacy Integration Environment*
Managed ServerBPEL MQ Work
Managed ServerCICS via J2CA
Node Manager
Websphere MQ
CICS
IMS/TM
LPAR B LPAR C
z/VM Linux Guest z/OS
*Example: Highly Contigent Upon Customer Requirements & Preferences
Managed ServerIMS/TM via J2CA
Admin Server
Managed ServerJ2EE Presentation
Managed ServerJ2EE Business
Node Manager
LPAR A
z/VM Linux Guestz/VM Linux Guest
Domain A
51
• Product Overview• Fusion Middleware (FMW)
• Weblogic Server (WLS) within FMW
• WLS Core Convergence (Before & After)
• Basic Architecture & Product Features
• Installation• What, Where & How
• Administration and Management• Domain Basics• Development Tools, Configuration, Management, Clustering, HA
• System z Deployment
• Q/A
Summary
52