You are previewing Oracle SOA Suite 12c Administrator's Guide.
O'Reilly logo
Oracle SOA Suite 12c Administrator's Guide

Book Description

A guide to everything an Oracle SOA Suite 12c administrator needs to hit the ground running

About This Book

  • Understand core administrative tasks such as deployments, purging, startup and shutdown, configuration, and backup and recovery

  • Manage, monitor, and troubleshoot SOA composites and OSB services

  • Follow step-by-step instructions to easily and quickly install a highly available two-node cluster

  • Who This Book Is For

    With topic areas ranging from the simple to the complex, this book is intended for novice, mid-level, and experienced administrators of the Oracle SOA Suite 12c platform as well as Oracle WebLogic Server and Oracle Database administrators interested in diving into the product.

    What You Will Learn

  • Navigate Oracle Enterprise Manager Fusion Middleware Control

  • Monitor and manage the Oracle SOA Suite 12 c infrastructure

  • Deploy and promote code

  • Monitor and manage services

  • Configure and administer the environment

  • Manage the dehydration store and enterprise scheduler service

  • Troubleshoot Oracle SOA Suite 12c infrastructure

  • Set up backups, recovery, and high availability

  • In Detail

    Oracle SOA Suite 12 c is the most comprehensive and integrated infrastructure on the market today that is used for building applications based on service-oriented architecture. With the vast number of features and capabilities that Oracle SOA Suite 12c has to offer comes numerous complexities and challenges for administration. Oracle SOA Suite 12c Administrator's Guide covers all the core areas of administration needed for you to effectively manage and monitor the Oracle SOA Suite environment and its transactions, from deployments, to monitoring, to performance tuning, and much, much more.

    Manage, monitor, and troubleshoot SOA composites and OSB services from a single product set. Understand core administrative activities such as deployments, purging, startup and shutdown, configuration, backup, and recovery. Also learn about new features such as Oracle Enterprise Scheduler, lazy loading, work manager groups, high availability, and more.

    Style and approach

    Presented in a reference guide format where chapters can be read in any sequence, this book explains the core concepts while providing real-world implementation specifics, detailing the what, why, and how of all the administration-related activities that involve Oracle SOA Suite 12c. We take a step-by-step approach and offers tips, instructions, and examples that you can easily follow and execute.

    Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.

    Table of Contents

    1. Oracle SOA Suite 12c Administrator's Guide
      1. Table of Contents
      2. Oracle SOA Suite 12c Administrator's Guide
      3. Credits
      4. About the Authors
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers, and more
          1. Why subscribe?
          2. Free access for Packt account holders
          3. Instant updates on new Packt books
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Downloading the color images of this book
          3. Errata
          4. Piracy
          5. Questions
      8. 1. SOA Infrastructure Management – what You Need to Know
        1. Identifying and overcoming monitoring and management challenges in the SOA
        2. Centralized monitoring and management of the SOA platform
        3. Performance monitoring and management
        4. Managing composite application lifecycles
        5. Understanding the Oracle Fusion Middleware landscape
        6. The Oracle SOA Suite 12c infrastructure stack
        7. New features of Oracle SOA Suite 12c
        8. Summary
      9. 2. Navigating Enterprise Manager Fusion Middleware Control 12c
        1. Discovering the consoles
        2. Accessing Fusion Middleware Control
          1. Presenting the dashboard
          2. Navigating the console through the navigator
            1. Java EE applications
            2. Service Bus
            3. The SOA infrastructure
            4. WebLogic Domain
            5. Metadata Repositories
            6. User Messaging Service (UMS)
        3. Summary
      10. 3. Startup and Shutdown
        1. Preparing the environment
          1. Setting up the environment
          2. Disabling the prompt of the WebLogic password
        2. Starting up the infrastructure
          1. Using the command line
            1. Starting up Node Manager
            2. Starting up AdminServer
            3. Starting up the managed servers
          2. Using the console
            1. Starting up Node Manager
            2. Starting up AdminServer
            3. Starting up the managed servers
          3. Using WLST
            1. Starting up Node Manager
            2. Starting up AdminServer
            3. Starting up the managed servers
        3. Verifying server startup
          1. Verifying Node Manager
          2. Verifying AdminServer
          3. Verifying the managed servers
        4. Shutting down the infrastructure
          1. Using the command line
            1. Shutting down the managed servers
            2. Shutting down AdminServer
            3. Shutting down Node Manager
          2. Using the console
            1. Shutting down AdminServer and the managed servers
            2. Shutting down Node Manager
          3. Using WLST
            1. Shutting down the managed servers
            2. Shutting down AdminServer
            3. Shutting down Node Manager
        5. Summary
      11. 4. Managing Services
        1. Managing SOA composite lifecycles
          1. Understanding revisions
            1. Changing the SOA composite default revision at runtime
          2. Starting up and shutting down SOA composites
            1. Starting a SOA composite
            2. Shutting down a SOA composite
          3. Retiring and activating SOA composites
            1. Retiring a SOA composite
            2. Activating a SOA composite
          4. Deleting SOA composite instances
        2. Structuring SOA composites with partitions
          1. The default partition
          2. Managing partitions
            1. Creating a partition
            2. Deleting a partition
          3. Grouping SOA composite applications into partitions
          4. Considerations for partition management
          5. Updating runtime properties for SOA composites
          6. Assigning a partition to a Work Manager Group list
          7. Securing access to partitions
        3. Managing OSB service lifecycles
          1. Managing OSB service operations
            1. State
            2. Monitoring
            3. Aggregation Interval
            4. SLA Alerts
            5. Message Tracing
            6. Pipeline Alerts
            7. Logging
            8. Reports
            9. Execution Tracing
            10. Caching
          2. Advanced debugging in OSB
        4. Summary
      12. 5. Deploying Code
        1. Deploying SOA composites
          1. Deployment tools
            1. Path to deployment
          2. Deploying from Fusion Middleware Control
            1. Deploying a composite
            2. Redeploying a composite
            3. Undeploying a composite
          3. Deploying with Ant
            1. Setting up the environment
              1. Setting up the environment path for Ant
            2. Packaging a composite
            3. Deploying a composite
            4. Undeploying a composite
          4. Deploying with WLST
            1. Setting up the environment
            2. Packaging a composite
            3. Deploying a composite
            4. Undeploying a composite
          5. Using configuration plans
            1. Why do we need configuration plans?
            2. Understanding configuration plan contents
            3. Attaching a configuration plan
            4. The recommended approach to using configuration plans
            5. Exemplying the usage of configuration plans
        2. Deploying OSB projects
          1. Importing from the Oracle Service Bus Console
            1. Importing an OSB service
            2. Deleting an OSB service
          2. Deploying with WLST
            1. Setting up the environment
            2. Creating a customization file
            3. Creating an import configuration file
            4. Downloading the import.py script
            5. Importing an OSB service
            6. Deleting an OSB service
          3. Using customization files
            1. Why do we need customization files?
            2. Exporting a customization file through the OSB Console
            3. Applying a customization file through the OSB Console
            4. Attaching a customization file when deploying through WSLT
        3. Deploying BAM artifacts
          1. Setting up the environment
            1. Setting up the environment path
            2. Updating the configuration file
          2. Exporting BAM artifacts
          3. Importing BAM artifacts
        4. Deploying MDS artifacts
          1. Exporting MDS artifacts with Ant
          2. Importing artifacts to the MDS with Ant
        5. Summary
      13. 6. Monitoring Oracle SOA Suite 12c
        1. SOA transaction monitoring
          1. Monitoring composite instances
            1. Faulted instances
            2. Searching composite sensors
            3. Searching BPEL process sensors
            4. Understanding Flow IDs, Instance IDs, and ECIDs
          2. Monitoring composite instance performance
            1. Last update time of instances
            2. Performance summary graphs and request processing metrics
            3. SQL queries for BPEL and BPMN metrics
          3. Monitoring OSB instances
            1. Monitoring
            2. Message tracing
            3. SLA Alerts
            4. Reports
            5. Logging
            6. Execution tracing
        2. The DMS Spy Servlet
        3. Identifying and viewing log file entries
          1. Relevant log files
        4. Monitoring Service Engine instances and faults
          1. Monitoring Event Delivery Network
        5. Oracle WebLogic Server monitoring
          1. Managed servers
          2. JVM
          3. JMS destinations
          4. Data sources
        6. OEM Cloud Control and the SOA Management Pack
        7. Summary
      14. 7. Configuration and Administration
        1. Navigating key administration areas
        2. Introduction to Change Center
        3. Configuring infrastructure properties
          1. Managing server profiles
          2. Configuring composite lazy loading
          3. Configuring infrastructure thread pool
          4. Configuring the Global Transaction Retry settings
        4. Configuring and administering SOA composites
          1. Composite instance tracking and flow instances
          2. Managing and recovering composite instance faults
          3. Managing and recovering instance faults
          4. Bulk recovery of instance faults
            1. Configuring automatic message recovery through MBeans
            2. Configuring error notification rules
        5. Configuring and administering JCA adapters and binding components
          1. Configuring and managing service bindings
          2. Configuring and managing reference bindings
        6. Administering BPEL process engine
          1. Configuring BPEL service engine properties
        7. Administering the Mediator service engine
          1. Configuring Mediator service engine properties
        8. Administering Oracle User Messaging Service
          1. Describing UMS architecture and components
          2. Configuring UMS for Human Workflow and BPEL process components
            1. Configuring the e-mail messaging driver and notifications
            2. Testing UMS notifications from Enterprise Manager
            3. Configuring multiple send addresses with UMS
        9. Administering human workflow service engines
          1. Describing human workflow components and applications
          2. Managing workflow task configuration at runtime
          3. Managing human task service component address
          4. Seeding organizational users and groups
          5. Mapping users and groups to application roles
          6. Configuring multiple authentication providers for human workflow
          7. Migrating human workflow data from test to production
        10. Administering and configuring Event Engine and Business Events
          1. Administering and testing Business Events
        11. Administering domain values maps and cross-references
          1. Administering DVMs
          2. Administering XREFs
        12. Configuring infrastructure resources for developers
          1. Providing role-based access to the SOA Infrastructure
          2. Creating read-only MDS database accounts
          3. Setting up custom XPath
        13. Summary
      15. 8. Managing the Database
        1. Managing the dehydration store
          1. Configurations affecting the dehydration store
          2. Database objects of the SOA dehydration store
          3. Measuring database growth
          4. Purging strategies
            1. Understanding what is purged
            2. Setting up automatic purging
              1. Understanding parallel purging
            3. Monitoring the status of purging
            4. Reclaiming disk and segment space
          5. Reducing audit levels
            1. Understanding audit levels
            2. The order of precedence for audit level settings
            3. Modifying audit levels
          6. Modifying component audit levels
          7. Modifying composite audit levels
          8. Modifying service engine audit levels
            1. Modifying SOA Infrastructure audit levels
        2. Managing metadata repository partitions
          1. Creating a new partition
          2. Cloning a partition
          3. Exporting and importing composites from/to a partition
        3. Purging the metadata version history
        4. Summary
      16. 9. Troubleshooting the Oracle SOA Suite 12c Infrastructure
        1. The art of troubleshooting – where do you start?
        2. Troubleshooting infrastructure problems
          1. Extending logging
          2. Using logs
            1. An infrastructure error – StackOverflowError
            2. A composite instance error – SOAPFaultException
            3. An infrastructure error – DeploymentException
            4. A composite instance error – FabricInvocationException
            5. An infrastructure error – Unable to allocate additional threads
            6. An infrastructure or composite instance error – MDSException
            7. An OSB instance error – BEA-380000
            8. An infrastructure error – BeanInstantiationException
            9. An infrastructure error – unable to extend lob segment
          3. Using thread dumps
        3. Troubleshooting performance issues
          1. Server-wide performance issues
          2. SOA composite instance performance
            1. Average, minimum, and maximum duration of BPEL/BPMN components
            2. The duration of a single BPEL/BPMN component instance
        4. Troubleshooting SOA composite instances
          1. Troubleshooting generic SOA composite instance errors
        5. Troubleshooting OSB instances
        6. Using selective tracing
        7. Troubleshooting SOA deployment issues
          1. Knowing where to look
          2. Compilation issues
          3. Common deployment issues
          4. Undeploying corrupt composites
        8. Troubleshooting OSB deployment issues
        9. Summary
      17. 10. Backup and Recovery
        1. Understanding what needs to be backed up
          1. Static files
            1. Oracle system files
            2. JDK
            3. Oracle SOA Home
          2. Runtime artifacts
            1. Database
            2. JMS file stores
            3. Transaction logs
            4. The SOA domain
        2. The recommended backup strategy
          1. After a new installation
          2. Before upgrading
          3. Before applying patches
          4. Before configuration changes
          5. Before architectural changes
          6. After upgrade, patch, configuration, or architectural changes
          7. Before or after a code deployment
          8. Ongoing backups
        3. Implementing the backup process
          1. Oracle system files
          2. JDK
          3. Oracle SOA Home
          4. Domain Home
          5. Database
        4. Recovery strategies
        5. Summary
      18. 11. Introducing Oracle Enterprise Scheduler
        1. Discovering the ESS consoles
        2. Understanding ESS terminology
          1. Job type
          2. Job definition
          3. Job
          4. Job request
          5. Job set
          6. Schedule
          7. Work shift
          8. Specialization
          9. Work assignment
          10. Request processor
          11. Request dispatcher
          12. Purge policy
          13. Incompatibility
        3. Starting and stopping ESS
        4. Scheduling jobs
          1. Creating Job Definitions
            1. Parameterizing Job Definitions
          2. Creating Schedules
          3. Submitting Job Requests
          4. Monitoring Job Requests
          5. Altering Job Requests
          6. Incompatibility
          7. Defining Job Sets
            1. Creating a dependency between Job Requests
          8. Setting up a Purge Policy
            1. Purging from Fusion Middleware Control
            2. Purging through the database
          9. Tuning and troubleshooting ESS
            1. Tuning ESS for optimal performance
              1. Tuning the Request Dispatcher
              2. Tuning the Request Processor
              3. Tuning the ESS data source
              4. Tuning dead database connections
          10. Using ESS WLST commands
            1. Setting an environment variable and classpath
            2. Connecting to WLST offline
            3. Managing Job Definitions using WLST
            4. Managing schedules using WLST
            5. Managing Job Requests using WLST
            6. Purging Job Requests using WLST
        5. Summary
      19. 12. Clustering and High Availability
        1. Architecture
          1. Software versions
          2. An architectural diagram
          3. Architectural considerations
          4. Understanding the variables and terms
        2. Downloading the software
          1. Downloading Oracle Fusion Middleware 12c
          2. Downloading Oracle Java
          3. Downloading Oracle Web Tier 12c
        3. Installation prerequisites
          1. Ensuring hardware requirements
          2. Setting up the load balancer
          3. Setting up the hostname
          4. Preparing the filesystem
          5. Configuring the operating system
            1. Verifying the temp and SWAP space
            2. Creating operating system accounts
            3. Configuring operating system prerequisites
          6. Creating custom environment scripts
          7. Unzipping the software
        4. Installing Java and Infrastructure
          1. Installing Java and Infrastructure on MidTier
          2. Installing Java and Infrastructure on WebTier
          3. Running the Repository Creation Utility
          4. Creating a new domain
          5. Starting Node Manager in the Admin Server domain home
          6. Creating the boot.properties file
          7. Starting the Admin Server
          8. Creating a domain directory for managed servers on MidTier
          9. Starting Node Manager in the MidTier domain directory
          10. Modifying the Node Manager ports for MidTier
          11. Modifying the te directories to absolute paths
          12. Starting the WSM managed servers
        5. Configuring WebTier
          1. Installing OHS on MidTier
          2. Installing OHS on WebTier
          3. Extending domain with OHS
          4. Propagating the extended domain to WebTier
          5. Updating the OPSS JPS configuration on WebTier
          6. Starting the Admin Server
          7. Starting Node Manager on WebTier on port 5558
          8. Configuring OHS
        6. Installing Oracle SOA Suite
          1. Creating Oracle SOA Suite database schemas
          2. Configuring SOA schemas for transaction recovery
          3. Extending the domain with Oracle SOA Suite
          4. Configuring the default persistence store for transaction recovery
          5. Propagating the domain to the domain directories and machines
          6. Configuring Oracle HTTP Server for Oracle SOA Suite
          7. Configuring the WebLogic proxy plug-in
          8. Configuring the Oracle File Adapter for Oracle SOA Suite
          9. Configuring the Oracle FTP Adapter for Oracle SOA Suite
          10. Configuring the Oracle JMS Adapter for Oracle SOA Suite
        7. Installing Oracle Service Bus
          1. Extending the domain to include Oracle Service Bus
          2. Configuring the default persistence store for transaction recovery
          3. Propagating the domain to the domain directories and machines
          4. Configuring the WebLogic proxy plug-in
        8. Installing Oracle Enterprise Scheduler
          1. Extending the domain to include Oracle Enterprise Scheduler
          2. Configuring the default persistence store for transaction recovery
          3. Propagating the domain to the domain directories and machines
          4. Configuring the WebLogic proxy plug-in
        9. URL References
        10. Startup and shutdown command reference
        11. Summary
      20. Index