SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

2013 11-19-hoya-status
2013 11-19-hoya-status2013 11-19-hoya-status
2013 11-19-hoya-status
Steve Loughran
 
Weblogic configuration & administration
Weblogic   configuration & administrationWeblogic   configuration & administration
Weblogic configuration & administration
Muhammad Mansoor
 

Was ist angesagt? (20)

Oracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cOracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12c
 
Oracle Web Logic server
Oracle Web Logic serverOracle Web Logic server
Oracle Web Logic server
 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuning
 
Oracle Database Cloud Fleet Maintenance
Oracle Database Cloud Fleet MaintenanceOracle Database Cloud Fleet Maintenance
Oracle Database Cloud Fleet Maintenance
 
How WebLogic 12c Can Boost Your Productivity
How WebLogic 12c Can Boost Your ProductivityHow WebLogic 12c Can Boost Your Productivity
How WebLogic 12c Can Boost Your Productivity
 
Weblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencastWeblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencast
 
Weblogic server administration
Weblogic server administrationWeblogic server administration
Weblogic server administration
 
Reference architectures shows a microservices deployed to Kubernetes
Reference architectures shows a microservices deployed to KubernetesReference architectures shows a microservices deployed to Kubernetes
Reference architectures shows a microservices deployed to Kubernetes
 
Oracle WebLogic Server: Remote Monitoring and Management
Oracle WebLogic Server: Remote Monitoring and ManagementOracle WebLogic Server: Remote Monitoring and Management
Oracle WebLogic Server: Remote Monitoring and Management
 
WebLogic FAQs
WebLogic FAQsWebLogic FAQs
WebLogic FAQs
 
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
 
Weblogic security
Weblogic securityWeblogic security
Weblogic security
 
Flex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex ClusterFlex Your Database on 12c's Flex ASM and Flex Cluster
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...
What You Should Know About WebLogic Server 12c (12.2.1.2)  #oow2015 #otntour2...What You Should Know About WebLogic Server 12c (12.2.1.2)  #oow2015 #otntour2...
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
 
A Deep Dive into ASM Redundancy in Exadata
A Deep Dive into ASM Redundancy in ExadataA Deep Dive into ASM Redundancy in Exadata
A Deep Dive into ASM Redundancy in Exadata
 
2013 11-19-hoya-status
2013 11-19-hoya-status2013 11-19-hoya-status
2013 11-19-hoya-status
 
Weblogic configuration & administration
Weblogic   configuration & administrationWeblogic   configuration & administration
Weblogic configuration & administration
 
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASMRACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
 
RAC Attack 12c Installation Instruction
RAC Attack 12c Installation InstructionRAC Attack 12c Installation Instruction
RAC Attack 12c Installation Instruction
 
Oracle WebLogic Server 12c with Docker
Oracle WebLogic Server 12c with DockerOracle WebLogic Server 12c with Docker
Oracle WebLogic Server 12c with Docker
 

Ähnlich wie Changes in weblogic12c_every_administrator_must_know-140812141929

WLS12c_NewFeatures_Basics
WLS12c_NewFeatures_BasicsWLS12c_NewFeatures_Basics
WLS12c_NewFeatures_Basics
Sudhesh Pnair
 
Ebs performance tuning session feb 13 2013---Presented by Oracle
Ebs performance tuning session  feb 13 2013---Presented by OracleEbs performance tuning session  feb 13 2013---Presented by Oracle
Ebs performance tuning session feb 13 2013---Presented by Oracle
Akash Pramanik
 

Ähnlich wie Changes in weblogic12c_every_administrator_must_know-140812141929 (20)

What's New and Noteworthy on Oracle CAF 12.1.3
What's New and Noteworthy on Oracle CAF 12.1.3What's New and Noteworthy on Oracle CAF 12.1.3
What's New and Noteworthy on Oracle CAF 12.1.3
 
New Not Your Father's Enterprise Manager
New Not Your Father's Enterprise ManagerNew Not Your Father's Enterprise Manager
New Not Your Father's Enterprise Manager
 
Java EE 7 for WebLogic 12c Developers
Java EE 7 for WebLogic 12c DevelopersJava EE 7 for WebLogic 12c Developers
Java EE 7 for WebLogic 12c Developers
 
Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dba
 
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
 
WebLogic 12c - OMF Canberra June 2014
WebLogic 12c - OMF Canberra June 2014WebLogic 12c - OMF Canberra June 2014
WebLogic 12c - OMF Canberra June 2014
 
E business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administratorsE business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administrators
 
E business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administratorsE business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administrators
 
MySQL Webinar 2/4 Performance tuning, hardware, optimisation
MySQL Webinar 2/4 Performance tuning, hardware, optimisationMySQL Webinar 2/4 Performance tuning, hardware, optimisation
MySQL Webinar 2/4 Performance tuning, hardware, optimisation
 
WLS12c_NewFeatures_Basics
WLS12c_NewFeatures_BasicsWLS12c_NewFeatures_Basics
WLS12c_NewFeatures_Basics
 
TWJUG August, MySQL JDBC Driver "Connector/J"
TWJUG August, MySQL JDBC Driver "Connector/J"TWJUG August, MySQL JDBC Driver "Connector/J"
TWJUG August, MySQL JDBC Driver "Connector/J"
 
GlassFish in Production Environments
GlassFish in Production EnvironmentsGlassFish in Production Environments
GlassFish in Production Environments
 
Provisioning Oracle Fusion Middleware Environments with Chef and Puppet
Provisioning Oracle Fusion Middleware Environments with Chef and PuppetProvisioning Oracle Fusion Middleware Environments with Chef and Puppet
Provisioning Oracle Fusion Middleware Environments with Chef and Puppet
 
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoOracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
 
Extending Build to the Client: A Maven User's Guide to Grunt.js
Extending Build to the Client: A Maven User's Guide to Grunt.jsExtending Build to the Client: A Maven User's Guide to Grunt.js
Extending Build to the Client: A Maven User's Guide to Grunt.js
 
Ebs performance tuning session feb 13 2013---Presented by Oracle
Ebs performance tuning session  feb 13 2013---Presented by OracleEbs performance tuning session  feb 13 2013---Presented by Oracle
Ebs performance tuning session feb 13 2013---Presented by Oracle
 
Elastic Scalability in MySQL Fabric Using OpenStack
Elastic Scalability in MySQL Fabric Using OpenStackElastic Scalability in MySQL Fabric Using OpenStack
Elastic Scalability in MySQL Fabric Using OpenStack
 
MySQL Fabric Tutorial, October 2014
MySQL Fabric Tutorial, October 2014MySQL Fabric Tutorial, October 2014
MySQL Fabric Tutorial, October 2014
 
Coherence 12.1.2 Hidden Gems
Coherence 12.1.2 Hidden GemsCoherence 12.1.2 Hidden Gems
Coherence 12.1.2 Hidden Gems
 
State of the Dolphin, at db tech showcase Osaka 2014
State of the Dolphin, at db tech showcase Osaka 2014State of the Dolphin, at db tech showcase Osaka 2014
State of the Dolphin, at db tech showcase Osaka 2014
 

Kürzlich hochgeladen

Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Sérgio Sacani
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
anilsa9823
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
Sérgio Sacani
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
PirithiRaju
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
University of Hertfordshire
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
gindu3009
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
PirithiRaju
 

Kürzlich hochgeladen (20)

Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdf
 
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdf
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C P
 

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. |