Skip Headers
Oracle® Fusion Middleware System Administrator's Guide for Oracle Business Intelligence Enterprise Edition
11g Release 1 (11.1.1)

Part Number E10541-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

5 Scaling Your Deployment

This chapter describes how to manage the capacity of your deployment. By default for an Enterprise Install or Software Only Install type, the Oracle Business Intelligence components are installed in a cluster configuration and are scalable. (The Simple Install type does not support scaling.) User Web requests can be directed to one of many Oracle BI Presentation Services components. In turn, each Presentation Services component can take advantage of the availability of multiple Oracle BI Servers.

You can expand or reduce the capacity of the system by adjusting the number of processes available to the cluster. Increasing or decreasing the capacity of a system by making effective use of resources is known as scalability. A scalable system can handle increasing numbers of requests without adversely affecting response time and throughput.

This chapter includes the following topics:

Note:

Because the Simple Install type deploys Oracle Business Intelligence components in the Administration Server, you cannot scale out a deployment that is based on the Simple Install type. Use an Enterprise Install or Software Only Install type for production deployments.

5.1 About Scaling Oracle Business Intelligence

Scaling is the process of increasing or decreasing the capacity of the system by changing the number of processes available to service requests from Oracle Business Intelligence clients. Scaling out a system provides additional capacity, while scaling in a system reduces capacity. Scaling is also a critical part of configuring a deployment for high availability.

Scaling the Oracle Business Intelligence environment applies principally to resource-intensive system processes and Java components. When you deploy more processes, Oracle Business Intelligence can handle more requests while staying responsive to requests.

Vertical scaling involves adding more Oracle Business Intelligence components to the same computer, to make increased use of the hardware resources on that computer. For example, Oracle Business Intelligence can be vertically scaled by increasing the number of system components servicing requests on a given computer and results in increased use of the hardware resources on a given computer.

Horizontal scaling involves adding more computers to the environment. For example, Oracle Business Intelligence is horizontally scaled by distributing the processing of requests across multiple computers.

You can scale both Oracle Business Intelligence Java components and system components. See Section 1.3.3, "About Java Components and System Components for Oracle Business Intelligence" for more information about these components.

The three system components that support both horizontal and vertical scale-out are Oracle BI Presentation Services, the Oracle BI Server, and the JavaHost.

Oracle BI Scheduler uses Presentation Services and Oracle BI Server processes to perform computationally intense work on its behalf, while the Cluster Controller only manages other components and does not itself do any computationally intense work. Because of this, there is no need to scale out either Oracle BI Scheduler or the Cluster Controller. You can distribute these two processes as needed for high availability deployments, but they do not need to be scaled for capacity.

5.1.1 How Do I Know When to Scale Out Processes?

Scale out system components and Managed Servers based on observed load. You can use the performance metrics that are provided in Fusion Middleware Control to monitor process state and to determine when you must increase capacity to improve performance. For example, you might want to add a computer to the deployment when CPU usage is over 50%, or when memory use is close to the system limit. See Section 7.1, "Monitoring Service Levels" for more information about viewing system metrics.

You also must scale out processes to achieve redundancy when you want to configure a highly available Oracle Business Intelligence environment. See Section 6, "Deploying Oracle Business Intelligence for High Availability" for more information.

5.1.2 What Processes Should I Scale?

Oracle Business Intelligence provides support for scale-out using a combination of the Oracle Business Intelligence installer (for horizontal scale-out) and Fusion Middleware Control (to scale system components both vertically and horizontally).

Follow these guidelines for scaling Managed Servers and system components:

  • Ensure that you run one Managed Server on each computer in the deployment. The Oracle Business Intelligence installer automatically provisions one Managed Server. Do not disable or remove it.

  • It is not necessary to run multiple Managed Servers on a given computer.

  • Do not remove individual Java components, because many perform essential services for the system. Keep a full set of Java components on each Managed Server. Any unused components should not have a significant performance impact.

  • You can decide based on observed load which system components to run on each computer. You can have 0 or more of each component type on a given computer in the deployment. For example, you can have three Oracle BI Servers, two JavaHosts, and four Presentation Services components.

  • You do not need to scale any configured HTTP servers along with either the Managed Servers or system components. HTTP server configuration is independent of the number of processes that you run.

