OSM Installation-Guide
OSM Installation-Guide
Service Management
Installation Guide
Release 7.4.1
F30311-02
May 2021
Oracle Communications Order and Service Management Installation Guide, Release 7.4.1
F30311-02
This software and related documentation are provided under a license agreement containing restrictions on
use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your
license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse
engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is
prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on
behalf of the U.S. Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software,
any programs embedded, installed or activated on delivered hardware, and modifications of such programs)
and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government
end users are "commercial computer software" or "commercial computer software documentation" pursuant
to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such,
the use, reproduction, duplication, release, display, disclosure, modification, preparation of derivative works,
and/or adaptation of i) Oracle programs (including any operating system, integrated software, any programs
embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle
computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the
license contained in the applicable contract. The terms governing the U.S. Government’s use of Oracle cloud
services are defined by the applicable contract for such services. No other rights are granted to the U.S.
Government.
This software or hardware is developed for general use in a variety of information management applications.
It is not developed or intended for use in any inherently dangerous applications, including applications that
may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you
shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its
safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this
software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of
their respective owners.
Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are
used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc,
and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered
trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products,
and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly
disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise
set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not
be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content,
products, or services, except as set forth in an applicable agreement between you and Oracle.
Contents
Preface
Audience xiv
Documentation Accessibility xiv
iii
Simple Order Hardware Sizing Guidelines (Neither RODOD nor RSDOD) 3-8
General Hardware Sizing and Configuration Recommendations 3-9
OSM Installer and Application Server System Sizing 3-9
Application Server Hardware Sizing 3-10
Running Multiple WebLogic Servers on the Same System 3-10
Shared Storage for the WebLogic Server 3-10
Database Hardware Sizing 3-11
Shared Storage for the Database 3-11
RAID Recommendations for the Database 3-11
Understanding Order Affinity 3-12
About Order Affinity and Ownership in an OSM WebLogic Cluster 3-12
About Load Balancing for OSM and Order Affinity 3-13
About the Performance Differences Between JMS and HTTP or HTTPS 3-14
About Order Affinity and Ownership in an Oracle RAC Database 3-14
Planning the Network Infrastructure 3-15
Planning Network IP Addresses 3-15
Planning Bi-Directional Network and Firewall Access 3-15
Network Latency Between WebLogic Server and the Database 3-15
Network Latency and NFS Configuration for WebLogic Server Shared Storage 3-16
Operating System Planning 3-16
Database Planning 3-16
Oracle RAC Database Active-Active Deployments 3-17
Database Partitioning 3-17
Database Failover with Oracle RAC 3-17
Database Failover with Oracle RAC One Node 3-18
Listener Considerations for Oracle RAC 3-18
Remote Listener Considerations 3-19
Local Listener Considerations 3-19
WebLogic Server Planning 3-19
Understanding the WebLogic Cluster Configuration 3-20
About Cluster Domain Management 3-20
About the WebLogic Messaging Mode and OSM Cluster Size 3-20
About Coherence and Unicast 3-21
Understanding the Administration Server 3-21
Understanding Node Manager Configuration 3-22
Understanding JMS Messaging 3-22
JMS Distributed Destinations 3-23
Cluster and Single-Server Queues 3-24
About WebLogic Server JMS T3 and T3S Load Balancing 3-24
About JMS Load Balancing Schema Options 3-25
Understanding Whole Server Migration for High Availability 3-26
iv
Managing WebLogic Transactions 3-27
Persistent Store: JMS File Store and JDBC Store 3-28
Persistent Store: TLog File Store and JDBC Store 3-28
Understanding Hardware or Software HTTP and HTTPS Load Balancing
Options 3-29
About HTTP and HTTPS Load Balancing and Session ID Configuration 3-30
About Oracle Coherence 3-30
v
Configuring Node Manager for Starting and Stopping Managed Servers 5-14
Configuring Node Manager for Whole Server Migration 5-15
Configured Whole Server Migration Floating IP Controls 5-15
Enrolling Each Machine with the Domain 5-17
Starting Node Manager on Each Machine 5-17
Configuring a Multicast IP Address for the Cluster Messaging Mode 5-18
Preventing Connection Timeout when Using a Remote Database 5-20
Recommended Configuration for WebLogic Servers for Production Systems 5-21
Configuring Managed Server Startup Parameters 5-22
Configuring Cluster Settings 5-23
Configuring Server Settings 5-24
Starting and Verifying all Machines in the Cluster 5-25
Configuring Whole Server Migration 5-25
Creating the Leasing Tablespace and Active Table in the Database 5-26
Create the Leasing Multi Data Source 5-28
Configure the Cluster for Whole Server Migration 5-29
Configure Managed Servers for Whole Server Migration 5-30
Testing Whole Server Migration 5-31
Migrating a Managed Server Back 5-32
Installing OSM in a Clustered Environment 5-33
vi
Creating and Configuring Persistent File Stores 8-4
Externalizing the Coherence Thread Configuration File 8-6
Copying Metric Rule Files 8-8
Relocating ADML Files Without Restarting the Server 8-10
Registering Oracle HTTP Server Instance 8-10
Queue Configuration Post Installation Tasks 8-11
Configuring Distributed Queues for an OSM Solution 8-11
Configuring Separate Error Queues 8-12
OSM Integration with External Systems 8-13
Configuring Domain Trust 8-13
Integrating OSM and ASAP or IP Service Activator Using SAF Agent and JMS
Bridging 8-13
Integrating OSM and UIM Using SAF Agent 8-15
Deploying Custom Plug-Ins When Running on Managed Server 8-16
Changing the WebLogic Server or Oracle RAC Database Size 8-16
Connecting Oracle RAC with JDBC Multi Data Source 8-16
Adding Oracle RAC Instances 8-19
Manually Configuring Additional Data Sources for an Oracle RAC Instance 8-21
Manually Creating and Configuring Data Sources 8-22
Configuring Connection Pool Properties 8-24
Adding Data Sources to Multi Data Sources 8-24
Adding a New Managed Server to a Clustered Environment 8-26
Configuring a New Managed Server that uses JMS Service Migration 8-31
Removing a Managed Server from a Clustered Environment 8-32
Preparing to Remove a Managed Server from a Clustered Environment 8-32
Removing a Managed Server from a WebLogic Cluster 8-34
vii
10 Verifying the OSM Installation
Checking the State of All Installed Components 10-1
Verifying the OSM Clients 10-1
Configuring and Verifying HTTPS Connectivity for OSM Client Browsers 10-2
Configuring OSM to Evaluate System Configuration Compliance 10-3
Manually Installing Compliance Files 10-4
Configuring Compliance for an OSM Cluster 10-4
Evaluating System Configuration Compliance 10-5
Running the Compliance Tool 10-5
Cluster Considerations 10-6
Evaluating Compliance Results 10-7
viii
Disabling the OM_ORDER_NODE_ANCESTRY Table 11-26
ix
Handling Null Values from Java Functions 12-25
Converting OSM Data Source Configurations 12-25
Oracle RAC Active-Passive to Active-Active 12-25
Oracle RAC Active-Active to Active-Passive 12-26
Oracle RAC Active-Active to Active-Active 12-27
Additional Configuration for JMS Service Migration 12-27
Creating a Destination Key 12-28
Configuring Attachment Location for Whole Server Migration 12-28
Upgrading the Development and Administration Environment 12-29
Upgrading Pre-7.3.5 Cartridges to OSM 7.4.1 12-30
Cartridge Upgrade Prerequisites 12-30
Cartridge Upgrade Procedure 12-30
Upgrade Impacts on Cartridges from Previous Releases to OSM 7.4.1 12-33
Updating the Common Data Dictionary Manually 12-33
Upgrading Service Actions with Explicit Data Elements 12-34
Modeling Order Components to Use Calculated Start Dates 12-34
Turning On Inheritance of Keys and Significance for Existing Cartridges 12-35
Creating the Common Data Dictionary Project in Your Workspace 12-36
Handling Three-Digit and Five-Digit Cartridge Version Numbers 12-37
Processing In-Flight Orders That Use a Three-Digit Version 12-37
Updating Cartridges to a Five-Digit Version 12-38
Specifying Task Views for Order-Related Automation 12-38
Configuring Order Lifecycle Policy Transition Error Messages 12-39
Modeling Data Entries Above the 1000-Character Limit 12-39
x
Updating the Order-to-Activate 2.1.0.2.x and 2.1.0.1.x Cartridges 13-17
Updating Order-to-Activate 2.0.1.x Cartridges 13-19
Updating the Order-to-Activate 7.2.0.x Cartridges 13-25
14 Uninstalling OSM
Uninstalling OSM Components 14-1
OSM Uninstall: Additional Tasks 14-2
Performing a Silent Uninstall 14-5
xi
Oracle Database Kernel Configuration C-2
Downloading and Installing the Oracle Database C-2
Database Configuration Considerations for Development Instances C-3
Database Parameters C-3
Tablespaces C-3
Preparing WebLogic Server C-3
Installing WebLogic Server Software C-3
WebLogic Server Software Installation Overview C-4
Creating Database Schemas Using RCU C-4
Creating the WebLogic Server Domain C-6
Increasing the Memory Settings for WebLogic Servers C-7
Configuring the WebLogic Server Domain C-8
Preventing Connection Timeout when Using a Remote Database C-8
Other Supported High-Availability Options C-10
Configuring Oracle Database with Clusterware C-10
Setting Up the Database and Clusterware for Cold Standby C-10
Configuring WebLogic for Cold Cluster Failover C-11
Oracle RAC Active-Passive C-11
Cold Cluster Failover C-12
xii
F Installing OSM on Oracle Cloud Infrastructure
xiii
Preface
Preface
This document describes how to install Oracle Communications Order and Service
Management (OSM).
Audience
This document is intended for system administrators, system integrators, database
administrators, and other individuals who are responsible for installing OSM and
ensuring that the software is operating in the manner required for your business. This
guide assumes that users have a good working knowledge of the operating systems
they will be using, the Oracle Database, Oracle WebLogic Server, and Java J2EE
software.
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the
Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?
ctx=acc&id=docacc.
xiv
1
OSM Production Installation Overview
This chapter provides an overview of the Oracle Communications Order and Service
Management (OSM) production installation process.
1-1
Chapter 1
Installation Options
Installation Options
When installing OSM, you can do one of the following:
• Perform an interactive installation. See "Performing an Interactive Installation of
OSM". If you intend to perform further installations using silent install, ensure that
you select Save Configuration on the Configuration Overview screen during the
interactive installation.
• Perform a silent installation. See "Performing a Silent Installation of OSM".
The silent installation method can be used after an initial interactive install has
been performed. Silent installation relies on configuration files that provide the
specifications about a target system and the preferred installation options. These
configuration files can be saved when performing an interactive installation.
1-2
Chapter 1
Directory Placeholders Used in This Guide
1-3
2
OSM System Requirements
This chapter describes the Oracle Communications Order and Service Management
(OSM) system requirements. It also describes information you need during the
installation procedure.
Software Requirements
For details about the software required to support the OSM components for traditional
deployment, see "OSM Traditional Deployment Software Compatibility" in OSM
Compatibility Matrix.
Information Requirements
You must supply configuration-related information when you install OSM. Some of this
information is determined during the installation. However, some information should
already have been determined before the OSM installation is begun. Gather this
information in advance.
Note:
You can obtain most of the required configuration information from your
Oracle database administrator (DBA) and your system administrator.
2-1
Chapter 2
Information Requirements
If the OSM database users have been created prior to the OSM installation, you
must gather the information in Table 2-2 before installing OSM. If they have not been
created, you can determine the following information during the installation.
Table 2-3 shows the information used to indicate the tablespaces being used for the
installation.
2-2
Chapter 2
Information Requirements
Data Description
WebLogic Host Name The name or IP address of the computer where WebLogic
Server is installed.
WebLogic Port Number The port number of the WebLogic server.
WebLogic SSL Port The SSL port number of the WebLogic server.
Number
WebLogic Admin User The user name of the WebLogic system administrator.
WebLogic Admin Password The password of the WebLogic system administrator.
Data Description
Notification Email server DNS name or IP address of your e-mail server.
Notification Email server Port that the e-mail server is listening.
Port
Administrator Email OSM Administrator's e-mail address.
Address
2-3
3
Planning Your OSM Production Installation
This chapter describes how to plan an Oracle Communications Order and Service
Management (OSM) production installation.
Types of Systems
Planning an OSM installation depends on the purpose of the OSM system. You can
define the following OSM systems:
• Development Systems: The purpose of a development system is to develop,
deploy, test, and demonstrate new OSM solution functionality. For more
information about development systems, see "OSM Development System
Guidelines and Best Practices."
• Production Systems: The purpose of a production system is to process orders in
an overall OSM solution. Production systems must be highly available, scalable,
and secure. Before you go live with a production system, you must simulate the
production system environment and expected order volume as closely as possible.
You can use a pre-production environments to generate performance data, to test
system tuning procedures, and to provide a staging environment before moving to
a production system.
3-1
Chapter 3
Overview of Planning Your OSM Production Installation
• The database server layer, which hosts a highly-available Oracle RAC database
instances.
• A shared storage system that the database servers use to access the database
files.
• A shared storage system for the application servers for whole server migration in
case of a server failure.
• An HTTP load balancer in fault-tolerant mode.
Figure 3-1 shows an example of a highly-available OSM production system topology.
This system is deployed across multiple physical servers at the application server
layer.
The system includes a WebLogic Server cluster with four managed servers, an
administration server, a JMS client sending orders to OSM, and an HTTP load
balancer that load balances HTTP and HTTPS messages to OSM from various
3-2
Chapter 3
Overview of Planning Your OSM Production Installation
OSM web clients. Each physical server can host one or more managed servers. The
managed servers form the WebLogic server cluster that runs OSM. At the database
server layer, OSM supports a partitioned active-active deployment of two or more
Oracle Real Application Clusters (Oracle RAC) instances with shared storage.
For increased availability for the WebLogic Server, Oracle recommends that you
configure managed servers in the cluster with whole server migration. Whole server
migration enables a managed server that unexpectedly terminates and cannot be
restarted to migrate and start up on a different machine. The standby machine can be
empty or host an existing OSM managed server. If the machine hosts an existing
managed server, then the machine must have enough capacity to run a second
OSM managed server. You must acquire and configure shared storage to ensure
the persistence of managed server data when a managed server migrates to another
machine.
3-3
Chapter 3
Planning the Physical Architecture
Note:
The solution architecture impacts the size of orders, the number of tasks,
and so on. This enables you to do the initial sizing, but you must still confirm
this sizing with actual performance testing. For more information, see "OSM
Pre-Production Testing and Tuning."
3-4
Chapter 3
Planning the Physical Architecture
These guidelines are intended to assist in estimating the total OSM system
requirements in very early stages of implementation, before OSM is installed. These
guidelines do not contain express or implied warranties of any kind. After you install
OSM and build a solution, you must do performance tests to validate whether the
hardware selected is enough for production order volumes. For more information, see
"OSM Pre-Production Testing and Tuning."
The hardware recommendations below cover only the OSM part of the solution. For all
recommendations a day is considered to be 10 hours. The database storage service
time is expected to be less than 5 milliseconds. Each managed server in the cluster
has a total heap of just under 32 GB. The values in the tables are approximate.
Generally, the more complex your orders are, the fewer orders your OSM system can
process per day, per managed server, and per database instance. To increase the
number of orders you can process per day, you can either:
• Simplify your orders, or
• Configure additional managed servers, database instances, and hardware.
Table 3-1 Hardware Sizing Guidelines for Simple RODOD COM Orders
3-5
Chapter 3
Planning the Physical Architecture
Table 3-1 (Cont.) Hardware Sizing Guidelines for Simple RODOD COM Orders
Table 3-2 Hardware Sizing Guidelines for Complex RODOD COM Orders
3-6
Chapter 3
Planning the Physical Architecture
Table 3-2 (Cont.) Hardware Sizing Guidelines for Complex RODOD COM Orders
3-7
Chapter 3
Planning the Physical Architecture
Table 3-3 (Cont.) Hardware Sizing Guidelines for RSDOD SOM Orders
3-8
Chapter 3
General Hardware Sizing and Configuration Recommendations
3-9
Chapter 3
General Hardware Sizing and Configuration Recommendations
Note:
Other shared storage file configurations are possible depending on your
business requirements. For more information about best practices for
WebLogic Server on shared storage, see the following article on the Oracle
Technology Network website:
http://www.oracle.com/technetwork/database/availability/maa-
fmwsharedstoragebestpractices-402094.pdf
Use RAID 1+0 (normal redundancy) backed shared storage for installing WebLogic
Server, creating the OSM domain, and deploying applications and server log files.
Ensure that you have 5 GB for JMS persistent file stores. This requirement might be
higher, depending on the design and the order volume.
3-10
Chapter 3
General Hardware Sizing and Configuration Recommendations
3-11
Chapter 3
General Hardware Sizing and Configuration Recommendations
Note:
The reassignment of orders can temporarily impact Oracle RAC
database performance when order ownership changes as the OSM
WebLogic cluster resizes.
• If a managed server is added or removed from a cluster, OSM notifies all server
instances about topology changes to the cluster and re-runs the distribution
algorithms that determine which server instance owns an order. Order ownership
either remains with the previous owner or with a different owner.
3-12
Chapter 3
General Hardware Sizing and Configuration Recommendations
Note:
The user will be logged out of the web client and will have to log back in, if
you have a WebLogic Server cluster, and the following conditions apply:
• a user is viewing an order in the Order Management web client or Task
web client
• that order is hosted on a managed server that fails or is shut down
Note:
OSM automations often use the XML API function calls while processing
orders within a local server instance. However, OSM typically uses the XML
API locally on the same server instance, because the XML API is often used
to manipulate the same order owned by the local instance.
For JMS messages, OSM uses the Oracle WebLogic Server JMS distributed
destinations for load balancing. See "JMS Distributed Destinations" for more
information. You do not need to load balance JMS messages using an external load
balancer.
For HTTP and HTTPS messages, Oracle recommends using a software or hardware
load balancer outside of the OSM WebLogic cluster.
3-13
Chapter 3
General Hardware Sizing and Configuration Recommendations
Load balancing for OSM Web Service requests is important because the OSM order
affinity functionality requires that the orders are distributed appropriately among each
managed server within the cluster. A managed servers that receive an order becomes
the owner of the order. See "About JMS Load Balancing Schema Options" for more
information about JMS load-balancing options and see "About HTTP and HTTPS
Load Balancing and Session ID Configuration" for more information about HTTP and
HTTPS load balancing options.
3-14
Chapter 3
Planning the Network Infrastructure
topologies. Under normal conditions each OSM server always interacts with
a single Oracle RAC instance. In an active-active topology, load balancing is
achieved by reversing the order of the data sources in the multi data source for
half of the OSM servers.
• If the Oracle RAC database is configured with server-side load balancing (the
Oracle RAC instances register with a remote listener process), server-side load
balancing must be overridden as discussed in "Remote Listener Considerations."
• Under normal conditions, the ownership and processing of each order is pinned to
a single OSM server in a cluster. Because each OSM server interacts with a single
Oracle RAC instance through the primary data source of its multi data source, all
database operations for each order are directed to the same Oracle RAC instance.
If ownership of an order is transferred to another OSM server (for example, when
the cluster resizes or the order becomes a high-activity order), the processing of
that order will be pinned again to the new OSM server.
3-15
Chapter 3
Operating System Planning
Oracle recommends connecting the OSM and database servers with a minimal
number of network devices in between. The switch connecting the network devices
should be 10 GB capacity. This hardware configuration should produce an optimal
network latency between 0.2 and 0.4 msec. Network latency above 1 msec can cause
performance degradation.
While this KM note was written for Oracle RAC, it provides a useful overview of
various combinations of NFS parameters that are also appropriate for WebLogic
Server shared storage.
Database Planning
The following sections provide information about planning your database for the OSM
system. In addition to the database planning information provided in this chapter,
review the following:
• Creating Tablespaces: For more information about options and recommendations
for creating tablespaces for OSM schemas, see "Tablespace and Schema
Considerations for OSM Production Systems."
• Using Partitioning: For an overview of partitioning in OSM and a discussion
about the benefits and pitfalls of partitioning, see OSM System Administrator's
Guide. Oracle strongly recommends partitioning in all production deployments or
production test environments, particularly those with high order volumes or any
volume of large or complex orders. Moreover, partitioning is required if you plan to
use active-active Oracle RAC.
• Order Purge Strategies: For more information about order purge strategies, see
OSM System Administrator's Guide. You must decide on an order purge strategy
before doing performance testing and before going into production.
3-16
Chapter 3
Database Planning
• Sizing Partitions: For more information about sizing partitions for order data, see
OSM System Administrator's Guide. Partition sizing depends on your order purge
strategy.
• Cartridge Management Strategy: For more information about cartridge
management strategies, see OSM System Administrator's Guide.
• Online and Offline Maintenance: For more information about online and offline
maintenance operations, see OSM System Administrator's Guide.
• Database Management Procedures: For more information about
recommendations for managing your production database, see "Checking for
Database Management Procedures."
Note:
OSM supports an Oracle RAC configuration of two or more nodes. OSM also
supports Oracle RAC One Node.
Database Partitioning
During the installation, you specify if you need to partition the OSM database, and you
provide partition sizes. Oracle strongly recommends using partitioning for production
databases and production test databases.
You can change the values that you selected during the installation process. However,
those updates do not affect existing partition sizes.
For information about partition sizes, see OSM System Administrator's Guide.
3-17
Chapter 3
Database Planning
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=host1)
(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=OSM)))
Notice that INSTANCE_NAME is not provided, because the SCAN listener chooses
the instance when a connection is made based on the current failover state of the
database.
Note:
The considerations described in "Listener Considerations for Oracle RAC"
are not applicable to Oracle RAC One Node.
3-18
Chapter 3
WebLogic Server Planning
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=host1)(PORT=1521))
(CONNECT_DATA=(SERVICE_NAME=OSM) (INSTANCE_NAME=SID2)))
In the example, the host and port are for the SCAN listener, the service name is the
same, and the instance names are different.
The OSM installer will automatically set up the URL of each JDBC data source in the
WebLogic Server instances' multi data source. However, if you choose to manually
configure additional Oracle RAC instances, you must populate the SID in the JDBC
URL of the member data sources in WebLogic Server. See "Manually Configuring
Additional Data Sources for an Oracle RAC Instance" for details.
3-19
Chapter 3
WebLogic Server Planning
resource use and order throughput. Load balancing also enables OSM to minimize
server response time and processing delays that can occur if some servers are
overloaded with orders while others remain unused. Load balancing allows rolling
downtimes of servers without client impact, as long as enough servers are up and
running.
• Load balancing for HTTP and HTTPS messages: In addition to the native
WebLogic support for load balancing JMS messages, Oracle recommends
installing a software or hardware HTTP load balancer for balancing incoming
HTTP or HTTPS messages.
To ensure high availability, the load balancing mechanisms (both the native WebLogic
JMS load balancing or the HTTP load balancer) forward messages to other managed
servers if one of the managed servers fails. Orders that were being processed by the
failed server are delayed until that server is either restarted or migrated.
3-20
Chapter 3
WebLogic Server Planning
3-21
Chapter 3
WebLogic Server Planning
3-22
Chapter 3
WebLogic Server Planning
enabling consistent restoration of overall application state. Note that the use of
JDBC stores increases database CPU utilization and storage I/O operations; this
needs to be accounted for in infrastructure planning. The exact magnitude of the
cost increase varies depending on infrastructure and solution characteristics.
For optimal performance, for systems using a file store, Oracle recommends
that you configure Direct-Write-With-Cache, if this option is supported in your
environment. For information about the best practices for configuring a WebLogic
file store, see the chapter about using the WebLogic persistent store in Oracle
Fusion Middleware Configuring Server Environments for Oracle WebLogic Server.
• In a clustered environment, WebLogic uses load balancing to distribute the
workload across clusters. For OSM, set the load balancing policy for distributed
JMS queues to Random. For more information about WebLogic JMS Random
distribution, see the chapter about configuring advanced JMS system resources in
Oracle Fusion Middleware Configuring and Managing JMS for Oracle WebLogic
Server.
• WebLogic supports the Store and Forward (SAF) service for reliable delivery
of messages between distributed applications running on different WebLogic
Server instances. It is recommended that you set the Conversation Idle
Time Maximum on SAF agents to a positive value to allow messages to
be forwarded to other active members when the original target is down or
unavailable. For more information about the WebLogic SAF service, see the
chapter about understanding the SAF service in Oracle Fusion Middleware
Configuring and Managing Store-and-Forward for Oracle WebLogic Server. Oracle
recommends that you use SAF to integrate OSM with Oracle Communications
ASAP, Oracle Communications IP Service Activator, and Oracle Communications
Unified Inventory Management (UIM). For more information about this post OSM
installation task, see "OSM Integration with External Systems."
3-23
Chapter 3
WebLogic Server Planning
Note:
OSM does not support uniform distributed destinations (UDDs), which are
the default type of distributed destination in WebLogic. OSM supports
only weighted distributed destinations (WDDs). When configuring distributed
destinations in the WebLogic Server Administration Console, select
Weighted for Destination Type to configure the distributed destination as
a WDD.
Note:
Messages sent to JMS distributed destinations will always be delivered to
member queues. However, messages delivered to a member queue can get
stuck in the event of a server failure. In that case, messages cannot be
consumed until either the WebLogic server is restarted or the JMS server is
migrated.
3-24
Chapter 3
WebLogic Server Planning
Figure 3-2 shows a JMS client with a JNDI properties file configured with the URLs
for each managed server within a cluster that the client is sending messages to.
WebLogic Server load balances these messages using the URLs based on a load
balancing schema (see "About JMS Load Balancing Schema Options" for more
information). OSM typically processes an OSM order on the managed server that
receives the order, but in some cases OSM uses the managed server queues
internally to redistribute orders to other managed servers after an order has been
received on a managed server (see "About Order Affinity and Ownership in an OSM
WebLogic Cluster" for more information).
3-25
Chapter 3
WebLogic Server Planning
Note:
JMS service migration is not supported with OSM, because using JMS
service migration could result in the JMS server not running on the same
machine as the managed server to which it is dedicated. This would cause
issues similar to those that would arise if server affinity was not configured
on the default OSM JMS connection factory.
WebLogic Server provides migratable servers to make JMS and the JTA transaction
system highly available. Migratable servers (clustered server instances that migrate to
target servers) provide for both automatic and manual migration at the server level,
rather than at the service level.
When a migratable server becomes unavailable (for example, if it hangs, loses
network connectivity, or its host machine fails), migration is automatic. Upon failure,
a migratable server is automatically restarted on the same machine if possible. If the
migratable server cannot be restarted on the machine where it failed, it is migrated
to another machine. In addition, an administrator can manually initiate migration of a
server instance.
The target server for the migration can be a spare server on which Node Manager
is running. This server does not participate in the cluster until a migratable server is
migrated to it.
Another option for the target server is a server that is hosting a WebLogic Server
instance. In the event of failure, the migratable server will be migrated to it, resulting
in the two instances (which now run on the same server) competing for CPU, memory,
and disk resources. In this case, performance could be impacted.
Before you configure automatic whole server migration, be aware of the following
requirements:
3-26
Chapter 3
WebLogic Server Planning
3-27
Chapter 3
WebLogic Server Planning
logs. Consequently, any pending transactions stored in the transaction log files
will be unrecoverable. This is also critical if firewalls are used to avoid address
translation issues.
• First, attempt to restart a crashed server and allow the Transaction Recovery
Service to handle incomplete transactions (rather than move it to a new machine).
However, if the server exited with a code less than 0, do not attempt to restart it
unless you diagnose the problem. In this case, the server did not terminate in a
stable condition; for example, due to invalid configuration.
See Oracle Fusion Middleware Programming JTA for Oracle WebLogic Server for
more information.
3-28
Chapter 3
WebLogic Server Planning
For more details about using a JDBC TLog Store, see the chapter about using a JDBC
Store in Oracle Fusion Middleware Administering the WebLogic Persistent Store.
Note:
These recommendations only apply to HTTP and HTTPS messages. JMS
messages should be load balanced using the WebLogic Server native
support for JMS T3 and T3S load balancing (see "About WebLogic Server
JMS T3 and T3S Load Balancing").
For development systems or if you do not require high-availability for HTTP traffic in
a production system, you can create a managed server and use it as an HTTP proxy
that is managed by the WebLogic Server Administration Console, but remains outside
of the cluster.
You can also consider a hardware load-balancing solution for load balancing HTTP
and HTTPS messages. A hardware load balancer can use any algorithm supported
by the hardware, including advanced load-based balancing strategies that monitor the
utilization of individual machines. If you choose to use hardware to load balance HTTP
and HTTPS sessions, the hardware must support a compatible passive or active
cookie persistence mechanism and SSL persistence.
The following lists possible software load-balancer options for OSM HTTP and HTTPS
messages:
• Oracle HTTP Server
• Oracle WebLogic Server proxy plug-ins for the following standard web server
solutions
– Oracle iPlanet Web Server (7.0.9 and later)
– Apache HTTPD 2.2.x
– Microsoft Internet Information Services 6.0 and 7.0
• Dedicated software load-balancing solutions like Oracle Traffic Director. Oracle
recommends this option for running OSM with Oracle Exalogic and Oracle
SuperCluster.
The following lists possible hardware load-balancer options for OSM HTTP and
HTTPS messages:
• F5 Big-IP
• Cisco ACE
3-29
Chapter 3
WebLogic Server Planning
Note:
The WebLogic cluster load balancing schema options (see "About JMS
Load Balancing Schema Options") have no effect for load balancing HTTP
messages because an HTTP load balancer is outside of the cluster.
When running OSM in a cluster, you must enable the proxy-plug-in option at the
cluster level as opposed to the managed-server level, otherwise session drops may
occur and login to the OSM web clients may not be possible.
You must ensure that the chosen HTTP load-balancing solution supports WebLogic
session IDs and custom HTTP headers. All WebLogic plug-ins, including the Oracle
HTTP Server, support sticky sessions, but they do not support session ID failover if the
server the ID is connected to fails.
3-30
4
Installing and Configuring the Oracle RAC
Database
This chapter provides information about the installation and configuration of
Oracle Real Application Cluster (Oracle RAC) Database that is specific to Oracle
Communications Order and Service Management (OSM). For complete installation
instructions and general information about installing and configuring the Oracle
Database, see the Oracle Database documentation.
4-1
Chapter 4
Creating the Oracle Database for OSM
4-2
Chapter 4
Creating the Oracle Database for OSM
where sysuser is a user with sysdba privileges that you intend to use during OSM
installation.
You have now configured your database instances to support Oracle RAC and OSM.
When you run the OSM installer, you have the option to create the WebLogic multi
data source and data sources required for this configuration. See "Performing an
Interactive Installation of OSM" for more information.
Character Sets
Oracle recommends using the AL32UTF8 character set for the OSM database
instance. However, if OSM is the only application that will be using the database
instance, you can use the default character set for your location.
The national character set can be left to the default value for your location.
Database Parameters
This section outlines suggested Relational Database Management System (RDBMS)
server configurations for OSM.
Note:
This section provides suggested values for use with OSM in a production
system. The suggested values are guidelines only. The values you use will
depend on your system type and actual processing requirements.
4-3
Chapter 4
Creating the Oracle Database for OSM
Table 4-1 shows the parameters that should be set for all databases. When using a
multi-tenant container database (CDB), refer to the Level column to determine if the
parameter should be set on the CDB or a PDB.
4-4
Chapter 4
Creating the Oracle Database for OSM
Table 4-1 (Cont.) Suggested Oracle Database Parameters for All Systems
Oracle recommends that you do not use the Shared Server configuration (called Multi-
Threaded Server, or MTS in previous versions of Oracle Database) for production
systems running OSM, for performance reasons. OSM implements its own connection
multiplexing.
4-5
Chapter 4
Tablespace and Schema Considerations for OSM Production Systems
1. Configure your database machine so that these inactive database sessions are
automatically killed after 10 minutes. Do the following:
• Add enable=broken in tnsnames.ora.
• Add SQLNET.EXPIRE_TIME=10 in sqlnet.ora.
2. On a Linux system, as root, configure TCP keepalive as follows:
sysctl -w net.ipv4.tcp_keepalive_time=600
sysctl -w net.ipv4.tcp_keepalive_intvl=60
Note:
This change can be made permanent by adding the following lines
to /etc/sysctl.conf:
net.ipv4.tcp_keepalive_time=600
net.ipv4.tcp_keepalive_intvl=60
4-6
Chapter 4
Tablespace and Schema Considerations for OSM Production Systems
sizing the core schema, see the discussion on managing the OSM database schema
in the OSM System Administrator's Guide.
Tablespaces
The OSM installer prompts connect to a database using a user account with the
sysdba privilege. You then select the following permanent database tablespaces:
• The default tablespace for all OSM schemas.
• Model Data and Model Indexes tablespaces: Used mainly for cartridge metadata
and configuration data.
• Order Data and Order Indexes: Used for order data and auxiliary order-related
tables.
For production instances, a minimum of two tablespaces should be created; one
permanent and one temporary. For performance reasons and to facilitate backup
and recovery, you should not share the permanent tablespaces for OSM with other
applications. You should put model data and indexes on different tablespaces than
order data and indexes.
For a production environment, you must partition your schema when running the OSM
installer. If you choose the same tablespace for order data and order indexes, the
OSM installer creates local index partitions with tablespace DEFAULT, which means
that local index partitions are stored in the same tablespace as table partitions.
You can also create new table partitions in different tablespaces for increased
administration and availability, for example on a rotation basis. If a tablespace is
damaged, the impact and restoration effort could be limited to one or just a few
partitions. See the discussion in the OSM System Administrator's Guide on adding
partitions online or offline for more information.
Oracle recommends the following:
• Create tablespaces dedicated to OSM, so that OSM performance and availability
are not affected by other applications, for example due to I/O contention or if
a tablespace must be taken offline. Store the datafiles of these tablespaces on
different disk drives to reduce I/O contention with other applications.
• Create locally managed tablespaces with automatic segment space management
by specifying EXTENT MANAGEMENT LOCAL and SEGMENT SPACE
MANAGEMENT AUTO in the CREATE TABLESPACE statement. Both options are
the default for permanent tablespaces because they enhance performance and
manageability.
• Configure automatic database extent management by using the AUTOALLOCATE
clause of the CREATE TABLESPACE statement. This is the default. You cannot
use uniform extents in the OSM database because the OSM installation will fail.
• If you use smallfile tablespaces, do not create hundreds of small datafiles. These
files must be checkpointed, resulting in unnecessary processing. Note that Oracle
Database places a limit on the number of blocks per datafile depending on the
platform. The typical limit is 222-1, which limits the datafile size to 32 GB for 8K
blocks.
Additional considerations if you use bigfile tablespaces:
• If data is stored in bigfile tablespaces instead of traditional tablespaces, the
performance of database opens, checkpoints, and DBWR processes should
4-7
Chapter 4
Tablespace and Schema Considerations for OSM Production Systems
improve. However, increasing the datafile size might increase time to restore a
corrupted file or create a new datafile. You can mitigate the risk of corruption by
using multiple tablespaces for partitions, for example on a rotating basis.
• Bigfile tablespaces are intended to be used with Automatic Storage Management
(Oracle ASM) or other logical volume managers that supports striping or RAID,
and dynamically extensible logical volumes.
• Avoid creating bigfile tablespaces on a system that does not support striping
because of negative implications for parallel query execution and RMAN backup
parallelization.
• Using bigfile tablespaces on platforms that do not support large file sizes is not
recommended and can limit tablespace capacity.
For more information about managing tablespaces, see Oracle Database
Administration Guide.
OSM data is placed in the permanent tablespace(s) and the temporary tablespace
is used by the Oracle database as a workspace while processing OSM commands.
The OSM data can be placed in one tablespace for a minimum installation, but OSM
performs better when data is distributed across multiple tablespaces. You can use up
to five tablespaces when initially installing the system.
It is possible to spread the OSM database over more than five tablespaces by altering
the database installation and upgrade scripts. This must only be completed by an
experienced Oracle DBA. For more information, contact Oracle.
In a high throughput system, each tablespace should be created on a different physical
disk. This limits disk contention and IO bottlenecks to improve performance. It is
recommended that the Oracle redo log files be placed on a separate, dedicated
physical disk. You should not have any other load on this disk.
In a production system, a RAID device should be used for physical storage. In this
case, there is no advantage to placing tablespaces on different physical RAID drives
as long as space is available.
You can create tablespaces in either a traditional database instance or in a pluggable
database instance.
The following is a bigfile tablespace creation script sample for a small installation
model on an ASM diskgroup called +DATA.
create bigfile tablespace model_data
datafile '+DATA' size 100M;
4-8
Chapter 4
Tablespace and Schema Considerations for OSM Production Systems
Note:
If you are using Chinese UTF8 characters, the Block Size for the tablespaces
used by the OSM database must be configured for 8K at database instance
creation.
4-9
5
Installing and Configuring the WebLogic
Server Cluster
This chapter describes how you can install and configure a WebLogic Server cluster
in preparation for an Oracle Communications Order and Service Management (OSM)
installation.
5-1
Chapter 5
Installing WebLogic Server Software
• Number of clients: Set somaxconn should be set to at least 1024 to allow for a
large number of client server connections.
• Number of queued packets: Set netdev_max_backlog to at least 32768 to
minimize packet loss.
Table 5-1 summarizes of the recommendations for configuring the operating system.
Note:
With engineered systems, such as Sparc SuperCluster or Exadata, most
of the operating system tuning is preconfigured with appropriate values by
default.
You install WebLogic Server on all machines that will participate in your domain. The
installation directories must be the same on all machines. For complete installation
instructions and general information about installing and configuring WebLogic Server,
see the WebLogic Server documentation.
Note:
See OSM Compatibility Matrix for WebLogic Server version and patch
information. Ensure that you use the WebLogic Server documentation
specific to the required WebLogic Server version.
5-2
Chapter 5
Creating Database Schemas Using RCU
2. Set environment variables for the version of Java that is supported by OSM, not
the version included with WebLogic Server. Do the following:
• Set JAVA_HOME to the location of the supported Java version.
• On a UNIX system, add $JAVA_HOME/bin to the PATH variable.
• On a Windows system, add %JAVA_HOME%/bin to the PATH variable.
3. Install the WebLogic Server software as described in Oracle Fusion Middleware
Installing and Configuring Oracle WebLogic Server and Coherence. When
prompted for the installation type, select Complete.
4. Download and install any necessary patches from Oracle support. Follow the
instructions in the README.txt file that is included with the patch.
5-3
Chapter 5
Creating the WebLogic Server Domain
Note:
RCU may take several minutes to create the schemas. If creating the
schemas takes an unusual amount of time, Oracle recommends that you
purge the database recycle bin to ensure that RCU schemas are created
more quickly the next time. For more information, see "OSM and RCU
Installers Are Slow to Run Database Tablespace Query."
Note:
After you have completed all procedure relating to whole server
migration, node manager automatically creates floating IP addresses
for each managed server when you start managed servers from the
Administration console. For example, assuming you have configured
a machine to run two managed servers, node manager would create
eth0:1 for managed server 1 and eth0:2 for managed server 2.
• If you are configuring managed servers without whole server migration, ensure
that you have static IP addresses and port numbers for each managed server.
Tip:
Oracle recommends that you use DNS host names to facilitate any IP
address changes during the lifetime of the domain.
2. Ensure that the WebLogic Server software has been installed on each machine
that will be part of the domain.
3. Log on to the machine that will be hosting the administration server in your
domain.
5-4
Chapter 5
Creating the WebLogic Server Domain
12. In the Password field and again in the Confirm password field, enter the
WebLogic Administrator password.
Note:
Alphanumeric characters are mandatory in the Password field.
5-5
Chapter 5
Creating the WebLogic Server Domain
where prefix is the new prefix you created on the Select Components screen
of RCU.
g. In the Schema Password field, enter the password that you created for the
schemas on the Schema Passwords screen of RCU.
h. Click Get RCU Configuration. The Configuration Wizard tests the connection
to the database and displays the results in the Connection Result Log area.
i. Click Next.
The JDBC Component Schema screen is displayed with pre-loaded configuration
data for the RCU schemas.
17. Verify the pre-loaded schema configuration data for each of the following schemas
in the component schema table:
• OPSS Audit Schema
• OPSS Audit Viewer Schema
• OPSS Schema
• LocalSvcTbl Schema
18. Select all schemas in the component schema table.
The Oracle RAC Multi Data Source Component Schema screen is displayed.
21. In the first row of the Host Name column, enter the host name of the second
Oracle RAC instance.
22. In the first row of the Instance Name column, enter the SID of the second Oracle
RAC instance.
23. In the first row of the Port column, enter the port number of the Oracle RAC
listener.
24. If you have additional Oracle RAC instances, click Add Hosts to add new Oracle
RAC instance rows and repeat steps 21 to 23.
5-6
Chapter 5
Creating the WebLogic Server Domain
30. In the Listen Address field, enter a value for the listen address. For example,
an IP address or DNS name. Oracle recommends that you use a specific host
name in the Listen Address field to facilitate any future IP address changes that
may occur. In addition, avoid selecting All Local Addresses because this causes
WebLogic Server to bind to every available IP address on the machine, potentially
reducing performance.
31. In the Listen Port field, enter a value for the listen port.
32. (Optional) Select Enable SSL and enter a value for the SSL listen port in the SSL
listen Port field. Oracle recommends enabling SSL and configuring an SSL listen
port to ensure secure communication over the Internet.
33. Click Next.
35. In the Username field, enter a user name for Node Manager.
36. In the Password field and again in the Confirm Password field, enter a password
for Node Manager.
The Node Manager uses the user name and password that you provide
to authenticate connections between Node Manager and clients. They are
independent from the server administration credentials.
37. Click Next.
Note:
If you are setting up a development system and you do not have a
dedicated load balancer for HTTP and HTTPS messages, you must add
a managed server that you can later designate as a proxy HTTP server.
5-7
Chapter 5
Creating the WebLogic Server Domain
39. Enter managed server names, IP addresses or host names (Oracle recommends
DNS host names for high availability), and port numbers. If required, enable SSL
and enter an SSL listen port. Click Next.
Note:
If you are using a proxy HTTP server, you can also designate a
managed server as the proxy HTTP server during this step.
42. In the Cluster address field, add the address for the cluster. The cluster address
should be one of the following:
• If you are using an external load balancer, this should be the address of
the DNS name that maps to the IP addresses or DNS names of each
WebLogic managed server in the cluster. The managed servers should all
have addresses with different IP addresses or DNS names but the same
port numbers. For information on how to set this up, please consult the
documentation for your load balancer.
• If you are using a proxy HTTP server, you can define a list that contains the
DNS name (or IP address) and port of each managed server in the cluster,
delimited by a comma. For example:
host1.example.com:9910,host1.example.com:9920,host2.example.com:9100
For performance reasons, this option is primarily used for development and
test systems.
43. Click Next.
49. In the Unicast Listen Port field, leave the default value of 0.
5-8
Chapter 5
Creating the WebLogic Server Domain
a. Click Add to add any UNIX machines in your domain that will run Node
Manager.
b. Enter machine names, Node Manager listen addresses, and Node Manager
listen ports.
c. (Optional) Select Post bind GID enabled and enter the UNIX group ID under
which a server on this machine will run after it finishes all privileged startup
actions.
d. (Optional) Select Post bind UID enabled and enter the UNIX user ID under
which a server on this machine will run after it finishes all privileged startup
actions.
52. Click Next.
Note:
Do not select any deployments to be assigned to the proxy server (if
used).
c. Click the right arrow to include the OSM components you want to install on the
cluster.
55. Click Next.
a. In the Targets list, select the cluster where you want to install OSM.
b. In the Services list, select all of the services that you want install on the
cluster.
c. Click the right arrow to assign the services to the cluster.
d. If you are using a proxy server, select it in the Targets list.
e. In the Services list, select the JDBC System Resources folder.
f. Click the right arrow to assign the JDBC data sources to the proxy server.
g. Click Next.
The Configuration Summary screen is displayed, which provides a summary of the
applications, services, and libraries to be deployed in the domain.
5-9
Chapter 5
Replicating the Domain on Other Machines
57. Review the information in the Configuration Summary screen and confirm that the
cluster organization matches your requirements. If you find any discrepancies,
click the Previous button to return to the appropriate screen and make the
necessary changes. When you are done, click Create.
The Configuration Progress screen shows the progress of your domain creation.
58. When the domain creation process completes and the Configuration Success
screen is displayed, click Finish.
Note:
If the unpack.jar command fails with a write error, see "Command for
unpack.jar Fails with a Write Error" for troubleshooting information.
5-10
Chapter 5
Replicating the Domain on Other Machines
mkdir -p security
12. In the directory you just created, create the boot.properties file.
touch boot.properties
13. Using a text editor, add the following lines to the file:
username=username
password=pwd
where
• username is the administrator user name for the WebLogic administration
server.
• pwd is the password for the WebLogic administration server.
These values are entered in clear text but will be encrypted when you start the
server for the first time.
14. Save and close the boot.properties file.
16. In the second terminal, stop the administration server using Ctrl-C.
where:
• domain_home is the full or relative path of the WebLogic domain from which
the template is to be created
• template is the full or relative path of the template, and the filename of the
template to be created
• template_name is a descriptive name for the template
For example:
pack.sh -domain=/opt/oracle/Middleware/user_projects/domains/cluster_demo
-template=/opt/oracle/Middleware/user_projects/domains/cluster_demo.jar -
template_name="cluster_demo"
5-11
Chapter 5
Configuring the Domain and Managed Servers
where:
• template is the full or relative path of the template that you copied to the
remote machine
• domain is the full or relative path of the domain to be created
For example:
unpack.sh -template=/opt/oracle/Middleware/user_projects/domains/
cluster_demo.jar -domain=/opt/oracle/Middleware/user_projects/domains/
cluster_demo
A log entry should indicate that the server is running with the following line:
Server started in RUNNING mode
5-12
Chapter 5
Configuring the Domain and Managed Servers
https://docs.oracle.com/cloud/latest/fmw121300/COHAG/
tune_perftune.htm#COHAG217
Note:
This change can be made permanent by adding, or changing the values of,
the following parameters in /etc/sysctl.conf:
net.core.rmem_max=2097152
net.core.wmem_max=2097152
Note:
Windows does not impose a buffer size restriction by default, so no changes
must be made to increase buffer sizes on Windows.
5-13
Chapter 5
Configuring the Domain and Managed Servers
Securing Coherence
When you create a WebLogic Server with a cluster, the OSM installer automatically
configures the Oracle Coherence connections and well known addresses (WKA) for
the cluster, but does not automatically configure security settings for the cluster. For
example, the installer does not configure authorized hosts.
Oracle recommends securing the coherence connections. For more information, see
Oracle Fusion Middleware Securing Oracle Coherence.
This option configures Coherence to load balance and distribute cache data on both
the nodes in a two-node cluster setup.
-Dweblogic.MaxMessageSize=300000000
The default is 10000000 bytes and this can cause errors (for example, BEA-000403
error message) when this limit is reached. For details about the error, see Diagnosing
BEA-000403 Error Message (Doc ID: 1493101.1) on My Oracle Support.
5-14
Chapter 5
Configuring the Domain and Managed Servers
where:
• x is the interface number that the floating IPs are created on. For example,
eth0.
When node manager creates the floating IP address, it adds ethx:n where n is
the number it assigns to a floating IP. For example, if a machine were to host
two managed servers using the eth0 interface, node manager would create
the eth0:1 and eth0:2 floating IP addresses. If a third managed server were to
migrate to the machine, it would receive eth0:3. Node manager automatically
creates and removes these interfaces as required.
• ip_address_range is the range of IP addresses associated to managed
servers on the cluster that node manager can use as floating IP addresses.
For example, you can specify a single IP address for a managed server,
or a range of IP addresses associated to managed servers, such as
192.168.56.201-192.168.56.204, or * to specify all IP addresses of every
managed server in the cluster.
• networkmask is the net mask for the interface for the floating IP. networkmask
should be the same as the net mask on the interface. This parameter is
optional.
5-15
Chapter 5
Configuring the Domain and Managed Servers
2. Grant sudo privileges to the WebLogic Server user account so that the
wlsifconfig.sh script can:
• Work without a password prompt.
• Have execute privilege on the /sbin/ifconfig and /sbin/arping binaries that
are involved in creating floating IP address.
To grant sudo privileges, do the following:
a. Log in as the root user.
b. Enter the following command:
/usr/sbin/visudo
where weblogic_user is the user account you created for running WebLogic
Server.
3. Run the following commands to test whether the wlsifconfig.sh script is
functioning:
a. List all IP addresses configured on the interface.
export ServerDir=/tmp
wlsifconfig.sh -listif ethx
where ip_address and netmask are the floating IP address and network mask
you want to configure. For example:
5-16
Chapter 5
Configuring the Domain and Managed Servers
For example:
wlsifconfig.sh -removeif eth0 192.168.56.124
Successfully removed 192.168.56.124 netmask from eth0:1.
4. If any command fails, verify that the /etc/sudoers file is properly configured.
nmEnroll('domain_home', 'domain_home/nodemanager')
exit()
where
• username is the administrator user name for the WebLogic administration
server.
• pwd is the password for the WebLogic administration server.
• ip_address is the IP address for the WebLogic administration server.
• port is the port number for the WebLogic administration server.
5-17
Chapter 5
Configuring the Domain and Managed Servers
A log entry should indicate that Node Manager is running with the following line:
INFO: Secure socket listener started on port port
n. Go to WebLogic_home/server/bin.
o. Source the setWLSEnv.sh script.
source ./setWLSEnv.sh
5-18
Chapter 5
Configuring the Domain and Managed Servers
where
• machine_name is any name that identifies the sender of the message.
Use a different name for every test you start.
• multicast_ip is the multicast IP address you want to use for the cluster.
Use any IP address between 224.0.0.0 and 239.255.255.255. If there are
any running WebLogic clusters using multicast, ensure that you do not use
the same IP address during this test.
• multicast_port is the multicast port number you want to use for the cluster.
If there are any other applications running on the machine that use
multicast, ensure that you do not use the same port.
For example:
java utils.MulticastTest -N osm_test_from_machine1 -A 239.192.0.0 -P 7521
***** WARNING ***** WARNING ***** WARNING *****
Do NOT use the same multicast address as a running WLS cluster.
5-19
Chapter 5
Configuring the Domain and Managed Servers
14. From the Configuration tab, select the Health Monitoring sub tab.
Note:
If the value is less than 600 when you run the Installer, you are
prompted to increase it during installation.
c. Click the Security tab and select Anonymous Admin Lookup Enabled.
d. Click Save.
5-20
Chapter 5
Configuring the Domain and Managed Servers
Note:
The Java Transaction API parameter applies to the domain globally.
After you have installed OSM, you can configure an oms-config.xml
parameter that controls this value dynamically when OSM deploys or un-
deploys a cartridge. For more information, see "Preventing Connection
Timeout Issues During Cartridge Deployment".
See the WebLogic Server documentation for more information about these
parameters.
5-21
Chapter 5
Configuring the Domain and Managed Servers
Note:
If you are using Oracle Exalogic Elastic Cloud, enable optimizations in
order to improve thread count management and request processing, and
to reduce lock contention.
Oracle recommends that you do not leave the WebLogic Server listen address
undefined on a computer that uses multiple IP addresses. In this case, the server
binds to all available IP addresses, which slows down server startup time. Bind a
WebLogic server to a fully qualified host name, rather than an IP address. This
ensures that SSL server-to-server communication works correctly without requiring
host name verification. It also allows administrators to change IP addresses without
reconfiguring WebLogic.
Table 5-3 includes a summary of the recommended WebLogic server configurations.
5-22
Chapter 5
Configuring the Domain and Managed Servers
where:
• processors is the number of processors you want to allocate to the managed
server. If you have more than one managed server running on the system,
ensure that you have enough processors available for each.
• managed_server is the name of the managed server.
7. Click Save.
8. Click Activate Changes.
5-23
Chapter 5
Configuring the Domain and Managed Servers
2. If you are using HTTPS for communicating with the OSM web clients, do the
following:
a. From the Domain Structure tree, expand Environment and select Servers.
b. Select either the administration server or one of the managed servers.
c. From the Configuration tab, select the General subtab.
d. Expand Advanced.
e. Select yes from the WebLogic Plug-In Enabled drop-down list.
f. Click Save.
g. Repeat steps 2.b to 2.f for all managed servers and the administration server.
3. If you are running a hardware load balancer, do the following:
a. From the Domain Structure tree, expand Environment and select Clusters.
b. Select the cluster to which you are installing OSM.
c. From the Configuration tab, select the HTTP subtab.
d. In the Frontend Host field, enter the host name or IP address of the load
balancer.
e. In the Frontend HTTP Port field, enter the HTTP port of the load balancer.
f. In the Frontend HTTPS Port field, enter the HTTPS port of the load balancer.
g. Click Save.
13. In the Default Store area, from the Synchronous Write Policy list, select Direct-
Write-With-Cache.
5-24
Chapter 5
Configuring the Domain and Managed Servers
16. From the Domain Structure tree, expand Environment and select Servers.
The Summary of Servers screen is displayed.
17. Select a server.
where:
• startupscript is the name of the startup script for the managed server you are
starting.
• server_name is the name of the managed server or proxy server you are
starting.
• IP_address is the IP address of the administration server.
• port is the port number of the administration server.
5. Log in to the WebLogic Server Administration Console.
The Administration Console is displayed.
6. Click Servers.
The summary page shows which servers belong to the cluster along with their
configured listen address, port, state, and health status.
5-25
Chapter 5
Configuring the Domain and Managed Servers
• Configured floating IP addresses for the managed server. See "Creating the
WebLogic Server Domain" for more information.
• Configured node manager properties for whole server migration. See "Configuring
Node Manager for Whole Server Migration" for more information.
• Configured wlsifconfig.sh and tested floating IP address creation. See "Configured
Whole Server Migration Floating IP Controls."
GROUP_NUMBER NAME
------------ ------------------------------
1 DATA
3. Verify the current tablespaces. For example:
select tablespace_name from dba_data_files;
TABLESPACE_NAME
------------------------------
SYSTEM
SYSAUX
USERS
DEV_IAS_OPSS
DEV_IAS_IAU
DEV_STB
LARGE_DATA
LARGE_INDEX
8 rows selected.
4. Check the available space on the disk group. For example:
select name, state, total_mb, free_mb from v$asm_diskgroup;
TABLESPACE_NAME
5-26
Chapter 5
Configuring the Domain and Managed Servers
------------------------------
SYSTEM
SYSAUX
USERS
DEV_IAS_OPSS
DEV_IAS_IAU
DEV_STB
LEASING
LARGE_DATA
LARGE_INDEX
9 rows selected.
7. Create a user account with permissions for the leasing tablespace. For example:
create user leasing identified by Password123;
grant create table to leasing;
grant create session to leasing;
alter user leasing default tablespace leasing;
alter user leasing quota unlimited on leasing;
8. Exit the SQL*Plus session. For example:
quit
9. Copy the leasing.ddl file from WebLogic_home/server/db/oracle/920 on one of
the WebLogic Server machines. For example, from the current database directory,
you can run the following command to copy over the file:
scp weblogic_user@ip_address:WebLogic_home/server/db/oracle/920/leasing.ddl .
weblogic_user@ip_address's password: weblogic_password
leasing.ddl
where
• weblogic_user is the WebLogic Server user account of one of the machines
running a WebLogic Server.
• ip_address is the IP address of the machine running a WebLogic Server.
• weblogic_password is the password of the WebLogic Server user account.
10. From the current directory where the leasing.ddl file is located, log in to the newly
created leasing tablespace using the SCAN address. For example:
sqlplus
leasing/Password123@'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST=database-cluster-scan.localdomain)(PORT=1521)))
(CONNECT_DATA=(SERVICE_NAME=pdb1)))' as sysdba
11. Run the leasing.ddl script. You can safely ignore error messages as long as the
active table is successfully created. For example:
@leasing.ddl
12. Verify that the active table has been created on the leasing tablespace. For
example:
select table_name from user_tables;
TABLE_NAME
-------------------------------------------------------------------
ACTIVE
5-27
Chapter 5
Configuring the Domain and Managed Servers
18. In the Database Driver list, select Oracle's Driver (Thin) for RAC Service-
Instance connections; Versions:Any.
19. Click Next.
5-28
Chapter 5
Configuring the Domain and Managed Servers
23. In the Database Name field, enter the database SID of the first Oracle RAC
database instance. For example, rac1.
24. In the Host Name field, enter the database SCAN host name.
25. In the Port field, enter the port number of the SCAN host name.
26. In the Database User Name, enter leasing.
27. In the Password and Confirm Password fields, enter the leasing schema
password.
28. Click Next.
5-29
Chapter 5
Configuring the Domain and Managed Servers
8. From the Data Source For Automatic Migration list, select leasing.
9. From the Auto Migration Table Name, enter ACTIVE.
10. Click Save.
11. Click Activate Changes.
Note:
This option enables node manager to automatically create and remove
the floating IP addresses associated to the managed servers that it runs.
It also enables node manager to migrate a managed server to another
machine.
7. From the Candidate Machines area in the Available table, select the machine
name that you want the managed server to primarily run on and move the machine
to the Chosen table.
8. Select and move the second machine to the chosen table.
Note:
If node manager cannot start the machine on the first machine in the
chosen list, it will migrate the managed server to the second machine.
12. Click on the Advanced link below the Default Store area.
5-30
Chapter 5
Configuring the Domain and Managed Servers
16. Repeat this procedure for all other managed servers that can be migrated.
11. In the Node Manager Status tab, verify that the Status field shows the Reachable
state.
12. Repeat steps 8 to 11 for all other machines.
13. From the Domain Structure tree, expand Environment and select Servers.
where managed_server is the name of the managed server you want to test for
whole server migration. For example:
ps -ef | grep osmms1
oracle 12785 12721 9 21:13 ? 00:01:36 /usr/java/jdk1.8.0_121/bin/
java ...
5-31
Chapter 5
Configuring the Domain and Managed Servers
20. The first set of numbers in the response is the process ID (PID) of the managed
server. Run the following command to terminate the managed server process:
kill -9 pid
where pid is the process ID of the managed sever process you want to terminate.
21. Node manager will attempt to restart the managed server on the current machine.
Wait for a few minutes, then repeat steps 19 to 20.
22. After you terminate the managed server PID a second time, go to the second
machine and view the output from the terminal that you used to start node
manager. Node manager should begin creating new directories for the migrating
managed server, then starting up the managed server and allocating the floating
IP address to the second machine. For example:
24. From the Domain Structure tree, select the domain name, then the Monitoring
tab, then the Migration sub tab.
25. Verify the status of your migrated server. For example, in the Start Time column,
you can verify when the migration occurred. From the Machines Migrated From
and the Machines Migrated To column, you can verify which machines node
manager migrated the machine from and to. For more information about these
columns, click the Help button in the WebLogic Server administration console.
5-32
Chapter 5
Installing OSM in a Clustered Environment
7. When the managed server has shutdown, select the managed server again.
8. Click Start.
9. Click Yes.
10. Open a terminal on the first machine where the managed server had originally
been located.
11. Run the following command and confirm that the managed server has begun
running on the original machine:
ps -ef | grep managed_server
where managed_server is the name of the managed server you want to test for
whole server migration. For example:
ps -ef | grep osmms1
oracle 12785 12721 9 21:13 ? 00:01:36 /usr/java/jdk1.8.0_121/bin/
java ...
12. From the Domain Structure tree, select the domain name, then the Monitoring
tab, then the Migration sub tab.
13. Verify the status of your migrated server. For example, in the Start Time column,
you can verify when the migration occurred. From the Machines Migrated From
and the Machines Migrated To column, you can verify which machines node
manager migrated the machine from and to. For more information about these
columns, click the Help button in the WebLogic Server administration console.
Note:
The OSM installer requires that at least one managed server is running
in the cluster during the installation process. The OSM Administration
server configures any remaining managed servers when they are
started.
5-33
Chapter 5
Installing OSM in a Clustered Environment
com.mslv.oms.handler.cluster.ClusteredHandlerFactory
3. After OSM is installed, restart all the servers included in the cluster.
5-34
6
Performing an Interactive Installation of
OSM
This chapter describes how to install Oracle Communications Order and Service
Management (OSM) by using the graphical user interface (GUI) Installer. It also
provides information about default Oracle WebLogic Server accounts, and modifying
deployment parameters.
Before installing OSM, read the following chapters:
• OSM Production Installation Overview
• OSM System Requirements
• Installing and Configuring the Oracle RAC Database
• Installing and Configuring the WebLogic Server Cluster
Installing OSM
This section describes an interactive installation of OSM. The installation procedure
applies to all supported platforms.
Note:
If you are localizing OSM, make a backup of your WebLogic Server
configuration before running the OSM Installer. See OSM Developer's Guide
for more information about localizing OSM. See Administering Oracle Fusion
Middleware for backup and recovery recommendations for WebLogic Server.
Note:
If you are re-using the installation directory or the operating system
temporary directory from a previous installation, you might not be able to
run the installer on a UNIX or Linux system. For information about how to
resolve this issue, see "OSM Installer Issues for UNIX or Linux."
To install OSM:
1. (Optional) Download and unpack GraphViz to a suitable location on the same
machine on which you will install OSM. See "OSM Compatibility Matrix" for
download links.
6-1
Chapter 6
Installing OSM
Tip:
If you intend to install more than one OSM instance on the same
machine, it is a good idea to put these libraries in a location outside
any OSM_home.
2. Download JDK 1.7 from the respective Web sites and install it, preferably in
the /usr or the /opt directory.
Note:
JRE 1.7 is not bundled with the OSM software media packs for any
operating system.
3. Download the OSM software media pack for your operating system from the
Oracle software delivery website, located at:
https://edelivery.oracle.com/
and save it to a temporary directory.
4. Unzip the OSM software media pack.
5. Ensure that the Oracle Database and Oracle WebLogic Server instances that you
intend to use for OSM are running.
6. For a Linux system, ensure that you have installed all required software packages,
including Software Development Workstation. For information about the available
software packages, see the latest Oracle Linux Installation Guide.
7. On UNIX or Linux systems:
a. Verify that your DISPLAY environment variable is properly set.
b. Remove the ANT_HOME environment variable if it appears.
c. Remove any weblogic.jar file entries from the CLASSPATH variable.
d. Verify that the OSM UNIX or Linux user has read, write, and execute
permissions for the /tmp/vfs_cache directory.
Note:
If you cannot use this directory, or the contents of the /tmp
directory get purged periodically, you can change the location of
the /vfs_cache directory by adding the -Djava.io.tmpdir=new_path
argument to the OSM WebLogic Server startup scripts (where
new_path is the new /vfs_cache location).
6-2
Chapter 6
Installing OSM
8. On IBM AIX systems, after the domain is created, in the bin/startWeblogic.sh file,
append the following parameters for JAVA_OPTIONS:
-Dtangosol.coherence.distributed.localstorage=true
-Dcoherence.distributed.localstorage=true
Note:
If JRE 1.7 is not available in the /usr or /opt directory or if the Installation
wizard does not come up or fails with the No Java Runtime Environment
(JRE) was found on this system error, use the -is:javahome option
explicitly with the Installer command. For example, on Linux, run ./
InstallLinux.bin -is:javahome JAVA_HOME, where JAVA_HOME is the
location of JDK or JRE.
Table 6-1 provides troubleshooting information for error messages you may
receive after running the command.
6-3
Chapter 6
Installing OSM
Note:
If you are concerned that there is insufficient temporary disk space
in your current temporary directory, specify the location of a different
temporary directory for the OSM Installer to use during the installation.
You can also specify a log file that logs all OSM Installer activity.
To specify a different temporary directory and specify a log file, use the
following attributes when running the OSM Installer:
-is:tempdir temp_directory -is:log log_file.log
6-4
Chapter 6
Installing OSM
Note:
The third-party components are required for the OSM Server and
software development kit (SDK) components.
11. Verify that the View third party readme check box is selected and click Next.
Note:
If you are installing to the same directory as an existing OSM 7.0.x
installation, the automation module in the SDK is not upgraded.
Specify a new directory to ensure complete installation of the new
OSM SDK.
6-5
Chapter 6
Installing OSM
15. Select which of the components listed in Table 6-2 to install by doing one of the
following:
• To install everything except the SDK Samples (on Windows), or to install the
Database Schema and Server (on UNIX or Linux), select Typical Installation
and click Next.
• To choose which components to install, do the following:
a. Select Custom Installation and click Next.
b. Select the components to install and click Next.
Component Description
Database Schema The database schemas required to support OSM.
Server The OSM server application.
SDK Tools The OSM SDK, which includes the OSM Javadocs, the
XML Import/Export tool, and various other files in
support of OSM development activities.
SDK Samples Sample files for use with the SDK. Includes sample
code and web service requests. This also includes silent
installation template files to use if you want to run
subsequent silent installations. For more information
about silent installations, see "Performing a Silent
Installation of OSM."
Note:
For Oracle RAC One Node, specify only the Service Name.
• In the Host field, enter the IP address or DNS name of the host where the
database listens for request. For an Oracle RAC database, enter the Single
Client Access Name (SCAN).
• In the Port field, enter the port where the database listens for requests.
• In the Service Name field, enter the service name of the database. If the
database is a pluggable database (PDB) within a container database (CDB),
use the service name of the PDB. For example, the name of either the default
database service or a service created specifically for OSM.
6-6
Chapter 6
Installing OSM
For an Oracle RAC database instance with a remote listener (SCAN listener),
you must enter both service name and SID. For other types of database, or an
Oracle RAC database instance with only local listeners, you can enter either a
database service name or SID, but both fields cannot be empty.
Note:
If a service is configured for OSM, all WebLogic database
transactions are executed against that service as expected.
However, OSM jobs run by the Notification Engine are submitted to
the database through the DBMS_JOB package and are not subject
to any restrictions that may have been placed on the service.
• In the Instance SID field, enter the name (system identifier) of the database
instance. If the database is a PDB within a CDB, use the system identifier of
the CDB.
For an Oracle RAC database instance with a remote listener, you must specify
the SID and the service name. Otherwise, the WebLogic data source will not
be able to override server-side load balancing. See "Listener Considerations
for Oracle RAC" for a discussion of listener functionality.
18. Click Next.
• In the Database Admin Username field, enter the user name for the
database administrator user.
• In the Database Admin Password field, enter the password for the database
administrator user.
Note:
If you choose to connect as the sys user and you have not set
the O7_DICTIONARY_ACCESSIBILITY database parameter to TRUE,
append as sysdba to the value in the User Name field.
6-7
Chapter 6
Installing OSM
Note:
If the Oracle accounts that you enter in the Username fields do
not exist, new accounts with these names will be created for you
during installation.
• Select Use same passwords for all accounts to use the same password for
all OSM schemas.
a. In the Password field, enter a password.
b. In the Confirm Password field, enter the password again.
Note:
If you edit the default schema user names in the Use different
passwords for these accounts Username column, but specify
the same password for all schemas using the Use same
password for all accounts field, OSM uses the edited user
names and applies the same password for each schema.
The OSM Server uses the Core and Rule Engine credentials to connect to
Oracle Database schemas. You can use Reporting credentials with the OSM
Reporting Interface to generate reports (see OSM Reporting Interface Guide for
more information).
22. Click Next.
6-8
Chapter 6
Installing OSM
• If you have not localized your database schema, accept the default setting
(the Use localized Order and Service Management initial data check box
deselected).
• If you have localized your database schema, select the Use localized Order
and Service Management initial data check box, and click Browse to
specify the path to your localized .jar file.
25. Click Next.
Note:
If the Installer takes an unusual amount of time to progress to the
Database Schema Tablespaces screen, Oracle recommends that you
purge the database recycle bin to ensure the Installer progresses more
quickly the next time you run it. For information, see "OSM and RCU
Installers Are Slow to Run Database Tablespace Query."
• If you have a license for Oracle Partitioning, accept the default selection
(Use Oracle Partitioning features for optimal performance in high volume
production environment) and do the following:
a. In the Orders per Partition field, enter the number of orders that will be
allowed in a partition.
b. In the Number of Sub-partitions field, enter the number of sub-partitions
allowed in a partition.
After installation, you can change the values that you selected during
the installation process by updating the range_partition_size and
6-9
Chapter 6
Installing OSM
Note:
For more information about partitioning, see OSM System
Administrator's Guide.
• If you do not want to use Oracle Partitioning, deselect the Use Oracle
Partitioning features for optimal performance in high volume production
environment check box. You may not need Oracle Partitioning features in a
development environment.
Important:
Oracle strongly recommends partitioning in all production deployments
or production test environments, particularly those with high order
volumes or any volume of large or complex orders. If you choose not
to partition your OSM schema, it could be expensive to later reverse
your decision. Changing a non-partitioned schema that has accumulated
a large volume of data to a partitioned schema involves time-consuming
and resource intensive export/import.
Note:
For more information on time zone settings, see "Configuring Time Zone
Settings in the Database" or OSM System Administrator's Guide.
6-10
Chapter 6
Installing OSM
Note:
Use the Connect to a running WebLogic server to create resources
and deploy OSM option when you want to install the OSM server and
create resources in WebLogic.
Reserve the second option, Do not connect to a WebLogic server.
Order and Service Management must be manually deployed, for
situations where OSM has already been deployed and WebLogic Server
resources already configured.
a. In the WebLogic Host Name field, enter the name or IP address of the
machine where WebLogic is installed.
b. In the WebLogic Port Number field, enter the port where WebLogic is
operating.
c. In the WebLogic Admin User field, enter the name of the WebLogic
administrator.
d. In the WebLogic Admin Password field, enter the password of the WebLogic
administrator.
e. Select Connect to WebLogic via SSL to use an SSL connection to the
WebLogic admin server. The server's SSL port must be enabled to use this
feature. By default, a non-SSL connection is used.
f. If using SSL, in the WebLogic SSL Port Number field, enter the port number
of the WebLogic admin server.
g. If using SSL, in the SSL Key Store File Name field, specify the location of
the key store file required for the SSL connection by typing the full path and
directory, or click Browse to locate the directory.
The default location of the cacerts key store file is WebLogic_home/server/
lib.
h. Click Next.
The WebLogic Server Deployment Target screen is displayed.
33. From the Cluster/Stand-alone Server list, select the server or cluster as follows:
• If you created a single WebLogic admin server, select the admin server.
• If you created a WebLogic admin server with managed server, select the
managed server.
• If you created a WebLogic cluster, select the cluster.
Note:
The list shows only the targets on which ADF has been configured.
6-11
Chapter 6
Installing OSM
If you are performing an upgrade and there are open connections to the database
schema, the Open Database Sessions Detected screen is displayed.
If you specified an Oracle RAC database with its SID, and there are no open
connections to the database schema, the Oracle Real Application Clusters
Configuration screen is displayed. Go to step 38.
If you have specified a WebLogic cluster, go to step 43.
35. If you are performing an upgrade and there are database connections currently
open, decide whether you want the OSM installer to remove the sessions or
whether you would prefer to manually remove them outside the OSM installer.
If you would like the OSM installer to remove the connections, ensure that Kill
all sessions automatically during the upgrade process is selected. Otherwise,
deselect that option. Click Next.
The Database Configuration Comparison screen is displayed.
36. This screen displays the existing JDBC configuration and the proposed new JDBC
configuration. Do one of the following:
• If you want to replace the existing configuration with the proposed
new configuration, select Replace the existing JDBC data source
configuration...
Note:
The OSM installer does not perform any data migration. Therefore, if
you select this option, all configuration parameters will be reset.
• If you do not want to replace the existing configuration with the proposed new
configuration, select Leave the existing JDBC data source configuration
intact.
37. Click Next.
If you specified an Oracle RAC database with its SID, the Oracle Real Application
Clusters Configuration screen is displayed.
Otherwise, go to step 43.
38. Do one of the following:
• If you want to use Oracle RAC - except for Oracle RAC One Node, select Use
Oracle RAC and click Next.
• If you do not want to use Oracle RAC, or you want to use Oracle RAC One
Node, deselect Use Oracle RAC and click Next and go to step 43.
The Installer configures a single data source for the Oracle RAC instance
specified in step 17, but does not create a multi data source. OSM will not use
Oracle RAC for load balancing or failover.
6-12
Chapter 6
Installing OSM
Note:
If you decide in the future to implement Oracle RAC for load
balancing or failover, you must run the Installer again and select Use
Oracle RAC. You cannot manually add and configure the primary
Oracle RAC database instance. This is not applicable to Oracle RAC
One Node.
a. In the Configure WebLogic JDBC data sources area select one of the following
options:
• to use additional RAC Database instances now
The Installer preconfigures the database connections in WebLogic.
• manually after installation completes
You can add more Oracle RAC database instances manually after
installation. See "Manually Configuring Additional Data Sources for an
Oracle RAC Instance" for configuration details.
b. In the RAC operation mode area, select one of the following options:
• Load Balancing (Active Active) - Order and Service Management
WebLogic Cluster Installations
The Installer groups the WebLogic Server instances according to the
number of Oracle RAC database instances. Each group is configured to
a separate Oracle RAC database as the primary data source, and the
remaining Oracle RAC database instances as secondary data sources.
This option is available only if OSM is deployed to a WebLogic cluster.
• Failover (Active Passive)
The Installer configures multi data sources and data sources according
to the number of Oracle RAC database instances. The first data source
of each multi data source connects to the primary database instance
specified in step 17, and the subsequent data sources connect to
other database instances to be specified. This option preconfigures the
database connections in WebLogic for warm standby.
c. In the Listener Configuration area, select one of the following options:
• Remote Listener (SCAN Listener)
• Local Listeners
See "Listener Considerations for Oracle RAC" for a discussion on listener
functionality.
d. Click Next.
40. Do one of the following:
6-13
Chapter 6
Installing OSM
43. If the value of the Java Transaction API (JTA) Timeout Seconds parameter for your
WebLogic domain is less than 600 seconds (the default WebLogic value is 30), the
Installer prompts you to increase the Timeout Seconds value. The current value is
displayed in the Timeout in Seconds field. Do one of the following:
• Update the Timeout Seconds value to a value greater than or equal to 600 and
click Next.
• Do not update the Timeout Seconds value and click Next.
A warning is displayed. Click OK to accept the warning and continue with
installation.
For more information about the JTA Timeout Seconds parameter, see the
WebLogic Server Administration Console Help.
44. If you selected a WebLogic cluster, the WebLogic Cluster Web Service Request
Configuration screen is displayed. Update the following fields:
a. Front End Host, Front End HTTP Port and Front End HTTPS Port for
Web Service HTTP requests. The Installer automatically populates these fields
with the values configured for your WebLogic domain, proxy server, or load
balancer.
If the WebLogic default values of <blank> and 0 appear, update the fields
with the correct values. You must update these values to proceed with the
installation.
6-14
Chapter 6
Installing OSM
For information about updating these fields again after installation, see the
discussion about how to configure HTTP settings for a cluster in the WebLogic
Server Administration Console Help.
b. (Optional) Front End SSL Port for Web Service HTTP requests.
45. Click Next.
Note:
In an Oracle RAC configuration, the initial capacity is set to 0 (read-
only).
Note:
In an Oracle RAC configuration, this connection pool information will
be shared.
d. Click Next.
The JMS Store Information screen is displayed.
48. Accept the default setting of JMS File Store or select the alternate JMS JDBC
Store.
If you choose JMS File Store, OSM will use the default WebLogic file-based
persistent store as the JMS store. After installation is complete, Oracle
recommends that you configure one custom file store for each managed server
and JMS server. For more information, see "Creating and Configuring Persistent
File Stores."
While file stores provide better performance than JDBC stores, the benefit of
JDBC stores is that online database backups can obtain consistent snapshots of
6-15
Chapter 6
Installing OSM
both OSM data and JMS messages. However, there is currently no mechanism
for consistent backup of JDBC stores and transaction logs. For more information
about backup strategies, see OSM System Administrator's Guide.
49. Click Next.
If OSM is being deployed to a WebLogic cluster, the WebLogic Coherence Cluster
Configuration screen is displayed.
If OSM is being deployed to a single WebLogic server, the OSM Administrator and
Deployment Credentials screen is displayed. Go to step 51.
50. Accept the settings for the WebLogic coherence cluster that the Installer
has detected, or create a new coherence cluster by modifying the default
values. The coherence cluster name is generated using the pattern:
osmCoherenceClusterNNNN, where NNNN is a random four-digit number.
Ensure that the IP Address value corresponds to the IP address or machine name
of the WebLogic Server where the coherence cluster is running.
Note:
Oracle recommends using unicast cluster messaging mode. The Installer
uses unicast mode and does not allow you to use the Installer to
change the mode to multicast. Even if the target WebLogic cluster is
a member of a coherence cluster that uses multicast mode, the Installer
modifies the cluster messaging mode to unicast. For information about
using WebLogic to change the cluster messaging mode to multicast, see
"Configuring a Multicast IP Address for the Cluster Messaging Mode."
Note:
If you get the "Well known address with listen address xx.xx.xx.xx is not
valid or not reachable” error, launch the installer with a user who has root
privileges.
51. The user names and passwords you provide will be used to create initial user
accounts with administrator privileges and access to Oracle Communications
Design Studio (the deployment tool). Do the following:
a. In the Admin User Name field, enter a user name, or use the default admin.
b. In the Password field, enter a password for the OSM Administrator user.
c. In the Password Confirmation field, re-enter the password for the OSM
Administrator user.
d. In the Deploy Admin User Name field, enter a user name or use the default
deployAdmin. Design Studio uses this user to deploy cartridges to OSM.
e. In the Password field, enter a password for the Deploy Admin user.
f. In the Password Confirmation field, re-enter the password for the Deploy
Admin user.
6-16
Chapter 6
Installing OSM
g. Click Next.
The OSM WebLogic User Account Passwords screen is displayed.
52. You use this screen to create passwords for the standard users that are created
for the application. The Automation User Name and OSM Core User Name are
provided on this screen for reference only and are not editable. The passwords
you enter must meet the password requirements for your WebLogic domain. Do
the following:
a. In the Automation User Password field, enter the password for the oms-
automation user. This is the internal automation user, used for processing
OSM automation and email notifications. Re-enter the password in the second
Confirm Password field.
b. In the OSM Core User Password field, enter the password for the oms-
internal user. It is used for internal processing when an operation must be
performed on behalf of the application rather than on behalf of the user. Re-
enter the password in the third Confirm Password field.
c. Click Next.
The OSM Server Session Information screen is displayed.
53. The information in this screen is used to configure your OSM user sessions. Do
the following:
a. In the Session Timeout field, enter the time in minutes that Order
Management web client and Task web client sessions remain active.
b. In the Server Domain Suffix field, enter the domain suffix for the computers
on which the OSM server will run.
c. In the Landing Page field, select the first page that Task web client users will
see after login.
d. Click Next.
The Order and Service Management Remarks and Attachment Information
screen is displayed.
54. The information on this screen is used to configure the text remarks and file
attachments that users can add to OSM orders. Do the following:
a. In the Maximum Attachment Size field, enter the maximum attachment size
in MB that can be appended to a remark.
b. In the Remark Change Timeout field, enter the length of time in hours that a
remark can be edited before it becomes read-only.
c. Click Next.
The OSM Web Client Preferences screen is displayed.
55. The information in this screen is used to configure the number of records retrieved
and displayed in the Task web client's Worklist, Query list, and Notification list. Do
the following:
a. In the Worklist Rows Retrieved field, enter the number of rows OSM should
retrieve when the worklist is refreshed.
b. In the Worklist Rows per Page field, enter the number of rows OSM should
display on each Worklist page.
c. In the Query Rows Retrieved field, enter the number of rows OSM should
retrieve when a query is run.
6-17
Chapter 6
Installing OSM
d. In the Query Rows per Page field, enter the number of rows OSM should
display on each query results page.
e. In the Notification Rows Retrieved field, enter the number of rows OSM
should retrieve when the notification list is refreshed.
f. In the Notification Rows per Page field, enter the number of rows OSM
should display on each notification page.
g. Click Next.
The Order and Service Management Notification Emails screen is displayed.
56. The information in this screen is used to configure the email notifications for OSM.
Do the following:
a. In the Notification Email Server field, enter the DNS name or IP address of
your email server.
b. In the Notification Email Server Port field, enter the port on which the email
server is listening.
c. In the Administrator Email Address field, enter the OSM Administrator's
email address.
d. Click Next.
The Task Processor Configuration screen is displayed.
57. The information in this screen is used to control the rule and delay task evaluation.
You can change these settings at any time after installing OSM. See OSM
System Administrator's Guide for information about changing these values in oms-
config.xml.
Do the following:
a. In the Task Processor Interval field, enter the number of seconds between
task processor polls.
b. In the Maximum Rule Processor Count field, enter the maximum number of
rule task processors used to evaluate rules.
c. In the Maximum Delay Processor Count field, enter the maximum number of
delay task processors used to evaluate delays.
Note:
The total number of processors will be adjusted automatically at run
time to exceed not more than 10% of the connection pool size. For a
non-production environment, you can use the default values.
d. Click Next.
The Order and Service Management Application Deployment State screen is
displayed.
58. Do one of the following:
• If you want OSM to start when installation is complete, ensure that Start the
OSM application after installation is complete is selected and click Next.
You should always select this option for a new installation of OSM. You should
also use this option if you are performing an upgrade, except as noted below.
6-18
Chapter 6
Installing OSM
• If you do not want OSM to start when installation is complete, deselect Start
the OSM application after installation is complete and click Next. This
option can be used in an upgrade when you want to ensure that you can
perform WebLogic configuration before OSM begins to process any queued
orders.
Note:
If you decide not to start OSM after installation is complete, you will
not be able to select any of the server features in the next screen.
Note:
Among the configuration parameters displayed on the Configuration
Overview screen, the following parameters are for internal use
only:
• Existing-Schema-Action
• Halt-on-Warning
• Halt-on-Error
• Warning-Property
• Error-Property
Oracle recommends that you do not modify these parameters. For
example, to ensure a successful installation, do not modify the
Existing-Schema-Action parameter to any value other than upgrade,
not even when creating a new OSM database schema.
6-19
Chapter 6
Handling an OSM Database Schema Installation Failure
d. Click Next.
A screen is displayed containing the location and components to be installed
and the total size of the OSM installation.
62. Click Next.
The OSM installation begins.
When the installation completes, the installation summary displays the location of
the installation and database logs, which contain detailed information about your
installation, including any warnings or problems encountered.
63. If you have selected to install OSM with product features, such as the job control
order feature, the Order and Service Management Server restart required screen
appears. Manually shutdown and restart the Oracle WebLogic Server. When the
Oracle WebLogic Server restarts, click Next.
The Deploying product cartridges progress bar appears showing the progress
of the product cartridge deployment that support the selected features.
Note:
If you want to complete the installation without restarting the OSM
server, that is, without having to wait for the OSM application to deploy a
product cartridge (such as the job control cartridge), click Cancel.
Note:
After installing OSM, shut down and restart the Oracle WebLogic Server
if you have not already done so after deploying the product cartridges. To
verify that OSM installed properly, see "Verifying the OSM Installation."
6-20
Chapter 6
Handling an OSM Database Schema Installation Failure
is the first action with a status that is FAILED. The error_message column of that row
contains the reason for the failure.
The database installation log file gives a more detailed description of all the installation
actions that have been run for this installation. The issue that caused the failure is
located in the OSM_home/Database/dbinstall/install/dbInstaller.log file. The failed
action is typically at the bottom, that is, the last action that was performed.
There are also the following database tables that contain information about the
database installation:
• om_$install$plan_actions: Contains the same information as the database plan
action spreadsheet. Compare this table to the spreadsheet in cases of a database
connection failure.
• om_$install$plan: Contains a summary of the installation that have been
performed on this OSM database schema.
When you install the Oracle database schema for the first time and the database
schema installation fails, you must do the following high-level steps:
1. Delete the new schema, or use a new schema user name for the subsequent
installation.
2. Restart the database schema installation from the beginning.
Note:
If you are upgrading the database schema, you can restart the installation
from the point of failure. For more information, see "Recovering from a
Database Upgrade Failure."
6-21
7
Performing a Silent Installation of OSM
You can install Oracle Communications Order and Service Management (OSM) using
interactive install or silent (unattended) install. This chapter provides instructions on
using silent install.
The silent installation procedure enables you to perform a non-interactive installation
of OSM. Installation settings are pre-configured in the install_cfg.xml and
installOptions.txt configuration files. The installer runs in the background without
requiring any user intervention.
Note:
Silent installation configuration files are created during an interactive
installation of OSM when the SDK samples are included in the installation.
Configuration files created on one operating system can be used on other
operating systems.
During installation, save the configuration in the Save Configuration screen of the
OSM installer. This saves a copy of the install_cfg.xml file in the location you specify.
In addition, if you have installed the SDK, samples of both configuration files are
stored in the OSM_home/SDK/Samples/installation directory.
Prerequisites
The prerequisites for a silent installation are the same as an interactive installation:
• Oracle Database is correctly set up with tablespaces created for OSM, and is
running.
• Oracle WebLogic Server is running.
• The third-party plug-in JBoss is available on the target machine.
7-1
Chapter 7
Configuring the installOptions.txt and install_cfg.xml Files
would be possible. If an option is specified both in the file and on the command line,
the command-line option will take precedence over the value in the file.
If you have installed the SDK samples, a sample installOptions.txt file is stored
in the OSM_home/SDK/Samples/installation directory. Further information about the
options below is specified in the sample file.
To configure the installOptions.txt file:
1. If you have access to a sample installOptions.txt file, copy it to the location
where the installation executables are placed. For example, if you are using
the sample in the OSM SDK, copy the file from the OSM_home/SDK/Samples/
installation directory. If you do not have a sample, you can create a new text
file called installOptions.txt in the location where the installation executables are
place.
2. Set the name of the XML file containing the installation configuration. This
file should be located in the same directory as the installOptions.txt file. For
example, to use install_cfg.xml as the XML file, use:
-W loadConfiguration.configurationFile="install_cfg.xml"
3. Set the location for the OSM product to be installed. Use double-quotes if the
directory contains spaces. For example, for a UNIX or Linux installation, you might
have:
-P installLocation=/opt/osm
7-2
Chapter 7
Performing a Silent Installation
8. If you have selected the Custom option, select which OSM components you would
like to install. Table 7-1 lists the text to include in the file to install the option. To
choose not to install a component, use the same option, but set the value to false
instead of true. If you have selected the Typical installation option, the values
below are ignored.
Note:
If you cannot use this directory, or the contents of the /tmp
directory gets purged periodically, you can change the location of
the /vfs_cache directory by adding the -Djava.io.tmpdir=new_path
argument to the OSM WebLogic Server startup scripts (where
new_path is the new /vfs_cache location).
7-3
Chapter 7
Performing a Silent Installation
2. (For IBM AIX and HP-UX Itanium operating systems only) Download JDK 1.7 from
the respective Web sites and install it, preferably in the /usr or the /opt directory.
Note:
JRE 1.7 is not bundled with the OSM software media packs for IBM AIX
and HP-UX Itanium operating systems.
3. On IBM AIX systems, after the domain is created, in the bin/startWeblogic.sh file,
append the following parameters for JAVA_OPTIONS:
-Dtangosol.coherence.distributed.localstorage=true
-Dcoherence.distributed.localstorage=true
7-4
Chapter 7
Performing a Silent Installation
Note:
You can optionally specify the location of the temporary directory that the
OSM installer uses during the installation if you are concerned that there
is insufficient temporary disk space in your current temporary directory.
In addition, you can specify a log file that logs all OSM installer activity.
You can use the following attributes when running the OSM installer in
silent mode:
-is:tempdir temp_directory -is:log log_file.log
You can monitor the progress of the installation by viewing the InstallLog.txt
file. If a problem occurs, the installation stops and the reason for the failure is
written to the InstallLog.txt file. Based on the error, you may have to edit the
installOptions.txt file and restart the installation.
6. If you chose to manually deploy product cartridges, see OSM_home/
ProductCartridges/install/ReadMe.txt for instructions about manually deploying
the product cartridges after you have installed OSM.
After the installation is complete, you can verify the installation the same way you do
for the interactive installation. See "Performing an Interactive Installation of OSM" for
more information.
7-5
8
Performing OSM Post-Installation Tasks
This chapter describes Oracle Communications Order and Service Management
(OSM) post-installation tasks.
Note:
This command assumes X server is running on display number 1 and
on the same computer where WebLogic Server is running. If you have a
different configuration, specify the IP address of the computer where the
X server is running instead of localhost.
4. For convenience, you can place the Xvfb and DISPLAY setting commands in your
user account configuration shell script or in the WebLogic Server startup script
(startWebLogic.sh) so that they run when you start OSM.
5. If you are running on Solaris 5.10, add the following statement to the Java
command line in the startWebLogic.sh file for your WebLogic server domain:
8-1
Chapter 8
Connection, File Store, and Thread Configuration Post Installation Tasks
-Djava.awt.headless=true
If the above statement is missing from the Java command line, the following error
may occur:
-X10: fatal IO error 22 (invalid argument) on X server "localhost:
In addition, performance and stability issues may occur when OSM accesses the
server's display.
If you are running multiple instances of OSM on the same system, set up a dedicated
Xvfb server for each instance.
To set up dedicated Xvfb servers for multiple instances of OSM:
1. Start one instance of the Xvfb server on display 1:
Xvfb :1
2. Set the value of the DISPLAY environment variable in the first WebLogic server
domain instance to 1:
DISPLAY=localhost:1
3. Start the first WebLogic server domain instance.
4. Repeat steps 1 to 3 for each additional OSM instance running on the same
system.
Note:
You must increment the Xvfb server display and the DISPLAY
environment variable by one for each additional OSM instance. For
example, the second instance would have a value of 2 for the Xvfb
server display and the DISPLAY environment variable.
8-2
Chapter 8
Connection, File Store, and Thread Configuration Post Installation Tasks
For more information about changing this oms-config.xml parameter, see OSM
System Administrator's Guide.
To override this default setting for a specific cartridge, you can specify this parameter
as an OSM Cartridge Management Variables in Design Studio. You must use the full
parameter name.
com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.CartridgeDeploymentTransactionTimeo
ut
Note:
If an order has stopped processing due to a timeout, the order must be
aborted. It will not resume processing even after the timeout value has been
increased.
8-3
Chapter 8
Connection, File Store, and Thread Configuration Post Installation Tasks
at 30 and increasing the value only if you cannot improve parse ratios by tuning the
cursors. For a development environment, the default setting of 10 is enough.
To configure the OSM JDBC Connections, do the following:
1. Log in to the WebLogic Server Administration Console.
The WebLogic Administration Console is displayed.
2. Click Lock & Edit.
3. In Domain Structure, select Services, then Data Sources.
The Summary of JDBC Data Sources screen is displayed.
4. Select an OSM JDBC data source. The OSM JDBC data source are as follows:
osm_pool_sid_group_y
where sid is the Oracle RAC database instance system identifier and y is the
group letter.
The Configuration tab is displayed
5. Click the Connection Pools tab.
6. Click Advanced.
7. In the Properties field, add the following:
oracle.jdbc.ReadTimeout=value
where value is the Statement Timeout value converted to milliseconds plus 2000
milliseconds.
For example, if the Statement Timeout value is 602 seconds, then the
oracle.jdbc.ReadTimeout should be 604000 milliseconds.
8. In the Statement Cache Size field, enter a value from 30 to 40 in a production
environment.
9. Click Save.
10. Repeat steps 3 to 9 for all other OSM JDBC connections.
8-4
Chapter 8
Connection, File Store, and Thread Configuration Post Installation Tasks
Note:
When a custom file store is targeted to a migratable target, the specified
directory must be accessible from all candidate server members in the
migratable target. For highest reliability, use a shared storage solution
that is itself highly available, for example, a storage area network (SAN)
or a dual-ported SCSI disk.
Note:
After you create a file store you cannot rename it. You must delete it and
create another one with a different name.
Note:
In a clustered environment, it is recommended that you target a
custom file store to the same migratable target as the migratable
JMS server, so that a member server is not a single point of failure.
• Directory: The path name to the directory on the file system where the file
store is kept.
7. Click OK.
8. On the Summary of Persistent Stores page, select the file store that you just
created.
9. Click the Configuration tab and update Advanced parameters, as required:
• Logical Name: Optional name that can be used by subsystems that need a
way to refer to different stores on different servers using the same name.
• Synchronous Write Policy: Specifies how this file store writes data to disk.
10. Click Save.
8-5
Chapter 8
Connection, File Store, and Thread Configuration Post Installation Tasks
11. In the left pane, expand Services and then Messaging, and then select JMS
Servers.
The Summary of JMS Servers page is displayed.
12. In an OSM cluster, the OSM installer creates the following JMS servers in pairs:
oms_jms_server_managed_server
osmJmsNonMigratableServer_managed_server
where managed_server is the managed server that the JMS server is associated
with.
Note:
For a non-clustered managed server, the name of the JMS server is:
oms_jms_server.
Select the one from the managed server pair that will use the custom file store.
13. On the settings page for the JMS server, click the Configuration tab, and then the
General sub-tab.
14. In Persistent Store, select the custom file store that you want for the JMS server.
For more information about configuring general JMS server properties, see
WebLogic Server Administration Console Help.
16. In the Change Center of the Administration Console, click Activate Changes.
Note:
Not all changes take effect immediately. For some changes you must
restart WebLogic Server.
17. Repeat steps 11 to 16 for the other JMS server in the JMS server pair.
8-6
Chapter 8
Connection, File Store, and Thread Configuration Post Installation Tasks
14. In the Name column, select the check box beside oms.
17. In the Path field, enter the path to the modified oms.ear file.
8-7
Chapter 8
Copying Metric Rule Files
22. In the Domain Structure tree expand Environment, then click Coherence
Clusters.
The Summary of Coherence Clusters screen is displayed.
23. From the Name Column, select osmCoherenceClusternnnn (where nnnn is a
random number that OSM installer generates when it creates the coherence
cluster for OSM).
The Configuration tab is displayed.
24. Click the Cache Configurations sub tab.
30. In the Clusters table, select Part of the cluster, and the select all the managed
servers in the cluster.
31. Click Finish.
33. In the Domain Structure tree, expand Environment, then click Servers.
If this directory is not accessible to the OSM server, you must copy the files using the
procedure in this section.
8-8
Chapter 8
Copying Metric Rule Files
Note:
You might have to run the procedure in this section several times. If
the administration server does not share the domain directory or the
Middleware_home directory with a managed server, the system does not
create the oms_dms directory and you must copy ADML files manually to
the administration server's Middleware_home directory.
Note:
If you are using Internet Explorer 11 as the web browser to access
Oracle Enterprise Manager Cloud Control 12.1.0.4, you must update Oracle
Enterprise Manager Cloud Control 12.1.0.4 with the following patch:
Patch 20465665: MERGE REQUEST ON TOP OF 11.1.1.7.1 FOR BUGS
18680326 14739854 19933990
Download the patch from the Oracle support website at:
https://support.oracle.com
Instructions for applying the patch are provided in the patch Read me file.
For more information about accessing the DMS interface to view metrics tables, as
well as using Application Management Pack to graphically view metrics data, see the
topic about metrics data in OSM System Administrator's Guide.
8-9
Chapter 8
Copying Metric Rule Files
Note:
You cannot use the wlst.sh or wlst.cmd scripts in the
WebLogic_home/common/bin directory because these scripts do
not have the Oracle JRF extensions enabled.
The system loads the metric rules files in the ADML directory. This command
shows the metric rules of all the managed servers and the administration server.
If one of the OSM ADML files is missing from the reported files list for a server,
ensure that the Middleware_home directory for that server has the ADML files
correctly deployed.
4. Open the setDomainEnv.sh file from the domain_home/bin directory of the
administration server.
5. Add the following string to the JAVA_OPTIONS property:
-Dweblogic.management.disableManagedServerNotifications=true
8-10
Chapter 8
Queue Configuration Post Installation Tasks
https://support.oracle.com
You must also register the Oracle HTTP Server instance in OSM.
To register the Oracle HTTP Server instance:
1. Start an OSM WebLogic administration server.
2. Go to the bin directory of the Oracle HTTP Server instance, for example,
OHS_Instance_HOME/bin.
3. Run the following command:
opmnctl registerinstance -adminHost hostname -adminPort port
where hostname is the name of the OSM WebLogic administration host machine
and port is the port of the OSM WebLogic administration server.
The Oracle HTTP Server instance is registered in the OSM server.
Note:
You must use the predefined JMS system module to allow the
connection factory to deliver messages to the correct managed server.
Do not create a new JMS system module.
3. On the Configuration page, above the Summary of Resources table, click New.
8-11
Chapter 8
Queue Configuration Post Installation Tasks
4. On the Create a New JMS System Module Resource page, select Queue and
click Next.
5. On the JMS Destination Properties page, enter the name and JNDI name of the
member queue, and then click Next.
6. Select the subdeployment you want to assign to the queue.
The number of subdeployments should equal the number of JMS servers, and
hence managed servers configured in the cluster.
7. Upon selection of a subdeployment, the queue is automatically assigned to the
correct JMS server.
8. Click Finish. The newly created member queue is displayed in the resources list.
9. Repeat steps 2-8 to create a queue for each managed server in the cluster.
For information about using JMS queues, see OSM System Administrator's Guide.
To confirm that the distributed queue is visible to each server in the cluster:
1. Navigate to the Summary of Servers page and select a managed server.
2. On the Configuration page, click the View JNDI Tree link.
3. Verify that the distributed queue is visible to the managed server.
4. Repeat steps 1-3 for each managed server in the cluster.
8-12
Chapter 8
OSM Integration with External Systems
8-13
Chapter 8
OSM Integration with External Systems
Figure 8-1 SAF Agent and JMS Bridge Configuration Between OSM and ASAP
In this example, an OSM SAF agent sends requests to the ASAP request queue, and
ASAP returns responses through the ASAP SAF agent to the OSM reply-to queue.
In addition, ASAP sends work order state changes from the JSRP XVTEventTopic
through a JMS bridge with a SAF agent to the OSM event queue.
For detailed instructions for creating SAF and JMS bridges between ASAP and OSM,
see Configuring WebLogic Resources for OSM Integration With ASAP And UIM
On Different Domains (Doc ID 1431235.1) knowledge article on the Oracle support
website at:
https://support.oracle.com
This article is also applicable to IP Service Activator or to any other remote application
that uses a WebLogic JMS server to send and receive web service or JMS messages.
Note:
When using the above instructions with any remote application other than
ASAP, remember to change any reference to ASAP to the remote application
for which you are creating bridges. For example, change ASAP to IPSA.
8-14
Chapter 8
OSM Integration with External Systems
In this example, an OSM SAF agent sends requests to the UIM request queue, and
UIM returns responses through the UIM SAF agent to the OSM reply-to queue.
For detailed instructions for creating SAF agents between UIM and OSM, see
Configuring WebLogic Resources for OSM Integration With ASAP And UIM On
Different Domains (Doc ID 1431235.1) knowledge article on the Oracle support
website at:
8-15
Chapter 8
Deploying Custom Plug-Ins When Running on Managed Server
https://support.oracle.com
This article is applicable to any remote application that uses a WebLogic JMS server to
send and receive web service messages.
8-16
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
• In active-passive Oracle RAC, all instances in the WebLogic Server cluster are
configured to the PREFERRED Oracle RAC database instance as the primary
data source, and to the AVAILABLE Oracle RAC database instance as the
secondary. Upon database failure, all WebLogic Server instances transition from
the PREFERRED Oracle RAC database instance to the AVAILABLE Oracle RAC
database instance.
Figure 8-3 illustrates this configuration.
8-17
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
In the active-active Oracle RAC configuration, the use of the failover algorithm
(as opposed to a load-balancing algorithm) may appear counter-intuitive. However,
keep in mind that load balancing in an active-active Oracle RAC configuration is
not managed at the multi data source layer, but rather by partitioning the instances
in the WebLogic Server cluster. There is no dynamic load balancing between
WebLogic instances and database instances.
The relationship of a WebLogic instance and database instance in an active-active
Oracle RAC configuration is many-to-one. That is, more than one WebLogic
instance may choose the same database instance as its primary database
instance, but a WebLogic instance cannot choose more than one database
instance as its primary database instance. When you add a new database
instance, you can either reassign an existing WebLogic instance to it, or create
a new WebLogic instance.
WebLogic Server instances must be partitioned appropriately to load-balance
with active-active Oracle RAC. The recommended approach is to have an even
number of physical application servers with the same hardware dimensioning and
weight. You should monitor the performance of your WebLogic and database
instances to ensure they are not overloaded or under utilized. You can add more
WebLogic instances to a database instance that is not fully utilized, or reassign a
WebLogic instance to another database instance that is overloaded.
When a WebLogic Server cluster resizes, the ownership of an order is reassigned.
The cache transfer of records from one database instance to another has a
temporary impact on performance.
8-18
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
Figure 8-5 Data Sources for a Third Backup Oracle RAC Instance in an Active-Active
Environment
8-19
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
Figure 8-6 shows an example of adding a third Oracle RAC instance as an active
member of an active-active environment. The figure shows the new elements in
bold. Note that each Oracle RAC instance serves as a primary instance for a new
WebLogic group.
Figure 8-6 Data Sources for a Third Active Oracle RAC Instance in an Active-Active
Environment
8-20
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
8-21
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
8-22
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
b. Specify the unique instance name of the new Oracle RAC instance. The
instance name is required in order to override server-side load balancing.
See "Listener Considerations for Oracle RAC" for a full discussion of
listener functionality.
For example, if an existing data source URL is:
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST=host1.oracle.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)
(INSTANCE_NAME=orcl1)))
The new data source URL will specify the same host, port, and service name,
and a unique instance name, as follows:
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST=host1.oracle.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)
(INSTANCE_NAME=orcl2)))
• If your Oracle RAC database is configured with local listeners only:
a. Specify either a different host or port than the host or the port of the
existing data sources.
b. Specify either the same service name or a unique instance name,
depending on which the existing data sources specify. If the existing data
sources specify both, the new data source must as well.
For example, if the existing data source URL is:
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST=host1.oracle.com)(PORT=1521)))(CONNECT_DATA=(INSTANCE_NAME=orcl1)))
The new data source URL will specify a different host, and only specify the
instance name, as follows:
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST=host2.oracle.com)(PORT=1521)))(CONNECT_DATA=(INSTANCE_NAME=orcl2)))
• Enter the OSM database schema user name and password, and then confirm
the password.
• Click Next.
8. On the Test Database Connection page, do one of the following:
• Review the connection parameters and click Test Configuration.
WebLogic attempts to create a connection from the administration server to
the database. Results are displayed at the top of the page. If the test is
unsuccessful, you should correct any configuration errors and retry the test.
Click Next.
• If the JDBC driver you selected is not installed on the administration server,
click Next to skip this step.
9. On the Select Targets page, do one of the following:
• If you have an active-passive configuration, target the new data source to the
entire cluster.
• If you have an active-active configuration, target the data source to one group
in the cluster.
For example, in Figure 8-6, the new data sources ending in group_a are
targeted to the group_a servers, the new data sources ending in group_b
8-23
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
are targeted to the group_b servers, and the new data sources ending in
group_c are targeted to the group_c servers.
10. Click Finish.
Your configuration is saved and the data source is deployed to the cluster.
11. Configure the connection properties for the new data source. See "Configuring
Connection Pool Properties."
12. Repeat the previous steps for each required new data source.
13. Add the new data sources to multi data sources. See "Adding Data Sources to
Multi Data Sources."
Note:
Oracle recommends that you shut down all managed servers before
changing the order of the data sources as described in the procedure below
because the order affects the name of the Oracle Coherence cluster when
OSM starts.
8-24
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
See "Adding Oracle RAC Instances" for an illustration of how these data
sources and multi data sources connect to Oracle RAC instances and
WebLogic partitions.
4. Save your changes.
5. Repeat the previous steps for each multi data source.
8-25
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
8-26
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
b. If you use custom file stores, create a new file store for the new server. For
more information, see "Creating and Configuring Persistent File Stores."
c. If you use JDBC stores, create a new JDBC store and associate it with the
data source targeted to the new server. If you do not use Oracle RAC, this is
the CP-oms_pool data source. If you use Oracle RAC, choose the multi data
source targeted to the new server.
Note:
MS2 in the following steps indicates the name of the managed
server.
Note:
The name of the JMS server must always
be set to oms_jms_server_ManagedServerName where
ManagedServerName is the exact name of the managed server.
• Target = MS2
• PersistentStore = oms_jms_store_MS2
(required for custom file stores but not for the default persistent store or the
JDBC store)
7. Start the new managed server.
8. Open the domain_home/config/config.xml file.
9. In the section for the new server, before </server>, add the following:
<web-service>
<messaging-queue-mdb-run-as-principal-name>oms-internal</messaging-queue-mdb-
run-as-principal-name>
</web-service>
10. Save and close the file.
11. Create a subdeployment under the JMS module oms_jms_module with the
following settings:
• Name = oms_jms_server_MS2
• Target = oms_jms_server_MS2
12. Create a JMS template queues under the JMS module oms_jms_module
• Name = osmJmsNonMigratableTemplate_managed_server
• Destination Key = OsmDescendingPriorityDestinationKey
• Quota =oms_ws_cluster_correlates.Quota
• JNDIName = oracle/communications/ordermanagement/
WebServiceClusterCorrelateQueue_MS2
8-27
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
13. Create the following queues under the JMS module oms_jms_module:
• Queue
– Name = oms_behavior_queue_MS2
– SubDeploymentName = oms_jms_server_MS2
– Quota = oms_behavior_queue.Quota
– JNDIName = mslv/oms/oms1/internal/jms/behaviors_MS2
• Queue
– Name = oms_events_MS2
– SubDeploymentName = oms_jms_server_MS2
– Quota = oms_events.Quota
– JNDIName = mslv/oms/oms1/internal/jms/events_MS2
• Queue
– Name = OrchestrationDependenciesQueue_MS2
– SubDeploymentName = oms_jms_server_MS2
– Quota = OrchestrationDependenciesQueue.Quota
– JNDIName = oracle/communications/ordermanagement/
OrchestrationDependenciesQueue_MS2
• Queue
Note:
If you are using JSM service migration, you must configure the
oms_cartridge_deploy_MS2 queue as described in "Configuring a
New Managed Server that uses JMS Service Migration."
For all those not using JSM service migration, use the queue
configuration described here.
– Name = oms_cartridge_deploy_MS2
– SubDeploymentName = oms_jms_server_MS2
– Quota = oms_cartridge_deploy.Quota
– Local JNDIName = mslv/provisioning/internal/ejb/deployCartridgeQueue
8-28
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
Note:
For this queue, you must provide a local JNDI name rather than
a global JNDI name.
If you use the WebLogic Server Administration Console to
create the queue, do not enter a value in the JNDI Name
field while creating the queue. Instead, after you have created
the queue, enter the local JNDI name in the Local JNDI
Name field under the Advanced section on the Settings for
oms_cartridge_deploy_MS2 screen.
• Queue
– Name = oms_order_updates_MS2
– SubDeploymentName = oms_jms_server_MS2
– Quota = oms_order_updates.Quota
– JNDIName = mslv/provisioning/internal/ejb/orderupdates_MS2
• Queue
– Name = oms_ws_requests_MS2
– SubDeploymentName = oms_jms_server_MS2
– Quota = oms_ws_requests.Quota
– JNDIName = oracle/communications/ordermanagement/
WebServiceQueue_MS2
• Queue
– Name = oms_ws_cluster_requests_MS2
– SubDeploymentName = oms_jms_server_MS2
– Quota = oms_ws_cluster_requests.Quota
– JNDIName = oracle/communications/ordermanagement/
WebServiceClusterRequestQueue_MS2
• Queue
– Name = oms_ws_cluster_responses_MS2
– SubDeploymentName = oms_jms_server_MS2
– Quota = oms_ws_cluster_responses.Quota
– JNDIName = oracle/communications/ordermanagement/
WebServiceClusterResponseQueue_MS2
• Queue
– Name = oms_ws_cluster_correlates_MS2
– SubDeploymentName = oms_jms_server_MS2
– Quota =oms_ws_cluster_correlates.Quota
– JNDIName = oracle/communications/ordermanagement/
WebServiceClusterCorrelateQueue_MS2
8-29
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
14. Set the JMSPriority destination key for the oms_ws_requests_MS2 queue as
follows:
a. In the WebLogic Server Administration Console, in the Domain Structure tree,
expand Services, then expand Messaging, and select JMS Modules.
b. From the JMS Modules table, select oms_jms_module.
c. From the Summary of Resources table, select oms_ws_requests_MS2.
d. In the Destination Keys section, move DestinationKey-JMSPriority to the
Chosen list.
e. Save the destination key settings.
15. Create the following topics under the JMS module oms_jms_module:
• Topic
– Name = oms_order_events_MS2
– SubDeploymentName = oms_jms_server_MS2
– Quota = oms_order_events.Quota
– JNDIName = mslv/provisioning/external/orderevents_MS2
• Topic
– Name = oms_signal_topic_MS2
– SubDeploymentName = oms_jms_server_MS2
– Quota = oms_signal_topic.Quota
– JNDIName = mslv/oms/oms1/internal/jms/InternalSignalTopic_MS2
16. Add the following member queues and topics to the following distributed queues:
8-30
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
18. Add the new managed server well-known address IP address and port number to
the Coherence configuration file.
Note:
Oracle recommends that you use whole server migration, rather than
JMS service migration, to address your high-availability needs. For
more information, see "Understanding Whole Server Migration for High
Availability."
8-31
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
Note:
For this queue, you must provide a local JNDI name rather than a
global JNDI name.
If you use the WebLogic Server Administration Console to create the
queue, do not enter a value in the JNDI Name field while creating
the queue. Instead, after you have created the queue, enter the
local JNDI name in the Local JNDI Name field under the Advanced
section on the Settings for oms_cartridge_deploy_MS2 screen.
8-32
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
8-33
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
• Distributed_AIA_CreateProvisioningOrderResponseQueue
• Distributed_AIA_CreateBillingOrderQueue
• Distributed_AIA_CreateBillingOrderResponseQueue
• Distributed_AIA_UpdateFulfillmentOrderQueue
• Distributed_AIA_UpdateSalesOrderQueue
• Distributed_AIA_CreateTroubleTicketRequestQueue
• Distributed_AIA_CreateTroubleTicketResponseQueue
• Distributed_AIA_UpdateTroubleTicketRequestQueue
• Distributed_OSM_OrderActivityQueue
• Distributed_OSM_WebServiceFalloutLFResponseQueue
• Distributed_AIA_UpdateFulfillmentOrderQueue
• Distributed_AIA_CreateErrorFaultQueue
• Distributed_OSM_WebServiceResponseQueue
• Distributed_OSM_ServiceProvisioningUpdateQueue
• Distributed_OSM_LFAbortOrderPropagationRespQueue
• Distributed_OSM_WebServiceRetryResponseQueue
Note:
Note which OSM managed server you want to remove.
7. Click Shutdown.
8. Select Force Shutdown Now.
The State changes from RUNNING to SHUTDOWN.
9. Click Services.
10. Click JMS Modules.
8-34
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
If the managed server you are removing is configured with JMS service migration,
also select the osmJmsNonMigratableServer_managed_server subdeployment
associated to the managed server you want to delete.
Note:
You cannot delete a managed server subdeployment until there are no
resources associated with it. If any resources still appear, either delete
the resource if it is a queue, or remove the managed server from the
member list if it is a distributed queue.
If the managed server you are removing is configured with JMS service
migration, also select the osmJmsNonMigratableServer_managed_server JMS
server associated to the managed server you want to delete.
21. Click Delete.
8-35
Chapter 8
Changing the WebLogic Server or Oracle RAC Database Size
32. If a proxy is used in the cluster configuration, delete the managed server's IP
address and port number from the proxy server's configuration. For example,
if you use a WebLogic HTTP proxy, update the WebLogicCluster parameter
in the domain_home/apps/OracleProxy4_proxyserver_proxy/WEB-INF/web.xml
file (where proxyserver is the proxy server name) and redeploy the proxy.
33. Save and close the file.
34. Pack and redeploy the oms.ear file as described in OSM Developer's Guide.
8-36
9
Troubleshooting OSM Installation Problems
This chapter describes some of the issues you may encounter during the Oracle
Communications Order and Service Management (OSM) installation process, and
their solutions.
This error occurs because incorrect or missing Coherence settings cause the nodes
in the cluster to be unaware of each other. The servers are unaware that they must
generate order IDs that take the other servers into consideration. This problem does
not occur if the same server gets all of the createOrder requests. The problem occurs
when any other server gets a request and uses the wrong formula to generate the
order ID.
For more information about Coherence, see "Configuring Oracle Coherence for an
OSM Cluster."
9-1
Chapter 9
Database Connection Problems During Installation
where osm_database is the host name or IP address of the machine running the
OSM database server.
The system responds with lines similar to the following:
PING osm_database: 56 data bytes
64 bytes from osm_database: icmp_seq=0. time=0.389 ms
64 bytes from osm_database: icmp_seq=1. time=0.357 ms
A value for time of less than 0.4 indicates acceptable network latency. A value
greater than 1.0 indicates excessive network latency.
Note:
Solaris uses the -s option. Linux and AIX do not require this option.
9-2
Chapter 9
OSM and RCU Installers Are Slow to Run Database Tablespace Query
changes have been made, and the WebLogic administration server (and managed
server, if applicable) requires a restart.
To resolve this issue:
1. Restart the administration/managed server to clear the condition.
If the condition does not clear, proceed with the steps below.
2. Log in to the WebLogic Server Administration Console and select Domain.
3. Select the Security tab.
4. Select Advanced. If necessary, scroll down the page to find Advanced.
5. Select the Allow Security Management Operations if Non-dynamic Changes
have been Made check box.
6. Click Save.
7. Navigate to the Users and Groups tab.
Your users and groups are displayed.
9-3
Chapter 9
OSM Installer Issues for UNIX or Linux
1. Ensure the OSM WebLogic Server has the following Java Virtual Machine (JVM)
setting:
-Djava.io.tmpdir=./tmp
Note:
If OSM WebLogic Server is installed in a cluster environment, create a
tmp_servername directory in the WebLogic Server domain directory, and
use the following setting for each server in the cluster:
-Djava.io.tmpdir=./tmp_servername
where servername is the name of each server in the cluster.
For example, to install OSM on oms_cluster, which consists
of oms_server1 and oms_server2, start oms_server1 by using -
Djava.io.tmpdir=./tmp_oms_server1, and start oms_server2 by using
-Djava.io.tmpdir=./tmp_oms_server2.
9-4
Chapter 9
Command for unpack.jar Fails with a Write Error
This issue occurs because the required ports are not enabled in the firewall. As
a result, OSM managed servers cannot form a Coherence cluster and the load
distribution may not happen properly.
Note:
This issue occurs mostly in private cloud environments.
9-5
10
Verifying the OSM Installation
This chapter describes how to verify that Oracle Communications Order and Service
Management (OSM) is installed correctly.
10-1
Chapter 10
Configuring and Verifying HTTPS Connectivity for OSM Client Browsers
http://host:port/OrderManagement
Where host is the machine where OSM is installed, and port is the server's HTTP
port number.
If the server has been set up for secure connection, enter https in the URL.
Typically, the System Administrator would have the login information.
2. In the User Name field, enter the OSM administrator user name you selected
when you installed OSM.
3. In the Password field, enter the OSM administrator password you selected when
you installed OSM.
4. Click Login.
Note:
The New Order, Worklist, and Query tabs are not accessible for the
OSM administrator. The OSM administrator user can also access the
Reporting, Notification, and Options tabs.
Where host is the machine where OSM is installed, and port is the server's HTTP
port number.
If the server has been set up for secure connection, enter HTTPS in the URL.
Typically, the System Administrator would have the login information.
2. In the User Name field, enter the OSM administrator user name you selected
when you installed OSM.
3. In the Password field, enter the OSM administrator password you selected when
you installed OSM.
4. Click Login.
Note:
You can log into the Order Management web client, but the administrator
user cannot use any functions.
10-2
Chapter 10
Configuring OSM to Evaluate System Configuration Compliance
where host is the machine in which OSM is installed and sslport is the server's
HTTPS port number. host and sslport can also be the host name and SSL secure
port of a hardware or software load balancer, for example, if you have set up and
configured the Oracle HTTP Server software load balancer.
3. Click Continue to this website (not recommended).
4. Click Certificate Error.
5. Click View Certificates.
6. Select the root certificate authority.
7. Click Install Certificate.
8. Click Next.
9. Select Place all certificates in the following store.
10. Choose Trusted Root Certification Authorities.
10-3
Chapter 10
Configuring OSM to Evaluate System Configuration Compliance
Note:
The scripts required for manually installing compliance files will only be
created when OSM fails to install the files automatically. Otherwise, the
scripts are not created in your environment.
10-4
Chapter 10
Configuring OSM to Evaluate System Configuration Compliance
The configuration parameters for the server are displayed on a tabbed page.
5. Click the Server Start tab.
6. In the Arguments field, enter the following:
-Dcoherence.management=all
-Dcoherence.management.remote=true
7. Click Save.
8. In the Domain Structure tree, expand Environment and then click Servers.
The Summary of Servers page is displayed.
9. Click the name of a WebLogic server where you want to designate as the MBean
clients of the MBean server.
The configuration parameters for the server are displayed on a tabbed page.
10. Click the Server Start tab.
-Dcoherence.management=none
-Dcoherence.management.remote=true
12. Repeat steps 8 and 11 for all other managed servers in your system.
10-5
Chapter 10
Configuring OSM to Evaluate System Configuration Compliance
Note:
If you are running the compliance tool in a cluster, there are additional factors
to consider. For more information, see "Cluster Considerations."
Cluster Considerations
You can run the compliance tool in a clustered environment. Keep in mind that the
osmSnapshot command collects the following types of configuration:
• common: The same on every managed server.
• coherence: Available only on the managed server that has the coherence MBean
server.
• server: Specific to the managed server that is collecting the snapshot.
It is typical to run the compliance tool on the managed server that has the coherence
MBean server because doing so will evaluate the broadest set of configuration
10-6
Chapter 10
Configuring OSM to Evaluate System Configuration Compliance
(common, coherence, and a server). To fully check compliance, you must also run
the tool on each of the other managed servers.
Note:
The names of the evaluation result files are in the following formats:
yyyymmdd-hhmmss.xml and yyyymmdd-hhmmss.html.
The evaluation results report displays information about the software versions in your
environment, and then lists the results. These results are divided into the following
tables:
• Non-Compliant Rules: The rules with which your environment is not compliant.
• Compliant Rules: The rules with which your environment is compliant.
Table 10-1 lists the columns in the HTML evaluation results file and provides a
description for the information contained in each column.
Table 10-2 lists the elements in the XML evaluation results file and provides a
description for the information stored in each element.
10-7
Chapter 10
Configuring OSM to Evaluate System Configuration Compliance
10-8
11
OSM Pre-Production Testing and Tuning
This chapter describes how to run performance tests and tune Oracle
Communications Order and Service Management (OSM) before going into production.
11-1
Chapter 11
Guidelines for the Performance Test Environments
The process for determining this sustainable peak order rate includes the following
steps:
1. Install and configure the performance test environment. This includes the
hardware, software, and the OSM solution components.
2. Prepare the WebLogic Server connection pool, maximum constraints for work
managers, and the JBoss and Coherence cache size and timeout values by
setting these values to very high settings. Setting these values high enables
you to find the point at which the memory of the managed server begins to be
overloaded.
3. Find the sustainable peak order rate by monitoring the WebLogic Server's Java
heap using JConsole. The sustainable peak order rate is determined by ensuring
that the live data size (LDS) remains stable at 50% of the old generation tenured
heap.
4. When you have determined the sustainable peak order rate, you can review the
WebLogic Server log files to determine the number of automation threads that had
been in use, the number of orders in the JBoss and Coherence cache, and the
average duration these orders required before completing.
5. Configure the WebLogic Server connection pool, maximum constraints for work
managers, and the JBoss and Coherence cache size and timeouts values by
setting these values to the those you determined during performance testing.
Performing this step ensures that WebLogic Server managed servers in your
WebLogic Server cluster do not run out of memory.
6. Use the sustainable peak order rate to determine how many managed servers you
require in your WebLogic Server cluster.
11-2
Chapter 11
Guidelines for the Performance Test Environments
You should not assume a simple, linear extrapolation based on hardware. Often,
usage and data contention bottlenecks do not manifest themselves until the system is
large enough. Conversely, an undersized system may magnify issues that otherwise
would not exist: for instance, when using an Oracle RAC database with a slow
interconnect or slow storage retrieval. For example, you must know the number of
managed servers you have in your cluster to properly size the coherence invocation
service threads. If your coherence threads are not properly sized for your environment,
you may experience costly issues in a fully sized production environment.
The performance test environment may also serve as a preproduction environment
for tasks such as validating upgrade plans or new cartridges. Oracle recommends
that you keep the performance test environment available both prior to the initial
deployment and throughout the lifespan of the OSM solution, so that performance
testing can be conducted on any new enhancements, fixes, and workarounds, and any
other changes introduced to the implementation.
When you are planning the performance test environment, create a test plan that
includes the following high-level information:
• Versions of the following software: OSM, WebLogic Server, Coherence, JDK,
Oracle Database, Design Studio, and the OSM Design Studio plug-ins
• The patches applied
• Operating system, version, and configuration
• Solution and deployment architecture
• Latest cartridges
• WebLogic Server configuration files (all files in the domain_home/config
directory), JVM heap size, the osm-coherence-cache-config.xml file, and the
OSM oms-config.xml file
• Cluster size
• OSM database configuration: memory size, tablespaces and redo log sizes,
layout, and so on. Also, for example, whether you plan to use Oracle RAC and
partitioning and, if so, the number of orders per partition.
11-3
Chapter 11
Guidelines for the Performance Test Environments
About Work Managers, Work Manager Constraints, and the JDBC Connection
Pool
OSM uses work managers to prioritize and control work. You can tune work managers
using work manager constraints, which is an effective way to prevent overloading the
managed servers in the OSM WebLogic Server cluster. The work manager constraints
limit the number of threads available to OSM work managers.
The OSM installer creates only one maximum thread constraint shared by all
OSM work managers. While this performs well in a development environment,
this configuration is not the best approach in a production environment.
For example, in a production environment under high load, this configuration
can cause all available threads to alternate between the automation work
manager (osmAutomationWorkManager) and the JMS web service work manager
(osmWsJmsWorkManager), impacting core order processing capabilities.
To better control the flow of orders, Oracle recommends that you set the following
values for thread constraints:
• osmJmsApiMaxThreadConstraint for the osmWsJmsWorkManager work
manager. The osmJmsApiMaxThreadConstraint should be 12.5% of the total
number of threads when you initially begin the tuning process.
• osmHttpApiMaxThreadConstraint for the osmWsHttpWorkManager and
osmXmlWorkManager work manager. The osmHttpApiMaxThreadConstraint
should be 12.5% of the total number of threads when you initially begin the tuning
process.
• osmGuiMaxThreadConstraint for the osmTaskClientWorkManager,
osmOmClientWorkManager work managers. The osmGuiMaxThreadConstraint
should be 25% of the total number of threads when you initially begin the tuning
process.
• osmAutomationMaxThreadConstraint for the osmAutomationWorkManager
work manager. The osmAutomationMaxThreadConstraint should be 50% of the
total number of threads when you initially begin the tuning process.
After you have completed the tuning process, you will set these constraints to values
that enable maximum performance while ensuring that the server does not get
overloaded or encounter alternating thread issues.
You must also ensure that every OSM thread always has access to a database
connection. Oracle recommends that you set the maximum number of work manager
threads to 80% of the database connection pool. One approach to this configuration is
to first determine the total number of threads needed by adding all the maximum work
manager constraints together, and then set the database connection pool to 125% of
this number.
11-4
Chapter 11
Guidelines for the Performance Test Environments
Note:
Oracle recommends that you back up the OSM schema before running
performance testing. After testing, you can restore the schema so that you
do not need to purge orders that were generated during the testing. Keep in
mind that exporting and importing the OSM schema can be time-consuming.
Alternatively, you can drop the all partitions and rebuild the seed data. This
method can be faster than backing up and restoring the schema.
Setting Up Emulators
If the entire system is not available for testing, you can set up emulators to simulate
external requests and responses. For example, if you need to test OSM performance
before the billing or inventory system is ready, you can use emulators.
If you are using the Order-to-Activate cartridges, OSM provides an Oracle Application
Integration Architecture (Oracle AIA) Emulator, which you can use to emulate order
responses. If possible, run emulators on separate hardware from the OSM server
so they do not consume OSM resources during performance testing. For more
information about setting up and using Oracle AIA emulators, see OSM Cartridge
Guide for Oracle Application Integration Architecture.
11-5
Chapter 11
Guidelines for the Performance Test Environments
• Ensure the test client does not impact OSM hardware resources. It is best to run
test clients on different hardware from the hardware where OSM is deployed.
• Ensure the number of test client threads is configurable and supported in the
test client machine. This is essential for load and scalability testing because the
number of concurrent users that the system can support is based on the number
of test client threads. If high loading is required, you might need to use multiple
test client machines to generate a sufficiently high load.
• Ensure the test client can provide vital statistics on performance data, such
as average, maximum, standard deviation, and 90th percentile performance
numbers.
• Ensure the test client can complete long running tests with a steady load.
Note:
Even though you could allocate half of the 64 hardware threads for
garbage collection, this would create too many tenured heap partitions
which increases the risk of fragmentation.
2. For each managed server, configure the database connection pool with four
times the number of available hardware threads. This very large connection pool
removes any limitations on the number of threads that managed server can use
during the performance test. This enables the performance test to determine the
actual overload point for the managed servers.
In the sample environment, given that there are two managed servers on one
machine that has 64 threads, the connection pool for each managed server could
start at 4 x 64 threads / 2 managed servers = 128 connections for each managed
server.
11-6
Chapter 11
Guidelines for the Performance Test Environments
Note:
Ideally, each managed server would have its own dedicated machine. In
which case, there would be 4 x 64 threads / 1 managed server = 256
connections for the managed server.
where sid is the system identifier (SID) of the Oracle RAC database instance
and y is the group letter for the managed server, do the following:
Select the data source. The Settings for pool_name window is displayed.
Under the Configuration tab, select the Connection Pools subtab.
In the Maximum Capacity field, verify that the value is set to 128. If it is not,
click Lock & Edit, change the value, and click Save.
d. Click Activate Changes if you changed any values.
3. Verify the maximum thread constraints and that the thread constraints are to
a large value for initial performance testing. These maximum constraints are
calculated based on 80% of the database connection pool, which is 128 x 0.80
= 102:
• osmJmsApiMaxThreadConstraint for the osmWsJmsWorkManager work
manager. In this example, the constraint should be 102 x 0.125 = 12.75
• osmHttpApiMaxThreadConstraint for the osmWsHttpWorkManager and
osmXmlWorkManager work managers. In this example, the constraint should
be 102 x 0.125 = 12.75
• osmGuiMaxThreadConstraint for the osmTaskClientWorkManager and
osmOmClientWorkManager work managers. In this example, the constraint
should be 102 x 0.25 = 25.
• osmAutomationMaxThreadConstraint for the
osmAutomationWorkManager work manager. In this example, the constraint
should be 102 x 0.5 = 51.
To validate these constraints, do the following:
a. In the Administration Console, in Domain Structure, expand Environment,
and then select Work Managers.
The Summary of Work Managers screen is displayed.
b. For each of the constraints listed above:
Click the name of the constraint. The Settings for constraint_name window is
displayed.
11-7
Chapter 11
Guidelines for Performance Testing and Tuning
Verify that the value of the Count field is the value expected from your
calculations. If it is not, click Lock & Edit, change the value, and click Save.
c. Click Activate Changes if you changed any values.
4. Verify the size of the osmGuiMinThreadConstraint constraint, which is used for
the following OSM client work managers:
• osmOmClientWorkManager
• osmTaskClientWorkManager
To validate the minimum thread constraint for the OSM clients, do the following:
a. In the Administration Console, in Domain Structure, expand Environment,
and then select Work Managers.
The Summary of Work Managers screen is displayed.
b. Click osmGuiMinThreadConstraint.
The Settings for constraint_name window is displayed.
c. Verify that the value of the Count field is 4. If it is not, click Lock & Edit,
change the value, and click Save.
d. Click Activate Changes if you changed the value.
5. Restart all the managed servers in the cluster.
11-8
Chapter 11
Guidelines for Performance Testing and Tuning
Note:
Even if you cannot define specific performance requirements, it is valuable
to conduct performance testing in order to get benchmark numbers that you
can compare with future releases of the solution.
11-9
Chapter 11
Guidelines for Performance Testing and Tuning
11-10
Chapter 11
Guidelines for Performance Testing and Tuning
where hostname is the managed server host name or IP address and port is the
port number of the managed server.
8. Submit the order to verify connectivity with the OSM managed server.
9. Create a load test with the representative set of orders.
10. Open the load test.
11. In the Limit field enter a number. For example 600. This value in seconds causes
the load test to run for 10 minutes which is enough of the initial warm up time to
enable the Java classes to compile.
12. In the Threads field, enter 4.
13. In the Delay field, enter a number. For example 15000. This value represents
a 15000 millisecond delay interval (2.5 seconds) in which SoapUI submits the
orders. The higher the value, the longer the delay, and the fewer orders are
submitted. The lower the value, the shorter the delay, and more orders are
submitted.
14. Open a terminal and run the following command:
where managed_server is the name of the managed server you are tuning. The
output specifies the current user name running the managed server and the first
set of numbers specifies the process ID (PID) number of the managed server.
15. Run Java_home/bin/jconsole (where Java_home is the JDK root directory) to run
the JConsole application for monitoring
The New Connection screen is displayed.
16. Select the PID that corresponds to the one from the results in step 14.
20. From the Chart list, select Memory Pool "PS Old Gen".
21. Monitor the life data size (LDS) which is the number of live objects that remain
after a garbage collection. Ensure that the LDS is no more than 30% of the
maximum old generation during the warm up process. If the order rate causes the
LDS to increase above 30%, then the managed server is processing too many
orders. Increase the Delay field amount on the SoapUI Load Test screen until you
see the live objects after garbage collection return to 30%.
11-11
Chapter 11
Guidelines for Performance Testing and Tuning
For example, Figure 11-1 shows a small 2.5 GB managed server running with
more than 30% live objects after garbage collection.
22. After the initial performance test to compile the Java classes completes, set the
Limit value to a higher number. For example 1800 for a 30 minute performance
test for gathering database statistics.
Note:
The duration you set depends on the OSM system being tested. Some
systems may require longer than 30 minutes.
23. Start the performance test for gathering low volatility statistics and determining
order cache eviction time.
24. Log in to the order management schema.
11-12
Chapter 11
Guidelines for Performance Testing and Tuning
26. After the performance test has completed, gather statistics on the low volatility
orders. Because the database is no longer processing orders, you can use all
available threads (default behavior) to gather statistics.
execute om_db_stats_pkg.gather_order_stats(a_force => true,a_volatility =>
om_const_pkg.v_volatility_low);
27. Use the OSM Task web client and verify the average time it takes for orders to
complete.
To verify the average time it take for order to complete, do the following:
a. Log in to the OSM Task web client.
b. Click Reporting.
c. Click Completed Order Statistics.
d. In the From field, enter the starting time and date for the current performance
test.
e. In the To field, enter the current time and date for the performance test.
f. Click Find.
g. Compare the average time it take for orders to complete from the Avg Time
column with the longest time it take for orders to complete from the Highest
Time column. You can use these values to determine how long orders should
stay in the cache before being evicted. For example, if orders, on average,
take three minutes to complete and it took five minutes for the longest, then
a four minute cache eviction timeout for inactivity would be reasonable. Or,
if most orders take 30 minutes to complete and the longest took 50 minutes
to complete, then a forty minute timeout for inactivity would be enough. The
inactivity timeout should capture 80% of your order volume.
28. Using a text editor, open the domain_home/oms-config.xml file.
29. Add the following text to the bottom of the file before the final </oms-configuration>
tag to configure the JBoss cache:
<oms-parameter>
<oms-parameter-name>ClosedOrderCacheMaxEntries</oms-parameter-name>
<oms-parameter-value>60</oms-parameter-value>
</oms-parameter>
<oms-parameter>
<oms-parameter-name>ClosedOrderCacheTimeout</oms-parameter-name>
<oms-parameter-value>60</oms-parameter-value>
</oms-parameter>
<oms-parameter>
<oms-parameter-name>OrderCacheMaxEntries</oms-parameter-name>
<oms-parameter-value>order_max</oms-parameter-value>
</oms-parameter>
<oms-parameter>
<oms-parameter-name>OrderCacheInactivityTimeout</oms-parameter-name>
<oms-parameter-value>inactivity_timeout</oms-parameter-value>
</oms-parameter>
where
• order_max is the maximum number of orders that can be in the managed
server's JBoss cache. Set this value to a high number, such as 2000 for the
purposes of performance tuning procedure. You will change this number to a
lower setting after completing the performance tuning procedure.
11-13
Chapter 11
Guidelines for Performance Testing and Tuning
<scheme-name>osm-local-large-object-expiry</scheme-name>
<eviction-policy>LRU</eviction-policy>
<high-units>order_max</high-units>
<low-units>0</low-units>
<unit-calculator>FIXED</unit-calculator>
<expiry-delay>inactivity_timeout</expiry-delay>
<flush-delay>1000ms</flush-delay>
</local-scheme>
where
• order_max is the maximum number of orders that can be in the managed
server's Coherence cache. Set this value to a high number, such as 2000 for
the purposes of performance tuning procedure. You will change this number to
a lower setting after completing the performance tuning procedure.
• inactivity_timeout is the value you determined in step 27 in seconds. This
timeout evicts an order from the Coherence cache.
33. Save and close the file.
35. In the SoapUI load test screen, change the Delay field to a smaller number, such
as 12000 which is two seconds, and run a second 30 minute load test.
36. Start the performance test for gathering medium and high volatility statistics.
37. Monitor the life LDS and ensure that the LDS is no more than 50% of the
maximum old generation. If the order rate causes the LDS to increase above 50%,
increase the Delay field amount on the SoapUI Load Test screen.
38. Log in to the order management schema.
11-14
Chapter 11
Guidelines for Performance Testing and Tuning
Note:
If this is the first time you run this performance test with optimizer statistics
gathered, some SQL execution plans may not be optimal. The database
compares execution plans during the overnight maintenance window and
accepts the better plans at that time. You may want to repeat the test the
following day to see if there is a performance improvement. In addition, you
may want your DBA to review which execution plans the database selected
during the maintenance window because they may not always be the most
optimal.
11-15
Chapter 11
Guidelines for Performance Testing and Tuning
Note:
The frequency of garbage collection and the size of the LDS for a 32
GB managed server is much larger than is depicted in Figure 11-2. The
maximum old generation in a 32 GB managed server is 17 GB and the
target LDS is 50% of the old generation which is 8.5 GB. Depending on
the size and complexity of your orders, garbage collection make take a
long time to occur. For example, garbage collection may only occur once
every half hour. If very long garbage collection intervals are occurring,
then increase the length of the performance test to two or even three
hours to get an accurate garbage collection sampling. See step 3 to
increase the length of the performance test.
9. When the LDS level has stabilized during the performance test, verify the number
of automation threads being used to support the current number of orders that the
managed server is processing. This value will be used to set the work manager
maximum thread constraint for automations.
To verify the number of automation threads in use and set the automation work
manager maximum constraint, do the following:
11-16
Chapter 11
Guidelines for Performance Testing and Tuning
Note:
It is possible that there may be no active threads after refreshing.
This does not indicate a problem unless the result occurs
consistently.
10. Determine the maximum number of orders that can be in the JBoss and
Coherence cache:
a. Open a terminal on the machine running the manager server that you are
tuning.
b. In a text editor, open domain_home/servers/managed_server/logs/
managed_server.out (where managed server is the name of the managed
server you are tuning).
c. Search the log file for cache information using the # Orders Information
text. Search through all instances and find the highest instance of the
Orchestration Cache or the Order Cache value (whichever is greater of the
two, although they are typically identical).
This example, after searching through 30 cache information instances, the
following cache information instance shows the highest set of cache values:
Cache % Full # Orders Information
---------------------- ------ -------- -----------
Closed Order Cache 12% 6/50
Historical Order Cache 8% 80/1000
Orchestration Cache 40% 400/1000
Order Cache 40% 401/1000
Redo Order Cache 0% 0/1000
11-17
Chapter 11
Guidelines for Performance Testing and Tuning
You would select the Order Cache number in this example because it is higher
than the Orchestration Cache number.
11. After you finish the test, log on to the Oracle database again and create a second
AWR snapshot.
12. Generate a report using both AWR snapshots.
13. Ask a database administrator (DBA) to analyze the AWR report to determine
whether the database is performing as expected. DBAs are trained to detect
database performance issues such as an undersized database or suboptimal SQL
statement execution plans.
Tuning Work Manager Constraints and the Maximum Connection Pool Capacity
To set work manager constraints and the maximum connection pool capacity for OSM
JDBC data sources, do the following:
1. Log in to the WebLogic Server Administration Console.
2. In Domain Structure, expand Environment, and then select Work Managers.
The Summary of Work Managers page is displayed.
3. Click Lock & Edit.
4. Select the osmAutomationMaxThreadConstraint.
The Configuration tab appears.
5. In the Count field, enter the number of automation threads you observed in step 9
of the "Determining the Sustainable Order Rate for a Managed Server" procedure.
6. Click Save.
7. In Domain Structure, expand Environment, and then select Work Managers.
The Summary of Work Managers page is displayed.
8. Select the osmGuiMaxThreadConstraint.
The Configuration tab appears.
9. In the Count field, enter a number. This value is typically half of the
osmAutomationMaxThreadConstraint count although if you have a solution that
makes extensive use of manual tasks, you may need to raise this value.
For example, if the osmAutomationMaxThreadConstraint was 60 then the
osmGuiMaxThreadConstraint would be 30. However, if the OSM client users
begin to experience long delays before they can gain access to an OSM client
session, then you may want to raise this value. You should include OSM client
users in you performance test to ensure that the ratio of threads allocated
to osmGuiMaxThreadConstraint and osmAutomationMaxThreadConstraint is
properly balanced.
10. Click Save.
11. In Domain Structure, expand Environment, and then select Work Managers.
11-18
Chapter 11
Guidelines for Performance Testing and Tuning
13. In the Count field, enter a number. A typical starting value is between 4 to 6
which is enough in most cases. If the overall health of the managed server and
the database is good, but the web service JMS queue is accumulating messages,
then this value could be increased. Increase the value incrementally, and run
additional performance tests to ensure that the overall health of the managed
server and database continues to be good.
To further protect the system from order rates that exceed the sustainable
order rate for a managed server, it may be beneficial to trigger the OSM
prioritization feature by reducing this value to cause JMS messages to queue
up at the point where prioritization will have the greatest impact. In this context,
a value of 1 can be considered if this value is still sufficient to maintain the
sustainable order rate. If a value of 1 is still too high to trigger queuing when
that rate is exceeded, consider configuring the equivalent of a fractional thread by
associating an osmJmsApiFairShareReqClass fair share request class with the
osmWsJmsWorkManager work manager, and setting the fair share value of the
fair share request class to less than 50.
14. Click Save.
15. In Domain Structure, expand Environment, and then select Work Managers.
19. Add all the maximum constraints you have configured and divide the total by 0.80
(80%) to determine the maximum connection pool size. For example, if you had
the following constraint values:
• osmAutomationMaxThreadConstraint = 60
• osmGuiMaxThreadConstraint = 30
• osmJmsApiMaxThreadConstraint = 5
• osmHttpApiMaxThreadConstraint = 5
which results in 100 / 0.80 which equals = 125 maximum connection pool size.
20. Log in to the WebLogic Server Administration Console.
osm_pool_sid_group_y
where sid is the Oracle RAC database instance system identifier and y is the
group letter.
The Configuration tab is displayed
11-19
Chapter 11
Guidelines for Performance Testing and Tuning
24. In the Maximum Capacity field, enter the value you calculated in step 19.
where order_max is the maximum number of orders that can be in the managed
server's JBoss cache. Set this value to the number orders in the cache that
you observed in step 10 of the "Determining the Sustainable Order Rate for a
Managed Server" procedure.
3. Save and close the file.
4. Using a text editor, open the osm-coherence-cache-config.xml file.
5. Search on osm-local-large-object-expiry:
<scheme-name>osm-local-large-object-expiry</scheme-name>
<eviction-policy>LRU</eviction-policy>
<high-units>order_max</high-units>
where order_max is the maximum number of orders that can be in the managed
server's Coherence cache. Set this value to the number orders in the cache that
you observed in step 10 of the "Determining the Sustainable Order Rate for a
Managed Server" procedure.
6. Save and close the file.
11-20
Chapter 11
Additional Performance Testing Options
For more information about sizing redo log files, see Oracle Database Performance
Tuning Guide.
If the above change does not reduce checkpoint frequency, use the renice
command to set the Log Writer Process (LGWR) to run at higher priority or
run LGWR in the redo thread (RT) class by adding LGWR to the parameter:
_high_priority_processes='VKTM|LGWR". Only change _high_priority_processes
in consultation with database support. For example, more processes may need to be
added, such as PMON. And if the database is an Oracle RAC database, LMS should
be added to this parameter. Test this change thoroughly.
Finally, if all other methods fail to reduce checkpoint frequency, set the
_log_parallelism_max hidden parameter after consultation with database support.
11-21
Chapter 11
Additional Performance Testing Options
Note:
A high-activity order is not exempt from order affinity: when OSM
redistributes the order, it transfers the entire order and order ownership to
another managed server. This redistribution does not mean that the order
is being processed and owned by more than one managed server. See
"About Order Affinity and Ownership in an OSM WebLogic Cluster" for more
information.
High activity order processing is enabled by default. To tune or disable the high-activity
order routing mode in OSM, you must configure a set of related parameters in the
oms-config.xml file. See OSM System Administrator's Guide for a detailed reference
of available parameters.
select
count(*),
min(timestamp_in),
max(timestamp_in),
(om_calendar_pkg.dsinterval_to_millis(max(timestamp_in)-
min(timestamp_in))/1000) duration,
to_char ((count(*)/(om_calendar_pkg.dsinterval_to_millis(max(timestamp_in)-
min(timestamp_in))/1000)),
'9999.999') tasks_per_sec
11-22
Chapter 11
Additional Performance Testing Options
from om_hist$order_header
where hist_order_state_id = 4 and task_type in ('A','M','C') and
timestamp_in between 'dd-mon-yyyy hh24:mi:ss.ff3' and 'dd-mon-
yyyyhh24:mi:ss.ff3';
where:
• dd is the day.
• mon is the first three letters of the month.
• yyyy is the year.
• hh24 is the number of hours in the 24 hour format.
• mi is the number of minutes.
• ss is the number of second.
• ff3 is the number of milliseconds.
Note:
If you deploy cartridges with multi-instance subprocesses and are
considering running OSM with the OM_ORDER_NODE_ANCESTRY table
disabled, you must evaluate factors such as the ancestry depth in the master
order template and the number of flexible headers, which could impact
performance in the UI worklist and search results.
Table 11-1 shows the performance implications of running different cartridges in OSM
with the OM_ORDER_NODE_ANCESTRY table enabled or disabled.
11-23
Chapter 11
Additional Performance Testing Options
11-24
Chapter 11
Additional Performance Testing Options
Note:
Ancestry data is used only if the cartridge includes multi-instance tasks (pivot
nodes).
You might need to switch several times between running OSM with the
OM_ORDER_NODE_ANCESTRY table enabled and disabled. The following example
scenarios illustrate circumstances that might necessitate switching between the two
modes.
Scenario 1: Introducing multi-instance subprocess entities (enable, disable, enable)
1. You have upgraded OSM to a later version that includes this functionality. OSM
continues to run with the OM_ORDER_NODE_ANCESTRY table enabled.
2. Because of large volumes of orders, you determine that OSM cartridges
do not use multi-instance subprocesses and decide to disable the
OM_ORDER_NODE_ANCESTRY table.
3. Some time later, you introduce multi-instance sub-process entities (for example,
OSM needs to run a sub-process for each of the multiple addresses a customer
has) by redeploying existing, or deploying new, cartridges.
4. You then determine that the worklist demonstrates performance degradation and
decide to re-enable the OM_ORDER_NODE_ANCESTRY table.
Scenario 2: Eliminating multi-instance subprocess entities (disable, enable, disable)
1. You install the latest release of OSM, which includes this functionality. The
OM_ORDER_NODE_ANCESTRY table is disabled.
2. You deploy a cartridge that uses multi-instance subprocesses, and leave the table
disabled because performance test results are satisfactory.
3. You then determine that the worklist demonstrates performance degradation and
decide to enable the OM_ORDER_NODE_ANCESTRY table.
4. Some time later, you redeploy updated cartridges so that all
multi-instance subprocesses are eliminated. You then disable the
OM_ORDER_NODE_ANCESTRY table.
You can run this procedure when OSM is online or offline.
To enable the OM_ORDER_NODE_ANCESTRY table:
11-25
Chapter 11
Additional Performance Testing Options
Note:
You can run the disable OM_ORDER_NODE_ANCESTRY table
procedure only once on a single block of ids because the current block of
ids can be split only once.
11-26
12
Upgrading to OSM 7.4.1
This chapter describes how to upgrade a traditional deployment of Oracle
Communications Order and Service Management (OSM) to version 7.4.1. For
information about moving from a traditional deployment of OSM to an OSM cloud
native deployment and upgrading an OSM cloud native environment, see OSM Cloud
Native Deployment Guide.
Note:
If you are upgrading from OSM 7.3.0 or OSM 7.3.1 to OSM 7.4.1, you do not
need to upgrade the database unless you want to use the newer database
version.
12-1
Chapter 12
About OSM Upgrades
Note:
If you are upgrading OSM using a patch from My Oracle Support, you must
read the patch Readme text and the contents of this chapter. In some cases
the patch Readme may provide specific instructions that supersede those
instructions included in this chapter.
Note:
If you upgrade to Order and Service Management 7.x from a prior version
of OSM and your cartridges were developed with OSM Administrator
tool, Oracle recommends that you migrate your cartridges into Oracle
Communications Design Studio. Use Design Studio as the tool to design
and deploy OSM 7.x cartridges. The recommended migration procedure,
common migration issues, and issue resolutions are documented in release
7.3.2 Design Studio Order and Service Management Cartridge Migration
Guide.
12-2
Chapter 12
Preparing for an OSM Upgrade
12-3
Chapter 12
Preparing for an OSM Upgrade
1. Ensure that all transactions are committed and (if you are upgrading from a
pre-7.2 version of OSM) all JMS messages are consumed.
2. Stop all of the processes running against OSM (including the XML Import/Export
application, XMLAPI agents and others). For more information about how to stop
OSM, see OSM System Administrator's Guide.
3. Stop the WebLogic Server.
4. Back up the OSM database.
Caution:
The OSM installer stops the OSM schema upgrade if it encounters any
issues. This can render the schema unusable. The OSM installer cannot
rectify this problem on its own.
5. Do the following:
• If you are creating a new WebLogic domain, back up the existing WebLogic
server domain directory, custom SDK files, and scripts to a directory outside of
your OSM installation.
• If you are upgrading the existing OSM 7.2 WebLogic domain, archive the
MW_home directory including all subdirectories. Archive the WLS_home
directory as well if it is not located in the MW_home directory.
6. Start the WebLogic server.
7. Stop the OSM WebLogic application component oms.ear using the WebLogic
console, and then delete the oms.ear file.
8. If you are upgrading from a version of OSM higher than 7.0, delete
the OSM WebLogic Server application components (including oms.ear and
cartridge_management_ws.ear) and any automation plug-in .ear files from
WebLogic using the Administration Console. Also, manually delete these files from
their respective directories located under domain_home/servers/admin_server/
upload/ where admin_server is the name of the administration server for the
domain.
9. If you are upgrading a development system that uses the Order-to-Activate
cartridges and the Activation Integration Architecture emulators, remove the
emulator .ear files from WebLogic using the console. Also, manually delete
these files from under domain_home/servers/admin_server/upload/ where
admin_server is the name of the administration server for the domain. You will
have to re-deploy the emulator after the upgrade process is complete.
10. Stop the WebLogic Server.
12-4
Chapter 12
Preparing for an OSM Upgrade
If you are upgrading an OSM release earlier than 7.2.2, you must create a new
WebLogic domain.
Before you upgrade or create the WebLogic Server domain see the Fusion
MiddleWare upgrade documentation and review the steps to:
• Upgrade custom security providers
• Upgrade Node Managers
• Upgrade WebLogic Domain
• Upgrade WebLogic Domain (remote managed servers)
Note:
For more detailed instructions, follow the procedure that matches the
upgrade for your domain in Oracle Fusion Middleware Upgrading to the
Oracle Fusion Middleware Infrastructure.
1. Install the recommended JDK and required third-party software. For more
information, see "OSM Compatibility Matrix."
2. Prepare the security store. The following steps use a basic OSM domain as an
example:
a. Ensure that you have performed the steps in "Preparing the Environment,"
including stopping and deleting the oms.ear file. Deleting the oms.ear file
prevents the previous version of the OSM application from running in the
upgraded domain.
b. Stop all WebLogic servers and processes.
For more information, see Oracle Fusion Middleware Upgrading to the Oracle
Fusion Middleware Infrastructure.
3. Prepare to upgrade the security store by doing the following:
a. In domain_home/config/config.xml, search for the <jdbc-system-resource>
element that has a <name> child element where the value contains "pool" in
the text. The <jdbc-system-resource> element will have another child element,
<descriptor-file-name>. Make a note of both the name and the descriptor file
name.
12-5
Chapter 12
Preparing for an OSM Upgrade
b. In the domain_home/config/jdbc/ directory, look for the file that has a name
that matches the value of <descriptor-file-name> from config.xml. Look at the
value of the <name> element in that file.
c. If the <name> elements in the two files are different, back up the
domain_home/config/config.xml file. You will need the original version of the
file later, so be sure to keep it.
d. Edit the domain_home/config/config.xml file so that the name of the <jdbc-
system-resource> element <name> child element where the value contains
the text “pool" matches the value of the <name> element in the file that
matches <descriptor-file-name>.
4. Upgrade the security store by doing the following:
a. Go to the MW_home/oracle_common/upgrade/bin directory for the new
version of WebLogic and run Oracle Fusion Middleware Upgrade Assistant
by using one of the following commands:
For UNIX and Linux:
ua
For Windows:
ua.bat
Note:
Connect to the Upgrade Assistant as a user without sysdba
privileges.
12-6
Chapter 12
Preparing for an OSM Upgrade
Note:
In the Deployments Targeting Screen, ensure all (required) libraries
and applications are targeted to the OSM cluster but changes are
not required for other servers. In the Service Targeting Screen,
besides the OSM data-source to OSM cluster/server, ensure that
all non-OSM data sources that are used by the domain are deployed
into the Administration server, OSM cluster/server and proxy server.
For more information, see Oracle Fusion Middleware Upgrading to the Oracle
Fusion Middleware Infrastructure.
7. Upgrade component configurations by doing the following: For more information,
see Oracle Fusion Middleware Upgrading to the Oracle Fusion Middleware
Infrastructure.
a. Go to the MW_home/oracle_common/upgrade/bin directory for the new
version of WebLogic and run Oracle Fusion Middleware Upgrade Assistant
by using the following command:
ua.sh/cmd
b. Select All Configurations Used by a Domain.
c. After the Upgrade Assistant successfully completes the WebLogic component
configurations operation, start the servers and verify in WebLogic Console that
all the relevant servers, applications, and libraries are upgraded to the latest
version. For information about packing and unpacking the upgraded domain to
distribute to other machines in a clustered environment, see "Replicating the
Domain on Other Machines."
For more information, see Oracle Fusion Middleware Upgrading to the Oracle
Fusion Middleware Infrastructure.
Note:
After the domain upgrade finishes, and before you install OSM 7.4.1, you
must use WebLogic Console to go to the JMS Connection Factories (for
example, oms_connection_factory) to ensure that the Default Targeting
Enabled check box is not selected. If it is selected, deselect it and then
restart the servers (if they are running).
12-7
Chapter 12
Preparing for an OSM Upgrade
Note:
For more detailed instructions, follow the procedure that matches the
upgrade for your domain in Oracle Fusion Middleware Upgrading to the
Oracle Fusion Middleware Infrastructure.
1. Install the recommended JDK and required third-party software. For more
information, see "OSM Compatibility Matrix".
2. Prepare the security store. The following steps use a basic OSM domain as an
example:
a. Download the RCU version 11g from Oracle support as patch 16471709.
b. Run RCU version 11g to create only the OPSS schema (assuming the domain
has only OPSS information to be upgraded).
c. Create a Data Source Instance pointing to the OPSS schema.
The JNDI name of the JDBC data source entered in the procedure will be
used in the next step.
d. Re-associate the file-based security store to a database-based security store
by using the WLST command reassociateSecurityStore.
Run the WLST command by using the wlst.cmd (for Windows) or wlst.sh (for
UNIX and Linux) command in the MW_home/oracle_common/common/bin
directory. For example:
reassociateSecurityStore(domain=BEA, servertype=DB_ORACLE,
jpsroot=cn=jpsroot, datasourcename=jdbc/OpssDataSource)
where BEA is your domain name, and jdbc/OpssDataSource is the JNDI name
of the JDBC data source that you created in step 2.c.
Note:
Ensure you have followed the steps in "Preparing the Environment"
and that you have stopped and deleted the oms.ear file. Deleting the
oms.ear file prevents the previous oms application from running in
the new upgraded domain.
12-8
Chapter 12
Preparing for an OSM Upgrade
b. In the domain_home/config/jdbc/ directory, look for the file that has a name
that matches the value of <descriptor-file-name> from config.xml. Look at the
value of the <name> element in that file.
c. If the <name> elements in the two files are different, back up the
domain_home/config/config.xml file. You will need the original version of the
file later, so be sure to keep it.
d. Edit the domain_home/config/config.xml file so that the name of the <jdbc-
system-resource> element <name> child element where the value contains
the text “pool" matches the value of the <name> element in the file that
matches <descriptor-file-name>.
4. Upgrade the security store by doing the following:
a. Go to the MW_home/oracle_common/upgrade/bin directory for the new
version of WebLogic and run Oracle Fusion Middleware Upgrade Assistant
by using the following command:
ua.sh/cmd
b. Select Schemas and select Individually Selected Schemas.
c. In the Available Components page, ensure that you select Oracle Platform
Security Services (OPSS) in order to upgrade the OPSS schema.
For more information, see Oracle Fusion Middleware Upgrading to the Oracle
Fusion Middleware Infrastructure.
5. If you edited the domain_home/config/config.xml file in step 3, replace the
version that you edited with the original version that you saved.
6. Use RCU version 12c to create the remaining (not including OPSS) database
schemas that will be used by the domain. For more information, see "Creating
Database Schemas Using RCU."
7. After the schemas are upgraded, reconfigure the domain by doing the following:
a. Go to the MW_home/oracle_common/common/bin directory for the new
version of WebLogic and run the Reconfiguration Wizard by using the
following command:
reconfig.sh/cmd
b. In the Advanced Configuration step, select Deployments and Services.
Note:
In the Deployments Targeting Screen, ensure all (required) libs and
applications are targeted to the OSM cluster but changes are not
required for other servers. In the Service Targeting Screen, besides
the OSM data-source to OSM cluster/server, ensure that all non-
OSM data sources that are used by the domain are deployed into
the Administration server, OSM cluster/server and proxy server.
For more information, see Oracle Fusion Middleware Upgrading to the Oracle
Fusion Middleware Infrastructure.
8. Upgrade component configurations by doing the following: For more information,
see Oracle Fusion Middleware Upgrading to the Oracle Fusion Middleware
Infrastructure.
12-9
Chapter 12
Preparing for an OSM Upgrade
Note:
After the domain upgrade finishes, and before you install OSM 7.4.1,
you must use WebLogic Console to go to JMS Connection Factories (for
example, oms_connection_factory) to ensure that the Default Targeting
Enabled check box is not selected. If it is selected, deselect it and then
re-start the servers, if necessary.
Note:
You must create a new WebLogic domain with ADF if you are upgrading
from OSM 7.0.x. Review the existing hardware and ensure it is supported
by OSM 7.4.1. Otherwise, you must upgrade to supported hardware.
For more information, see "General Hardware Sizing and Configuration
Recommendations."
1. Install the recommended JDK version. See "OSM Compatibility Matrix" for details
on the recommended version.
2. Install the Oracle Fusion Middleware Infrastructure version for OSM 7.4.1
(including Oracle WebLogic Server and ADF).
3. Apply any required Oracle WebLogic Server and ADF patches.
4. Create a new domain. Use the same domain name as the existing domain. When
creating the new domain, Oracle recommends that you select Oracle Enterprise
Manager template, in order to view and manage OSM logs. Also, you must select
Oracle JRF. This is required for OSM as it makes use of ADF. See "Installing and
Configuring the WebLogic Server Cluster."
12-10
Chapter 12
Preparing for an OSM Upgrade
Note:
When you select the Oracle JRF template, the template for WebLogic
Coherence Cluster Extension is also selected. Do not deselect the
coherence cluster extension template option.
Re-create user accounts and settings. You must recreate all the users and other
settings that you had configured in your old domain in your new domain.
Note:
It is important to create user accounts and settings before performing
the OSM upgrade, to prevent accidental deletion of user information
from the OSM database. When OSM starts, it checks the users in the
database schema against the users configured in WebLogic Server and
deletes invalid users from the database. Oracle recommends that, prior
to the OSM upgrade, you export all of the security realm data from your
existing domain and import that data into your new domain. See Oracle
Fusion Middleware Administering Security for Oracle WebLogic Server
for information about migrating security data.
Note that password requirements may have changed with the newer version of
Oracle WebLogic. If you are upgrading a system that uses the Order-to-Activate
cartridges, users and settings to support the cartridges will have to be recreated.
See "Updating Order-to-Activate Cartridges ."
If your previous domain was in a clustered WebLogic Server environment re-
create the same environment. See "Installing and Configuring the WebLogic
Server Cluster" for information about installing OSM in a clustered environment.
12-11
Chapter 12
Preparing for an OSM Upgrade
<role-name>test-role</role-name>
</run-as>
</security-identity>
</message-driven>
<assembly-descriptor>
<security-role>
<description/>
<role-name>test-role</role-name>
</security-role>
...
</assembly-descriptor>
12-12
Chapter 12
Preparing for an OSM Upgrade
12-13
Chapter 12
Upgrading OSM to 7.4.1
Caution:
Before upgrading, refer to "About OSM Upgrades" for important preparation
steps.
Note:
Ensure that you read the patch Readme text for any additional instructions
that either augment or supersede the information provided in this section.
To upgrade the database schema for OSM versions 7.2.2.0.0 through 7.2.2.3.4:
1. Ensure the WebLogic Server domain is not running.
2. Download the OSM 7.2.2.3.5 patch from Oracle support. The patch number is
18422521.
3. Extract the installer from the patch file.
4. Run the installer. See "Installing OSM" for more information about running the
installer.
5. Choose Custom Installation for the Setup Type when prompted.
6. When prompted to select the components to install, select only the Database
Schema component.
Selecting this option will cause the installer to migrate the database schema.
7. When prompted to enter database information, enter the information for your
current OSM database.
8. When prompted to enter the database credentials, enter the user name and
password for the current OSM core schema user and rule engine user.
9. In the Database Schema Found window, select Upgrade.
10. Continue with the installation of the database schema until the process is finished.
12-14
Chapter 12
Upgrading OSM to 7.4.1
11. Perform the regular OSM upgrade to version 7.4.1. See "Performing the OSM
Upgrade" for more information.
Note:
Ensure that you read the patch Readme text for any additional instructions
that either augment or supersede the information provided in this section.
Note:
Ensure that you read the patch Readme text for any additional instructions
that either augment or supersede the information provided in this section.
12-15
Chapter 12
Upgrading OSM to 7.4.1
12-16
Chapter 12
Upgrading OSM to 7.4.1
Note:
The transaction might not finish immediately after the connection is lost,
depending on how fast the database detects that the connection is lost
and how long it takes to roll back.
12-17
Chapter 12
Upgrading OSM to 7.4.1
Note:
If the failure is caused by a software issue, contact Oracle Support. With
the help of Oracle Support, determine whether the failed action modified
the schema and whether you must undo any of those changes.
If you decide to undo any changes, leave the action status set to FAILED
or set it to NOT STARTED. When you retry the upgrade, the installer
starts from this action. If you manually complete the action, set its status
to COMPLETE, so that the installer starts with the next action. Do not
leave the status set to STARTED because the next attempt to upgrade
will not be successful.
where sysuser is a user with sysdba privileges that you intend to use during OSM
installation.
4. Run the installer for OSM 7.4.1
Note:
If you are upgrading from OSM 7.0.x, part of the SDK (the automation
module) is not upgraded if installing to the original 7.0.x OSM directory.
Specify a new directory to ensure complete installation of the new OSM
SDK.
Note:
The OSM installer automatically migrates the OSM schema as part of
the installation process if the Database Schema component is selected.
12-18
Chapter 12
Upgrading OSM to 7.4.1
• Enter the username and password for the previous OSM schema.
• Enter the username and password for the previous OSM rule engine schema.
• Enter the username and password for the previous OSM reporting schema.
Note:
If you are upgrading from a pre-7.3.0 release, then you should create a
new OSM reporting schema.
Note:
The installation does not migrate any data to the new data source
(including persisted JMS messages). All configuration parameters
will be reset to their defaults. Therefore, any customizations will be
lost. Ensure you have a backup of your previous installation before
proceeding.
12-19
Chapter 12
Upgrading OSM to 7.4.1
• Select Leave the existing JDBC data source configuration intact and click
Next. This is the default option. The installer continues at step 19.
• Click the Back button repeatedly to return to the Database Connection
Information screen and change your settings.
If the current installation uses an Oracle RAC database connection, the Oracle
Real Application Clusters (RAC) Configuration screen is displayed. Otherwise,
installation continues at step 18. You can configure Oracle RAC for failover or
load balancing. Load balancing options are available only under the following
circumstances:
• If this is a multi-node cluster deployment.
• If schema partitioning is selected.
12. Do one of the following:
Note:
If you decide in the future to implement Oracle RAC for load
balancing or failover, you must run the installer again and select one
of the other options described here. You cannot manually add and
configure the Oracle RAC database instance.
12-20
Chapter 12
Upgrading OSM to 7.4.1
a separate Oracle RAC database as the primary data source, and the
remaining Oracle RAC database instances as secondary data sources.
See "Connecting Oracle RAC with JDBC Multi Data Source" for more
information.
This option is available only if OSM is deployed to a WebLogic cluster.
• Failover (Active Passive)
The installer configures a multi data source and multiple data sources.
The first data source connects to the primary database instance previously
specified, and the subsequent data sources connect to other database
instances to be specified. This option preconfigures the database
connections in WebLogic for warm standby. See "Connecting Oracle RAC
with JDBC Multi Data Source" and "Creating the Oracle Database for
OSM " for more information.
b. Under Listener Configuration, select one of the following options:
• Remote Listener (Database Server-side load balancing)
• Local Listeners
See "Listener Considerations for Oracle RAC" for a discussion on listener
functionality.
c. Click Next.
15. If you did not previously specify the SID of the primary Oracle RAC instance, the
installer displays an error message and takes you to the Database Connection
Information screen to enter the SID (the host, port, and service name are
protected). After entering the SID, installation resumes at the next step.
16. Do one of the following:
12-21
Chapter 12
Upgrading OSM to 7.4.1
18. In an upgrade installation, the JMS Store Information screen is skipped as long
as there are pre-existing OSM JMS server configurations. If you have created a
new domain, the screen will not be skipped and you can configure your JMS store
information accordingly.
19. In the screens that follow, use the same installation configuration parameters as
with the previous OSM installation.
The installer notifies you when the upgrade is complete.
20. In a new window, log into SQL*Plus as the OSM database user and run the
procedure below in the primary database schema to gather schema statistics:
BEGIN
DBMS_STATS.GATHER_SCHEMA_STATS (
OWNNAME=>USER,
ESTIMATE_PERCENT=>10,
GRANULARITY =>'ALL',
CASCADE =>TRUE,
BLOCK_SAMPLE=>TRUE);
END;
Because the upgrade to OSM 7.4.1 involves data movement, it is important that
database statistics be updated. If you plan to verify the installation prior to daily
automatic statistics collection, use the DBMS_STATS.GATHER_SCHEMA_STATS
procedure to gather statistics manually.
Oracle recommends setting the ESTIMATE_PERCENT parameter of
GATHER_SCHEMA_STATS to DBMS_STATS.AUTO_SAMPLE_SIZE to maximize
performance gains while achieving necessary statistical accuracy. With a larger
ESTIMATE_PERCFENT value, statistics gathering for a large database could
take several hours. If you prefer a faster, less accurate result, use a small
ESTIMATE_PERCENT value such as 1.
You can continue with the upgrade procedure while this statistics gathering runs.
21. Reapply any oms-config.xml file customizations from the previous release. This
file is located in the server startup directory, which is usually the home directory for
the domain.
22. Reapply any other EAR file customizations from the previous release by
undeploying the newly installed oms.ear file and redeploying an oms.ear file
containing the required customizations.
23. Reapply customizations to views, tables, triggers, or other entities stored in the
OSM database schema.
24. Reapply or rewrite any custom reports if schema changes were made to the newer
database.
25. If a new WebLogic domain was created, copy the contents of the Attachments
directory from the old WebLogic domain to the newly created WebLogic domain.
Ensure that the file permissions allow the OSM application to read and write the
files copied to the new domain.
26. Shutdown and restart the WebLogic server in the new or upgraded domain.
27. Refer to Design Studio Installation Guide for any required upgrade actions for
Design Studio.
28. Upgrade your cartridges. See "Upgrading Pre-7.3.5 Cartridges to OSM 7.4.1."
12-22
Chapter 12
Upgrading OSM to 7.4.1
When the upgrade is complete, instruct your OSM web client users to clear their
browser's temporary cache files. Refer to the web browser's documentation for
information about how to do this.
Note:
Users who do not clear their cache may experience unexpected errors while
using the upgraded OSM web client because the web browser may still be
using the previous versions of certain OSM web client files.
<model:modelVariable name="{/ns1:model/ns1:cartridge/@namespace}"
namespace="SystemDefinedNamespace" xmlns:model="http://xmlns.oracle.com/
communications/ordermanagement/model">
<model:description>model variable</model:description>
{
for $i in ($mvkey)
let $r := mapUtil:get($mvmap,$i)
return
<model:entry name="{$i}" >
<model:value>{$r}</model:value>
</model:entry>
}
</model:modelVariable>
After:
declare namespace osm="http://xmlns.oracle.com/communications/ordermanagement/
model";
declare namespace ns1="http://www.metasolv.com/OMS/OrderModel/2002/06/25";
12-23
Chapter 12
Upgrading OSM to 7.4.1
<model:modelVariable name="{/ns1:model/ns1:cartridge/@namespace}"
namespace="SystemDefinedNamespace" xmlns:model="http://xmlns.oracle.com/
communications/ordermanagement/model">
<model:description>model variable</model:description>
{
for $i in ($mvkey)
let $r := mapUtil:get($mvmap,$i)
return
<model:entry name="{$i}" >
<model:value>{$r}</model:value>
</model:entry>
}
</model:modelVariable>
After:
declare function local:getAttachedProvOrderEBM() as element()*
{
let $names := context:getAllAttachmentFileNames($context)
return
if (fn:exists($names)) then
(
let$name := [1]($names))
return
if (fn:exists($name)) then
(
saxon:parse(saxon:base64Binary-to-string(saxon:octets-to-
12-24
Chapter 12
Upgrading OSM to 7.4.1
)
else ()
)
else ()
};
After:
saxon:parse(xs:string(javaString:valueOf(context:getAttachmentAsString($context,
xs:string($name)))))/provord:ProcessProvisioningOrderEBM
12-25
Chapter 12
Upgrading OSM to 7.4.1
12-26
Chapter 12
Upgrading OSM to 7.4.1
Note:
Oracle recommends that you use whole server migration, rather than
JMS service migration, to address your high-availability needs. For
more information, see "Understanding Whole Server Migration for High
Availability."
12-27
Chapter 12
Upgrading OSM to 7.4.1
Note:
No action is required if you are upgrading from OSM 7.3.x.x.x.
12-28
Chapter 12
Upgrading the Development and Administration Environment
12-29
Chapter 12
Upgrading Pre-7.3.5 Cartridges to OSM 7.4.1
Note:
Upgrade your cartridges only if they were built using an OSM SDK older than
version 7.3.5. If you need to build or re-build cartridges for OSM release
7.4.1, use the OSM release 7.4.1 SDK and Design Studio target OSM
version as 7.4.0. In general, use the Design Studio target OSM version that
is closest to the OSM version.
12-30
Chapter 12
Upgrading Pre-7.3.5 Cartridges to OSM 7.4.1
• OSM SDK Home: Specify the local installation directory for the 7.4.1 OSM
SDK.
Note:
If you have customized your build path, ensure that your
environment is looking for automation_plugins.jar in the
OSM_home/SDK/Automation/automationdeploy_bin directory.
For information about automation plug-in dispatch modes and how performance is
improved, see OSM Developer's Guide.
3. Set cartridges to use the correct build path.
For each cartridge, do the following:
a. In the Studio Projects view, right-click on the cartridge and select Properties.
b. Select Java Build Path and click the Libraries tab.
c. Select the JRE System Library from the list and click Edit.
d. Select Execution Environment and select the option that begins JavaSE-1.8
and references the location where you installed Java 8.
e. Click OK.
f. If automation_plugins.jar is present in the list on the Libraries tab, select
it and click Migrate JAR File. Select the automation_plugins.jar file in the
OSM_home/SDK/Automation/automationdeploy_bin directory.
g. Click Finish.
h. Click OK in the Properties window.
4. Set cartridge management variables.
For individual cartridges in your workspace, open the Project editor Cartridge
Management Variables tab and set the following variables according to your
requirements:
• Set FAST_CARTRIDGE_UNDEPLOY to true to undeploy a cartridge from
OSM without purging cartridge metadata or order data, or set it to false to
purge cartridge metadata and order data during the undeploy operation.
• Set PURGE_CARTRIDGE_BEFORE_DEPLOY to true to undeploy the
previous version of a cartridge before deploying the new version,
or set it to false to update the cartridge with the changes
for the new version. If PURGE_CARTRIDGE_BEFORE_DEPLOY and
FAST_CARTRIDGE_UNDEPLOY are set to true, the cartridge is undeployed
using the fast undeploy functionality before it is redeployed. This redeploy
method is referred to as a "fast redeploy."
Note:
If your cartridge has pending or completed orders that you do not
want to purge, do not undeploy the cartridge, but deploy the new
version with PURGE_CARTRIDGE_BEFORE_DEPLOY set to false.
12-31
Chapter 12
Upgrading Pre-7.3.5 Cartridges to OSM 7.4.1
Caution:
Undeploying a cartridge purges all existing orders for that cartridge.
12-32
Chapter 12
Upgrade Impacts on Cartridges from Previous Releases to OSM 7.4.1
– Create Task in the Task Data tab (if the Creation Task contains control
data)
• "Order Model Error - Order Template Node/ControlData/Functions/.../duration
is not defined...".
After fixing the problem, Design Studio applies the duration data structure from
the OSM common data dictionary to the following entities:
– Order Specifications in the Order Template tab
– Order Components in the Order Template tab (if the Order Component
contains control data)
– Create Task in the Task Data tab (if the Creation Task contains control
data)
This step will automatically update the
OracleComms_OSM_CommonDataDictionary, as mentioned previously in this
step. You can also update the OracleComms_OSM_CommonDataDictionary
manually. See "Updating the Common Data Dictionary Manually" for more
information.
8. Some cartridges may fail to build if they contain Java classes which implement
interfaces that have changed in OSM 7.4.1.
To fix this error, open the failed Java files in Design Studio, right-click the error
marker, and run the quick fix "add unimplemented methods".
9. If the same Java class exists in different cartridges (for example, if both cartridge
A and B define a Java class com.mycompany.cartridges.log.LogActivity), then
this class must be the same in both cartridges.
10. Clean and build all cartridges in the workspace again.
12-33
Chapter 12
Upgrade Impacts on Cartridges from Previous Releases to OSM 7.4.1
common data dictionary, you can also update the common data dictionary using the
Quick Fix option on the problem marker that informs you that a needed data element is
not defined. If you prefer, you can update it using the manual procedure in this section.
To update the common data dictionary manually:
1. In Design Studio, from the Project menu, deselect Build Automatically.
2. In the Studio Projects view, right-click on the
OracleComms_OSM_CommonDataDictionary project and select Delete.
3. In the confirmation dialog box, select Also delete contents... and click Yes.
4. Create the common data dictionary in your workspace. See "Creating the
Common Data Dictionary Project in Your Workspace" for instructions.
5. Clean and build all cartridges in the workspace.
6. If desired, from the Project menu, select Build Automatically.
12-34
Chapter 12
Upgrade Impacts on Cartridges from Previous Releases to OSM 7.4.1
See "Upgrading OSM to 7.4.1" for more information adding these data structures to
the OSM common data dictionary.
After migrating a cartridge to version 7.4.1, you must set the cartridge target version
to OSM version 7.4.0. If you set the target version to OSM version 7.2 or earlier, OSM
does not calculate start dates for order components. Instead, order components begin
processing as soon as possible, based on dependencies.
See OSM Modeling Guide for guidelines about modeling order components to use
calculated start dates.
12-35
Chapter 12
Upgrade Impacts on Cartridges from Previous Releases to OSM 7.4.1
Note:
Design Studio creates problem markers only if the order contributors
have different values and the order has the significance set to Inherited.
To resolve problem markers, examine the relevant data elements and align the
significance so that it is consistent across all order contributors. You can set
the same significance value on all Order Component Specification editor Order
Template tabs for all order components contributing to the order, or you can
override the significance value of that data structure on the order by using the
Order editor.
After you resolve design discrepancies that may exist, use OSM preferences to turn on
order template inheritance of keys and significance.
To turn on order template inheritance of keys and significance for existing cartridges:
Tip:
Disallow this functionality temporarily to minimize the immediate upgrade
impact on your cartridges, and allow it later for optimal development
convenience.
1. In Design Studio, from the Window menu, select Preferences, then select Oracle
Design Studio, and then select Order and Service Management Preferences.
2. In the Order Template Inheritance field, do the following:
• To allow significance defined on an order template data element to be
inherited from child orders and other order contributors, select Inherit
significance from order contributors.
• To allow keys defined on an order to be inherited from child orders and from
other order contributors, select Inherit keys from order contributors.
Design Studio sets the order template inheritance preferences you specify as a
global preference.
3. Click OK.
Design Studio saves your order template inheritance preferences and closes the
Preferences dialog box.
4. Clean and build the cartridges.
5. Resolve any problem markers that may result from order template inheritance
discrepancies in your cartridges.
12-36
Chapter 12
Upgrade Impacts on Cartridges from Previous Releases to OSM 7.4.1
The common data dictionary project can coexist with existing cartridge projects and
will automatically generate order component control data for new order components
you create after creating the model project in your existing workspace. In this case,
Design Studio updates the order component control data structure you have defined
in the data schema of your existing base project. However, Design Studio does not
replace the reference of ControlData in the order templates to use the model project
schema instead of your existing project schema.
Design Studio will prompt you to create the
OracleComms_OSM_CommonDataDictionary cartridge the first time you create or
open an entity related to orchestration in a workspace using Design Studio 7.2 or later
where the common data dictionary is not present.
If in the past you have seen this prompt and selected Do not show this prompt in the
future, you must re-enable the prompt in order to create the common data dictionary.
To create the common data dictionary in your workspace:
1. If you have previously disabled the prompt:
a. From the Window menu, select Preferences.
The Preferences dialog box is displayed.
b. In the Preferences navigation tree, expand Oracle Design Studio, and then
expand Order and Service Management Preferences.
c. Select Orchestration Preferences.
d. In the Common Data Dictionary area, select the Prompt To Create
Orchestration Data Dictionary check box.
e. Click OK.
Design Studio saves the preference and closes the Orchestration Preferences
dialog box.
2. Open or create an orchestration entity, for example, an order item specification or
an order component specification.
You are prompted to confirm importing the common data dictionary.
3. Click OK.
The OracleComms_OSM_CommonDataDictionary model project is created in
your workspace.
See Design Studio Help for information on how the
OracleComms_OSM_CommonDataDictionary model project creates control data.
12-37
Chapter 12
Upgrade Impacts on Cartridges from Previous Releases to OSM 7.4.1
about cartridge versioning, see OSM Modeling Guide. For instructions on changing
the number of digits in the version number, see, "Updating Cartridges to a Five-Digit
Version." If you are upgrading cartridges from an OSM version prior to 7.0.3, you
should build the original version of the cartridges in Design Studio with a target version
of 7.0.3 to update the cartridges as far as possible without changing the length of the
version numbers.
12-38
Chapter 12
Upgrade Impacts on Cartridges from Previous Releases to OSM 7.4.1
See the discussion on defining event notifications in OSM Modeling Guide for more
information.
This does not apply to Automation Tasks because data available to the automation
plug-in is explicitly defined as a Task View.
You must resolve this error before you can deploy the OSM cartridge.
If there is a requirement for data entries that contain more than 1000 characters, OSM
provides other ways to achieve this goal including:
• Modeling data dictionary entries as XML type so that the data entry can contain
XML documents.
• Adding order remarks
• Adding attachments to order remarks
See OSM Modeling Guide for more information about these alternatives.
12-39
Chapter 12
Upgrade Impacts on Cartridges from Previous Releases to OSM 7.4.1
Note:
Although OSM provides powerful orchestration and order provisioning
engines, OSM is not a data warehouse and management system and should
not be used as an intermediary between upstream and downstream systems.
12-40
13
Updating Order-to-Activate Cartridges
The Order-to-Activate cartridges are pre-built Oracle Communications Order and
Service Management (OSM) cartridges that support the Oracle Order-to-Activate
business process to be used with the Oracle Communications Order to Cash
Integration Pack for Oracle Communications Order and Service Management (Order
to Cash Integration Pack for OSM). For more information about this product, see OSM
Cartridge Guide for Oracle Application Integration Architecture.
This chapter describes how to update earlier versions of OSM Order-to-Activate
cartridges to run on OSM 7.4.1. It also contains information about how to configure
Oracle WebLogic Server resources for the cartridges in your WebLogic Server domain
for OSM 7.4.1, and how to deploy the updated cartridges.
13-1
Chapter 13
Preparing to Update the Order-to-Activate 7.2, 2.0.1, 2.1.0, and 2.1.2 Cartridges
Note:
If you want to use Order-to-Activate 7.2.0.x cartridges with OSM 7.4.1, you
must ensure that your Order-to-Activate cartridges have been upgraded to
the 7.2.0.2 patch or higher.
13-2
Chapter 13
Updating the Order-to-Activate Cartridges
12. If the Java directory that you entered for Java SDK Home in step 6 is not
displayed, add it and ensure that it is selected.
13. Click OK.
13-3
Chapter 13
Updating the Order-to-Activate Cartridges
13-4
Chapter 13
Updating the Order-to-Activate Cartridges
Note:
Some XQuery functions that were written for earlier versions of Saxon might
not work correctly. For more information, see "XQuery Model Changes."
13-5
Chapter 13
Updating the Order-to-Activate Cartridges
Note:
The Order-to-Activate cartridges require the following Design Studio
plug-ins:
• Design Studio Platform
• Design Studio for Order and Service Management
• Design Studio for Order and Service Management Orchestration
• Design Studio for Order and Service Management Integration
• Design Studio for Order and Service Management Orchestration
Application Integration Architecture (AIA)
See Design Studio Installation Guide for information about installing
Design Studio plug-ins and how to confirm which plug-ins are installed.
2. If you do not already have it available, locate or download the appropriate version
of the unmodified cartridges.
• You should always ensure that you use the latest patch of the cartridges,
if one is available. See "Getting the Latest Patch for Your Version of the
Cartridges" for more information.
• If you are downloading the latest version from the Oracle software delivery
website, select Oracle Communications Order and Service Management
Cartridge for Provisioning Fulfillment and select your platform.
• If you have already downloaded the Order-to-Activate cartridges, locate the
OracleComms_OSM_O2A_CartridgesInstaller_byyyymmdd.zip file.
3. Unzip the OracleComms_OSM_O2A_CartridgesInstaller_byyyymmdd.zip file.
The OSM.PIP directory containing the OracleComms_OSM_O2A_Install.zip file
is created.
4. Verify that Design Studio is running.
5. From the File menu, select Import Studio Project.
The Import Projects dialog box is displayed.
6. Select Select archive file and click Browse.
7. Browse to the OSM.PIP directory and select
OracleComms_OSM_O2A_Install.zip.
8. Click Open.
The OracleComms_OSM_O2A_Install project is displayed and selected in the
Projects field.
13-6
Chapter 13
Updating the Order-to-Activate Cartridges
9. Click Finish.
The OracleComms_OSM_O2A_Install project is imported.
12. In the first Ant Input Request window, do one of the following:
• To import cartridges for the Complex solution topology, enter c and click OK.
• To import the cartridges for the Typical solution topology, enter t and click OK.
• To import the cartridges for the Simple solution topology, enter s and click OK.
13. In the second Ant Input Request window, do one of the following:
13-7
Chapter 13
Updating the Order-to-Activate Cartridges
For example, if you have been working with Order-to-Activate version 7.2.0.6,
import the cartridges for the latest patch of 7.2.0 (for example, 7.2.0.10).
For more information about how to do this see "Importing Unmodified OSM Order-
to-Activate 7.2, 2.0.1.x, 2.1.0.x, or 2.1.2.x Cartridges."
2. Import any custom cartridges that you created into the workspace.
3. If you have modified any sample Order-to-Activate cartridges (which are
unsealed), such as composite cartridges, check the README file for the latest
patch, which tells you what cartridges have been changed by the patch. Then do
one of the following:
• If the cartridges you modified have not been updated by the patch, import your
modified versions of the cartridges.
• If the cartridges you modified have been updated by the patch, you must
re-create your modifications in the versions of the cartridges from the latest
patch.
4. In general, you should not unseal and modify cartridges that are sealed. If you
have done this, check the README file for the latest patch, which tells you what
cartridges have been changed by the patch. Then do one of the following:
• If the cartridges you modified have not been updated by the patch, import your
modified versions of the cartridges.
• If the cartridges you modified have been updated by the patch, you must
re-create your modifications in the versions of the cartridges from the latest
patch.
13-8
Chapter 13
Updating the Order-to-Activate Cartridges
d. Click the Properties tab and deselect Use global properties as specified in
the Ant runtime preferences.
e. Click the JRE tab and select Run in the same JRE as the Workspace.
f. Click Close and click Yes.
4. In the Ant View, expand the file
you added (OSM.O2A.Cartridges.7.2.0_to_7.4_Migration,
OSM.O2A.Cartridges.2.0.1.3_to_7.4_Migration,
OSM.O2A.Cartridges.2.0.1.4_to_7.4_Migration,
OSM.O2A.Cartridges.2.1.0.1_to_7.4_Migration,
OSM.O2A.Cartridges.2.1.0.2_to_7.4_Migration or
OSM.O2A.Cartridges.2.1.2.0_to_7.4_Migration) and double-click migrate.
5. Exit and restart Eclipse.
If prompted to save any entities, select Yes.
When Eclipse is restarted, the Studio Project Upgrade window is displayed, with a
list of cartridges that should be upgraded.
6. Click Finish.
The cartridges will be updated, including changing the data structures in the data
dictionary. This can take several minutes. When the upgrade is finished, you are
presented with the option to view the upgrade logs.
7. Exit and restart Eclipse.
If prompted to save any entities, select Yes.
8. Build all of the cartridges.
See the Design Studio Help for information about how to build cartridges. Some
cartridge builds will fail with the following error listed in the Problems pane:
Naming Conflict - Entity names must be unique (case-insensitively) amongst
other entities of the same or similar types within a workspace. The
conflicts are: /OracleComms_Model_Base/model/Activation.applicationRole.
9. To solve the problem listed above, do the following:
a. Open the Package Explorer view.
b. Navigate to the OracleComms_Model_BaseCatalog/model directory.
c. Remove all files in this directory that have the .applicationRole extension.
10. Clean and build all of the cartridges.
See "Configuring WebLogic Server Resources for Order-to-Activate 7.2" for more
information.
13-9
Chapter 13
Updating the Order-to-Activate Cartridges
13-10
Chapter 13
Updating the Order-to-Activate Cartridges
d. Click the Properties tab and deselect Use global properties as specified in
the Ant runtime preferences.
e. Click the JRE tab and select Run in the same JRE as the Workspace.
f. Click Close and click Yes.
g. Right-click the name of the cartridge for the SolutionConfig.xml file and
select Run As again.
h. Select Ant Build... (not Ant Build).
The Edit Configuration dialog box is displayed.
Note:
It is necessary to close and reopen the Edit Configuration dialog box
because after you have deselected the Use global properties...
check box, Eclipse prevents you from changing any of these
properties until you close and re-open the Edit Configuration dialog
box.
i. Click the Properties tab and set the appropriate values according to
Table 13-2.
13-11
Chapter 13
Updating the Order-to-Activate Cartridges
Table 13-2 (Cont.) Values for Ant Edit Configuration Properties Tab
13-12
Chapter 13
Updating the Order-to-Activate Cartridges
c. In the second Ant Input Request window, enter y to use the same password
for all of the users being created or enter n to use a different password for
each user. Click OK.
d. Enter the passwords requested for the Order-to-Activate users by the Ant
Input Request windows:
Note:
Ensure that the passwords you enter meet the security requirements
of your WebLogic Server domain. By default, the WebLogic server
requires passwords of at least eight characters, with at least one
numeric or special character. However, the requirements for your
domain may be different.
If you entered y in the previous step, enter the common password for the
Order-to-Activate users and click OK.
If you entered n in the previous step and the name of the cartridge associated
with the buildfile contains COM, you are prompted for passwords for the
following users: COM user (osm), COM Order Event user (osmoe), COM
Data Change Event user (osmde), and COM Fallout user (osmfallout). Click
OK after each entry.
If you entered n in the previous step and the name of the cartridge associated
with the buildfile contains SOM, you are prompted for passwords for the
following users: SOM user (osmlf), SOM Order Event user (osmoelf), and
SOM Order Abort user (osmlfaop). Click OK after each entry.
If you entered n in the previous step and the name of the cartridge associated
with the buildfile contains COMSOM, you are prompted for passwords for the
following users: COM user (osm), COM Order Event user (osmoe), COM
Data Change Event user (osmde), COM Fallout user (osmfallout), SOM
user (osmlf), SOM Order Event user (osmoelf), and SOM Order Abort user
(osmlfaop). Click OK after each entry.
After you have entered the passwords and clicked OK, the system creates the
users in the WebLogic domain. This may take a few minutes.
Note:
Although config_All has now created users in the WebLogic Server
domain, it is still possible to cancel the script at a later point and
rerun it. If config_All finds the users already present in the domain,
it will skip adding them again and continue with the rest of the
configuration process.
e. In the next Ant Input Request window, enter s if you are using a standalone
WebLogic Server environment or enter c if you are using a clustered
environment. Click OK.
f. In the next Ant Input Request window, enter d (for development environment)
if you do not intend to connect to Oracle AIA or enter p (for production
environment) if you intend to connect to Oracle AIA. Click OK.
13-13
Chapter 13
Updating the Order-to-Activate Cartridges
Click OK.
Finally, if OSM is not deployed in a clustered WebLogic Server environment,
enter the name of the WebLogic server where central order management is
running, and click OK.
i. If you selected to have a production environment, entered s to install a SAF
service, and the name of the cartridge associated with the buildfile contains
SOM:
Enter the Oracle AIA server user name that OSM service order management
should use to connect to Oracle AIA in the next window, and click OK.
Then, enter the password for that user in the next window, and click OK.
Then, enter the host name and port (in the format hostname:port) that service
order management should use for connecting to Oracle AIA in the next
window. If the Oracle AIA server is on a WebLogic Cluster, enter all the host
names and ports, separated by commas, for example:
yourhost1.com:8001,yourhost1.com:8002,yourhost2.com:7030
Click OK.
Finally, if OSM is not deployed in a clustered WebLogic Server environment,
enter the name of the WebLogic server where service order management is
running, and click OK.
j. Click OK. The system configures the rest of the WebLogic resources. This
may take a few minutes.
5. When the installer is finished, shut down any affected WebLogic domains and
restart them.
13-14
Chapter 13
Updating the Order-to-Activate Cartridges
Note:
If you have made a mistake setting the Design Studio preferences and it
causes this procedure to fail, this will be displayed in the Console view
in Design Studio. First, correct the preferences using the instructions in
"Setting Design Studio Preferences." Next, go to the Properties tab of the
Edit Configuration dialog box, select Use global properties as specified
in the Ant runtime preferences to update the values, and then deselect
Use global properties as specified in the Ant runtime preferences
again. Then, select Clean from the Project menu and clean and build the
OracleComms_OSM_O2A_Install project. Exit and restart Design Studio,
and then begin the procedure for configuring the WebLogic Server resources
again.
Note:
See the Design Studio Help for details on creating a Studio Environment
project and a Studio environment.
If you are installing central order management and service order
management on different OSM servers, you need two environment
entities: one pointing to the central order management cluster or
standalone server and the other pointing to the service order
management cluster or standalone server.
13-15
Chapter 13
Updating the Order-to-Activate Cartridges
Table 13-3 describes which cartridges to deploy if you are using the Order-to-
Activate 2.1.0.x or 2.1.2.x cartridges:
Table 13-4 describes which cartridges to deploy if you are using the Order-to-
Activate 2.0.1.x or 7.2 cartridges:
13-16
Chapter 13
Updating the Order-to-Activate Cartridges
13-17
Chapter 13
Updating the Order-to-Activate Cartridges
13-18
Chapter 13
Updating the Order-to-Activate Cartridges
Note:
If you have modified these files, ensure that you compare the files
available in OracleComms_OSM_O2A_CartridgeMigration\<2.1.0.2 or
2.1.0.1> with your files and include the changes added in the migration
set into the cartridges.
12. Using ant view, run “config_all" target and make sure that the resources are
created in the WebLogic server and the necessary MetaData & Model variable is
set.
13. Deploy emulators, if you are using them and restart the Weblogic server.
13-19
Chapter 13
Updating the Order-to-Activate Cartridges
Design Studio displays error markers for the missing JAR files.
2. For each cartridge against which an error marker is shown, in the build path,
modify the JAR file name to the new name as specified in Table 13-6.
13-20
Chapter 13
Updating the Order-to-Activate Cartridges
• Base Task Control Data: Base Task FulfillBillingBaseTask must contain the
node /ControlData/Functions/FulfillBillingFunction/calculatedStartDate.
• Base Task Control Data: Base Task FulfillBillingBaseTask must contain the
node /ControlData/Functions/FulfillBillingFunction/duration.
8. For each error marker, right click and select Quick Fix and apply the default
options.
Design Studio applies the necessary changes in the cartridges to add
calculatedStartDate and duration.
9. Restart the workspace.
10. Copy the osm-o2a-utility.jar file from Cartridge Migration Project
(OracleComms_OSM_O2A_CartridgesMigration\2.0.1.3\OracleComms_OSM_
O2A_CommonUtility\resources) to the current workspace
(OracleComms_OSM_O2A_CommonUtility\resources).
11. Copy the o2a-saxonee9-config_2.0.1.jar file from Cartridge Migration Project
(OracleComms_OSM_O2A_CartridgesMigration\2.0.1.3\OracleComms_OSM_
O2A_Configuration\o2alib) to the current workspace
(OracleComms_OSM_O2A_Configuration\o2alib).
12. Add the o2alib\o2a-saxonee9-config_2.0.1.jar file to the build class path of the
OracleComms_OSM_O2A_Configuration cartridge in Eclipse/Design Studio.
13. Update the OracleComms_OSM_O2A_Configuration\etc\Manifest.mf file to
have the right set of JAR files (as per the above JAR file name changes table).
14. Copy the following files from Cartridge Migration Project
(OracleComms_OSM_O2A_CartridgeMigration\2.0.1.3\OracleComms_OSM_
O2A_Configuration) to OracleComms_OSM_O2A_Configuration in your
workspace.
• src\oracle\communications\ordermanagement\util\transform\XQueryTransform
er.java
• src\oracle\communications\ordermanagement\aiaemulator\AIAMultipleRespon
seEmulatorBean.java
• OSM.O2A.CartridgeConfigUtility.xml
• OSM.O2A.EmulatorsBuild.xml
• OSM.O2A.Env.xml
Note:
If you have modified these files, ensure that you compare the files
available in OracleComms_OSM_O2A_CartridgeMigration\2.0.1.3
with your files and include the changes added in the migration set into
the cartridges.
13-21
Chapter 13
Updating the Order-to-Activate Cartridges
COM_OrphanOrderItemInitialFulfillmentStateView.manualTask_migrated
to your workspace. OSM uses the manual task
COM_OrphanOrderItemInitialFulfillmentStateView as a Query Task in the
COM order.
b. Right-click the folder and refresh.
c. Open the COM_SalesOrderFulfillment order.
d. Select the Permissions tab and then select the Query Tasks tab.
e. Click Add and select COM_OrphanOrderItemInitialFulfillmentStateView.
f. Click Save.
The following extract shows the changes in the
OracleComms_OSM_O2A_COM_SalesOrderFulfillment cartridge. The changes
are available in the resources\FulfillmentState\FulfillmentStateModule.xquery
file.
[...]
declare
variable $fulfillmentstatemodule:COM_ORDER_ORPHAN_ORDERITEM_INITIAL_FULFILLME
NTSTATE_VIEW := "COM_OrphanOrderItemInitialFulfillmentStateView"; declare
variable $fulfillmentstatemodule:CANCEL := "CANCEL";
[...]
(:
: Function to return the component fulfillment state path for order item
: By default, return "" to disable.
: Note: Solution provide version should be a properties under
/ControlData/OrderItem/___the_property_name___
:)
declare function
fulfillmentstatemodule:getOrderItemComponentFulfillmentStatePath( $orderMnemo
nic as xs:string) as xs:string
{
""
};
(:
: Function to return the component fulfillment state description path for
order item
: By default, return "" to disable.
: Note: Solution provide version should be a properties under /ControlData/
OrderItem/___the_property_name___
:)
declare function
fulfillmentstatemodule:getOrderItemComponentFulfillmentStateDescriptionPath(
$orderMnemonic as xs:string) as xs:string
{
""
};
(:
: Function to return the component Id for order item
: By default, return "" to disable.
: Note: Solution provide version should be a properties under /ControlData/
OrderItem/___the_property_name___
:)
declare function
fulfillmentstatemodule:getOrderItemComponentIdPath( $orderMnemonic as
xs:string) as xs:string
{
13-22
Chapter 13
Updating the Order-to-Activate Cartridges
""
};
[...]
(:
: Function to return the name of the View/QueryTask to be used when
determining initial fulfillment state for orphan order items. The returned
view name will be used to fetch the order data, which is then passed to the
XQuery extension function getOrphanOrderItemInitialFulfillmentState(). If
there is no need to calculate initial orphan order item fulfillment states
then an empty string can be returned.
:)
declare function
fulfillmentstatemodule:getOrphanOrderItemInitialFulfillmentStateView( $orderM
nemonic as xs:string) as xs:string
{
if($orderMnemonic = $fulfillmentstatemodule:COM_ORDER)
then $fulfillmentstatemodule:COM_ORDER_ORPHAN_ORDERITEM_INITIAL_FULFILLMENTST
ATE_VIEW else ""
};
(:
: Function to detect is the current operation of the order is a Cancelation
Operation
:)
declare function fulfillmentstatemodule:isCancelRevision( $taskData as
element()) as xs:boolean
{
let $osmOperationType := fn:normalize-space($taskData/oms:_root/
oms:CustomerHeaders/oms:OsmOperationType/text())
return
if ($osmOperationType=$fulfillmentstatemodule:CANCEL)
then fn:true()
else fulfillmentstatemodule:isCanceledByAdmin($taskData)
};
(:
: Function to detect if the cancel is triggered by OSM Admin from Web GUI
:)
declare function fulfillmentstatemodule:isCanceledByAdmin( $taskData as
element()) as xs:boolean
{
let $orderState := fn:normalize-space($taskData/oms:OrderState/text())
return
if ($orderState = ("open.running.compensating.cancelling",
"open.not_running.cancelled"))
then fn:true()
else fn:false()
};
(:
: Function to return the namespace and name of the initial FulfillmenState.
The format for the result is as a clark name which is {namespace}localName.
: e.g. {demo.com}completed
: If there is no initial fulfillment state, then an empty string can be
returned.
:)
declare function
fulfillmentstatemodule:getOrphanOrderItemInitialFulfillmentState( $order as
document-node()) as xs:string
{
let $orderData := $order/oms:GetOrder.Response
13-23
Chapter 13
Updating the Order-to-Activate Cartridges
13-24
Chapter 13
Updating the Order-to-Activate Cartridges
)
else ()
)
else ()
};
17. Click Save All and restart Design Studio.
18. Using ant view, run “config_all" target and make sure that the resources are
created in the WebLogic server and the necessary MetaData & Model variable is
set.
19. Deploy emulators, if you are using them and restart the Weblogic server.
13-25
Chapter 13
Updating the Order-to-Activate Cartridges
13-26
Chapter 13
Updating the Order-to-Activate Cartridges
Note:
If you have modified these files, ensure that you compare the files
available in OracleComms_OSM_O2A_CartridgeMigration\7.2.0 with
your files and include the changes added in the migration set into the
cartridges.
13. Using ant view, run “config_all" target and make sure that the resources are
created in the WebLogic server and the necessary MetaData & Model variable is
set.
14. Deploy emulators, if you are using them and restart the Weblogic server.
13-27
14
Uninstalling OSM
This chapter provides information about uninstalling the Oracle Communications Order
and Service Management (OSM) product.
The OSM Uninstaller removes only the OSM program files. It does not remove the
database schemas or the OSM application from the WebLogic server.
To completely remove OSM, you must perform the following steps:
1. Back up all customized configuration files.
2. Remove the OSM application from the WebLogic server. See "OSM Uninstall:
Additional Tasks" for minimal instructions, and see the Oracle WebLogic Server
documentation for more information.
Note:
Because the OSM installation scripts do not update the operating
system's registry settings, you do not need to perform any manual clean-
up operations on the registry.
3. Remove the OSM database schemas. See Oracle Database documentation for
more information.
4. Uninstall OSM components by running the OSM Uninstaller. See "Uninstalling
OSM Components." If uninstalling using silent uninstall, see "Performing a Silent
Uninstall."
5. Remove the directory where OSM is installed.
Note:
To run the OSM Uninstaller using the procedure in this section, you must
have the Info-ZIP project utility installed. If it is not already installed on your
system, you can download it from the following location:
http://sourceforge.net/projects/infozip/
If you do not install the Info-ZIP project utility, you must modify the OSM
uninstall script to use a different unzip utility.
14-1
Chapter 14
OSM Uninstall: Additional Tasks
Always run the Uninstaller to remove the OSM program files. If you simply delete the
program files without running the Uninstaller, you may receive errors in future OSM
installations.
Note:
The uninstallation operation does not have any dependency on the
WebLogic server and the Oracle Database. You do not have to keep the
servers in Running mode to uninstall OSM.
Or, from the Start menu, select Programs, then Oracle Communications,
then select Order and Service Management Uninstaller.
4. In the Uninstaller's welcome dialog box, click Next.
The Product Uninstallation dialog box is displayed.
5. Do one of the following:
• To remove all of the OSM files, click Next, which opens the confirmation dialog
box.
• To remove specific components, deselect the components you want to leave
installed and click Next, which opens the confirmation dialog box.
6. Click Next, which starts the uninstallation process.
The uninstaller removes the OSM program files from the workstation.
7. Do one of the following:
• Click Yes to remove an existing file.
• Click Yes to All to remove all existing files.
• Click No to keep an existing file.
• Click No to All to keep all existing files.
8. Click Finish.
14-2
Chapter 14
OSM Uninstall: Additional Tasks
Note:
Do not stop cartridge_management_ws and comms-platform-
webapp in a suite or multiproduct environment because other
applications may be dependent on them.
5. Click the OSM application oms, then select the Configuration tab, then the
Workload tab, and delete all of the application-scoped work managers.
6. Navigate to Services, then Messaging, then JMS Modules, and delete
oms_jms_module.
7. Navigate to Services, then Messaging, then JMS Servers, and delete
oms_jms_server.
8. Navigate to Services, then JDBC, then Data Sources, and delete oms_pool.
9. Navigate to Services, then File T3, and delete oms_remote_file_system.
10. Navigate to Security Realms, then myrealm, then Users and Groups, then
Users and delete the following OSM users:
• oms-automation
• oms-internal
• deployAdmin
• admin
14-3
Chapter 14
OSM Uninstall: Additional Tasks
Note:
admin is the default OSM Administrator user and deployAdmin is
the default Design Studio administrator user. If you specified different
names during the OSM installation, remove the custom users.
11. Navigate to Security Realms, then myrealm, then Users and Groups, then
Groups, and delete the following OSM user groups if present:
• Cartridge_Management_WebService
Note:
Do not delete Cartridge_Management_WebService in a suite
or multiproduct environment because other applications may be
dependent on it.
• OMS_cache_manager
• OMS_client
• OMS_log_manager
• OMS_user_assigner
• OMS_workgroup_manager
• OMS_ws_api
• OMS_ws_diag
• OMS_xml_api
• OSM_automation
• osmRestApiGroup
• osmEntityClientGroup
12. Click Deployments, and delete the OSM application oms, the cartridge
management web services application cartridge_management_ws, and the
shared Java EE library comms-platform-webapp.
Note:
Do not delete cartridge_management_ws and comms-platform-
webapp in a suite or multiproduct environment because other
applications may be dependent on them.
13. Delete the directory generated by the OSM WebLogic server during its installation.
15. Navigate to the Domain directory, and delete the Attachments directory.
14-4
Chapter 14
Performing a Silent Uninstall
#######
#
# true - Indicates that the feature is selected for uninstallation
# false - Indicates that the feature is not selected for uninstallation
#
### -P featureds.activeForUninstall=<value>
############################################################################
14-5
A
Production Readiness Checklist
This appendix provides a checklist of tasks that must be accomplished before taking
Oracle Communications Order and Service Management (OSM) into production.
A-1
Appendix A
Checking for Deployment Architecture
Oracle normally releases interim patches for the last two patch sets of a given release.
The implementation project teams should plan to go into production or upgrade on a
recent patch of the latest patch set (preferred) or the prior patch set (also acceptable).
For example, if 7.3.0.1.0 was the last patch set issued, going into production on
7.3.0.1.5 (a recent patch of that patch set) would be the preferred option. Alternatively,
it would also be acceptable to go into production on 7.3.0.0.14, a recent patch of
7.3.0.0.0 (the prior patch set).
In general, if the implementation project takes more than six months, Oracle
recommends that the implementation project teams plan to upgrade to a recent patch
on the same release prior to going into production. Oracle can provide advanced
notice of planned patch sets to assist in this planning. For example, if a project started
three months ago using OSM 7.3.0.0.9 (on the prior patch set) and the implementation
project teams plan to go into production in the next three months, Oracle would
recommend that the teams check with Oracle when a 7.3.0.1.0 patch set may be
released. The implementation project teams should plan to upgrade prior to going into
production, avoiding going into production on an older patch set.
Checklist:
• The production system launch or upgrade should take place on a recent interim
patch for the latest patch set (preferred) or the previous patch set.
• If implementation project teams have a long-running project (more than six
months), plan to upgrade to a patch of the most recent patch set prior to going
into production or upgrading.
Useful information to share: What is the five digit OSM patch level targeted for going
into production or upgrading?
A-2
Appendix A
Checking the OSM Production System Configuration
• Is Oracle RAC used and if so what Oracle RAC configuration is used (for example,
Active/Active)?
• How many database servers are deployed and what are their hardware
specifications?
• Are virtual machines used, if so which product and version?
• Are multiple instances of OSM (for example, COM, SOM) deployed?
• What are the version numbers for key other software (Oracle Application
Integration Architecture (Oracle AIA), OSM Order-to-Activate cartridges, WebLogic
Server, operating system, database, virtual machine)?
• What RAID storage configuration is used (for example RAID 10, RAID 5)?
• What type of storage is used for the shared WebLogic Server Persistent Store?
• What security provider configuration (for example, internal or external LDAP
directory) does OSM use?
A-3
Appendix A
Checking for Performance Expectations
• Performance tests have confirmed that the OSM production system can sustain
the full expected maximum hourly order volume rate. These tests should observe
the following:
– Ensure that representative mix of order types and size is used in the test
workload.
– Ensure that the average size of the order (line item count for orchestration
orders) is aligned with expected production order workload.
– Ensure that the test order mix includes enough revision orders and larger
orders, if applicable.
– Ensure that the production system has enough memory to handle the
expected number of cartridge versions deployed.
– Ensure that for long-running orders, enough in-progress orders are already
loaded in the system to simulate the maximum workload of the system.
– Validate that enough capacity remains to sustain peak volume if any one
machine of the production system were to fail, or to deal with unexpected
order volume peaks (for example, +20%).
• Performance tests have confirmed that the production system can process the
maximum expected order size.
• Performance tests have confirmed that the OSM production system can process
any expected large bulk operations.
• Longevity performance tests (for example, 24 hours) have been performed without
errors on the OSM production system. Longevity performance tests must validate
the following:
– The workload is distributed uniformly across the cluster.
– JMS messages do not accumulate.
– Java Garbage collection is operating properly. Oracle recommends that you
perform a regular analysis of garbage collection logs (for example, with
GCViewer) to detect changes in your memory usage patterns. In particular,
frequently check the live data size (LDS), which is the amount of memory used
in tenured heap after a full garbage collection cycle. A healthy LDS should
be at 50% or less when using the Parallel Old garbage collection algorithm.
Garbage collection logs should be captured for a period long enough for at
least one full garbage collection to occur (when using parallel old garbage
collection). In addition, memory problems often present themselves as periods
of high CPU utilization where the system appears to become unresponsive.
Cluster instability is another frequent symptom.
– Database locks are not occurring.
– WebLogic Server thread locks are not occurring.
• The I/O capacity of the database storage sub-system and of the shared WebLogic
Server persistent store has been validated.
Useful information to share:
• What are the average and maximum OSM order creation volume targets per day
and during the busy hour?
• If orders coming into OSM (for example, COM) generate additional orders (for
example, SOM), what is the expected generated order volume for each?
A-4
Appendix A
Checking for a Migration Strategy and Production Schedule
• What is the expected line item count for average size orders and the expected
line item count for large size orders? Indicate the approximate percentage of large
orders.
• Indicate the approximate percentage of expected revision orders, if applicable.
• Indicate the average order duration time (number of days to complete an order).
• Indicate the average number of cartridge types and versions planned to be
deployed on the production system.
• Describe any bulk operations that may occur during the day including the number
of orders submitted and at what time they will be executed.
• Indicate whether Oracle has previously provided hardware sizing
recommendations for the deployment.
• Share a summary of performance test results that specifies how the production
system (for example, the application servers, the database, and the storage)
responds (for example, the CPU, memory, and I/O) during the target peak load
with the target number of cartridge versions deployed. This provides a baseline for
comparison when investigating any future performance-related issue.
A-5
Appendix A
Checking for Database Management Procedures
• Ensure that the average expected daily and weekly storage consumption rate has
been measured.
• Ensure that a procedure exists for regularly creating empty partitions before they
are needed. This procedures should align with the expected rate at which the
partitions are consumed. This procedure is typically performed after completed
partitions are purged.
• Ensure that you have defined a purging strategy: partition based purging, row
based purging, or a hybrid of both. For more information, see OSM System
Administrator's Guide.
• Ensure that there is a schedule for backing up the system and collecting statistics
and that these activities are included in any performance tests that include purging
(for example, during longevity tests).
• If you are using partition based purging, do the following:
– Ensure that partition size and purge frequency are defined and documented.
The purge frequency should provide enough time for most orders (for
example, 98%) to complete in partitions to be purged while factoring in the
retention period. This ensures that storage capacity is reclaimed in a timely
and predictable fashion.
– Ensure that performance tests are run with purge_partitions, or
drop_empty_partitions, or both to ensure that the database, storage and OSM
are tuned for maximum purging performance.
– If you have inter-order dependencies you may need to use special purge
criteria for which you should conduct tests and ensure that subsequent order
processing of dependent orders works as expected.
– Ensure that a backup is taken before running the partition purge in case an
error occurs during the purge.
– Ensure that optimizer statistics are gathered after running a partition purge so
that the updated statistics take into account the consolidated partitions.
– Ensure that the database administrator is trained to recover from common
purging problems identified in the discussion about troubleshooting and error
handling in OSM System Administrator's Guide.
• If you are using row based purging, do the following:
– Ensure that purge frequency is defined and documented. The daily or weekly
purge frequency is primarily a function of the amount of CPU and I/O available
throughout the day and week. You must run performance tests to determine
whether you have enough CPU and I/O to meet the expected daily and weekly
order volume.
– Ensure that partition size is large enough that space freed up in a partition can
be reused by new orders in the same partition. Generally partition size should
be able to accommodate at least two months worth of order data.
– Plan a schedule for when row based purging will happen on a daily and
weekly basis and at what parallelism this purging will use. If you have high
order processing volume, you would use less parallel processing. If you have
less order processing volume, you can use more parallel processing.
• Ensures that the maximum expected number of OSM partitions multiplied by
the number of sub-partitions (for example, 32) never exceeds 4800. This is the
practical database server scalability limits on number of partitions.
A-6
Appendix A
Checking for Database Optimizer Statistics Schedule
• Ensure that enough storage capacity is available to persist all in-progress orders,
pre-created empty partitions including a margin of safety in case of delays in
purging completed partitions.
• If the OSM solution includes additional database tables, ensure that you have
database management strategies that include purging (if applicable) and backup.
• Ensure that operational procedures exist for purging and dropping partitions, for
undeploying unneeded cartridge versions, and for creating empty partitions to
receive new orders for the upcoming production period (for example, the next
month).
Useful information to share:
• What is the partition size (number of orders), number of Oracle RAC nodes, and
number of subpartitions configured?
• If using partition based purging, what is the expected number of days (starting
from first order creation) required for a partition to complete most (for example,
~98%) of its orders to be ready for purging?
• If using row based purging, what is the row based purging schedule and purge
rate (purged orders per minute).
• How long do you plan to retain orders (order retention policy) after orders have
completed?
• How frequently do you plan to add and drop partitions?
• Are you planning to use purge_partitions, to retain a small percentage of orders
still not completed, or to drop_empty_partitions, having completed (or aborted) all
orders?
A-7
Appendix A
Checking for Outage and Order Failure Plans
• Ensure that a backup and disaster recovery strategy is in place for this OSM
deployment.
Useful information to share:
• What is the daily OSM production schedule (peaks, batch operations, backups,
and database statistics gathering)?
• What are the key elements of the OSM database statistics gathering procedure?
A-8
Appendix A
Checking for Performance Monitoring Procedures
A-9
Appendix A
Checking for Performance Monitoring Procedures
• Capture and track key system performance metrics such as application server
and database server CPU utilization, memory consumption, and storage I/O and
capacity.
A-10
B
Upgrading OSM to an Oracle RAC
Environment
This appendix describes how to upgrade an existing Oracle Communications Order
and Service Management (OSM) system that uses a single-instance database to
an environment that uses Oracle Real Application Clusters (Oracle RAC). You can
perform the upgrade using one of two methods:
• Upgrade OSM after converting the database to Oracle RAC
• Upgrade OSM to Oracle RAC using Data Pump Import Export
Upgrade Overview
To upgrade OSM to Oracle RAC using Oracle Data Pump, perform the following
general steps:
1. Shut down the OSM Server. See "Shutting Down the OSM Server."
2. Turn off the OSM Notification Engine. See "Turning Off the Notification Engine."
3. Export and then import the data from the database using Oracle Data Pump. See
"Exporting and Importing the Database Data."
B-1
Appendix B
Upgrading OSM to Oracle RAC Using Data Pump Import and Export
Note:
Step 3 should be performed by a Database Administrator. Steps 2 and
5 may need to be performed by someone with database administration
experience.
4. Run the OSM installer to upgrade the OSM database schema and configure the
WebLogic Server resources. See "Performing the OSM Upgrade" for detailed
installation steps.
5. Restart the Notification Engine. See "Restarting the Notification Engine."
6. Restart the OSM Server. See "Restarting the OSM Server."
The database will halt any jobs that are currently running.
4. Enter the following command into SQL*Plus:
select * from user_jobs;
This should return no jobs running. If there are still any jobs running, consult a
DBA.
B-2
Appendix B
Upgrading OSM to Oracle RAC Using Data Pump Import and Export
If this command returns two running jobs, you do not have to restart the
Notification Engine manually: go to "Restarting the OSM Server."
3. Enter the following commands into SQL*Plus:
update om_parameter
set value = 'Y'
where mnemonic = 'run_jobs';
update om_parameter
set value = '600'
where mnemonic = 'job_monitor_interval';
commit;
B-3
Appendix B
Upgrading OSM to Oracle RAC Using Data Pump Import and Export
B-4
C
OSM Development System Guidelines and
Best Practices
This appendix provides guidelines and best practices for the various technologies and
components that make an Oracle Communications Order and Service Management
(OSM) development system.
C-1
Appendix C
Preparing the Database
C-2
Appendix C
Preparing WebLogic Server
After you install the database, you must add a permission to the database
administrator user that you are going to use during the OSM installation. To do this, log
in to SQL*Plus as sysdba and run the following:
grant create any context to sysuser as sysdba with admin option
where sysuser is a user with sysdba privileges that you intend to use during OSM
installation.
Database Parameters
Use the values of the database parameters specified for production systems.
Tablespaces
For non-production environments, one permanent tablespace is enough for the OSM
data, and OSM can use the default temporary tablespace for the database instance.
You install WebLogic Server on all machines that will participate in your domain. The
installation directories must be the same on all machines. For complete installation
instructions and general information about installing and configuring WebLogic Server,
see the WebLogic Server documentation.
C-3
Appendix C
Preparing WebLogic Server
Note:
See "OSM Compatibility Matrix" for WebLogic Server version and patch
information. Ensure that you use the WebLogic Server documentation
specific to the required WebLogic Server version.
C-4
Appendix C
Preparing WebLogic Server
./rcu
• On Windows:
rcu.bat
The Repository Creation Utility Welcome screen appears.
3. Click Next.
The Create Repository screen is displayed.
4. Select Create Repository, and then click Next.
The Database Connection Details screen is displayed.
5. Enter database details in the fields provided (for example, Database Type, Host
Name, Port, and so on), and then click Next. Use the host name of one of the
Oracle RAC instances. Do not use the SCAN IP address.
The installer checks the prerequisites. After the prerequisite checks are
completed, click OK, and then click Next.
The Components screen is displayed.
6. Select the Create a New Prefix option, and enter a new prefix for the schema that
will be used for the WebLogic domain.
7. In the table, expand the AS Common Schemas component, and select the
following components:
• Oracle Platform Security Services (prefix_OPSS)
• Audit Services (prefix_IAU)
• Audit Services Append (prefix_IAU_APPEND)
• Audit Services Viewer (prefix_IAU_VIEWER)
• Common Infrastructure Services (prefix_STB)
where prefix is the prefix name you entered at step 6.
8. On the Schema Passwords screen, select the Use the same password for all
schemas option. Enter and confirm a password to use for the schemas, and then
click Next.
The Map Tablespaces screen is displayed. You can click the Manage
Tablespaces button when you want to change existing tablespaces. For this
procedure, click Next. A Repository Creation notification is displayed. Click OK.
Tablespaces are created, and the progress is displayed in a pop-up notification.
When the operation is completed, click OK.
The Summary screen is displayed.
9. Click Create.
Note:
RCU may take several minutes to create the schemas. If creating the
schemas takes an unusual amount of time, Oracle recommends that you
purge the database recycle bin to ensure that RCU schemas are created
more quickly the next time. For more information, see "OSM and RCU
Installers Are Slow to Run Database Tablespace Query".
C-5
Appendix C
Preparing WebLogic Server
C-6
Appendix C
Preparing WebLogic Server
as there are Oracle RAC node instances. For example, if you have two
Oracle RAC nodes, you must have at least two managed servers.
See "Installing and Configuring the WebLogic Server Cluster" for detailed
instructions about creating a WebLogic Server cluster.
• If you are creating an administration server with a single managed server, do
the following:
– On the Managed Servers screen, add one managed server.
– On the Deployments Target screen, target all the deployments to the
managed server. The targets you select must have ADF installed.
• If you are creating a domain on Oracle Solaris and you plan to choose JMS
File Store (as opposed to JMS JDBC Store) for JMS message persistence
during the OSM installation, on the Advanced Configuration screen, select
JMS File Store.
C-7
Appendix C
Preparing WebLogic Server
Note:
The following values are suitable if your system has more than 4 GB
of memory and you are running Windows 7 with the 64-bit Java 7
Development Kit. Otherwise, smaller values are more appropriate.
• If you find the search text, change the value of the variable so that the
following options are set to the following options or larger:
-Xms4g -Xmx4g -Xmn2g
• If you do not find the search text, do the following:
a. Search for the following:
@REM IF USER_MEM_ARGS the environment variable is set, use it to
override ALL MEM_ARGS values
b. Above the line that you searched for, add the USER_MEM_ARGS
environment variable as follows:
set USER_MEM_ARGS=-Dweblogic.wsee.useRequestHost=true -Xms4g -Xmx4g
-Xmn2g
C-8
Appendix C
Preparing WebLogic Server
c. Click the name of the WebLogic server where you want to deploy the
cartridges.
The configuration parameters for the server are displayed on a tabbed page.
d. Click the Tuning tab, and modify the value of the Stuck Thread Max Time
parameter to 1200 in seconds or greater.
e. Click Save.
2. Increase the value of the Timeout Seconds Java Transaction API parameter as
follows:
a. In the Domain Structure tree of the WebLogic Server Administration Console,
click the name the WebLogic server domain.
The configuration parameters for the domain are displayed on a tabbed page.
b. Click the JTA tab, and modify the value of the Timeout Seconds parameter to
an appropriate value. In most cases, a value of 600 seconds is enough.
Note:
If the value is less than 600 when you run the Installer, you are
prompted to increase it during installation.
c. Click Save.
3. Increase the value of the cartridge deployment transaction timeout parameter as
follows:
a. Open the startWebLogic.sh (UNIX or Linux) or startWebLogic.cmd
(Windows) file for your WebLogic domain.
b. Search for the following string:
-
Dcom.mslv.oms.cartridgemgmt.DeployCartridgeMDB.CartridgeDeploymentTransac
tionTimeout
c. Increase the value of the parameter.
For example, in startWebLogic.sh in a UNIX or Linux environment:
export JAVA_OPTIONS="${JAVA_OPTIONS} -
Dcom.mslv.oms.cartridgemgmt.DeployCartridgeMDB.CartridgeDeploymentTransac
tionTimeout=600"
Note:
The maximum value for this parameter is 3600 seconds. If you
exceed this limit, the value is restored to the default of 600 seconds.
Try again with a value that is less than or equal to the maximum.
C-9
Appendix C
Other Supported High-Availability Options
Note:
Oracle recommends the use of ASM to optimize storage performance
and usage, and to tolerate storage failures. You may need to use other
storage systems, such as Oracle Automatic Cluster File System (ACFS),
or storage on raw devices. For more information, see the respective
product documentation.
3. Create an ASM disk group on shared storage which is accessible to both nodes A
and B.
C-10
Appendix C
Other Supported High-Availability Options
4. Install a software-only version of Oracle Database into a new Oracle home on both
nodes.
5. Use the database configuration assistant (DBCA) to create a single-instance
database on node A, sharing data files stored on the ASM disk group created
in step 3.
6. Create a new virtual IP address on node A.
7. Implement the scripts provided in the Oracle white paper Using Oracle
Clusterware to Protect A Single Instance Oracle Database. The scripts must be
run on both nodes to protect the single-instance database, virtual IP address, and
listener.
8. Start the database, listener, and ASM instance on node A using Oracle
Clusterware.
9. Start the ASM instance on node B.
You have now configured your database instances for cold cluster failover. Once you
have installed OSM, you can configure a WebLogic instance to automatically restart
when the database fails. See "Configuring WebLogic for Cold Cluster Failover" for
more information.
C-11
Appendix C
Other Supported High-Availability Options
C-12
D
Silent Installation install_cfg.xml
Parameters
This appendix lists and describes silent installation install_cfg.xml parameters for
Oracle Communications Order and Service Management (OSM).
WebLogic Parameters
Table D-1 lists the WebLogic parameters for a silent installation of OSM.
D-1
Appendix D
WebLogic Parameters
D-2
Appendix D
WebLogic Parameters
D-3
Appendix D
OSM Parameters
OSM Parameters
Configuring the OSM parameters lets you customize web client behavior and enter
specific information in the worklist rows, or the notification e-mail address or any of the
nodes you see. Set these parameters depending on your preferences.
Table D-2 lists the OSM parameters for a silent installation of OSM.
D-4
Appendix D
Database Parameters
Database Parameters
The database parameters are optional except for the Database-Admin-Password.
Table D-3 describes the Database Parameters for OSM silent installation.
D-5
Appendix D
Database Parameters
D-6
Appendix D
Database Parameters
D-7
E
Installing OSM on Engineered Systems
This appendix describes recommendations for installing Oracle Communications
Order and Service Management (OSM) on engineered systems.
JDBC Recommendations
This section includes recommendations for JDBC.
For engineered systems, Oracle recommends that you use SDP protocol over
Infiniband (IB). This protocol enables multiple performance enhancements, such as
input/output, thread management, and request handling efficiency. Typical steps to
enable the SDP protocol include:
• Ensure the physical Infiniband connection exists and is operational between the
WebLogic server host and the database host.
• Set up an SDP listener on the Infiniband network.
• In the JDBC URL, replace TCP protocol with SDP protocol, and if necessary,
change the port number to match the SDP listener's port. For example:
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=SDP)(HOST=VIP_addr)
(PORT=port))(CONNECT_DATA=(SERVICE_NAME=service_name)
(INSTANCE_NAME=instance_name)))
• Manually add the following system properties to the startWebLogic.sh or
startManagedServer_xx.sh.
-Djava.net.preferIPv4Stack=true
-Doracle.net.SDP=true
• Initial Capacity: Oracle recommends setting this value to Max Capacity for
production deployments to avoid shrinking and growing of the JDBC pool size.
Setting the Initial Capacity value impacts available resources on both WebLogic
server and database server by consuming additional resources at the start up
time, and also lengthens the server start up time.
• Max Capacity: Set this to a peak and sustainable value, which can be supported
by both by WebLogic server (additional memory and processing) and the database
server (session resources and concurrency). In uniform cluster deployments of
JDBC connection pools to a cluster, the Max Capacity value applies to each
WebLogic server node individually, not for the whole cluster. Set Max Capacity
such that ((nodes x Max Capacity) <= sessions), where nodes is the number
of nodes in the WebLogic Server cluster and sessions is the number of peak,
concurrent, and safely sustainable sessions to the database server.
E-1
Appendix E
Configuring Exalogic
Note:
Max Capacity is an important parameter that requires iterative tuning
based on scenario and workload. One approach is to set it to a high
value for peak load tests, and monitor what percentage of it has been
used, and then adjust the MaxCapacity to at least that high.
• Statement Cache Size: The prepared statement cache size is used to keep a
cache of compiled SQL statements in memory, thus improving the performance
by avoiding repeated processing in the WebLogic server and database. For lightly
used data sources, the default value of 10 is enough. For production systems,
Oracle recommends a value of 30 to 40.
Note:
Each JDBC connection in the Connection Pool creates its own prepared
statement cache. When you tune this parameter, consider the additional
memory consumption demand caused by (steady size of Connection
Pool x Prepared Statement Cache Size). A demand that is too high may
cause "Out of Memory" exceptions on WebLogic server and may disable
the connection pool altogether, rendering the server useless. Tuning
Statement Cache Size is achieved by an iterative process, influenced by
factors of the scenario, workload, and steady state size of the connection
pool for the given data source.
SDP does not support Oracle Single Client Access Name (SCAN) addresses. It
supports VIP addresses over InfiniBand. Please see the Oracle documentation for
more instructions on configuring Engineered Systems with SDP.
Configuring Exalogic
The following sections provide recommendations for configuring the application layer.
Parameter Value
Core file size 0
Data seg size Unlimited
Scheduling priority 0
File size Unlimited
Pending signals 774889
Max locked memory Unlimited
Max memory size Unlimited
E-2
Appendix E
Configuring Exalogic
Parameter Value
Open files 65536
Pipe size 8
POSIX message queues 819200
Real-time priority 0
Stack size 8192
CPU time Unlimited
Max user processes 774889
Virtual memory Unlimited
File locks Unlimited
Parameter Value
net.ipv4.ip_forward 0
net.ipv4.conf.default.rp_filter 2
net.ipv4.conf.default.accept_source_route 0
kernel.sysrq 0
kernel.core_uses_pid 1
net.ipv4.tcp_syncookies 1
kernel.msgmnb 65536
kernel.msgmax 65536
kernel.shmmax 68 719 476 736
kernel.shmall 4 294 967 296
net.ipv4.tcp_rmem 16 777 216
16 777 216
16 777 216
net.ipv4.tcp_wmem 16 777 216
16 777 216
16 777 216
net.ipv4.tcp_mem 16 777 216
16 777 216
16 777 216
net.core.optmem_max 16 777 216
net.core.rmem_max 16 777 216
net.core.wmem_max 16 777 216
E-3
Appendix E
Configuring Exalogic
Parameter Value
net.core.rmem_default 16 777 216
net.ipv4.ip_local_port_range 9000
65500
vm.nr_hugepages 10000
fs.file-max 262144
net.core.netdev_max_backlog 250000
net.ipv4.tcp_timestamps 1
net.ipv4.tcp_window_scaling 1
vm.dirty_background_ratio 3
vm.min_free_kbytes 1 048 576
net.ipv4.tcp_fin_timeout 15
net.ipv4.tcp_keepalive_time 120
net.core.somaxconn 1024
net.ipv4.tcp_sack 0
net.ipv4.tcp_dsack 0
net.ipv4.tcp_keepalive_probes 3
net.ipv4.tcp_keepalive_intvl 30
Parameter Value
JTA Timeout 600 seconds
JMS Persistence Mechanism FileStore on SAN
# of SAF Agents 32: OSM
JDBC: Initial Capacity 64: OSM
JDBC: Increment 1
Statement Cache Size 48: OSM
Work Managers 80: OSM oms.automation.core; 10: oms.xml
Message Bridge Threads 2
Accept backlog 900
FileStore Write Policy Direct-Write-With-Cache
JDBC: Max Capacity 128: OSM
JDBC: Shrink Frequency 60
JDBC: Row Prefetch Size 200
E-4
Appendix E
Tuning the Oracle Database
Parameter Value
WLS: Native IO True
Cluster Messaging Mode Multicast1
JVM Options
Table E-4 shows the Java virtual machine (JVM) options for an Exalogic system.
Parameter Value
64-bit packages Yes
64 bit mode -d64
Production Mode True
JVM HotSpot -server
JVM: net IPv4 -Djava.net.preferIPv4Stack=true
SDP -Doracle.net.SDP=true
WLS: Sockets -Dweblogic.SocketReaders=16
WLS: Threads -Dweblogic.threadpool.MinPoolSize=300
E-5
Appendix E
Tuning the Oracle Database
Note:
Oracle recommends that you use the default value for commit_wait and
ensure that values for sga_max_size and sga_target for SSC are equal.
This is to avoid major issues with the Solaris kernel.
Table E-6 suggests initial values for tuning parameters for the Oracle database.
For information about collecting more accurate database statistics, see the knowledge
article about best practices for managing optimizer statistics [Doc ID 1662447.1],
available from the Oracle support website:
https://support.oracle.com
Note:
OSM installer sets up only two active Oracle RAC nodes by default. For
information about adding more nodes, see "Changing the WebLogic Server
or Oracle RAC Database Size".
Database Storage
Recommendations for setting up database storage include the following:
• Use Automatic Storage Management (ASM) for managing data disk storage.
E-6
Appendix E
Tuning the Oracle Database
• For storage reliability, use Normal (two-way mirrored) Redundancy and ensure
that the tablespace, data files, and redo logs are on this storage.
• Place redo logs, which are sensitive to storage response time, should be put on
storage with a service time of less than 5 ms.
• Specify large redo log files to avoid frequent redo log switching. For redundancy,
use a mirrored configuration for redo logs.
• Finalize the requirements for latency and IOPS during your hardware sizing
exercise.
Recommendations for configuring tablespaces include the following:
• Use Automatic Segment Space Management (ASSM) for each tablespace.
• Whenever disk space permits, use BIGFILE for tablespace creation. This
simplifies the management of tablespace allocation by using a single data file for
tablespace.
• If you must use a SMALLFILE tablespace, plan for the possibility that a large
number of data files might be created for OSM schema. Plan to implement a
naming convention for data files and find an ideal location for data files that allows
for future growth.
E-7
F
Installing OSM on Oracle Cloud
Infrastructure
OSM is certified on Oracle Cloud Infrastructure (OCI). The OSM database can be
installed on an OCI DB system (BareMetal, Virtual Machine, and Exadata) running
version 19c as a regular 1-node database or as a 2-node RAC database. The
OSM application, the application server, Java and other middleware components
can be installed on an OCI Compute instance (BareMetal and Virtual Machine)
running Linux 7.6+. For more information, see the Installing OSM on Oracle Cloud
Infrastructure (Doc ID: 2609018.1) knowledge article on My Oracle Support. Also, refer
to the Recommended Patches for OSM Software Components (Doc ID: 2170105.1)
knowledge article on My Oracle Support for patch recommendations for both database
and middleware components.
Note:
At this time, OSM is not supported on Oracle Autonomous Transaction
Processing and Oracle Autonomous Data Warehouse.
F-1