Partner Webcast – Oracle WebLogic Server 12.2.1 Multitenancy and Continuous Availability
-
Upload
oracleimc-innovation-modernization-center -
Category
Technology
-
view
979 -
download
5
Transcript of Partner Webcast – Oracle WebLogic Server 12.2.1 Multitenancy and Continuous Availability
Stay Connected
BLOGS.ORACLE.COM/IMC
TWITTER.COM/ORACLEIMC
YOUTUBE.COM/ORACLEIMCTEAM
FACEBOOK.COM/ORACLEIMC
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle WebLogic Server 12.2.1 Multitenancy and Continuous Availability Emin Askerov FMW Consultant ISV Migration Center April 21, 2016
Presented by
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
Oracle WebLogic Server 12.2.1 Overview
WebLogic Multitenancy Option Overview
WebLogic Continuous Availability Option Overview
Demonstration: Oracle WebLogic Server Multitenancy Option
Summary
Q&A
1
2
3
4
5
6
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
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.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
Oracle WebLogic Server 12.2.1 Overview
WebLogic Multitenancy Option Overview
WebLogic Continuous Availability Option Overview
Demonstration: Oracle WebLogic Server Multitenancy Option
Summary
Q&A
1
2
3
4
5
6
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle WebLogic Server 12cR2 and Coherence 12cR2 The World's First Cloud-Native, Enterprise Java Platform
Built for DevOps
Continuously Available
High Density Deployments
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle WebLogic Server and Coherence Strategic Investments
Multitenancy for Consolidation/Agility
Continuous Availability Foundation for Oracle
Cloud Platform and SaaS
WebLogic and Coherence
Oracle Paas and SaaS
Developer Productivity
Cloud Management and Operations
WebLogic Multitenancy
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle WebLogic Server and Coherence Key Delivery Platforms
Oracle Cloud
Conventional Systems
9 9
On Premises Private Cloud
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
WebLogic Multitenant: Consolidate Securely to the Cloud
3-10X Consolidation Ratio
WebLogic WebLogic WebLogic
Java Cloud Service
Microcontainer Portability for DevOps
WebLogic MT
Java Cloud Service
Secure Isolated Multitenant Java
WebLogic MT
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
WebLogic Continuous Availability: Multi Data Center Resilience
Automated Data Center Setup/Failover
Active-Active Availability
WebLogic WebLogic
Coherence
Zero Downtime Patching
Database
Security Patch
WebLogic
WebLogic WebLogic
Coherence
X Coherence
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Automated Elasticity for Dynamic Clusters
• Administration APIs for Dynamic Clusters
• Start/stop a specified number of servers
• Expand/shrink the size of the cluster
• Manage server lifecycle, quiescence
• Simple/automated scale up/down or tune
• Rules-based decisions based on capacity, demand or schedule
• Watches, Notifications become Policies, Actions
• Policies: SmartRules, Calendar-based policies
• Actions: scaleUp, scaleDown, REST, script
• Peak Loads, Geographic Patterns, Adding Partitions, Batch Processing, Rebalancing
Monitor (e.g. Load)
Action (e.g. Scale-Out)
Cluster Scale-Out
Server 1 Server 2 Server 3 Server 4
App App App App
Admin Server
SmartRules
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 13
Console/Client Admin Server
Managed Servers
Proxy MBeans
Source MBeans
Source MBeans
JMX
Console/Client Admin Server
Managed Servers
REST WebApp
REST WebApp
REST WebApp
REST (Bulk)
JMX
REST (Bulk)
REST Management
• Comprehensive
• Dynamically generated interfaces
• Lightweight
• No Java client required
• Additional integration option
• Mobile clients and 3rd-party
• Performance and Scalability
• Bulk access and local processing
• Faster response times (5x-10x)
• Applicable to MT environments
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Deploy to Partition
Export/ Import
Deploy to Cloud
Flexibility for Development and DevOps
Java Cloud Service
WebLogic
Apps Resources
WebLogic
Apps Resources
Deploy to Server
Push to Cloud
• Develop/Build
• Java EE 7, Eclipse,
Maven, Hudson
• Local or Cloud-based
• Flexible deployment
• Microcontainers
• Export/Import
• Auto-scale
• Compatibility
WebLogic
Apps Resources
Scale
Compatible, Portable,
Manageable
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
WebLogic Docker Images
• Base Image
– Oracle Linux or Red Hat (on Docker Hub)
• Install Image
– Download WebLogic installers and JDK
– WebLogic Dockerfiles to extend base image with JDK and WebLogic Server installation
• Domain Image
– Sample Dockerfile posted on GitHub to extend install image to create a domain configuration
Linux
JDK &WebLogic Server Installation
WebLogic Server Domain
Base Image
Install Image
Domain Image
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
IaaS
Public Private Same software
WebLogic Server 10.3.6, 12.1.3, 12.2.1 and Java Cloud Service
PaaS
Compute Storage
Integration
Java
Mobile Developer
Documents Process Identity
Messaging
Your Choice – Oracle Cloud On and Off Premises
Available In Oracle Cloud and coming On-Premises
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
Oracle WebLogic Server 12.2.1 Overview
WebLogic Multitenancy Option Overview
WebLogic Continuous Availability Option Overview
Demonstration: Oracle WebLogic Server Multitenancy Option
Summary
Q&A
1
2
3
4
5
6
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
WebLogic Multitenancy Option: Key Technical Concepts
Traffic Director
WebLogic Server
Partition 1
Virtual Target
App App JMS
Data Source
JNDI
Coherence
Service 1 Service 2 … Service N
Partition 1
Database
Partition 2
Virtual Target
App App JMS
Data Source
JNDI Partition 2
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Microcontainers
• Enable application encapsulation and portability
– Make it easy to move an application from cluster to cluster, domain to domain, on-premises to cloud
– Isolated runtime, administration, security, data
– Immutability and flexibility
– Ultra light weight for fast startup, disposability
Platform as a Service
• Enable density by enabling domain sharing: consolidate at the domain level
– Make it easy to deploy applications from many groups into the same WebLogic infrastructure
– Share WebLogic infrastructure and underlying resources
– Isolated management
• WebLogic Administrators manage the infrastructure
• Partition administrators manage deployments, related resources
– Isolated runtime • Security realm per “tenant”
• Work managers/resource consumption management
Software as a Service
• Enable density by enabling multiple SaaS application instances in a consolidated domain
– Make it easy to deploy additional instances of an application
– Share WebLogic infrastructure and underlying resources:
– Tailor application instance to tenant:
• Virtual Target (addresses, etc.)
• Database – pluggable database
• Other runtime resources (e.g., JMS)
– Isolated runtime • security realm, virtual target, database, work
managers/resource consumption management
• Assumption: known and trusted applications
Three Categories of Use Cases
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Multitenancy in WebLogic
• Enable high density by enabling domain sharing: consolidate/virtualize at the domain level
– Domain partitions
– Virtual targets
– Resource groups
– Resource group templates
• Enable domain sharing with isolation
– Administration, security, traffic/data, runtime
• Enable agility/devops with pluggable partitions
– Application portability
– Ultra-light container-like service packaging
Key Technical Capabilities
Apps
Resources
Microcontainer
Apps
Resources
Microcontainer
Apps
Resources
Microcontainer
Apps
Resources
Microcontainer
Apps
Resources
Microcontainer
Apps
Resources
Microcontainer
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 21
Oracle WebLogic Server 12.2.1 Multitenancy Concepts
• Key new concept is the domain partition
• Apps and resources deployed for each partition
– No application changes required
• Partitions are isolated
• WebLogic infrastructure shared among partitions
• Partitions can span clusters
• Partitions can be started/stopped independently
• Partitions can be “exported” and “imported”
• Partitions support live migration
Container Database
PDB1 PDB2
Virtual Host
App
App
JMS
Datasource
JNDI
Virtual Host
App
App
JMS
Datasource
JNDI
Partition 1 Partition 2
Web Tier
Managed Server/Cluster
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Runtime Isolation
• JDK and WebLogic partnership
• Resource Consumption Management (RCM)
• Heap, CPU, threads, requests…
Administrative Isolation
• Admin roles, lifecycle, troubleshooting
Security/Identity Isolation
• Realm, users per partition
Traffic/Data Isolation
• Dedicated JNDI, segregated data
• Dedicated and shared Coherence caches
Isolation for Pluggable Partitions Independence and Autonomy for Microcontainers
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 23
Oracle WebLogic Server 12.2.1 Example Multitenancy Configurations
Apps
Resources
Admin Server
Machine 1
Domain WAR1
Resources
WAR2
Resources
Managed Server 1
WAR1
Resources
WAR2
Resources
Managed Server 2
Machine 1 Machine 2
Cluster
Admin Server
Domain
WAR1
Resources
WAR2
Resources
Managed Server 1
WAR1
Resources
WAR2
Resources
Managed Server 2
Machine 1 Machine 2
Cluster 1 – WLS Java EE apps
Admin Server
Domain
GAR1 GAR2
Managed Server 1
GAR1 GAR2
Managed Server 2 Cluster 2 – Managed Coherence Servers
Single Server Single Partition
Single Cluster Two Partitions
Two Clusters Two Partitions
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 24
Oracle WebLogic Server 12.2.1 Multitenancy – Tools
Container Database
PDB1 PDB2
Virtual Host
App
App
JMS
Datasource
JNDI
Virtual Host
App
App
JMS
Datasource
JNDI
Partition 1 Partition 2
Web Tier
Managed Server/Cluster
• FMW Control – Primary Multitenancy Console
– Recommended for single- and multi-partition domains
– Usage with “restricted JRF” recommended
• JRF enabled on admin server, DMS only on managed servers
• No database configuration required
• WebLogic Console
– Recommended for single-partition domains only
• Enterprise Manager Cloud Control 13.1
– Supports WebLogic 12.2.1, partition monitoring/lifecycle
• WLST online, JMX, REST
– Config Wizard, WLST offline not yet partition-aware
• Partition export/import tool
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Multitenancy Benefits
Dedicated Domains
Multitenant Domains
Consolidate: Increase Density, Maintain Isolation, Reduce TCO
QA
Prod
Dev
Export
Import
Export
Import
Use Pluggable Partitions for DevOps: Increase Agility
App2
Resources
App3
Resources
Pluggable Partition
Pluggable Partition
App
Resources
Resources
Resources
App
App
App1
Resources
Pluggable Partition
Adopt Service-Based Architectures: Increase Agility
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Resource Consumption Managers
• Deep integration between WebLogic Server and the Oracle JDK
• Prevents resource hogging, protects applications in a shared JVM
• Managed resources
– Retained heap, CPU time, open file descriptors
• Triggerable actions – Notify – inform administrator that a threshold has been crossed
– Slow – reduce partition’s ability to consume resources
– Fail – reject requests for the resource (file descriptors only)
– Stop – initiate the shut down sequence for the offending partition
• “Boundaries” and Fair Share usage patterns
Runtime Isolation Within a JVM
JVM
Domain Partition
App
Heap
CPU
Open Files
Res
Res
Domain Partition
App
Heap
CPU
Open Files
Res
Res
Domain Partition
App
Heap
CPU
Open Files
Res
Res
Domain Partition
App
Heap
CPU
Open Files
Res
Res
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Multitenancy in WebLogic 12.2.1
• Agility/devops with lightweight pluggable partitions – Ultra-light container-like service packaging
• High density with domain and JVM sharing – Consolidate/virtualize within domains and
JVMs
• Isolation between microcontainers – Runtime, administration, security, data
Summary
Oracle WebLogic Server
Apps
Resources
Apps
Resources
App Svr
Apps
Resources
App Svr
Apps
Resources
WebLogic
Apps
Resources
Apps
Resources
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
Oracle WebLogic Server 12.2.1 Overview
WebLogic Multitenancy Option Overview
WebLogic Continuous Availability Option Overview
Demonstration: Oracle WebLogic Server Multitenancy Option
Summary
Q&A
1
2
3
4
5
6
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
WebLogic Continuous Availability: Multi Data Center Resilience
Automated Data Center Setup/Failover
Active Active Continuous Availability
WebLogic WebLogic
Coherence
Reduced Application Downtime
Database
Security Patch
WebLogic
WebLogic WebLogic
Coherence
X Coherence
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Zero Downtime Patching
Continuous Application Updates through automated patch rollout w/
rollback on error
Recoverable Persistent Caching
Durable storage of cached data and metadata with automated recovery
Multitenant Live Partition Migration
Migrate Running Tenant Partitions without impacting users
Reduce Application Downtime
Cluster 1 Cluster 2
Node 1
OracleHome-P1
OracleHome
ManagedServer1
ManagedServer2
Node 3
OracleHome-P1
OracleHome
ManagedServer5
ManagedServer6
Node 2
OracleHome-P1
OracleHome
ManagedServer3
ManagedServer4
Repository
Application
Co
her
ence
WebLogic
WebLogic
WebLogic
WebLogic
Part
itio
n 1
WebLogic
WebLogic
WebLogic
WebLogic
Part
itio
n 1
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Heart Beat
Oracle Traffic Director
Fast, scalable, reliable, and available load balancer
Oracle Site Guard
Provides end-to-end Disaster Recovery automation.
Operational Support for Site Failover
Global Load Balancer
Data Guard
EM Cloud Control
EMCC HOST
Mgmt service
Site Guard Plugin
EMDB Repository
WebLogic
Coherence
ZFS Replication
WebLogic
Site 1 Primary
Coherence
WebLogic
Site 2 Standby
Coherence
Oracle Traffic Director 1
Oracle Traffic Director 2
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
WebLogic Multitenant Partition Portability
• Move running partitions and resource groups from one cluster to another without impacting application users.
• Eliminate application downtime for planned events
– Capacity balancing, patching, upgrades, imminent failure, …
• Current granularity and scope: – Resource group – Clusters within a domain – Webapps – Requires OTD
• Future – All application types and protocols, including T3, RMI, JMS – Migration across domains
• Feature only used with the Continuous Availability license + Multitenant license.
Live Migration
Cluster 1 Partition 1
Cluster 2 Partition 1
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
WebLogic Automated Cross Domain Transaction Recovery Automatic Transaction Recovery
• Recovery of XA transactions of a crashed domain, or entire site by server(s) running in a different domain or different site.
– Automatic recovery after failure
– Transaction recovery in active-active application infrastructure architectures
– Requires JDBC TLog, or LLR, or No Transaction TLog write (No Tlog) feature
– Relies on TLogs being replicated by database replication technology
AGL
MS1 TM
AGL
Site1 Site2
JDBC TLog
WLS Domain
Data Guard
WLS Domain
Managed Server
TM
Managed Server
TM
WLS Domain
Managed Server
TM
Recover for MS1-Site1
JDBC TLog
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Coherence Federated Caching Local Data access in Multi-Datacenter Solutions • Distribute data grid updates
• Multiple distribution strategies
– Active/Passive • Read-only operations or off-site backup in the
passive site.
– Active/Active • Cached data is always replicated between
clusters. Applications in different sites have access to a local cluster instance.
– Hub & Spoke • The hub cluster can only send data and spoke
clusters can only receive data. Require multiple geographically dispersed copies of a cluster.
Site 3
Site 4
Site 1
Hub & Spoke Active/Passive
Active/Active
WebLogic
OTD
Coherence
Web Tier
WebLogic
OTD
Coherence
Web Tier
WebLogic
OTD
Coherence
Web Tier
WebLogic
OTD
Coherence
Web Tier
Site 2
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Coherence GoldenGate HotCache Real Time Database Updates for Your Apps
• Detect and reflect database changes in cache in real time
• During failover when DB is replicated to a secondary site the DB changes will be reflected to the cache by GoldenGate HotCache
• No code change
WebLogic Domain Web Tier
OTD1 OTD2
MS1 MS2 MS3
AGL
WLS Cluster
AGL AGL
RAC Cluster
Coherence COH2 COH3 COH1
WLS
Admin
Global Load Balancer
GoldenGate HotCache
DB Replication
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Traffic Director High Availability Traffic Routing
• Fast, reliable, and scalable software load balancer that routes HTTP(s), TCP(s) traffic to application servers and web servers in the network.
– Adjusts traffic routing to application servers depending on server availability.
– Application Administrators shape the traffic to their application tiers
– Highly availability for the load balancer
– High performance and high throughput with low latency
WebLogic Domain
Web Tier
OTD1 OTD2
MS1 MS2 MS3
AGL
WLS Cluster
AGL AGL
RAC Cluster
Coherence COH
2
COH
3
COH
1
WLS
Admin
Global Load
Balancer
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Site Guard • Provides end-to-end Disaster Recovery
automation.
– Site Configuration • Site can include DB, Application Server, WebServer,
Applications and other data center components
• Includes Site creation, EM System Creation, Credentials association, script association
– Operations • Stop/Start Site
• Switchover/Failover Site
– Integration • Loose integration with Storage
• Oracle Database using Data Guard Broker
Site1 Primary
Global Load Balancer
Enterprise Manager Cloud
Control
EM Console
EMCC HOST
Oracle Management Service
Site Guard Plugin
EMDB Repositor
y
Data Guard
Application Tier
Web Tier
Database Tier
Site Load Balancer Site2
Standby
Application Tier
Web Tier
Database Tier
Site Load Balancer
ZFS Storage Appliance
ZFS Storage Appliance
ZFS Replication
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Continuous Availability Benefits
• Integrated Solution
• Active Active Availability of Sites
• Faster Failover/Switchback
• Increases overall Application Availability
• Reduce Human Error and Risk
• Data Integrity
• Recovery of work
• Local access of real-time data
WebLogic Server Continuous Availability
• Active Active Availability
• Reduced App Downtime
• Data Center Operations
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Demonstration Oracle WebLogic Server Multitenancy Option
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
• Video & Demos
• Downloads
• Tutorials
• Whitepapers
• Documentation
• Forums
Getting Started Today: Oracle WebLogic Server
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Q&A
Emin Askerov Oracle IMC FMW Consultant [email protected] ISV Migration Center blog: http://blogs.oracle.com/imc ISV Migration Center email: [email protected]
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
• Oracle.com Partner Hub oracle.com/partners/goto/hub-ecemea
• Migration Center Team Blog blogs.oracle.com/imc
feeds.feedburner.com/oracleIMC
• Partner Webcast Recordings youtube.com/OracleIMCteam
• Partner Webcast Presentations slideshare.net/Oracle_IMC_team
Oracle Partner Hub ISV Migration Center • twitter.com/OracleIMC
• plus.google.com/+OracleIMC
• facebook.com/OracleIMC
• linkedin.com/groups/Oracle-Partner-Hub-Migration-Center-4535240
42
Stay Connected
BLOGS.ORACLE.COM/IMC
TWITTER.COM/ORACLEIMC
YOUTUBE.COM/ORACLEIMCTEAM
FACEBOOK.COM/ORACLEIMC