SlideShare a Scribd company logo
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Changes in WebLogic 12.1.3
Every Administrator Must Know
Bruno Borges
Principal Product Manager
Oracle Latin America
August, 2014
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
• Bruno Borges
– Principal Product Manager, Java Evangelist
– Oracle Latin America
– @brunoborges
– bruno.borges@oracle.com
Speaker
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
1. Installation, Patching, and Configuration
2. NodeManagers in WLS 12.1.3 and Beyond
3. High Availability
4. RESTful Management
5. Partial Java EE 7 Support in WLS 12.1.3
6. WebLogic New Features on Exalogic
7. A Reminder: Java Mission Control and Flight Recorder
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Installation, Patching, and Configuration
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
• For Administrators
– Oracle Universal Installer
• OUI Generic Installer ~881MB
– No console mode
• Silent mode with “response file”
• For Developers
– ZIP for Developers ~190MB
– OEPE Bundle Installer ~2GB
WebLogic 12.1.2 and 12.1.3 – Installation
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
WebLogic 12c Silent Mode Installation with OUI
$> cat oraInst.loc
inventory_loc=/u01/oracle/.inventory
inst_group=oracle
$> java -jar 
fmw_12.1.3.0.0_wls.jar 
-silent 
-responseFile /tmp/response-file-wls1213.install
-invPtrLoc /tmp/oraInst.loc
-jreLoc /u01/jvm/java-7-oracle
$> cat /tmp/response-file-wls1213.install
[ENGINE]
Response File Version=1.0.0.0.0
[GENERIC]
ORACLE_HOME=/u01/oracle/home
INSTALL_TYPE=Complete with Examples
MYORACLESUPPORT_USERNAME=
MYORACLESUPPORT_PASSWORD=<SECURE VALUE>
DECLINE_SECURITY_UPDATES=true
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
PROXY_HOST=
PROXY_PORT=
PROXY_USER=
PROXY_PWD=<SECURE VALUE>
COLLECTOR_SUPPORTHUB_URL=
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
• Standardized on OPatch
– $ORACLE_HOME/OPatch
• Common commands:
– apply
– napply
– lsinventory
– rollback / nrollback
• Applying a patch
$> opatch apply $PATH_TO_PATCH_DIR
WebLogic 12.1.2 and Beyond – Patching
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
• Use Configuration Wizard
• In headless environments
– WLST
– Unpack
– Maven
– Last option: java weblogic.Server :-)
• Known Linux issue
– Set environment variable
CONFIG_JVM_ARGS with
-Djava.security.egd=file:/dev/./urandom
Domain Configuration
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Domain Configuration Wizard Hidden Gem for Devs
• New Configuration Settings
export CONFIG_JVM_ARGS=-Dcom.oracle.cie.config.showProfile=true
$WL_HOME/common/bin/config.sh
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
NodeManagers in WLS 12.1.3 and Beyond
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
NodeManager
• Per-Host Configuration
– Multiple Domains enrolled for one NodeManager instance in a Machine
Machine
Domain A Domain B
Node
Manager
ServerA1
ServerA2
ServerA3
ServerB1
ServerB2
Admin Console
WLST
Admin Console
WLST
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
NodeManager
• Per-Domain Configuration
– Multiple NodeManagers in same Machine
– One Domain only per NodeManager
– Easier setup; works with (un)pack
Machine
Domain A
Domain B
DomainA
Node
ManagerServerA1
ServerA2
ServerA3
ServerB1
ServerB2
Admin Console
WLST
Admin Console
WLST
DomainB
Node
Manager
$DOMAIN_HOME/bin/startNodeManager.sh
$DOMAIN_HOME/nodemanager/nodemanager.properties
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Upgrade Path for NodeManagers
Node Manager Upgrade Paths From 12.1.2 or Earlier From 12.1.2 or Greater
Per-domain to per-domain Not available Not available
Per-domain to per-host Not available Not supported
Per-host to per-domain Supported Supported
Per-host to per-host Manual Manual
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Reconfiguration Wizard / WLST
• If existing configuration is per-domain, wizard automatically updates config
to work in 12.1.3 without any input by user
• If is per-host, then shows Node Manager configuration page. User is
required to define extra parameters
cd $WL_HOME/common/bin
./reconfig.sh
readDomainForUpgrade(‘/u01/domains/wlsadmin’)
cd(‘wlsadmin’)
updateDomain()
closeDomain()
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
High Availability
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Dynamic Clusters Recap
Simplified Configuration with Scalability and Elasticity
Simplified Initial Cluster Configuration
Deliver Next Generation Applications
with a Mission Critical Cloud Platform
Simplified Operations for Cluster Scale Out
Server 1
Dynamic Cluster 1
Server 2
Server Template
Server 1
Dynamic Cluster 1
Server 2
Server Template
Server 3 Server 4
Server 5 Server 6
Server 7 Server 8
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
WebLogic Server 12.1.3 – Cloud Scale Management
Dynamic Clusters Update
Oracle Confidential – Internal/Restricted/Highly Restricted 18
• WebLogic 12.1.2 dynamic clusters
support JMS
• WebLogic 12.1.3 adds Whole
Server Migration support
• Roadmap for providing ASM,
UOO, SAF in 12cR2
Simplify Configuration of
HA JMS Clusters Dynamic Clusters
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Whole Server Migration for Dynamic Clusters
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
RESTful Management
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
REST Management
• REST is practical
– Does not require any software previously installed in any device
– Standard, lightweight, simple, and cross-platform to manage WLS
• Works in the Cloud
– Natural way to interface with systems hosted in the Cloud
• Mobile
– Easy to implement Mobile clients
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Enabling RESTful Management Resources
• On the Admin Web Console, select Domain, click Advanced, and choose
“Enable RESTful Management Services”
• Or use WLST:
connect(‘weblogic’, ‘Welcome1’, ‘host01’)
edit()
startEdit()
rest=getMBean(‘RestfulManagementServices/’ + domainName)
rest.setEnabled(true)
activate()
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Executing REST Requests
$ curl –v 
--user weblogic:Welcome1 
-H X-Requested-By:MyClient 
-H Accept:application/json 
-X GET http://host01:7001/management/wls/latest
Path Description
/configManager Manages the administration edit session
/datasources Manages Data Sources
/servers Manages servers
/deployments Manages application deployments
/jobs Lists all running tasks in domain
/targets Lists all servers/clusters in the domain
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Modifying Data Sources through REST
$ curl -v --user weblogic:Welcome1 
-H X-Requested-By:MyClient 
-H Accept:application/json 
-X OPTIONS 
http://host01:7001/management/wls/latest/datasources > dsopt.txt
$ curl -v --user weblogic:Welcome1 
-H X-Requested-By:MyClient 
-H Accept:application/json 
-H Content-Type:application/json 
-D '`cat dsopt.txt`' 
-X POST http://host01:7001/management/wls/latest/datasources
• Extract information about datasources into ‘dsopt.txt’
• Modify file and upload back to the Admin server to apply changes
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Deleting a Data Source through REST
$ curl -v --user weblogic:Welcome1 
-H X-Requested-By:MyClient 
-H Accept:application/json 
-X DELETE 
http://host01:7001/management/wls/latest/datasources/id/MyDataSource-0
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Partial Java EE 7 Support in WLS 12.1.3
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Partially Supported APIs
• Enabled by default
– WebSockets 1.0
– JSON-P 1.0
• JAX-RS 2.0
– Defaults to JAX-RS 1.1 (Java EE 6)
– By deploying jax-rs-2.0.war shared library
– Then referenced by applications
• JPA 2.1
– Defaults to JPA 2.0 (Java EE 6)
– By adjusting commEnv.sh PRE_CLASSPATH
• Or apply patch 17814796 (MOS; OPatch)
– Application persistence.xml must set JPA version = 2.1
PRE_CLASSPATH=$MW_HOME/oracle_common/modules/javax
.persistence_2.1.jar:$MW_HOME/wlserver/modules/com.oracl
e.weblogic.jpa21support_1.0.0.0_2-1.jar
<weblogic-web-app>
<library-ref>
<library-name>jax-rs</library-name>
<specification-version>2.0</specification-version>
</library-ref>
</weblogic-web-app>
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
WebLogic New Features on Exalogic
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
• 4 to 30 Compute Nodes
– Intel 2.7GHz Xeon 12-core
• 1 TB to 7.5 TB RAM (256 GB each node)
• ZFS Storage 80 TB
• InfiniBand Gateway 40Gb/s
• Oracle Fusion Middleware
• Cloud Management Control
• Optimizations
Oracle Engineered Systems – Exalogic X4-2
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Replicated Store for WebLogic on Exalogic
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Replicated Store for WebLogic on Exalogic
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Cooperative Memory Management
• WebLogic Servers react to work overload by reading memory usage in a
machine
• Reactions may be
– Reducing cache sizes
– Compressing in-memory data
– Rejecting new work
• Servers recover gracefully as system improves
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
JDBC Statement Cache Adapting
-Dweblogic.jdbc.cmm.statementCacheWeights=
1=10,2=10,3=10,4=10,5=10,
6=10,7=10,8=10,9=10,10=10
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
JDBC Statement Cache Adapting
-Dweblogic.jdbc.cmm.statementCacheWeights=
2=20,4=20,6=20,8=20,10=20
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Data Source Connection Shrinking
• Memory Pressure Default Threshold
• When memory pressure hits configured
threshold an event is fired and
pool is shrinked
• When goes above another event is fired
to shrink connection pool again
• How to configure (CMM must be enabled; see doc)
-Dweblogic.jdbc.cmm.shrinkThreshold=[0-10]
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Java Mission Control and Flight Recorder
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
• Tool to monitor Java processes in
real time
• Bundled with Oracle JDK >= 7u40
• Access to Local and Remote JVMs
– Secured access feature available
• Run ‘jmc’
Mission Control
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Flight Recorder
• Circular Flight Recording Buffer
– Minimum overhead;
– user defined size/age
• JVM Event Producer
• WebLogic Event Producer (WLDF)
• Custom Event Producers
• How to enable
-XX:+UnlockCommercialFeatures -XX:+FlightRecorder
• How to invoke on demand
$ jcmd 5368 JFR.start duration=60s filename=myrecording.jfr
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The preceding 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 © 2014, Oracle and/or its affiliates. All rights reserved. |
Changes in weblogic12c_every_administrator_must_know-140812141929

