Oracle Service Bus 10g R3: System Administration Student Guide D56301GC11 Edition 1.1 November 2010 D69775
Authors Bill Bunch Bijoy Choudhury Swarnapriya Shridhar Technical Contributor and Reviewer Tom Hardy Editors Aju Kumar Daniel Milne Pj Schemenaur Graphic Designer Satish Bettegowda Publishers Giri Venugopal Joseph Fernandez Shaik Mahaboob Basha Copyright 2009, 2010, Oracle and/or its affiliates. All rights reserved. Disclaimer This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy and print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any way. Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print, display, perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express authorization of Oracle. The information contained in this document is subject to change without notice. If you find any problems in the document, please report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not warranted to be error-free. Restricted Rights Notice If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United States Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS The U.S. Government s rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract. Trademark Notice Oracle and Java are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Contents 1 Introduction Objectives 1-2 Agenda 1-3 Target Audience 1-4 Course Objectives 1-5 Course Agenda 1-6 Classroom Guidelines 1-7 Course Environment 1-8 Summary 1-9 Practice 1-1 Overview: Obtaining a Grid VM Instance and Accessing Information 1-10 Practice 1-2 Overview: Connecting to Your Allocated Grid VM Instance 1-11 2 Getting Started with OSB Objectives 2-2 Road Map 2-3 Why an Enterprise Service Bus? 2-4 OSB Architecture 2-5 OSB Components 2-6 Proxy Services 2-7 Message Flow 2-9 OSB Development Process 2-11 Supported Transport Protocols 2-12 Section Summary 2-14 Road Map 2-15 Supported Platforms 2-16 GUI-Mode Installation 2-17 Product Components 2-18 Workshop Installation 2-20 Component Installation 2-21 Console-Mode Installation 2-22 Windows Start Menu Shortcuts 2-23 BEA Home Directory 2-24 OSB Product Directory 2-25 Product Maintenance 2-26 Section Summary 2-28 Practice 2-1 Overview: Installing OSB 2-29 iii
Road Map 2-30 Review: Configuring a Domain 2-31 OSB Single Server 2-33 OSB Managed Servers, No Cluster 2-34 Review: Domain Templates 2-35 OSB Domain Templates 2-37 OSB Data Sources 2-38 OSB Database Initialization 2-40 OSB Domain Using WLST 2-42 OSB Domain Layout 2-43 Additional OSB Domain Activities 2-45 Section Summary 2-46 Practice 2-2 Overview: Configuring an OSB Domain 2-47 Road Map 2-48 OSB Reporting Database 2-49 Supported Database Configurations 2-50 OSB Database Initialization 2-52 OSB Database Scripts 2-53 Section Summary 2-54 Summary 2-55 3 Service Bus Management Fundamentals Objectives 3-2 Road Map 3-3 OSB Console 3-4 Accessing the Console 3-5 Projects and Folders 3-6 Resource Types 3-7 Enabling or Disabling a Service 3-9 Smart Search 3-10 View References 3-11 Performing Simple Actions on Resources 3-12 Section Summary 3-13 Road Map 3-14 Console Change Center 3-15 Session Management 3-16 Change History 3-18 Resolve Conflicts 3-19 Section Summary 3-21 Practice 3-1 Overview: Managing OSB Sessions 3-22 iv
Road Map 3-23 Test Business or Proxy Service 3-24 Direct Call 3-25 Request Document 3-26 SOAP Test Messages 3-27 JMS Test Messages 3-29 Transport Options 3-30 Response Document 3-32 Response Metadata 3-33 Invocation Trace 3-34 Section Summary 3-35 Practice 3-2 Overview: Testing a Proxy Service 3-36 Road Map 3-37 Propagation 3-38 Exporting Resources 3-39 Importing Resources 3-40 Customization 3-41 Find/Replace Properties 3-42 Customization Files 3-43 Execute Customization Files 3-44 Section Summary 3-45 Practice 3-3 Overview: Propagating a Service Bus Configuration 3-46 Practice 3-4 Overview: Customizing a Service Bus Configuration 3-47 Road Map 3-48 OSB and WLST 3-49 SessionManagementMBean 3-50 Resource References 3-51 ALSBConfigurationMBean 3-52 Section Summary 3-55 Practice 3-5 Overview: Managing OSB Using WLST 3-56 Road Map 3-57 Administration Roles and Groups 3-58 IntegrationMonitor 3-59 IntegrationOperator 3-60 IntegrationDeployer 3-61 IntegrationAdmin and Admin 3-62 Section Summary 3-63 Summary 3-64 v
4 Service Bus Operations Objectives 4-2 Road Map 4-3 Service Bus Monitoring 4-4 OSB Monitoring Framework 4-5 OSB Dashboard 4-7 Service Operational Settings 4-8 Global Operational Settings 4-9 Aggregation Interval 4-10 Server Health 4-11 Service Health 4-12 Action Metrics 4-14 Reset Statistics 4-15 Operational Tasks with WLST 4-16 Section Summary 4-18 Practice 4-1 Overview: Monitoring Service Health 4-19 Road Map 4-20 Alert Examples 4-21 Alert Destinations 4-22 Email Destinations 4-24 Alert Types 4-25 Enable Alerts 4-26 Service Level Agreements 4-27 SLA Rule Conditions 4-30 Monitor Alerts 4-32 Section Summary 4-33 Practice 4-2 Overview: Defining Service Level Agreements 4-34 Road Map 4-35 Reporting Examples 4-36 OSB Reporting Architecture 4-37 Enable Reporting 4-38 Reporting Alert Destinations 4-39 Monitor Reports 4-40 Purge Reports 4-41 Access Report Data 4-42 Section Summary 4-43 Practice 4-3 Overview: Analyzing OSB Reports 4-44 Road Map 4-45 Proxy Service Logging 4-46 OSB Debug Files 4-47 vi
OSB Debugging Example 4-48 Message Tracing 4-49 Section Summary 4-50 Summary 4-51 5 Service Bus Security Objectives 5-2 Road Map 5-3 OSB Security Realm 5-4 Active and Passive Intermediary 5-5 OSB Security Capabilities 5-7 Transport Security 5-8 Message Security 5-9 WS-Security 5-10 WS-Policy 5-11 WS-Policy Types 5-12 WS-Policy for Abstract SOAP 5-13 Oracle Support for WS-Policy 5-15 WS-Policy Example 5-16 Add a WS-Policy File 5-18 Service Accounts 5-19 Create a Service Account 5-21 Service Key Providers 5-22 PKI Credential Mapper 5-23 Create a Service Key Provider 5-24 Section Summary 5-25 Road Map 5-26 Proxy Service HTTP Authentication 5-27 Proxy Service HTTP Security 5-29 Proxy Service JMS Security 5-30 Proxy Service Email and FTP Security 5-31 Secure FTP (SFTP) and OSB 5-32 SFTP Authentication 5-33 Proxy Service SFTP Security 5-34 Proxy Service WS-Security 5-35 Dynamic WS-Policy Bindings 5-36 Section Summary 5-38 Practice 5-1 Overview: Securing a Proxy Service 5-39 Road Map 5-40 XACML Security Providers 5-41 vii
Security Roles 5-42 Create a Role 5-43 Group Role Conditions 5-44 Date/Time Role Conditions 5-45 Combine or Negate Conditions 5-46 Service Access Control Policies 5-47 Create an Access Control Policy 5-48 Propagation of Roles and Policies 5-50 Section Summary 5-51 Practice 5-2 Overview: Defining a Custom Access Policy 5-52 Road Map 5-53 Business Service HTTP Security 5-54 Business Service JMS Security 5-55 Business Services and Other Transports 5-56 Business Service WS-Security 5-57 Section Summary 5-58 Practice 5-3 Overview: Securing a Business Service 5-59 Road Map 5-60 Security Assertion Markup Language 5-61 SAML Terminology 5-62 SAML WS-Security Architecture 5-63 SAML WS-Security Profiles 5-64 OSB and SAML 5-65 SAML Credential Mapper 5-66 Register Relying Parties 5-67 SAML Identity Asserter 5-69 Section Summary 5-71 Practice 5-4 Overview: Authenticating Using SAML 5-72 Summary 5-73 6 Service Bus High Availability Objectives 6-2 Road Map 6-3 OSB Clusters 6-4 Multiple Clusters, Single Domain 6-6 Resource Targeting 6-7 Pinned OSB Resources 6-8 Target Reporting Purger 6-9 Clustered Aggregator Architecture 6-10 Target Aggregator 6-11 viii
Target Transport Pollers 6-12 Adding Cluster Members 6-14 Partial Session Activation 6-16 Testing Clustered Proxy Services 6-17 Section Summary 6-18 Practice 6-1 Overview: Creating an OSB Cluster 6-19 Road Map 6-20 Business Service Pooling 6-21 Service Pooling Overview 6-22 Load Balancing and Failover 6-23 Service Pooling Configuration 6-24 Reactivate Offline Endpoints 6-26 Endpoint Status Alerts 6-27 Section Summary 6-28 Practice 6-2 Overview: Configuring Load Balancing for an OSB Business Service 6-29 Road Map 6-30 Overload Protection 6-31 Throttling Overview 6-32 Throttling Configuration 6-33 Throttling and Service Pooling 6-35 Throttling Statistics 6-36 Throttling Alerts 6-37 Section Summary 6-38 Summary 6-39 7 OSB and UDDI Objectives 7-2 Road Map 7-3 Registry Integration Scenarios 7-4 UDDI Specification 7-5 Oracle Service Registry 7-7 OSB tmodels 7-8 Configure Registries 7-9 Set Default Registry 7-10 Section Summary 7-11 Road Map 7-12 Import Business Service 7-13 Auto-Import 7-14 Detach from Registry 7-15 Section Summary 7-16 ix
Road Map 7-17 Publish Proxy Service 7-18 Proxy Service Auto-Publish 7-19 Section Summary 7-20 Summary 7-21 Appendix A: Practices and Solutions Appendix B: Oracle Service Bus 11g New Features Objectives B-2 Highlights of Oracle Service Bus 11g New Features B-3 Service Result Caching B-4 OWSM Support B-5 JCA Transport B-6 SOA-DIRECT Transport B-7 JEJB Transport B-8 Custom XPath Functions B-9 Closed-Loop Service Life Cycle B-10 Unified Runtime B-11 How Can I Learn More? B-12 Summary B-13 Index x