The Top 10 Things UCM Users Need To Know About WebLogic <ul><li>Brian “Bex” Huff </li></ul><ul><li>Chief Software Architec...
Agenda <ul><li>Why WebLogic knowledge is important </li></ul><ul><li>Top 10 things you need to know </li></ul><ul><ul><li>...
Why Do I Need To Know WebLogic? <ul><li>IRM 11g and IPM 11g already require WebLogic </li></ul><ul><li>UCM 11gR1 will be d...
Don’t Panic! <ul><li>You don't need to know  everything  about the platform </li></ul><ul><ul><li>Just like you don’t need...
Top 10 Things You Need To Know <ul><li>WebLogic Terminology </li></ul><ul><li>WebLogic Web Interface </li></ul><ul><li>New...
1) WebLogic Terminology <ul><li>Servers </li></ul><ul><ul><li>a JVM running an instance of a WebLogic server, and its own ...
1) WebLogic Terminology, cont. <ul><li>Managed Server </li></ul><ul><ul><li>a WLS instance that can be controlled by the a...
1) WebLogic Terminology, Cont. <ul><li>Cluster </li></ul><ul><ul><li>a group of multiple managed servers that are consider...
Diagram of A WebLogic Domain with Cluster Node Mgr Node Mgr Domain Not shown: shared DB and  file system Managed Server Ad...
Diagram of UCM Cluster UCM Admin Server Mgr UCM Content Server Mgr UCM Admin Server Mgr UCM Content Server Mgr Not shown: ...
2) Web Interface: WLS Admin Server <ul><li>WLS Admin Server:  http://localhost:7001/console </li></ul><ul><li>Use to deplo...
Screenshot
2) Web Interface: Fusion Middleware Controller <ul><li>URL:  http://localhost:7001/em </li></ul><ul><li>Lightweight dashbo...
Screenshot
3) New File System Layout <ul><li>New Fusion Middleware root for all apps </li></ul><ul><ul><li>/u10/fmw </li></ul></ul><u...
3) New File System Layout, cont. <ul><li>Start Weblogic admin server </li></ul><ul><ul><li><fmw>/user_projects/domains/ucm...
4) User Management <ul><li>Entirely handled by Weblogic container security </li></ul><ul><ul><li>no more UCM-specific secu...
4) User Management, Cont. <ul><li>JPS role-mapping mechanism </li></ul><ul><ul><li>JPS provider from UCM to Weblogic for a...
5) Starting / Stopping Managed UCM <ul><li>From command line </li></ul><ul><li>From WebLogic Admin Server </li></ul><ul><l...
6) Secure Web Services <ul><li>WS-Security support: which adds three things </li></ul><ul><ul><li>Security token propagati...
6) Secure Web Services Cont. <ul><li>Two ways of running SOAP </li></ul><ul><li>Standard Web Services deployment </li></ul...
7) Clustering <ul><li>Uses some WebLogic infrastructure </li></ul><ul><ul><li>still requires shared file system in 11g </l...
8) Performance <ul><li>Overall in 11g performance is 2x to 4x improved </li></ul><ul><ul><li>official numbers not yet rele...
9) Troubleshooting <ul><li>Where are my logs?!? </li></ul><ul><ul><li><domain>/servers/UCM_server/logs/ </li></ul></ul><ul...
10) Custom Components <ul><li>Do they still work? </li></ul><ul><ul><li>Yes! Component architecture still works </li></ul>...
Advanced Topics <ul><li>WebLogic Security Providers </li></ul><ul><li>WebLogic Security FIlters </li></ul><ul><ul><li>JAAS...
Useful Resources <ul><li>Most recent WebLogic book (JEE developer centric): </li></ul><ul><ul><li>http://www.amazon.com/Pr...
<ul><li>My Company:  http://bezzotech.com </li></ul><ul><ul><li>Visit us at  booth #1743 ! </li></ul></ul><ul><ul><li>To t...
Upcoming SlideShare
Loading in …5
×

The Top 10 Things Oracle UCM Users Need To Know About WebLogic

30,587
-1

Published on

A presentation I gave at IOUG Collaborate 2010 about what Oracle Universal Content Management customers need to know about WebLogic. It's a WebLogic intro from the perspective of a UCM admin.

Published in: Technology
0 Comments
9 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
30,587
On Slideshare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
575
Comments
0
Likes
9
Embeds 0
No embeds

No notes for slide