5.2 Vertically Scaling Oracle Business Intelligence

When you have multiple instances of a given Oracle Business Intelligence component in the deployment, you should first configure shared files and directories for the clustered components to use. Then, use Fusion Middleware Control to increase the number of system components that run on the existing Oracle Business Intelligence host.

It is not necessary to run multiple Managed Servers on a given computer. Because of this, vertical scale-out only applies to Oracle Business Intelligence system components.

Table 5-1 lists the tasks that you must perform to vertically scale Oracle Business Intelligence.

Table 5-1 Task Summary for Vertical Scale-Out

Task Where to Go for More Information

Configure shared files and directories for the Oracle BI repository, Oracle BI Presentation Catalog, global cache, and Oracle BI Scheduler scripts

Section 5.4, "Setting Up Shared Files and Directories"

Scale out the necessary Oracle Business Intelligence system components

Section 5.5, "Using Fusion Middleware Control to Scale System Components"


5.3 Horizontally Scaling Oracle Business Intelligence

As with vertical scale-out, when you have multiple instances of a given Oracle Business Intelligence component in the deployment, you should first configure shared files and directories for the clustered components to use.

Next, to horizontally scale out the Oracle Business Intelligence Java and system components, install Oracle Business Intelligence on the new host by running the Oracle Business Intelligence installer and selecting Enterprise Install. Then, select the Scale Out BI System option.

When the installation completes, the Oracle Business Intelligence Java components are available on the new Managed Server. Note that the first Managed Server for Oracle Business Intelligence Java components is called bi_server1. When you scale out using the Enterprise Installation with Scale Out BI System option, additional Managed Servers are called bi_server2, bi_server3, and so on.

After you complete the Enterprise Install, you must provision the scale out for the Oracle Business Intelligence system components on the new host using Fusion Middleware Control. You also typically configure an HTTP server and load balancer to distribute requests across Managed Servers.

Table 5-2 lists the tasks that you must perform to horizontally scale Oracle Business Intelligence.

Table 5-2 Task Summary for Horizontal Scale-Out

Task Where to Go for More Information

Configure shared files and directories for the Oracle BI repository, Oracle BI Presentation Catalog, global cache, and Oracle BI Scheduler scripts

Section 5.4, "Setting Up Shared Files and Directories"

Run the Oracle Business Intelligence installer on the new host and select the Enterprise Install option

"Enterprise Install to Scale Out Existing Installations" in Oracle Fusion Middleware Installation Guide for Oracle Business Intelligence

Scale out the Oracle Business Intelligence system components on the new host

Section 5.5, "Using Fusion Middleware Control to Scale System Components"

Configure an HTTP server with a load balancer to distribute requests across multiple Managed Servers

Oracle Fusion Middleware Using Web Server Plug-Ins with Oracle WebLogic Server

"Load Balancing in a Cluster" in Oracle Fusion Middleware Using Clusters for Oracle WebLogic Server


5.4 Setting Up Shared Files and Directories

When you have multiple instances of a given Oracle Business Intelligence component, you can share certain files and directories on a shared storage device such as NAS or SAN to simplify management of your system. It is recommended that you host the Oracle BI repository (RPD file), Oracle BI Presentation Catalog, global cache, and shared Oracle BI Scheduler scripts on shared storage before you scale out Oracle Business Intelligence components.

This section contains the following topics:

5.4.1 Uploading and Sharing the Oracle BI Repository

It is recommended that you configure a repository publishing directory so that the repository can be shared by all Oracle BI Servers participating in a cluster. This directory holds the master copies of repositories that are edited in online mode. The clustered Oracle BI Servers examine this directory upon startup for any repository changes.