More Related Content

PDF
Performance Tuning Oracle Weblogic Server 12c
PDF
Changes in WebLogic 12.1.3 Every Administrator Must Know
PDF
Weblogic Administration Managed Server migration
DOC
weblogic perfomence tuning
PPTX
Weblogic application server
PDF
Oracle WebLogic 11g Topology
PPTX
Weblogic12 c installation guide
PDF
Learn Oracle WebLogic Server 12c Administration
Performance Tuning Oracle Weblogic Server 12c
Changes in WebLogic 12.1.3 Every Administrator Must Know
Weblogic Administration Managed Server migration
weblogic perfomence tuning
Weblogic application server
Oracle WebLogic 11g Topology
Weblogic12 c installation guide
Learn Oracle WebLogic Server 12c Administration

What's hot (20)

PDF
Oracle Failover Database Cluster with Grid Infrastructure 12c
PDF
Oracle Web Logic server
PDF
Oracle WebLogic Diagnostics & Perfomance tuning
PDF
Oracle Database Cloud Fleet Maintenance
PPTX
How WebLogic 12c Can Boost Your Productivity
PDF
Weblogic 11g admin basic with screencast
PDF
Weblogic server administration
PDF
Reference architectures shows a microservices deployed to Kubernetes
PDF
Oracle WebLogic Server: Remote Monitoring and Management
PDF
WebLogic FAQs
PDF
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
PDF
Weblogic security
PDF
Flex Your Database on 12c's Flex ASM and Flex Cluster
PDF
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
PDF
A Deep Dive into ASM Redundancy in Exadata
PPTX
2013 11-19-hoya-status
PPT
Weblogic configuration & administration
PDF
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
PDF
RAC Attack 12c Installation Instruction
PDF
Oracle WebLogic Server 12c with Docker
Oracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Web Logic server
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle Database Cloud Fleet Maintenance
How WebLogic 12c Can Boost Your Productivity
Weblogic 11g admin basic with screencast
Weblogic server administration
Reference architectures shows a microservices deployed to Kubernetes
Oracle WebLogic Server: Remote Monitoring and Management
WebLogic FAQs
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
Weblogic security
Flex Your Database on 12c's Flex ASM and Flex Cluster
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
A Deep Dive into ASM Redundancy in Exadata
2013 11-19-hoya-status
Weblogic configuration & administration
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
RAC Attack 12c Installation Instruction
Oracle WebLogic Server 12c with Docker
Ad

