• Save
BPEL PM 11g performance tuning  - 6
Upcoming SlideShare
Loading in...5
×
 

BPEL PM 11g performance tuning - 6

on

  • 583 views

This is sixth chapter of Oracle Fusion Middleware BPEL PM 11g Performance Tuning. This chapter covers EM Fusion Middleware Control and WLS Admin Console tuning .

This is sixth chapter of Oracle Fusion Middleware BPEL PM 11g Performance Tuning. This chapter covers EM Fusion Middleware Control and WLS Admin Console tuning .

Statistics

Views

Total Views
583
Views on SlideShare
583
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    BPEL PM 11g performance tuning  - 6 BPEL PM 11g performance tuning - 6 Document Transcript

    • 1
    • Contents LOAD & PERFORMANCE TESTING .................................................... ERROR! BOOKMARK NOT DEFINED. 1 STRESS, LOAD, SOAK, SPIKE TESTS LOAD PROFILES ........................................ ERROR! BOOKMARK NOT DEFINED. 2 LNP TESTING LIFE CYCLE.......................................................................... ERROR! BOOKMARK NOT DEFINED. 3 EXAMPLES OF LNP TESTING OBJECTIVES ...................................................... ERROR! BOOKMARK NOT DEFINED. 3.1 RESPONSE TIME......................................................................................... ERROR! BOOKMARK NOT DEFINED. 3.2 RELIABILITY............................................................................................... ERROR! BOOKMARK NOT DEFINED. 3.3 CONFIGURATION SIZING .............................................................................. ERROR! BOOKMARK NOT DEFINED. 3.4 CAPACITY PLANNING .................................................................................. ERROR! BOOKMARK NOT DEFINED. 3.5 REGRESSION ............................................................................................. ERROR! BOOKMARK NOT DEFINED. 3.6 BOTTLENECK IDENTIFICATION ...................................................................... ERROR! BOOKMARK NOT DEFINED. 3.7 SCALABILITY .............................................................................................. ERROR! BOOKMARK NOT DEFINED. BPEL PM: INTRODUCTION ............................................................... ERROR! BOOKMARK NOT DEFINED. 1 BPEL PM PROCESS TYPES ....................................................................... ERROR! BOOKMARK NOT DEFINED. 1.1 BY INTERFACE ........................................................................................... ERROR! BOOKMARK NOT DEFINED. 1.2 BY DURABILITY .......................................................................................... ERROR! BOOKMARK NOT DEFINED. 2 TERMINOLOGY ...................................................................................... ERROR! BOOKMARK NOT DEFINED. 3 DIFFERENCE BETWEEN ASYNC & SYNC BPEL .............................................. ERROR! BOOKMARK NOT DEFINED. 4 SOA 11G CONFIGURATION FILES AND LOG FILES LOCATION ............................. ERROR! BOOKMARK NOT DEFINED. 5 DEFAULT DATA SOURCES ......................................................................... ERROR! BOOKMARK NOT DEFINED. 6 PERFORMANCE OBJECTIVE ....................................................................... ERROR! BOOKMARK NOT DEFINED. 7 WHAT TO TUNE .................................................................................... ERROR! BOOKMARK NOT DEFINED. 8 SYSTEM SETUP ...................................................................................... ERROR! BOOKMARK NOT DEFINED. 9 IMPORTANT POINTS ............................................................................... ERROR! BOOKMARK NOT DEFINED. 10 REFERENCE......................................................................................... ERROR! BOOKMARK NOT DEFINED. JVM TUNING ................................................................................... ERROR! BOOKMARK NOT DEFINED. 1 PAUSE TIMES AND THROUGHPUT .............................................................. ERROR! BOOKMARK NOT DEFINED. 1.1 GARBAGE COLLECTION VS. THROUGHPUT ...................................................... ERROR! BOOKMARK NOT DEFINED. 1.2 DEFRAGMENTATION PAUSES AND THROUGHPUT ............................................ ERROR! BOOKMARK NOT DEFINED. 2 PERFORMANCE AND MEMORY FOOTPRINT .................................................. ERROR! BOOKMARK NOT DEFINED. 3 JVM CHOICE ........................................................................................ ERROR! BOOKMARK NOT DEFINED. 4 JROCKIT’S TUNING ................................................................................. ERROR! BOOKMARK NOT DEFINED. 4.1 BOARDING INTO SHIP – STEP 1 .................................................................... ERROR! BOOKMARK NOT DEFINED. 4.1.1 Heap Size ............................................................................................ Error! Bookmark not defined. 4.1.2 Garbage Collection............................................................................. Error! Bookmark not defined. 4.1.3 Nursery Size ...................................................................................... Error! Bookmark not defined. 2
    • 4.1.4 Pause Target ...................................................................................... Error! Bookmark not defined. 4.2 LEAVING THE SHORE – STEP 2 ...................................................................... ERROR! BOOKMARK NOT DEFINED. 4.2.1 Lazy Unlocking ................................................................................... Error! Bookmark not defined. 4.2.2 Call Profiling ....................................................................................... Error! Bookmark not defined. 4.2.3 Large Pages ........................................................................................ Error! Bookmark not defined. 4.3 IN THE HIGH SEAS – STEP 3 ......................................................................... ERROR! BOOKMARK NOT DEFINED. 4.3.1 Compaction ........................................................................................ Error! Bookmark not defined. 4.3.2 Thread Local Area size ....................................................................... Error! Bookmark not defined. 5 HOTSPOT’S TUNING ............................................................................... ERROR! BOOKMARK NOT DEFINED. 5.1 GARBAGE COLLECTION STRATEGIES .............................................................. ERROR! BOOKMARK NOT DEFINED. 5.1.1 Serial GC Strategy .............................................................................. Error! Bookmark not defined. 5.1.2 Parallel GC Strategy ........................................................................... Error! Bookmark not defined. 5.1.3 Parallel GC strategy ............................................................................ Error! Bookmark not defined. 6 WHERE TO SPECIFY JVM AND ITS PARAMETERS ............................................ ERROR! BOOKMARK NOT DEFINED. 7 OUTOFMEMORYERROR .......................................................................... ERROR! BOOKMARK NOT DEFINED. 7.1 JAVA.LANG.OUTOFMEMORYERROR: JAVA HEAP SPACE ................................... ERROR! BOOKMARK NOT DEFINED. 7.2 JAVA.LANG.OUTOFMEMORYERROR: PERMGEN SPACE .................................... ERROR! BOOKMARK NOT DEFINED. 7.3 JAVA.LANG.OUTOFMEMORYERROR: UNABLE TO CREATE NEW NATIVE THREAD.... ERROR! BOOKMARK NOT DEFINED. 7.4 JAVA.LANG.OUTOFMEMORYERROR: REQUESTED XXX BYTES FOR CHUNKPOOL::ALLOCATE. OUT OF SWAP SPACE ERROR! BOOKMARK NOT DEFINED. 7.5 ANALYSIS ................................................................................................. ERROR! BOOKMARK NOT DEFINED. 8 REFERENCE .......................................................................................... ERROR! BOOKMARK NOT DEFINED. WEBLOGIC SERVER TUNING ............................................................ ERROR! BOOKMARK NOT DEFINED. 1 THREAD MANAGEMENT/WORK MANAGER ................................................. ERROR! BOOKMARK NOT DEFINED. 1.1 REQUEST CLASSES ..................................................................................... ERROR! BOOKMARK NOT DEFINED. 1.2 CONSTRAINTS ........................................................................................... ERROR! BOOKMARK NOT DEFINED. 1.3 WORK MANGER TYPES............................................................................... ERROR! BOOKMARK NOT DEFINED. 1.3.1 Default Thread Pool ........................................................................... Error! Bookmark not defined. 1.3.2 SOAWorkManager ............................................................................. Error! Bookmark not defined. 2 NETWORK I/O ...................................................................................... ERROR! BOOKMARK NOT DEFINED. 2.1 MUXERS .................................................................................................. ERROR! BOOKMARK NOT DEFINED. 2.2 CHUNK PARAMETERS ................................................................................. ERROR! BOOKMARK NOT DEFINED. 2.3 CONNECTION BACKLOG BUFFERING .............................................................. ERROR! BOOKMARK NOT DEFINED. 2.4 CACHED CONNECTIONS .............................................................................. ERROR! BOOKMARK NOT DEFINED. 3 TUNING DATA SOURCE CONNECTION POOLS ................................................ ERROR! BOOKMARK NOT DEFINED. 3.1 STATEMENT CACHE .................................................................................... ERROR! BOOKMARK NOT DEFINED. 3.1.1 Usage Restrictions for Statement Cache ........................................... Error! Bookmark not defined. 3.2 CONNECTION TESTING OPTIONS FOR A DATA SOURCE ..................................... ERROR! BOOKMARK NOT DEFINED. 3.2.1 Automatic Testing .............................................................................. Error! Bookmark not defined. 3.3 ENABLING CONNECTION CREATION RETRIES................................................... ERROR! BOOKMARK NOT DEFINED. 3.4 ENABLING CONNECTION REQUESTS TO WAIT FOR A CONNECTION ..................... ERROR! BOOKMARK NOT DEFINED. 3
    • 3.5 XA TRANSACTION TIMEOUT ........................................................................ ERROR! BOOKMARK NOT DEFINED. 3.6 AUTOMATICALLY RECOVERING LEAKED CONNECTIONS ..................................... ERROR! BOOKMARK NOT DEFINED. 3.7 LIMITING STATEMENT PROCESSING TIME ...................................................... ERROR! BOOKMARK NOT DEFINED. 3.8 PINNED TO THREAD PROPERTY .................................................................... ERROR! BOOKMARK NOT DEFINED. 3.9 GRIDLINK ................................................................................................. ERROR! BOOKMARK NOT DEFINED. 3.10 SINGLE CLIENT ACCESS NAME.................................................................... ERROR! BOOKMARK NOT DEFINED. 3.11 LOGGING LAST RESOURCE ......................................................................... ERROR! BOOKMARK NOT DEFINED. 4 DATABASE MODE .................................................................................. ERROR! BOOKMARK NOT DEFINED. 5 REFERENCE .......................................................................................... ERROR! BOOKMARK NOT DEFINED. BPEL ENGINE TUNING ..................................................................... ERROR! BOOKMARK NOT DEFINED. 1 REAL TIME VIEWING OF PERFORMANCE METRICS .......................................... ERROR! BOOKMARK NOT DEFINED. 1.1 FUSION MIDDDLEWARE CONTROL ................................................................ ERROR! BOOKMARK NOT DEFINED. 1.2 DYNAMIC MEMORY SERVICE ....................................................................... ERROR! BOOKMARK NOT DEFINED. 2 BPEL ENGINE THREADING MODEL............................................................. ERROR! BOOKMARK NOT DEFINED. 2.1 DISPATCHER MAXIMUM REQUEST DEPTH...................................................... ERROR! BOOKMARK NOT DEFINED. 2.2 INVOKEMESSAGES IN CACHE ....................................................................... ERROR! BOOKMARK NOT DEFINED. 3 TRANSACTION TIMEOUT .......................................................................... ERROR! BOOKMARK NOT DEFINED. 3.1 SYNCMAXWAITTIME ................................................................................. ERROR! BOOKMARK NOT DEFINED. 3.2 BPEL EJBS ............................................................................................... ERROR! BOOKMARK NOT DEFINED. 3.3 GLOBAL TRANSACTION TIMEOUT AT WEBLOGIC DOMAIN LEVEL ........................ ERROR! BOOKMARK NOT DEFINED. 3.4 WEBSERVICE READ AND CONNECTION TIMEOUT ............................................. ERROR! BOOKMARK NOT DEFINED. 3.5 RELATIONSHIP AMONG TIMEOUT PARAMETERS .............................................. ERROR! BOOKMARK NOT DEFINED. 3.6 WLS TIMEOUT PARAMETERS ....................................................................... ERROR! BOOKMARK NOT DEFINED. 3.6.1 Complete Message Timeout .............................................................. Error! Bookmark not defined. 3.6.2 Idle Connection Timeout: .................................................................. Error! Bookmark not defined. 3.6.3 Tunneling Client Timeout................................................................... Error! Bookmark not defined. 3.6.4 Post Timeout ...................................................................................... Error! Bookmark not defined. 3.6.5 Duration ............................................................................................. Error! Bookmark not defined. 3.6.6 Tunneling Client Timeout................................................................... Error! Bookmark not defined. 4 BPEL PM AUDIT AND LOGGING ................................................................ ERROR! BOOKMARK NOT DEFINED. 4.1 AUDIT TUNING .......................................................................................... ERROR! BOOKMARK NOT DEFINED. 4.1.1 SOA Infrastructure level ..................................................................... Error! Bookmark not defined. 4.1.2 BPEL Engine Level .............................................................................. Error! Bookmark not defined. 4.1.3 AuditStorePolicy ................................................................................ Error! Bookmark not defined. 4.1.4 AuditFlushByteThreshold................................................................... Error! Bookmark not defined. 4.1.5 AuditFlushEventThreshold ................................................................. Error! Bookmark not defined. 4.1.6 AsyncAuditPersisterThreads .............................................................. Error! Bookmark not defined. 4.1.7 AsyncAuditQueueSize ........................................................................ Error! Bookmark not defined. 4.2 LOGGING TUNING...................................................................................... ERROR! BOOKMARK NOT DEFINED. 5 BPEL ENGINE DATABASE SCHEMA ............................................................. ERROR! BOOKMARK NOT DEFINED. 5.1 TWO SCHEMAS ......................................................................................... ERROR! BOOKMARK NOT DEFINED. 4
    • 5.2 PURGE ..................................................................................................... ERROR! BOOKMARK NOT DEFINED. 5.3 PARTITIONING........................................................................................... ERROR! BOOKMARK NOT DEFINED. 5.3.1 Partial Partitioning ............................................................................. Error! Bookmark not defined. 5.3.2 Complete Partitioning ........................................................................ Error! Bookmark not defined. 6 MDS SCHEMA TUNING ........................................................................... ERROR! BOOKMARK NOT DEFINED. 6.1 PURGING ................................................................................................. ERROR! BOOKMARK NOT DEFINED. 6.2 STATISTIC COLLECTION ............................................................................... ERROR! BOOKMARK NOT DEFINED. 6.3 OPTIMIZING PATH_FULLNAME TABLE ........................................................... ERROR! BOOKMARK NOT DEFINED. 7 TECHNOLOGY ADAPTERS ......................................................................... ERROR! BOOKMARK NOT DEFINED. 7.1 FILE AND FTP ADAPTER .............................................................................. ERROR! BOOKMARK NOT DEFINED. 7.1.1 Threads .............................................................................................. Error! Bookmark not defined. 7.1.2 Inbound Throttling ............................................................................. Error! Bookmark not defined. 7.1.3 Outbound Throttling .......................................................................... Error! Bookmark not defined. 7.1.4 Outbound Performance Best Practices.............................................. Error! Bookmark not defined. 7.1.5 Tuning number of files to be processed at a time ............................. Error! Bookmark not defined. 7.2 DATABASE ADAPTER .................................................................................. ERROR! BOOKMARK NOT DEFINED. 7.2.1 Basic considerations .......................................................................... Error! Bookmark not defined. 7.2.2 Existence Checking............................................................................. Error! Bookmark not defined. 7.2.3 Throttling ........................................................................................... Error! Bookmark not defined. 7.2.4 Adapter Threads ................................................................................ Error! Bookmark not defined. 7.3 JMS ADAPTER .......................................................................................... ERROR! BOOKMARK NOT DEFINED. 7.3.1 Receive Threads ................................................................................. Error! Bookmark not defined. 7.4 AQ ADAPTER ............................................................................................ ERROR! BOOKMARK NOT DEFINED. 7.4.1 Dequeue Threads ............................................................................... Error! Bookmark not defined. 7.4.2 Dequeue Threads and Number of database connection................... Error! Bookmark not defined. 7.5 MQ ADAPTER ........................................................................................... ERROR! BOOKMARK NOT DEFINED. 7.5.1 Dequeue Threads ............................................................................... Error! Bookmark not defined. 7.6 SOCKET ADAPTER ...................................................................................... ERROR! BOOKMARK NOT DEFINED. 8 BPEL PM – MISCELLANEOUS PROPERTIES ................................................... ERROR! BOOKMARK NOT DEFINED. 8.1 INSTANCE KEY BLOCK SIZE........................................................................... ERROR! BOOKMARK NOT DEFINED. 8.2 AUTOMATIC RECOVERY ATTEMPTS ............................................................... ERROR! BOOKMARK NOT DEFINED. 8.3 DISABLE BPEL MONITORS AND SENSORS ...................................................... ERROR! BOOKMARK NOT DEFINED. 9 BEST PRACTICES: BPEL PROCESS/COMPOSITE/COMPONENT............................. ERROR! BOOKMARK NOT DEFINED. 9.1 LARGE PAYLOADS ...................................................................................... ERROR! BOOKMARK NOT DEFINED. 9.2 PERSIST ONLY THE FAULTED BPEL INSTANCES................................................. ERROR! BOOKMARK NOT DEFINED. 9.3 DO NOT VALIDATE INCOMING XML .............................................................. ERROR! BOOKMARK NOT DEFINED. 9.4 IDEMPOTENENCY ....................................................................................... ERROR! BOOKMARK NOT DEFINED. 9.5 NONBLOCKINGINVOKE................................................................................ ERROR! BOOKMARK NOT DEFINED. 10 DATABASE TUNING .............................................................................. ERROR! BOOKMARK NOT DEFINED. 10.1 INITIALIZATION PARAMETERS ..................................................................... ERROR! BOOKMARK NOT DEFINED. 10.2 HUGE PAGES .......................................................................................... ERROR! BOOKMARK NOT DEFINED. 10.3 DB CONTENTION..................................................................................... ERROR! BOOKMARK NOT DEFINED. 10.3.1 Wait events ...................................................................................... Error! Bookmark not defined. 5
    • 10.4 SECUREFILES........................................................................................... ERROR! BOOKMARK NOT DEFINED. 10.4.1 Enable SecureFiles for SOAINFRA schema ....................................... Error! Bookmark not defined. 10.4.2 Enabling Encryption ......................................................................... Error! Bookmark not defined. 10.5 SQL PLAN .............................................................................................. ERROR! BOOKMARK NOT DEFINED. 11 REFERENCE......................................................................................... ERROR! BOOKMARK NOT DEFINED. EM FUSION MIDDLEWARE CONTROL AND WLS ADMIN CONSOLE...................................................... 15 1 2 3 4 5 6 7 8 9 10 11 12 STUCK THREAD MAX TIME................................................................................................................ 15 STUCK THREAD TIMER INTERVAL ........................................................................................................ 15 TUNE DUMP CONFIGURATION ............................................................................................................ 17 DATA DISPLAY OPTION FOR EM CONSOLE ............................................................................................ 18 CACHE TIMEOUT FOR DISCOVERY ........................................................................................................ 20 PERMSIZE OF ADMIN SERVER ............................................................................................................ 21 DMS’S FREQUENCY......................................................................................................................... 21 UN-TARGET DMS FROM SERVERS ...................................................................................................... 22 BPEL RECOVERY CONSOLE OPTION ...................................................................................................... 25 INDEX CREATION........................................................................................................................... 26 DB MANUAL STATS COLLECTION ...................................................................................................... 27 REFERENCE.................................................................................................................................. 27 DATA COLLECTION .......................................................................... ERROR! BOOKMARK NOT DEFINED. 1 BEFORE LNP TEST .................................................................................. ERROR! BOOKMARK NOT DEFINED. 1.1 INFRASTRUCTURE ...................................................................................... ERROR! BOOKMARK NOT DEFINED. 1.2 JVM-HOTSPOT-<<MANAGEDSERVER>> AND JVM-JROCKIT-<<MANAGEDSERVER>> ....... ERROR! BOOKMARK NOT DEFINED. 1.3 WLS-THREADING-<<MANAGEDSERVER>> ................................................... ERROR! BOOKMARK NOT DEFINED. 1.4 WLS-NETWORKIO-<<MANAGEDSERVER>> .................................................. ERROR! BOOKMARK NOT DEFINED. 1.5 WLS-DATASOURCE-<<MANAGEDSERVER>>................................................. ERROR! BOOKMARK NOT DEFINED. 1.6 BPEL PM-<<MANAGEDSERVER>> .............................................................. ERROR! BOOKMARK NOT DEFINED. 1.7 TECHNOLOGY ADAPTERS............................................................................. ERROR! BOOKMARK NOT DEFINED. 1.8 BPEL PM – COMPOSITE ............................................................................ ERROR! BOOKMARK NOT DEFINED. 1.9 DATABASE ................................................................................................ ERROR! BOOKMARK NOT DEFINED. 2 DURING LNP TEST ................................................................................. ERROR! BOOKMARK NOT DEFINED. 2.1 CPU AND RAM USAGE AND MEMORY AVAILABILITY ........................................ ERROR! BOOKMARK NOT DEFINED. 2.2 JVM’S HEAP USAGE, GARBAGE COLLECTION AND ANY MEMORY LEAK IF ANY ........ ERROR! BOOKMARK NOT DEFINED. 2.3 DATABASE CONNECTIONS AVAILABILITY AND USAGE ........................................ ERROR! BOOKMARK NOT DEFINED. 2.4 AVAILABILITY OF PERIPHERAL RESOURCES LIKE JMS QUEUES, AQ AND THEIR USAGE PATTERN .... ERROR! BOOKMARK NOT DEFINED. 3 AFTER LNP TEST .................................................................................... ERROR! BOOKMARK NOT DEFINED. 3.1 GET FULL DUMP OF FEW IMPORTANT TABLES.................................................. ERROR! BOOKMARK NOT DEFINED. 3.2 EXECUTE SQL QUERIES AS AND WHEN REQUIRED ............................................ ERROR! BOOKMARK NOT DEFINED. 6
    • 3.3 ANALYSIS OF AWR REPORT ........................................................................ ERROR! BOOKMARK NOT DEFINED. 3.4 ANALYSIS OF SOA SERVER MEMORY USAGE ................................................... ERROR! BOOKMARK NOT DEFINED. 4 REFERENCE .......................................................................................... ERROR! BOOKMARK NOT DEFINED. LNP TEST CASE DESIGN AND LOAD TEST SELECTION ......................... ERROR! BOOKMARK NOT DEFINED. 1 LNP TEST CASE DESIGN ........................................................................... ERROR! BOOKMARK NOT DEFINED. 2 DESIGN OF EXPERIMENT .......................................................................... ERROR! BOOKMARK NOT DEFINED. 3 REFERENCE .......................................................................................... ERROR! BOOKMARK NOT DEFINED. APPENDIX A: WEBLOGIC SERVER OVERVIEW ................................... ERROR! BOOKMARK NOT DEFINED. 1 2 3 4 5 6 7 8 9 WLS CONFIGURATION ............................................................................ ERROR! BOOKMARK NOT DEFINED. DOMAIN ............................................................................................. ERROR! BOOKMARK NOT DEFINED. SERVER ............................................................................................... ERROR! BOOKMARK NOT DEFINED. ADMINISTRATION SERVER ....................................................................... ERROR! BOOKMARK NOT DEFINED. MANAGED SERVER ................................................................................ ERROR! BOOKMARK NOT DEFINED. ADMINISTRATION SERVER TO MANAGED SERVER INTERACTION ........................ ERROR! BOOKMARK NOT DEFINED. CLUSTER .............................................................................................. ERROR! BOOKMARK NOT DEFINED. NODE MANAGER................................................................................... ERROR! BOOKMARK NOT DEFINED. MACHINE ............................................................................................ ERROR! BOOKMARK NOT DEFINED. APPENDIX B: AUDITING IN BPEL PM ................................................ ERROR! BOOKMARK NOT DEFINED. 1 AUDIT LEVELS ....................................................................................... ERROR! BOOKMARK NOT DEFINED. 2 ORDER OF PRECEDENCE FOR AUDIT LEVEL SETTINGS ........................................ ERROR! BOOKMARK NOT DEFINED. APPENDIX C: ANTI PATTERNS .......................................................... ERROR! BOOKMARK NOT DEFINED. 1 2 3 4 5 6 7 8 9 10 SYNCHRONOUS – ASYNCHRONOUS ............................................................ ERROR! BOOKMARK NOT DEFINED. OVER USE OF ASYNCHRONOUS PROCESSES ................................................... ERROR! BOOKMARK NOT DEFINED. OVER USE OF DURABLE PROCESSES ............................................................. ERROR! BOOKMARK NOT DEFINED. NO FAULT HANDLING ............................................................................. ERROR! BOOKMARK NOT DEFINED. SYNCHRONOUS FAULT HANDLING .............................................................. ERROR! BOOKMARK NOT DEFINED. TO MANY RETRIES .................................................................................. ERROR! BOOKMARK NOT DEFINED. CHATTING BPEL PROCESS (CALL BACK) ....................................................... ERROR! BOOKMARK NOT DEFINED. OVER USE OF FLOWN ............................................................................. ERROR! BOOKMARK NOT DEFINED. LOOPS AND MORE LOOPS......................................................................... ERROR! BOOKMARK NOT DEFINED. SYNCHRONOUS AND ASYNCHRONOUS PROCESSES ON SAME MANAGED SERVER/CLUSTER ... ERROR! BOOKMARK NOT DEFINED. 11 DURABLE AND TRANSIENT PROCESSES ON SAME MANAGED SERVER/CLUSTER...... ERROR! BOOKMARK NOT DEFINED. 12 STICKY LOAD BALANCER ......................................................................... ERROR! BOOKMARK NOT DEFINED. 7
    • 13 NOT KEEPING ASPECT RATIO ................................................................... ERROR! BOOKMARK NOT DEFINED. APPENDIX D: SQL QUERIES .............................................................. ERROR! BOOKMARK NOT DEFINED. 1 EM CONSOLE SQL QUERIES ..................................................................... ERROR! BOOKMARK NOT DEFINED. 1.1 RECOVERY CONSOLE QUERIES ...................................................................... ERROR! BOOKMARK NOT DEFINED. 1.2 RECENT FAULT AND REJECTED MESSAGES QUERY ............................................. ERROR! BOOKMARK NOT DEFINED. 1.3 RECENT COMPOSITE INSTANCE QUERY........................................................... ERROR! BOOKMARK NOT DEFINED. 1.4 INSTANCE TAB PAGE QUERY ......................................................................... ERROR! BOOKMARK NOT DEFINED. 1.5 INSTANCE TAB PAGE SEARCH QUERY BASED ON NAME VS TITLE QUERY ................ ERROR! BOOKMARK NOT DEFINED. 1.6 FAULT AND REJECTED MESSAGE TAB PAGE QUERIES ......................................... ERROR! BOOKMARK NOT DEFINED. 1.6.1 Parent query ...................................................................................... Error! Bookmark not defined. 1.6.2 Child query ......................................................................................... Error! Bookmark not defined. 2 MISCELLANEOUS ................................................................................... ERROR! BOOKMARK NOT DEFINED. 2.1 STORED PROCEDURE TO CONVERT BLOB IN STRING .......................................... ERROR! BOOKMARK NOT DEFINED. 2.2 QUERY TO FIND PERCENTAGE OF FREE SPACE .................................................. ERROR! BOOKMARK NOT DEFINED. 2.3 QUERY TO FIND THE WAIT EVENTS FOR LGWR USING ITS SID ........................... ERROR! BOOKMARK NOT DEFINED. 2.4 QUERY TO MONITOR ‘REDO BUFFER ALLOCATION RETRIES’................................ ERROR! BOOKMARK NOT DEFINED. 2.5 SQL STATEMENT TO RECLAIM SPACE AFTER PURGING....................................... ERROR! BOOKMARK NOT DEFINED. 2.6 QUERY TO FIND OUT TOTAL SESSIONS ON A DATABASE ..................................... ERROR! BOOKMARK NOT DEFINED. 2.7 QUERY TO FIND OUT UTILIZATION OF PROCESSES AND SESSIONS IN A DATABASE ... ERROR! BOOKMARK NOT DEFINED. 2.8 FIND OUT THE PROCESS INSTANCE FROM A CONVERSATION ID WHEN THERE IS NO INSTANCE NUMBER SHOWING IN THE LOG FILE (BPEL INSTANCE ID FOR A TIMES OUT ITEM) ....................................... ERROR! BOOKMARK NOT DEFINED. 2.9 QUERY TO GET AUDIT DETAILS FROM AUDIT_DETAILS TABLE .............................. ERROR! BOOKMARK NOT DEFINED. 2.10 QUERY TO GET AUDIT DETAILS FROM AUDIT_TRAIL TABLE ............................... ERROR! BOOKMARK NOT DEFINED. 2.11 QUERY TO GET XML MESSAGE WITH THE GIVEN INSTANCE ID ......................... ERROR! BOOKMARK NOT DEFINED. 2.12 QUERY TO GET XML MESSAGE WITH A GIVEN INSTANCE NAME........................ ERROR! BOOKMARK NOT DEFINED. 2.13 QUERY TO GET PAYLOAD SIZE OF MESSAGE ................................................... ERROR! BOOKMARK NOT DEFINED. 2.14 QUERY TO GET EXECUTION TIME OF BPEL INSTANCES .................................... ERROR! BOOKMARK NOT DEFINED. 2.15 QUERY TO GET THE EXECUTION TIME OF BPEL INSTANCES AND TO FIND THE PARENT THAT HAS INITIALIZED THE COMPOSITE ....................................................................................................... ERROR! BOOKMARK NOT DEFINED. 2.16 QUERY TO IDENTIFY ALL THE FAULTS FOR THE MESSAGES THAT WERE SITTING IN BPEL ENGINE LEVEL RECOVERY AS UNDELIVERED INVOKES ........................................................................................ ERROR! BOOKMARK NOT DEFINED. APPENDIX E: BIG OR LARGE OR HUGE PAGES ................................... ERROR! BOOKMARK NOT DEFINED. 1 2 3 4 LINUX ................................................................................................. ERROR! BOOKMARK NOT DEFINED. WINDOWS ........................................................................................... ERROR! BOOKMARK NOT DEFINED. SOLARIS .............................................................................................. ERROR! BOOKMARK NOT DEFINED. REFERENCE: ......................................................................................... ERROR! BOOKMARK NOT DEFINED. APPENDIX F: ORA-01438: VALUE LARGER THAN SPECIFIED PRECISION ALLOWED .... ERROR! BOOKMARK NOT DEFINED. 8
    • 5 6 7 8 WHAT IS THE ERROR IN LOGS? .................................................................. ERROR! BOOKMARK NOT DEFINED. EFFECTS............................................................................................... ERROR! BOOKMARK NOT DEFINED. CAUSE ................................................................................................ ERROR! BOOKMARK NOT DEFINED. SOLUTION ............................................................................................ ERROR! BOOKMARK NOT DEFINED. APPENDIX G: LOBS IN THE SOAINFRA SCHEMA ................................ ERROR! BOOKMARK NOT DEFINED. APPENDIX H: AWR, ADDM, & ASH REPORTS .................................... ERROR! BOOKMARK NOT DEFINED. 1 AWR REPORT ...................................................................................... ERROR! BOOKMARK NOT DEFINED. 2 ADDM REPORT .................................................................................... ERROR! BOOKMARK NOT DEFINED. 3 ASH REPORT ........................................................................................ ERROR! BOOKMARK NOT DEFINED. 4 AWR REPORT ANALYSIS ......................................................................... ERROR! BOOKMARK NOT DEFINED. 4.1 SQL STATEMENTS ORDERED BY ELAPSED TIME ............................................... ERROR! BOOKMARK NOT DEFINED. 4.2 SQL STATEMENTS ORDERED BY CPU TIME..................................................... ERROR! BOOKMARK NOT DEFINED. 4.3 SQL STATEMENTS ORDERED BY GETS ............................................................ ERROR! BOOKMARK NOT DEFINED. 4.4 SQL STATEMENTS ORDERED BY READS .......................................................... ERROR! BOOKMARK NOT DEFINED. 4.5 SQL STATEMENTS ORDERED BY EXECUTIONS .................................................. ERROR! BOOKMARK NOT DEFINED. 4.6 SQL STATEMENTS ORDERED BY PARSE CALLS ................................................. ERROR! BOOKMARK NOT DEFINED. 5 REFERENCE .......................................................................................... ERROR! BOOKMARK NOT DEFINED. APPENDIX I: MONITORING SCRIPTS ................................................. ERROR! BOOKMARK NOT DEFINED. 1 DATABASE MONITORING ......................................................................... ERROR! BOOKMARK NOT DEFINED. 2 JMS MONITORING ................................................................................ ERROR! BOOKMARK NOT DEFINED. 3 AQ MONITORING .................................................................................. ERROR! BOOKMARK NOT DEFINED. APPENDIX J: HOW TO MONITOR SOA SERVER MEMORY USAGE ....... ERROR! BOOKMARK NOT DEFINED. 1 2 3 4 SETUP: JCONSOLE OR VISUALVM (INSTALLED LOCALLY)................................... ERROR! BOOKMARK NOT DEFINED. SETUP: JVISUALVM (INSTALLED AT REMOTE MACHINE) ................................... ERROR! BOOKMARK NOT DEFINED. SETUP: JROCKIT MISSION CONTROL (INSTALLED AT REMOTE MACHINE) .............. ERROR! BOOKMARK NOT DEFINED. REFERENCE .......................................................................................... ERROR! BOOKMARK NOT DEFINED. APPENDIX K: HEAP DUMP FILES ANALYSIS: JROCKIT AND HOTSPOT JVMS ....... ERROR! BOOKMARK NOT DEFINED. 1 EXAMPLE ANALYSIS OF A HEAP DUMP FILE USING ECLIPSE MEMORY ANALYZER ... ERROR! BOOKMARK NOT DEFINED. 2 REFERENCE .......................................................................................... ERROR! BOOKMARK NOT DEFINED. APPENDIX L: CAPACITY PLANNING................................................... ERROR! BOOKMARK NOT DEFINED. 9
    • 1 CAPACITY PLANNING FOR BPEL PM .......................................................... ERROR! BOOKMARK NOT DEFINED. 1.1 DETERMINING PERFORMANCE GOALS AND OBJECTIVES – CURRENT & FUTURE.... ERROR! BOOKMARK NOT DEFINED. 1.2 MEASURING PERFORMANCE METRICS .......................................................... ERROR! BOOKMARK NOT DEFINED. 1.3 IDENTIFYING BOTTLENECKS ......................................................................... ERROR! BOOKMARK NOT DEFINED. 1.4 IMPLEMENTING A CAPACITY MANAGEMENT PLAN .......................................... ERROR! BOOKMARK NOT DEFINED. 2 REFERENCE .......................................................................................... ERROR! BOOKMARK NOT DEFINED. Exhibits Exhibit 1: Stress, Load, Soak, Spike Tests Load Profiles ................... Error! Bookmark not defined. Exhibit 2: LnP Testing Life Cycle and SDLC ....................................... Error! Bookmark not defined. Exhibit 3: BPEL Processes ................................................................. Error! Bookmark not defined. Exhibit 4: JVM Tuning Tradeoffs ...................................................... Error! Bookmark not defined. Exhibit 5: JVM's Garbage Collection and Throughput ..................... Error! Bookmark not defined. Exhibit 6: jRockit Attributes ............................................................. Error! Bookmark not defined. Exhibit 7: HostSpot Attributes ......................................................... Error! Bookmark not defined. Exhibit 8: WLS internal applications at startup - 1 ......................... Error! Bookmark not defined. Exhibit 9: WLS internal applications at startup - 2 ......................... Error! Bookmark not defined. Exhibit 10: WLS internal applications at startup - 3 ....................... Error! Bookmark not defined. Exhibit 11: WLS internal applications at startup - 4 ........................ Error! Bookmark not defined. Exhibit 12: WLS internal applications at startup - 5 ........................ Error! Bookmark not defined. Exhibit 13: WLS internal applications at startup - 6 ........................ Error! Bookmark not defined. Exhibit 14: SOAWorkManager - 1 .................................................... Error! Bookmark not defined. Exhibit 15: SOAWorkManager - 2 .................................................... Error! Bookmark not defined. Exhibit 16: SOAWorkManager - 3 .................................................... Error! Bookmark not defined. Exhibit 17: WLS Muxers ................................................................... Error! Bookmark not defined. Exhibit 18: FMC Login....................................................................... Error! Bookmark not defined. Exhibit 19: FMC Farm Summary....................................................... Error! Bookmark not defined. Exhibit 20: FMC Performance Summary - 1 ..................................... Error! Bookmark not defined. Exhibit 21: FMC Performance Summary - 2 ..................................... Error! Bookmark not defined. Exhibit 22: FMC Performance Summary - 3 ..................................... Error! Bookmark not defined. Exhibit 23: Dynamic Memory Service .............................................. Error! Bookmark not defined. Exhibit 24: BPEL Engine Threading Model ....................................... Error! Bookmark not defined. Exhibit 25: Dispatcher Maximum Request Depth - 1....................... Error! Bookmark not defined. Exhibit 26: Dispatcher Maximum Request Depth - 2....................... Error! Bookmark not defined. Exhibit 27: InvokeMessages In Cache .............................................. Error! Bookmark not defined. Exhibit 28: syncMaxWaitTime - 1 .................................................... Error! Bookmark not defined. Exhibit 29: syncMaxWaitTime - 2 .................................................... Error! Bookmark not defined. Exhibit 30: syncMaxWaitTime - 3 .................................................... Error! Bookmark not defined. Exhibit 31: syncMaxWaitTime – 4 .................................................... Error! Bookmark not defined. Exhibit 32: BPEL EJBs - 1 ................................................................... Error! Bookmark not defined. 10
    • Exhibit 33: BPEL EJBs - 2 ................................................................... Error! Bookmark not defined. Exhibit 34: BPEL EJBs - 3 ................................................................... Error! Bookmark not defined. Exhibit 35: Global transaction timeout at WLS Domain Level - 1 .... Error! Bookmark not defined. Exhibit 36: Global transaction timeout at WLS Domain Level - 2 .... Error! Bookmark not defined. Exhibit 37: WLS Timeout parameters - 1 ......................................... Error! Bookmark not defined. Exhibit 38: WLS Timeout parameters - 2 ......................................... Error! Bookmark not defined. Exhibit 39: WLS Timeout parameters - 3 ......................................... Error! Bookmark not defined. Exhibit 40: Tunneling Client Timeout - 1.......................................... Error! Bookmark not defined. Exhibit 41: Tunneling Client Timeout - 2.......................................... Error! Bookmark not defined. Exhibit 42: Tunneling Client Timeout - 3.......................................... Error! Bookmark not defined. Exhibit 43: SOA Infrastructure level audit tuning - 1 ....................... Error! Bookmark not defined. Exhibit 44: SOA Infrastructure level audit tuning - 2 ....................... Error! Bookmark not defined. Exhibit 45: AuditConfig - 1 ............................................................... Error! Bookmark not defined. Exhibit 46: AuditConfig - 2 ............................................................... Error! Bookmark not defined. Exhibit 47: AuditConfig - 3 ............................................................... Error! Bookmark not defined. Exhibit 48: AuditConfig - 4 ............................................................... Error! Bookmark not defined. Exhibit 49: AuditConfig - 5 ............................................................... Error! Bookmark not defined. Exhibit 50: Payload Validation - 1 .................................................... Error! Bookmark not defined. Exhibit 51: Payload Validation - 2 .................................................... Error! Bookmark not defined. Exhibit 52: AuditStorePolicy - 1 ....................................................... Error! Bookmark not defined. Exhibit 53: AuditStorePolicy - 2 ....................................................... Error! Bookmark not defined. Exhibit 54: Logging Tuning - 1 .......................................................... Error! Bookmark not defined. Exhibit 55: Logging Tuning - 2 .......................................................... Error! Bookmark not defined. Exhibit 56: Logging Tuning - 3 .......................................................... Error! Bookmark not defined. Exhibit 57: Logging Tuning - 4 .......................................................... Error! Bookmark not defined. Exhibit 58: MDS Purging - 1 ............................................................. Error! Bookmark not defined. Exhibit 59: MDS Purging - 2 ............................................................. Error! Bookmark not defined. Exhibit 60: Stuck Thread Timer Interval - 1................................................................................... 16 Exhibit 61: : Stuck Thread Timer Interval - 2................................................................................. 16 Exhibit 62: : Stuck Thread Timer Interval - 3................................................................................. 17 Exhibit 63: Data Display Option for EM Console - 1 ..................................................................... 18 Exhibit 64: : Data Display Option for EM Console - 2 ................................................................... 19 Exhibit 65: : Data Display Option for EM Console - 3 ................................................................... 20 Exhibit 66: Un-Target DMS from servers - 1 ................................................................................. 22 Exhibit 67: Un-Target DMS from servers - 2 ................................................................................. 23 Exhibit 68: : Un-Target DMS from servers - 3 ............................................................................... 24 Exhibit 69: Un-Target DMS from servers - 4 ................................................................................. 24 Exhibit 70: Un-Target DMS from servers - 5 ................................................................................. 25 Exhibit 71: BPEL recovery console option - 1................................................................................ 25 Exhibit 72: BPEL recovery console option - 2................................................................................ 26 11
    • Exhibit 73: vmstat ............................................................................ Error! Bookmark not defined. Exhibit 74: free ................................................................................. Error! Bookmark not defined. Exhibit 75: pmap .............................................................................. Error! Bookmark not defined. Exhibit 76: top .................................................................................. Error! Bookmark not defined. Exhibit 77: sar-B ............................................................................... Error! Bookmark not defined. Exhibit 78: meminfo ......................................................................... Error! Bookmark not defined. Exhibit 79: mpstat ............................................................................ Error! Bookmark not defined. Exhibit 80: mpstat 2 4 ...................................................................... Error! Bookmark not defined. Exhibit 81: df-m ................................................................................ Error! Bookmark not defined. Exhibit 82: WebLogic Homes ........................................................... Error! Bookmark not defined. Exhibit 83: Synchronous – Asynchronous - 1 ................................... Error! Bookmark not defined. Exhibit 84: Synchronous – Asynchronous - 2 ................................... Error! Bookmark not defined. Exhibit 85: Database Monitoring ..................................................... Error! Bookmark not defined. Exhibit 86: JMS Monitoring .............................................................. Error! Bookmark not defined. Exhibit 87: AQ Monitoring ............................................................... Error! Bookmark not defined. Exhibit 88: Setup jConsole or visualVM (installed locally) - 1 .......... Error! Bookmark not defined. Exhibit 89: Setup jConsole or visualVM (installed locally) - 2 .......... Error! Bookmark not defined. Exhibit 90: Setup jConsole or visualVM (installed locally) - 3 .......... Error! Bookmark not defined. Exhibit 91: Setup jConsole or visualVM (installed locally) - 4 .......... Error! Bookmark not defined. Exhibit 92: Heap Dump Files analysis - 1 ......................................... Error! Bookmark not defined. Exhibit 93: Heap Dump Files analysis - 2 ......................................... Error! Bookmark not defined. Exhibit 94: Heap Dump Files analysis - 3 ......................................... Error! Bookmark not defined. Exhibit 95: Heap Dump Files analysis - 4 ......................................... Error! Bookmark not defined. Exhibit 96: Heap Dump Files analysis - 5 ......................................... Error! Bookmark not defined. Exhibit 97: Heap Dump Files analysis - 6 ......................................... Error! Bookmark not defined. 12
    • Snippets Snippet 1: Sample Work Manager - 1 .............................................. Error! Bookmark not defined. Snippet 2: Sample Work Manager - 2 .............................................. Error! Bookmark not defined. Snippet 3: Sample config.xml........................................................... Error! Bookmark not defined. Snippet 4: Sample startWeblogic.sh ................................................ Error! Bookmark not defined. Snippet 5: Using setNull In a Prepared Statement .......................... Error! Bookmark not defined. Snippet 6: Sample thread waiting for DB Call to finish.................... Error! Bookmark not defined. Snippet 7: composite.xml ................................................................ Error! Bookmark not defined. Snippet 8: Drop Histrogram ............................................................. Error! Bookmark not defined. Snippet 9: Set Table Preferences ..................................................... Error! Bookmark not defined. Snippet 10: Single Threaded Model - jca file ................................... Error! Bookmark not defined. Snippet 11: Partitioned Threaded Model - jca file........................... Error! Bookmark not defined. Snippet 12: Tuning number of files to be processed at a time ....... Error! Bookmark not defined. Snippet 13: JMS Adapter - Receive Thread - composite.xml ........... Error! Bookmark not defined. Snippet 14: AQ Adapter - Dequeue Threads - composite.xml......... Error! Bookmark not defined. Snippet 15: common properties schema - 1.................................... Error! Bookmark not defined. Snippet 16: common properties schema - 2.................................... Error! Bookmark not defined. Snippet 17: bpel.xml ........................................................................ Error! Bookmark not defined. Snippet 18: composite.xml .............................................................. Error! Bookmark not defined. Snippet 19: SecureFiles .................................................................... Error! Bookmark not defined. Snippet 20: BasicFiles to SecureFiles ............................................... Error! Bookmark not defined. 13
    • Tables Table 1: AuditLevel........................................................................... Error! Bookmark not defined. Table 2: BPEL Engine - AuditLevel .................................................... Error! Bookmark not defined. Table 3: AuditStorePolicy ................................................................. Error! Bookmark not defined. Table 4: SOA Schemas ...................................................................... Error! Bookmark not defined. Table 5: SOAINFRA Tables ................................................................ Error! Bookmark not defined. Table 6: MDS Schema tables............................................................ Error! Bookmark not defined. Table 7: CUBE_INSTANCE................................................................. Error! Bookmark not defined. Table 8: CUBE_SCOPE ...................................................................... Error! Bookmark not defined. Table 9: COMPOSITE_INSTANCE ...................................................... Error! Bookmark not defined. Table 10: COMPOSITE_INSTANCE_FAULT ....................................... Error! Bookmark not defined. Table 11: AUDIT_TRAIL .................................................................... Error! Bookmark not defined. Table 12: AUDIT_DETAILS ................................................................ Error! Bookmark not defined. Table 13: DLV_MESSAGE ................................................................. Error! Bookmark not defined. Table 14: DLV_SUBSCRIPTION ......................................................... Error! Bookmark not defined. Table 15: DOCUMENT_CI_REF ......................................................... Error! Bookmark not defined. Table 16: DOCUMENT_DLV_MSG_REF ............................................ Error! Bookmark not defined. Table 17: WORK_ITEM ..................................................................... Error! Bookmark not defined. Table 18: XML_DOCUMENT ............................................................. Error! Bookmark not defined. Table 19: XML_DOCUMENT_REF ..................................................... Error! Bookmark not defined. Table 20: HEADERS_PROPERTIES ..................................................... Error! Bookmark not defined. Table 21: CLUSTER_MASTER ............................................................ Error! Bookmark not defined. Table 22: CLUSTER_NODE ................................................................ Error! Bookmark not defined. Table 23: Partial Partitioning ........................................................... Error! Bookmark not defined. Table 24: Complete Partitioning ...................................................... Error! Bookmark not defined. Table 25: MDS_NAMESAPCES.......................................................... Error! Bookmark not defined. Table 26: MDS_PARTITIONS ............................................................ Error! Bookmark not defined. Table 27: MDS_PATHS ..................................................................... Error! Bookmark not defined. Table 28: File & FTP Adapter - Inbound Throttling .......................... Error! Bookmark not defined. Table 29: : File & FTP Adapter - Outbound Throttling ..................... Error! Bookmark not defined. Table 30: : File & FTP Adapter - Outbound Best Practices............... Error! Bookmark not defined. Table 31: completionPersistPolicy property .................................... Error! Bookmark not defined. Table 32: validateSchema value ...................................................... Error! Bookmark not defined. Table 33: Idempotency value........................................................... Error! Bookmark not defined. Table 34: nonBlockingInvoke value ................................................ Error! Bookmark not defined. Table 35: Database initialization parameters .................................. Error! Bookmark not defined. Table 36: Contention tables ............................................................. Error! Bookmark not defined. Table 37: Tables under potential of index contention .................... Error! Bookmark not defined. 14
    • EM Fusion Middleware Control and WLS Admin Console EM Fusion Middleware control (or in short EM Console)’s performance do not affect runtime performance of BPEL PM but degraded performance of EM console add nuisance value to whole working environment. There are few knobs which can be tuned for EM Console performance. 1 Stuck Thread Max Time This attribute sets number of seconds that a thread must be continually working before WLS server considers the thread stuck. Minimum value: 0 Maximum value: 2147483647 Any change in value of this attribute requires restart of server. 2 Stuck Thread Timer Interval This attribute sets the number of seconds after which WLS periodically scans threads to check if they have been continually working for the configured maximum length of time. Minimum value: 0 Maximum value: 2147483647 Any change in value of this attribute requires restart of server. To tune Stuck Thread Max Time and Stuck Thread Timer Interval execute following steps: a. Login to WLS Admin Console b. Navigate to Environment Servers 15
    • Exhibit 1: Stuck Thread Timer Interval - 1 c. Click on Admin Server Exhibit 2: : Stuck Thread Timer Interval - 2 16
    • d. Navigate to Configuration Tuning Exhibit 3: : Stuck Thread Timer Interval - 3 e. Update Stuck Thread Max Time and Stuck Thread Timer Interval values using Lock & Edit mechanism. 3 Tune dump configuration Sometime even after tuning Stuck Thread Max Time and Stuck Thread Timer Interval changes, WLS Admin Console remains slow. In this case one needs to perform following steps: a. Update Stuck Thread Max Time b. In WLS Admin Console Select the domain name on the left hand side tree and navigate to Security Embedded LDAP c. Check the check box 'Refresh Replica At Startup' d. Save the changes and activate those. e. Open the dms_config.xml file in edit mode (location: $DOMAIN_HOME/config/fmwconfig/servers/AdminServer) f. Find the following entry: <dumpConfiguration> <dump intervalSeconds="10800" maxSizeMBytes="75" enabled="true"/> </dumpConfiguration> 17
    • g. Change <dump intervalSeconds="10800" maxSizeMBytes="75" enabled="true"/> into: <dump intervalSeconds="10800" maxSizeMBytes="75" enabled="false"/> 4 Data Display Option for EM Console To increase the performance of EM console, one can restrict the display of instances and faults for certain duration by default. Apart from duration one can also disable fetching of instance and fault count metrics. h. Login into EM Console Exhibit 4: Data Display Option for EM Console - 1 i. Navigate to SOA soa-infra (myManagedServer) Properties SOA Administration Common 18
    • Exhibit 5: : Data Display Option for EM Console - 2 19
    • Exhibit 6: : Data Display Option for EM Console - 3 j. Under ‘Data Display Options’ heading, select check box for ‘Disable fetching of instance and fault count metrics. Each metric can still be retrieved on demand’. k. Under ‘Data Display Options’ heading select check box for ‘Restrict display of instances and faults to the last’ and also key in the duration. l. Apply the changes. 5 cache timeout for discovery During login process in EM console is three step process. • • • Authentication Discovery of targets Loading of page Discovery of targets may take long (some time even 15 minutes) due to long list of targets. One can configure EM to cache the targets, so subsequent login attempts will be faster. For this purpose, one should set following values for following MBeans: MBean Suggested Value oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_MAX_CACHE_AGE 28800000 (ms) oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_MAX_WAIT_TIME 30000 (ms) 20
    • oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_USE_CACHED_RESULTS True LargeRepository True 6 PermSize of Admin Server Tuning of PermSize of JVM (of Admin Server) affects EM console’s performance. Try to increase it. MEM_PERM_SIZE_64BIT="-XX:PermSize=1024m” 7 DMS’s frequency EM uses Dynamic Monitoring System (DMS) which collects statistics from all the targets wherever DMS is deployed. If the frequency of DMS statistics collection frequency is high then EM console slows down. Steps to tune DMS’s frequency are: Step 1: Navigate till dms_config.xml ($MiddlewareHome/fmw/soa11.1.1.6/oracle_common/modules/oracle.dms_11.1.1/serv er_config). Step 2: Locate “prefetch intervalSeconds”, “discover intervalSeconds”, and “queue maxSizePerServer” and update their values from <collectorConfiguration> <prefetch intervalSeconds="15" removeCycle="2" isDefault="true"/> <prefetch intervalSeconds="300" removeCycle="3"/> <discover intervalSeconds="180"/> <queue maxSizePerServer="4" timeoutSeconds="120"/> </collectorConfiguration> to <collectorConfiguration> <prefetch intervalSeconds="15" removeCycle="2" isDefault="true"/> <prefetch intervalSeconds="300" removeCycle="3"/> <discover intervalSeconds="180"/> <queue maxSizePerServer="4" timeoutSeconds="240"/> </collectorConfiguration> 21
    • 8 Un-Target DMS from servers DMS is pretty resource consuming application. Essentially, un-target DMS from servers which are under intense load. Un-Targeting will increase login response time. If one un-target all servers, availability of information in EM console will decrease significantly. In Weblogic Admin Console >> Domain>> Deployments >> DMS >> Target tab page >> uncheck all servers and then Save. Exhibit 7: Un-Target DMS from servers - 1 22
    • Exhibit 8: Un-Target DMS from servers - 2 23
    • Exhibit 9: : Un-Target DMS from servers - 3 Exhibit 10: Un-Target DMS from servers - 4 24
    • Exhibit 11: Un-Target DMS from servers - 5 9 BPEL recovery console option During dashboard page loading, EM console tries to fetch the data from “DLV_MESSAGE” table for “invoke” and “callback” activities which took longer time. DLV_ MESSAGE table normally has lot data, which can slow down the dashboard loading. Exhibit 12: BPEL recovery console option - 1 25
    • Disable the same using following steps: EM console>>Farm>>soa-infra>>Administration>>System Mbeam Browser>> Filter>> Type bean name "oracle.as.soainfra.config:name=soa-infra,*", >> In result click on "AduitConfig" attribute and change the "bpelRecoveryStatus=Off", default value for bpelRecoveryStatus is "on" Exhibit 13: BPEL recovery console option - 2 Note: In above configuration “O” should be capital letter of “Off”, small ‘o’ in ‘off’ will not work. 10 Index creation EM Console fetches data from tables and uses some specific queries (Refer Appendix M). To speed up the query execution, create following indexes. Table Column Index Type COMPOSITE_INSTANCE CREATED_TIME Normal Index CUBE_INSTANCE CPMST_ID Normal Index TITLE Normal Index STATE Normal Index COMPOSITE_INSTANCE STATE DLV_MESSAGE DLV_TYPE Composite Index 26
    • 11 DB Manual Stats collection For EM console perspective collect stats on following partitioned tables: • • • • • • • • • • • • • • • • • • • AUDIT_COUNTER AUDIT_DETAILS AUDIT_TRAIL CI_INDEXES COMPOSITE_INSTANCE COMPOSITE_INSTANCE_ASSOC COMPOSITE_INSTANCE_FAULT CUBE_INSTANCE CUBE_SCOPE DLV_MESSAGE DLV_SUBSCRIPTION DOCUMENT_CI_REF DOCUMENT_DLV_MSG_REF HEADERS_PROPERTIES REFERENCE_INSTANCE WI_FAULT WLI_QS_REPORT_ATTRIBUTE WORK_ITEM XML_DOCUMENT One can use following SQL statement for stat collection EXEC DBMS_STATS.gather_table_stats(‘SOAINFRA’, ‘AUDIT_COUNTER', estimate_percent => 5); 12 Reference • • Oracle® Fusion Middleware 2 Day Administration Guide: http://docs.oracle.com/cd/E17904_01/core.1111/e10064/toc.htm Oracle® Fusion Middleware Administrator's Guide: http://docs.oracle.com/cd/E17904_01/core.1111/e10105/toc.htm 27