To share the Oracle BI repository:

  1. Create a shared directory for the Repository Publishing Directory. The Master BI Server must have read and write access to this directory. All other Oracle BI Servers must have read access.

  2. Use the Repository tab of the Deployment page in Fusion Middleware Control to designate the shared location for the Oracle BI repository. See Section 10.2, "Using Fusion Middleware Control to Upload a Repository and Set the Oracle BI Presentation Catalog Location" for more information.

    Note that when you configure a shared repository, the repository file that you upload in Fusion Middleware Control is copied to both the shared location and to the local repository directory for each Oracle BI Server. Do not delete the local repository copies, or set read-only file permissions on them, because they are needed by the system.

5.4.2 Sharing the Oracle BI Presentation Catalog

It is recommended that you configure a shared directory for the Oracle BI Presentation Catalog so that it can be shared by all Presentation Services components in a cluster.

Because the Oracle BI Presentation Catalog consists of a large number of heavily accessed small files, there are two important considerations for the shared file system:

  • File Limits: The Oracle BI Presentation Catalog can consist of thousands of files. In many cases, this might exceed file limits for shared file systems. Check the storage vendor documentation for instructions on extending the file limit.

  • Snapshots: Backup activity such as snapshots might adversely affect the performance of Oracle BI Presentation Catalog files, which are small, dynamic files. Ensure that snapshot activity is at a reasonable level that maximizes performance without impacting availability.

To share the Oracle BI Presentation Catalog:

  1. Create a network share for the Oracle BI Presentation Catalog. All Presentation Services components in the cluster must have read and write access to this share.

  2. Place the catalog on the network share.

  3. Use the Repository tab of the Deployment page in Fusion Middleware Control to change the location of the Oracle BI Presentation Catalog to the shared location. See Section 10.2, "Using Fusion Middleware Control to Upload a Repository and Set the Oracle BI Presentation Catalog Location" for more information.

5.4.3 Setting Up the Global Cache

The global cache is a query cache that is shared by all Oracle BI Servers participating in a cluster. For more information, see Section 7.4.6, "About the Global Cache."

It is recommended that you configure the global cache so that cache seeding and purging events can be shared by all Oracle BI Servers participating in a cluster.

To set up the global cache:

  1. Create a shared directory for the global cache. All Oracle BI Servers must have read and write access to this directory.

  2. Use the Performance tab of the Capacity Management page in Fusion Middleware Control to set the Global cache path and Global cache size options. See Section 7.5.4, "Using Fusion Middleware Control to Set Global Cache Parameters" for more information.

5.4.4 Setting the Scheduler Script Path and Default Script Path

If you use server-side scripts with Oracle BI Scheduler, it is recommended that you configure a shared directory for the scripts so that they can be shared by all Oracle BI Scheduler components in a cluster.

In this release, the Action Framework supersedes the need to use server-side scripts for agents. See "Working with Actions" in Oracle Fusion Middleware User's Guide for Oracle Business Intelligence Enterprise Edition for more information about using Actions.

Perform these steps only if you are use server-side scripts from a previous release.

To share Oracle BI Scheduler scripts:

  1. Create network shares for the Oracle BI Scheduler scripts. The Oracle BI Scheduler servers must have read and write access to this share.

  2. Copy the default and custom Oracle BI Scheduler scripts to the corresponding network shares created for the Oracle BI Scheduler scripts.

  3. Update the SchedulerScriptPath and DefaultScriptPath elements of the Oracle BI Scheduler instanceconfig.xml file.

    You must update this file for each Oracle BI Scheduler component in the deployment. See Section 19.3.3.1, "General Scheduler Configuration Settings That Affect Agents" for more information about setting these two parameters.

5.5 Using Fusion Middleware Control to Scale System Components

You can use the Scalability tab of the Capacity Management page in Fusion Middleware Control to scale in or scale out the Oracle BI Server, Presentation Services, or JavaHost system components.

You can follow the procedure that is described in this section to scale the system components both vertically (on the same computer) or horizontally (on multiple computers). When you follow the procedure, keep in mind that the number of servers and hosts that you define has an impact on the amount of disk space that is required for the Oracle Business Intelligence installation. Ensure that you monitor the disk space on the systems when scaling out the environment. Additional log file activity also results when you scale out the environment.