Similar to Changes in weblogic12c_every_administrator_must_know-140812141929 (20)

PDF
12 Things about Oracle WebLogic Server 12c
PDF
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
PPTX
Weblogic 101 for dba
PDF
Weblogic server administration
PPT
weblogic training | oracle weblogic online training | weblogic server course
PPTX
Weblogic
PPT
Oracle Weblogic for EBS and obiee (R12.2)
PDF
Oracle Weblogic 11g admin guide 2
PDF
WebLogic for DBAs
TXT
WEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DEC
PDF
WebLogic 12c & WebLogic Mgmt Pack
PDF
Weblogic installation in linux
DOCX
Stop start bi 11g
PPT
Ugf9796 weblogic for ebs and obiee
PPT
Weblogic server-overview-weblogic-scripting-tool0-1228252752844434-9
DOCX
Weblogic 12c Graphical Mode installation steps in Windows
DOCX
12c weblogic installation steps for Windows
PPT
Weblogic Server Overview Weblogic Scripting Tool
PDF
WebLogic JMX for DevOps
PDF
Installation and c onfiguration
12 Things about Oracle WebLogic Server 12c
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
Weblogic 101 for dba
Weblogic server administration
weblogic training | oracle weblogic online training | weblogic server course
Weblogic
Oracle Weblogic for EBS and obiee (R12.2)
Oracle Weblogic 11g admin guide 2
WebLogic for DBAs
WEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DEC
WebLogic 12c & WebLogic Mgmt Pack
Weblogic installation in linux
Stop start bi 11g
Ugf9796 weblogic for ebs and obiee
Weblogic server-overview-weblogic-scripting-tool0-1228252752844434-9
Weblogic 12c Graphical Mode installation steps in Windows
12c weblogic installation steps for Windows
Weblogic Server Overview Weblogic Scripting Tool
WebLogic JMX for DevOps
Installation and c onfiguration
Ad