The Top 10 Things Oracle UCM Users Need To Know About WebLogic

  1. 1. The Top 10 Things UCM Users Need To Know About WebLogic <ul><li>Brian “Bex” Huff </li></ul><ul><li>Chief Software Architect </li></ul>
  2. 2. Agenda <ul><li>Why WebLogic knowledge is important </li></ul><ul><li>Top 10 things you need to know </li></ul><ul><ul><li>Some high-level, some specific </li></ul></ul><ul><li>Advanced topics </li></ul><ul><li>Useful Resources </li></ul>
  3. 3. Why Do I Need To Know WebLogic? <ul><li>IRM 11g and IPM 11g already require WebLogic </li></ul><ul><li>UCM 11gR1 will be deployed on WebLogic (when released) </li></ul><ul><ul><li>potential support for WebSphere or JBOSS post-11gR1 </li></ul></ul><ul><ul><li>URM 11g will also be deployed on WebLogic </li></ul></ul><ul><li>WebLogic will be used for the infrastructure </li></ul><ul><ul><li>web server, database connections, logging, start/stop </li></ul></ul><ul><li>Since it's the new foundation, you need to understand it </li></ul>
  4. 4. Don’t Panic! <ul><li>You don't need to know everything about the platform </li></ul><ul><ul><li>Just like you don’t need to know everything about Linux or Windows </li></ul></ul><ul><li>It's DIFFERENT , but not significantly more complex </li></ul><ul><li>Any added complexity has been well documented for years </li></ul><ul><ul><li>7 books on Amazon on WebLogic 11 </li></ul></ul><ul><ul><li>21 book on Amazon on WebLogic 10 </li></ul></ul><ul><li>Plenty of trained WebLogic resources available </li></ul><ul><li>Plenty of forums and training available </li></ul>
  5. 5. Top 10 Things You Need To Know <ul><li>WebLogic Terminology </li></ul><ul><li>WebLogic Web Interface </li></ul><ul><li>New File System Layout </li></ul><ul><li>User Management </li></ul><ul><li>Starting / Stopping UCM </li></ul><ul><li>Secure Web Services </li></ul><ul><li>Clustering </li></ul><ul><li>Performance </li></ul><ul><li>Troubleshooting </li></ul><ul><li>Custom Components </li></ul>
  6. 6. 1) WebLogic Terminology <ul><li>Servers </li></ul><ul><ul><li>a JVM running an instance of a WebLogic server, and its own configuration </li></ul></ul><ul><ul><li>sometimes referred to as an “instance” </li></ul></ul><ul><li>Machine </li></ul><ul><ul><li>a physical machine that is running one or more Servers </li></ul></ul><ul><li>Admin Server </li></ul><ul><ul><li>admin interface to stop/start instances, and configure WebLogic resources </li></ul></ul><ul><ul><li>use it to set configuration for multiple machines, multiple servers </li></ul></ul><ul><ul><li>configure services, like database pooling, and message queues </li></ul></ul>
  7. 7. 1) WebLogic Terminology, cont. <ul><li>Managed Server </li></ul><ul><ul><li>a WLS instance that can be controlled by the admin server </li></ul></ul><ul><ul><ul><li>stop / start / configure </li></ul></ul></ul><ul><ul><li>can run your managed server on the same instance as admin server </li></ul></ul><ul><ul><li>or, can run on a separate machine </li></ul></ul><ul><li>Node Manager </li></ul><ul><ul><li>tiny Java application, installed on every physical machine </li></ul></ul><ul><ul><li>admin server needs it to stop/start managed servers on remote machines </li></ul></ul><ul><ul><li>runs as a Windows Service, or a Unix daemon </li></ul></ul>
  8. 8. 1) WebLogic Terminology, Cont. <ul><li>Cluster </li></ul><ul><ul><li>a group of multiple managed servers that are considered one logical unit </li></ul></ul><ul><ul><li>share the same data sources (database, configuration, files) </li></ul></ul><ul><li>Domain </li></ul><ul><ul><li>collection of WebLogic machines, instances, and servers </li></ul></ul><ul><ul><li>has one and only one WebLogic Admin Server </li></ul></ul><ul><ul><li>pulls it all together! </li></ul></ul><ul><li>Deployment </li></ul><ul><ul><li>A JEE Application that is installed on this domain, and made available </li></ul></ul><ul><ul><li>Can “deploy” it to multiple “Servers” </li></ul></ul><ul><ul><li>UCM 11g is now 5 “deployments”: </li></ul></ul><ul><ul><ul><li>UCM Core, UCM Help, Web Services, Native Web Services, UCM Admin Server </li></ul></ul></ul>
  9. 9. Diagram of A WebLogic Domain with Cluster Node Mgr Node Mgr Domain Not shown: shared DB and file system Managed Server Admin Server Managed Server UCM Deployment Managed Server UCM Deployment
  10. 10. Diagram of UCM Cluster UCM Admin Server Mgr UCM Content Server Mgr UCM Admin Server Mgr UCM Content Server Mgr Not shown: shared DB and file system
  11. 11. 2) Web Interface: WLS Admin Server <ul><li>WLS Admin Server: http://localhost:7001/console </li></ul><ul><li>Use to deploy UCM and other JEE applications </li></ul><ul><ul><li>Configure the Database, perform diagnostics </li></ul></ul><ul><li>WebLogic Scripting Tool (WLST) </li></ul><ul><ul><li>Command-line tool for administering WebLogic </li></ul></ul><ul><ul><li>Can do everything Admin Console does </li></ul></ul><ul><ul><li>Can even “record” a set of commands for “playback” </li></ul></ul>
  12. 12. Screenshot
  13. 13. 2) Web Interface: Fusion Middleware Controller <ul><li>URL: http://localhost:7001/em </li></ul><ul><li>Lightweight dashboard similar to &quot;Enterprise Manager&quot; </li></ul><ul><ul><li>Full Enterprise Manager costs extra </li></ul></ul><ul><li>View log files and performance metrics </li></ul><ul><ul><li>Get / set some (not all) UCM configuration variables </li></ul></ul><ul><ul><li>Potential for more with custom MBeans </li></ul></ul><ul><li>Can start/stop UCM, but NOT install components! </li></ul><ul><ul><li>Still need the UCM Admin server for that </li></ul></ul>
  14. 14. Screenshot
  15. 15. 3) New File System Layout <ul><li>New Fusion Middleware root for all apps </li></ul><ul><ul><li>/u10/fmw </li></ul></ul><ul><ul><li>c:oraclefmw </li></ul></ul><ul><li>Domain home (Example) </li></ul><ul><ul><li><fmw>/user_projects/domains/ucm_domain </li></ul></ul><ul><li>TWO new UCM Homes (Example) </li></ul><ul><ul><li><domain-home>/ucm/cs/ </li></ul></ul><ul><ul><ul><li>contains configuration, custom components, vault, weblayout </li></ul></ul></ul><ul><ul><li><fmw>/Oracle_ECM/ucm/idc/ </li></ul></ul><ul><ul><ul><li>contains static resources, system components, patches, samples </li></ul></ul></ul><ul><li>Each “Server” has it own log file directory </li></ul><ul><ul><li>example: <domain>/servers/UCM_server/logs/ </li></ul></ul>
  16. 16. 3) New File System Layout, cont. <ul><li>Start Weblogic admin server </li></ul><ul><ul><li><fmw>/user_projects/domains/ucm_domain/startWebLogic.sh </li></ul></ul><ul><li>Start Weblogic Node Manager: </li></ul><ul><ul><li><fmw>/wlserver_10.3/server/bin/startNodeManager.sh </li></ul></ul><ul><li>Start MANAGED UCM from command line: </li></ul><ul><ul><li><fmw>/user_projects/domains/ucm_domain/bin/startManagedWebLogic.sh UCM_server http://localhost:7001 </li></ul></ul><ul><li>Stand-alone applications </li></ul><ul><ul><li><domain-home>/ucm/cs/bin/ </li></ul></ul><ul><ul><li>Need to create a “Local” user through applets before using these </li></ul></ul>
  17. 17. 4) User Management <ul><li>Entirely handled by Weblogic container security </li></ul><ul><ul><li>no more UCM-specific security </li></ul></ul><ul><ul><li>can still have a web-server proxy in the front end </li></ul></ul><ul><li>no more &quot;sysadmin&quot; </li></ul><ul><ul><li>still created as local user, but password is secret and tough to change </li></ul></ul><ul><li>The &quot;weblogic&quot; user is the new “sysadmin” </li></ul><ul><li>JPS / JAAS based security infrastructure </li></ul><ul><ul><li>standard communication for external user directories </li></ul></ul><ul><ul><li>default JPS provider: user management in WebLogic </li></ul></ul><ul><ul><ul><li>&quot;Local&quot; users no longer exist! </li></ul></ul></ul><ul><ul><li>if you want to run the stand-alone applets, manually create a Local user </li></ul></ul><ul><ul><ul><li>could be a problem migrating &quot;External&quot; or &quot;Local&quot; users </li></ul></ul></ul>
  18. 18. 4) User Management, Cont. <ul><li>JPS role-mapping mechanism </li></ul><ul><ul><li>JPS provider from UCM to Weblogic for authorization </li></ul></ul><ul><ul><li>LDAP providers still supported </li></ul></ul><ul><ul><ul><li>will some day be 100% replaced by JPS providers </li></ul></ul></ul><ul><ul><li>by default, a JPS Group maps directly to a UCM Role </li></ul></ul><ul><ul><li>any group that starts with an &quot;@&quot; symbol is an account </li></ul></ul><ul><ul><ul><li>Use the standard naming conventions: &quot;@account_rwda&quot; </li></ul></ul></ul><ul><li>Single Sign On now integrates with WebLogic, not UCM </li></ul><ul><ul><li>does not support Windows Integrated Authentication out-of-the-box </li></ul></ul><ul><ul><li>must create a custom JAAS/GSSAPI security filter </li></ul></ul>
  19. 19. 5) Starting / Stopping Managed UCM <ul><li>From command line </li></ul><ul><li>From WebLogic Admin Server </li></ul><ul><li>From WLST </li></ul><ul><ul><li>Send a message to the Admin Server to send to node manager: </li></ul></ul><ul><ul><ul><li>start ('managedServerName', 'Server') </li></ul></ul></ul><ul><ul><ul><li>shutdown ('managedServerName', 'Server') </li></ul></ul></ul><ul><ul><li>Send a message directly to node manager: </li></ul></ul><ul><ul><ul><li>nmStart ('serverName') </li></ul></ul></ul><ul><ul><ul><li>nmKill (‘serverName’) </li></ul></ul></ul><ul><li>From UCM Admin Server? </li></ul><ul><ul><li>Will no longer be possible in 11g </li></ul></ul><ul><ul><li>Use Admin Server only for managing components, and some config </li></ul></ul>
  20. 20. 6) Secure Web Services <ul><li>WS-Security support: which adds three things </li></ul><ul><ul><li>Security token propagation </li></ul></ul><ul><ul><ul><li>pass auth credentials from an identity provider to a service provider </li></ul></ul></ul><ul><ul><ul><li>Supports SAML, Kerberos, or basic name/password tokens </li></ul></ul></ul><ul><ul><li>Message integrity </li></ul></ul><ul><ul><ul><li>digitally &quot;sign&quot; messages, so you can prove who sent it </li></ul></ul></ul><ul><ul><ul><li>useful when SOAP messages are proxied through systems like Web Service managers, or ESBs </li></ul></ul></ul><ul><ul><li>Message confidentiality </li></ul></ul><ul><ul><ul><li>encrypt requests and responses so they are protected, like HTTPS </li></ul></ul></ul><ul><li>Certified for use with Oracle Enterprise Service Bus </li></ul><ul><ul><li>testing is ongoing, but should be final pre-release </li></ul></ul>
  21. 21. 6) Secure Web Services Cont. <ul><li>Two ways of running SOAP </li></ul><ul><li>Standard Web Services deployment </li></ul><ul><ul><li>/idcws/ context root </li></ul></ul><ul><ul><ul><li>GenericSoapService to execute any content server service </li></ul></ul></ul><ul><ul><ul><ul><li>similar to IsSoap=1 </li></ul></ul></ul></ul><ul><ul><ul><li>WS-Security can be attached, but bad for large file transfers </li></ul></ul></ul><ul><li>Native Web Services deployment </li></ul><ul><ul><li>/idcnativews/ context root </li></ul></ul><ul><ul><ul><li>Allows two-part web service requests </li></ul></ul></ul><ul><ul><ul><li>IdcWebLoginService </li></ul></ul></ul><ul><ul><ul><ul><li>WS-Security can be applied, get back a JSESSION id </li></ul></ul></ul></ul><ul><ul><ul><li>IdcWebRequestService </li></ul></ul></ul><ul><ul><ul><ul><li>supports MTOM, but not WS-Security </li></ul></ul></ul></ul><ul><ul><ul><ul><li>use the JSESSIONID from the last request </li></ul></ul></ul></ul>
  22. 22. 7) Clustering <ul><li>Uses some WebLogic infrastructure </li></ul><ul><ul><li>still requires shared file system in 11g </li></ul></ul><ul><ul><li>however, new cluster node install is easier </li></ul></ul><ul><li>Best practice for clustering: </li></ul><ul><ul><li>clusters have same version of WLS, and identical hardware </li></ul></ul><ul><li>shared disk subsystem: shared database, shared filesystem </li></ul><ul><ul><li>why? multiple JVMs that all need to access the same data </li></ul></ul><ul><ul><li>at runtime, everything needs to get at the same bits </li></ul></ul><ul><li>WebLogic operations control </li></ul><ul><ul><li>monitor the cluster's performance, see if you need to add more </li></ul></ul>
  23. 23. 8) Performance <ul><li>Overall in 11g performance is 2x to 4x improved </li></ul><ul><ul><li>official numbers not yet released </li></ul></ul><ul><ul><li>Appears to be I/O limited </li></ul></ul><ul><li>Where will the new performance problems be? </li></ul><ul><ul><li>Database “batching”, Indexing, File I/O, Network I/O, Latency </li></ul></ul><ul><li>The trouble with &quot;jsessionid&quot; </li></ul><ul><ul><li>Makes using a reverse proxy significantly more difficult </li></ul></ul><ul><ul><li>Will need different techniques for high-performance web sites </li></ul></ul><ul><ul><ul><li>Content Deliver Networks, Sprites, smarter caches </li></ul></ul></ul>
  24. 24. 9) Troubleshooting <ul><li>Where are my logs?!? </li></ul><ul><ul><li><domain>/servers/UCM_server/logs/ </li></ul></ul><ul><ul><li>Text files are always superior to a web interface for low-level debugging </li></ul></ul><ul><li>Enable a tracing flag to get more log info </li></ul><ul><li>Web logs are still present for the “big” errors </li></ul><ul><li>ECID tracking number </li></ul><ul><ul><li>track request over multiple applications </li></ul></ul><ul><ul><li>GuiView that tracks ECID in FMC </li></ul></ul>
  25. 25. 10) Custom Components <ul><li>Do they still work? </li></ul><ul><ul><li>Yes! Component architecture still works </li></ul></ul><ul><li>Where are they? </li></ul><ul><ul><li>Custom components </li></ul></ul><ul><ul><li>“System” components </li></ul></ul><ul><li>Will my old components still work? </li></ul><ul><ul><li>GUI ones always need updates: 11g is no exception </li></ul></ul><ul><ul><li>Java ones will likely need to be recompiled </li></ul></ul><ul><ul><li>Security ones might no longer be needed, </li></ul></ul><ul><ul><ul><li>or will need to be redone as a WebLogic security filter </li></ul></ul></ul><ul><ul><li>Migration effort should be similar to past migration efforts </li></ul></ul>
  26. 26. Advanced Topics <ul><li>WebLogic Security Providers </li></ul><ul><li>WebLogic Security FIlters </li></ul><ul><ul><li>JAAS based Java filters, configured in the web.xml file </li></ul></ul><ul><ul><li>use GSSAPI to extract Integrated Windows Authentication tokens </li></ul></ul><ul><li>MBeans </li></ul><ul><li>JMS queues </li></ul><ul><li>Oracle WebLogic Server Diagnostics Framework (WLDF) </li></ul><ul><li>Performance Tools for WebLogic </li></ul><ul><ul><li>JConsole, jps, jstat, jinfo, jmap, and jstack </li></ul></ul><ul><ul><li>JRockit Management Console, JRA, Memory Leak Detector </li></ul></ul>
  27. 27. Useful Resources <ul><li>Most recent WebLogic book (JEE developer centric): </li></ul><ul><ul><li>http://www.amazon.com/Professional-Oracle-WebLogic-Server-Programmer/dp/0470484306 </li></ul></ul><ul><li>General Oracle Application Server Forums: </li></ul><ul><ul><li>http://forums.oracle.com/forums/category.jspa?categoryID=193 </li></ul></ul><ul><li>Online Training and How-Tos: </li></ul><ul><ul><li>http://www.oracle.com/technology/products/weblogic/index.html </li></ul></ul><ul><li>Oracle University Classes </li></ul>
  28. 28. <ul><li>My Company: http://bezzotech.com </li></ul><ul><ul><li>Visit us at booth #1743 ! </li></ul></ul><ul><ul><li>To the left of the Oracle demo pods, behind HP </li></ul></ul><ul><li>My Blog: http://bexhuff.com </li></ul><ul><li>My Self: [email_address] </li></ul>Questions?
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×