Figure 5-1 shows the Scalability tab of the Capacity Management page.

Figure 5-1 Scalability Tab of Capacity Management Page in Fusion Middleware Control

Description of Figure 5-1 follows
Description of "Figure 5-1 Scalability Tab of Capacity Management Page in Fusion Middleware Control"

Before you begin this procedure, ensure that you are familiar with the information in Section 3.2, "Using Fusion Middleware Control to Update Oracle Business Intelligence Configuration Settings."

To scale Oracle Business Intelligence system components:

  1. Go to the Business Intelligence Overview page, as described in Section 2.2.3, "Using Fusion Middleware Control to Manage Oracle Business Intelligence System Components."

  2. Display the Scalability tab of the Capacity Management page.

    Click the Help button on the page to access the page-level help for its elements.

  3. Click Lock and Edit Configuration to allow changes to be made.

  4. Change the number of BI Servers, Presentation Servers, or JavaHosts using the arrow keys.

    If you have scaled out the Oracle BI System on a new host using the Enterprise Install option or the Configuration Assistant, then the number of system components configured on that host is zero. Add system components on the new host to complete the horizontal scale-out operation.

    To vertically scale the system components, increment the number of each component to be greater than 0 for a given host.

  5. A default port range is assigned automatically for use by the components within the given Oracle instance. Note that Oracle BI Scheduler and Cluster Controller component processes in this instance are also assigned ports within this range, in addition to the BI Server, Presentation Services, and JavaHost component processes.

    Typically, you can keep the default port range. If necessary, enter a different range of ports available using the Port Range From and Port Range To arrows, or enter a value directly.

  6. Optionally, for Listen Address, you can enter the DNS name or IP address for the components in the given Oracle instance to use to listen for incoming connections. Typically, you can keep this element blank (the default value) to indicate that the components should listen on all available local interfaces.

  7. Click Apply, then click Activate Changes.

  8. Return to the Business Intelligence Overview page and click Restart.

    The changes are automatically written to the corresponding configuration files, and the new processes join the cluster.

For information about using methods in the Oracle BI Systems Management API to scale out components, see Chapter 22, "Introducing the Oracle BI Systems Management API."

5.6 Validating That Your System Has Been Scaled Correctly

You can use Fusion Middleware Control and the Oracle WebLogic Server Administration Console to verify the status of the scaled-out components.

This section contains the following topics:

5.6.1 Using Fusion Middleware Control to View System Component Availability

You can use Fusion Middleware Control to view the status of all system components in your deployment.

To view status for system components:

  1. Go to the Business Intelligence Overview page, as described in Section 2.2.3, "Using Fusion Middleware Control to Manage Oracle Business Intelligence System Components."

  2. Display the Processes tab of the Availability page.

    On this page, you can:

    • View the status of all configured system components

    • View the host, port, and Oracle instance where the each system component is currently running

    • Start, stop, or restart individual system components

    • Start, stop, or restart all system components of a particular type

    • Start, stop, or restart all processes

    Click the Help button on the page to access the page-level help for its elements.

Figure 5-2 shows the Processes tab of the Availability page.

Figure 5-2 Processes Tab of Availability Page in Fusion Middleware Control

Description of Figure 5-2 follows
Description of "Figure 5-2 Processes Tab of Availability Page in Fusion Middleware Control"

5.6.2 Using the Administration Console to View Managed Server Availability

You can use the Administration Console to view the status of all Managed Servers in your deployment.

To view status for Managed Servers:

  1. Log in to the Oracle WebLogic Server Administration Console.

  2. Select Environment, then select Servers to go to the Summary of Servers page. On this page, you can see any Managed Servers that were added on new hosts in your deployment.

Figure 5-3 shows the Summary of Servers page.

Figure 5-3 Summary of Servers Page in Oracle WebLogic Server Administration Console

Description of Figure 5-3 follows
Description of "Figure 5-3 Summary of Servers Page in Oracle WebLogic Server Administration Console"