Recently uploaded (20)

PPTX
ognitive-behavioral therapy, mindfulness-based approaches, coping skills trai...
PPTX
Protein & Amino Acid Structures Levels of protein structure (primary, seconda...
PDF
IFIT3 RNA-binding activity primores influenza A viruz infection and translati...
PPTX
BIOMOLECULES PPT........................
PDF
Phytochemical Investigation of Miliusa longipes.pdf
PPTX
Microbiology with diagram medical studies .pptx
PDF
ELS_Q1_Module-11_Formation-of-Rock-Layers_v2.pdf
PDF
VARICELLA VACCINATION: A POTENTIAL STRATEGY FOR PREVENTING MULTIPLE SCLEROSIS
PDF
Placing the Near-Earth Object Impact Probability in Context
PPTX
Taita Taveta Laboratory Technician Workshop Presentation.pptx
PPTX
G5Q1W8 PPT SCIENCE.pptx 2025-2026 GRADE 5
PPT
protein biochemistry.ppt for university classes
PPT
POSITIONING IN OPERATION THEATRE ROOM.ppt
PPTX
ECG_Course_Presentation د.محمد صقران ppt
PPTX
cpcsea ppt.pptxssssssssssssssjjdjdndndddd
PPTX
Cell Membrane: Structure, Composition & Functions
PPTX
Introduction to Fisheries Biotechnology_Lesson 1.pptx
PPTX
INTRODUCTION TO EVS | Concept of sustainability
PDF
An interstellar mission to test astrophysical black holes
PPTX
2. Earth - The Living Planet Module 2ELS
ognitive-behavioral therapy, mindfulness-based approaches, coping skills trai...
Protein & Amino Acid Structures Levels of protein structure (primary, seconda...
IFIT3 RNA-binding activity primores influenza A viruz infection and translati...
BIOMOLECULES PPT........................
Phytochemical Investigation of Miliusa longipes.pdf
Microbiology with diagram medical studies .pptx
ELS_Q1_Module-11_Formation-of-Rock-Layers_v2.pdf
VARICELLA VACCINATION: A POTENTIAL STRATEGY FOR PREVENTING MULTIPLE SCLEROSIS
Placing the Near-Earth Object Impact Probability in Context
Taita Taveta Laboratory Technician Workshop Presentation.pptx
G5Q1W8 PPT SCIENCE.pptx 2025-2026 GRADE 5
protein biochemistry.ppt for university classes
POSITIONING IN OPERATION THEATRE ROOM.ppt
ECG_Course_Presentation د.محمد صقران ppt
cpcsea ppt.pptxssssssssssssssjjdjdndndddd
Cell Membrane: Structure, Composition & Functions
Introduction to Fisheries Biotechnology_Lesson 1.pptx
INTRODUCTION TO EVS | Concept of sustainability
An interstellar mission to test astrophysical black holes
2. Earth - The Living Planet Module 2ELS

Changes in weblogic12c_every_administrator_must_know-140812141929

  • 1. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Changes in WebLogic 12.1.3 Every Administrator Must Know Bruno Borges Principal Product Manager Oracle Latin America August, 2014
  • 2. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | • Bruno Borges – Principal Product Manager, Java Evangelist – Oracle Latin America – @brunoborges – bruno.borges@oracle.com Speaker
  • 3. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Program Agenda 1. Installation, Patching, and Configuration 2. NodeManagers in WLS 12.1.3 and Beyond 3. High Availability 4. RESTful Management 5. Partial Java EE 7 Support in WLS 12.1.3 6. WebLogic New Features on Exalogic 7. A Reminder: Java Mission Control and Flight Recorder
  • 4. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Installation, Patching, and Configuration
  • 5. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | • For Administrators – Oracle Universal Installer • OUI Generic Installer ~881MB – No console mode • Silent mode with “response file” • For Developers – ZIP for Developers ~190MB – OEPE Bundle Installer ~2GB WebLogic 12.1.2 and 12.1.3 – Installation
  • 6. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | WebLogic 12c Silent Mode Installation with OUI $> cat oraInst.loc inventory_loc=/u01/oracle/.inventory inst_group=oracle $> java -jar fmw_12.1.3.0.0_wls.jar -silent -responseFile /tmp/response-file-wls1213.install -invPtrLoc /tmp/oraInst.loc -jreLoc /u01/jvm/java-7-oracle $> cat /tmp/response-file-wls1213.install [ENGINE] Response File Version=1.0.0.0.0 [GENERIC] ORACLE_HOME=/u01/oracle/home INSTALL_TYPE=Complete with Examples MYORACLESUPPORT_USERNAME= MYORACLESUPPORT_PASSWORD=<SECURE VALUE> DECLINE_SECURITY_UPDATES=true SECURITY_UPDATES_VIA_MYORACLESUPPORT=false PROXY_HOST= PROXY_PORT= PROXY_USER= PROXY_PWD=<SECURE VALUE> COLLECTOR_SUPPORTHUB_URL=
  • 7. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | • Standardized on OPatch – $ORACLE_HOME/OPatch • Common commands: – apply – napply – lsinventory – rollback / nrollback • Applying a patch $> opatch apply $PATH_TO_PATCH_DIR WebLogic 12.1.2 and Beyond – Patching
  • 8. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | • Use Configuration Wizard • In headless environments – WLST – Unpack – Maven – Last option: java weblogic.Server :-) • Known Linux issue – Set environment variable CONFIG_JVM_ARGS with -Djava.security.egd=file:/dev/./urandom Domain Configuration
  • 9. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Domain Configuration Wizard Hidden Gem for Devs • New Configuration Settings export CONFIG_JVM_ARGS=-Dcom.oracle.cie.config.showProfile=true $WL_HOME/common/bin/config.sh
  • 10. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | NodeManagers in WLS 12.1.3 and Beyond
  • 11. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | NodeManager • Per-Host Configuration – Multiple Domains enrolled for one NodeManager instance in a Machine Machine Domain A Domain B Node Manager ServerA1 ServerA2 ServerA3 ServerB1 ServerB2 Admin Console WLST Admin Console WLST
  • 12. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | NodeManager • Per-Domain Configuration – Multiple NodeManagers in same Machine – One Domain only per NodeManager – Easier setup; works with (un)pack Machine Domain A Domain B DomainA Node ManagerServerA1 ServerA2 ServerA3 ServerB1 ServerB2 Admin Console WLST Admin Console WLST DomainB Node Manager $DOMAIN_HOME/bin/startNodeManager.sh $DOMAIN_HOME/nodemanager/nodemanager.properties
  • 13. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Upgrade Path for NodeManagers Node Manager Upgrade Paths From 12.1.2 or Earlier From 12.1.2 or Greater Per-domain to per-domain Not available Not available Per-domain to per-host Not available Not supported Per-host to per-domain Supported Supported Per-host to per-host Manual Manual
  • 14. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Reconfiguration Wizard / WLST • If existing configuration is per-domain, wizard automatically updates config to work in 12.1.3 without any input by user • If is per-host, then shows Node Manager configuration page. User is required to define extra parameters cd $WL_HOME/common/bin ./reconfig.sh readDomainForUpgrade(‘/u01/domains/wlsadmin’) cd(‘wlsadmin’) updateDomain() closeDomain()
  • 15. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | High Availability
  • 16. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Dynamic Clusters Recap Simplified Configuration with Scalability and Elasticity Simplified Initial Cluster Configuration Deliver Next Generation Applications with a Mission Critical Cloud Platform Simplified Operations for Cluster Scale Out Server 1 Dynamic Cluster 1 Server 2 Server Template Server 1 Dynamic Cluster 1 Server 2 Server Template Server 3 Server 4 Server 5 Server 6 Server 7 Server 8
  • 17. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | WebLogic Server 12.1.3 – Cloud Scale Management Dynamic Clusters Update Oracle Confidential – Internal/Restricted/Highly Restricted 18 • WebLogic 12.1.2 dynamic clusters support JMS • WebLogic 12.1.3 adds Whole Server Migration support • Roadmap for providing ASM, UOO, SAF in 12cR2 Simplify Configuration of HA JMS Clusters Dynamic Clusters
  • 18. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Whole Server Migration for Dynamic Clusters
  • 19. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | RESTful Management
  • 20. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | REST Management • REST is practical – Does not require any software previously installed in any device – Standard, lightweight, simple, and cross-platform to manage WLS • Works in the Cloud – Natural way to interface with systems hosted in the Cloud • Mobile – Easy to implement Mobile clients
  • 21. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Enabling RESTful Management Resources • On the Admin Web Console, select Domain, click Advanced, and choose “Enable RESTful Management Services” • Or use WLST: connect(‘weblogic’, ‘Welcome1’, ‘host01’) edit() startEdit() rest=getMBean(‘RestfulManagementServices/’ + domainName) rest.setEnabled(true) activate()
  • 22. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Executing REST Requests $ curl –v --user weblogic:Welcome1 -H X-Requested-By:MyClient -H Accept:application/json -X GET http://host01:7001/management/wls/latest Path Description /configManager Manages the administration edit session /datasources Manages Data Sources /servers Manages servers /deployments Manages application deployments /jobs Lists all running tasks in domain /targets Lists all servers/clusters in the domain
  • 23. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Modifying Data Sources through REST $ curl -v --user weblogic:Welcome1 -H X-Requested-By:MyClient -H Accept:application/json -X OPTIONS http://host01:7001/management/wls/latest/datasources > dsopt.txt $ curl -v --user weblogic:Welcome1 -H X-Requested-By:MyClient -H Accept:application/json -H Content-Type:application/json -D '`cat dsopt.txt`' -X POST http://host01:7001/management/wls/latest/datasources • Extract information about datasources into ‘dsopt.txt’ • Modify file and upload back to the Admin server to apply changes
  • 24. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Deleting a Data Source through REST $ curl -v --user weblogic:Welcome1 -H X-Requested-By:MyClient -H Accept:application/json -X DELETE http://host01:7001/management/wls/latest/datasources/id/MyDataSource-0
  • 25. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Partial Java EE 7 Support in WLS 12.1.3
  • 26. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Partially Supported APIs • Enabled by default – WebSockets 1.0 – JSON-P 1.0 • JAX-RS 2.0 – Defaults to JAX-RS 1.1 (Java EE 6) – By deploying jax-rs-2.0.war shared library – Then referenced by applications • JPA 2.1 – Defaults to JPA 2.0 (Java EE 6) – By adjusting commEnv.sh PRE_CLASSPATH • Or apply patch 17814796 (MOS; OPatch) – Application persistence.xml must set JPA version = 2.1 PRE_CLASSPATH=$MW_HOME/oracle_common/modules/javax .persistence_2.1.jar:$MW_HOME/wlserver/modules/com.oracl e.weblogic.jpa21support_1.0.0.0_2-1.jar <weblogic-web-app> <library-ref> <library-name>jax-rs</library-name> <specification-version>2.0</specification-version> </library-ref> </weblogic-web-app>
  • 27. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | WebLogic New Features on Exalogic
  • 28. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | • 4 to 30 Compute Nodes – Intel 2.7GHz Xeon 12-core • 1 TB to 7.5 TB RAM (256 GB each node) • ZFS Storage 80 TB • InfiniBand Gateway 40Gb/s • Oracle Fusion Middleware • Cloud Management Control • Optimizations Oracle Engineered Systems – Exalogic X4-2
  • 29. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Replicated Store for WebLogic on Exalogic
  • 30. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Replicated Store for WebLogic on Exalogic
  • 31. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Cooperative Memory Management • WebLogic Servers react to work overload by reading memory usage in a machine • Reactions may be – Reducing cache sizes – Compressing in-memory data – Rejecting new work • Servers recover gracefully as system improves
  • 32. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | JDBC Statement Cache Adapting -Dweblogic.jdbc.cmm.statementCacheWeights= 1=10,2=10,3=10,4=10,5=10, 6=10,7=10,8=10,9=10,10=10
  • 33. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | JDBC Statement Cache Adapting -Dweblogic.jdbc.cmm.statementCacheWeights= 2=20,4=20,6=20,8=20,10=20
  • 34. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Data Source Connection Shrinking • Memory Pressure Default Threshold • When memory pressure hits configured threshold an event is fired and pool is shrinked • When goes above another event is fired to shrink connection pool again • How to configure (CMM must be enabled; see doc) -Dweblogic.jdbc.cmm.shrinkThreshold=[0-10]
  • 35. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Java Mission Control and Flight Recorder
  • 36. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | • Tool to monitor Java processes in real time • Bundled with Oracle JDK >= 7u40 • Access to Local and Remote JVMs – Secured access feature available • Run ‘jmc’ Mission Control
  • 37. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Flight Recorder • Circular Flight Recording Buffer – Minimum overhead; – user defined size/age • JVM Event Producer • WebLogic Event Producer (WLDF) • Custom Event Producers • How to enable -XX:+UnlockCommercialFeatures -XX:+FlightRecorder • How to invoke on demand $ jcmd 5368 JFR.start duration=60s filename=myrecording.jfr
  • 38. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The preceding 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.
  • 39. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |