This chapter describes the steps to scale out your initial Oracle Business Intelligence domain to BIHOST2.
Scaling out your components involves installing the Oracle Business Intelligence on the other host computers, stopping and cloning the components on BIHOST1, packing and unpacking the domain and starting the components after scaling out.
Cloning the Components on BIHOST1
After stopping all the component processes, you must clone the components in the domain on BIHOST1, which will create new components on BIHOST2 based on the initial domain you created.
Packing Up the Initial Domain on BIHOST1
Use the steps in this section to create a template jar file that contains the domain configuration information, which now includes configuration information about the Oracle HTTP Server instances.
Unpacking the Domain on BIHOST2
Use the steps in this section to unpack the domain template containing the domain configuration information and copy the bidomaintemplate.jar file from BIHOST1 to BIHOST2.
Starting the Components on BIHOST1 and BIHOST2 After Scaling Out
This section describes the steps to start the component processes on BIHOST1 and BIHOST2 after scale out. The component processes include the Node Managers, the Administration Server for the WebLogic domain, the system components, and the Managed Servers.
Backing Up the Oracle Business Intelligence Configuration After Scaling Out
It is an Oracle best practices recommendation to create a backup after successfully configuring a domain or at another logical point. Create a backup after verifying that the installation so far is successful. This is a quick backup for the express purpose of immediate restoration in case of problems in later steps.
12.1 Installing Oracle Fusion Middleware Infrastructure on the Other Host Computers
If you have configured a separate shared storage volume or partition for secondary hosts, then you must install the Infrastructure on one of those hosts.
In previous releases, the recommended enterprise topology included a colocated set of Oracle HTTP Server instances. In those releases, there was a requirement to install the Infrastructure on the web tier hosts (WEBHOST1 and WEBHOST2). However, for this release, the Enterprise Deployment topology assumes that the web servers are installed and configured in standalone mode, so they are not considered part of the application tier domain. See Configuring Oracle HTTP Server for an Enterprise Deployment
Before you scale out, you must stop all the component processes in the domain on BIHOST1.
The component processes include the Node Managers, the Administration Server for the WebLogic domain, the system components, and the WLS_BI1 Managed Server, which is controlled by the Node Manager.
To stop all the components in the domain on BIHOST1, perform the following tasks.
This username and password are used only to authenticate connections between Node Manager and clients. They are independent of the server admin ID and password and are stored in the nm_password.properties file located in the following directory:
After stopping all the component processes, you must clone the components in the domain on BIHOST1, which will create new components on BIHOST2 based on the initial domain you created.
Perform the following steps on BIHOST1 to create additional components by cloning your existing Managed Server, Node Manager, system components, and service instance. You will later pack and unpack the new components on BIHOST2.
Start WLST:
cd ORACLE_HOME/oracle_common/common/bin
./wlst.sh
Open the BI Administration Server domain for updating:
wls:/offline> readDomain(‘ASERVER_HOME’)
In this example, replace ASERVER_HOME with the actual path to the domain directory you created on the shared storage device.
Run the CloneBIMachine command to create additional components based on the existing components in the initial BI domain:
Replace ASERVER_HOME with the actual path to the domain directory you created on the shared storage device.
Replace bihost2vhn.example.com with the listen address of the new machine, BIHOST2VHN.
WLS_BI1 is the server name used throughout this document for the BI Managed Server on BIHOST1. If you chose a different name, be sure to replace it as needed.
Use the steps in this section to create a template jar file that contains the domain configuration information, which now includes configuration information about the Oracle HTTP Server instances.
Sign in to BIHOST1 and run the pack command to create a template jar file as follows:
cd ORACLE_COMMON_HOME/common/bin
./pack.sh -managed=true \
-domain=ASERVER_HOME \
-template=complete_path/bidomaintemplate.jar \
-template_name=bi_domain_template
In this example:
Replace ASERVER_HOME with the actual path to the domain directory you created on the shared storage device.
Replace complete_path with the complete path to the location where you want to create the domain template jar file. You will need to reference this location when you copy or unpack the domain template jar file.
bidomaintemplate.jar is a sample name for the jar file you are creating, which will contain the domain configuration files, including the configuration files for the Oracle HTTP Server instances.
bi_domain_template is the name assigned to the domain template file.
Make a note of the location of the bidomaintemplate.jar file you just created with the pack command.
By default, the pack template file is created in the current directory where you ran the pack command. In this example, it would be created in the ORACLE_COMMON_HOME/common/bin directory, but you can specify a full path for the template jar file as part of the -template argument to the pack command.
Tip:
For more information about the pack and unpack commands, see Overview of the Pack and Unpack Commands in Creating Templates and Domains Using the Pack and Unpack Commands.
Use the steps in this section to unpack the domain template containing the domain configuration information and copy the bidomaintemplate.jar file from BIHOST1 to BIHOST2.
Log in to BIHOST2.
Copy the domain template jar file from BIHOST1 to BIHOST2.
If you haven't already, create the recommended directory structure for the Managed Server domain on the BIHOST2 local storage device.
Replace MSERVER_HOME with the complete path to the domain home to be created on the local storage disk. This is the location where the copy of the domain will be unpacked.
Replace complete_path with the complete path to the location where you created or copied the template jar file.
bidomaintemplate.jar is the directory path and name of the template you created when you ran the pack command to pack up the domain.
Note that if you are using a separate shared storage volume or partition for BIHOST2 (and redundant Oracle homes), then you must first copy the template to the volume or partition mounted to BIHOST2.
Replace APPLICATION_HOME with the complete path to the Application directory for the domain on shared storage.
Tip:
For more information about the pack and unpack commands, see "Overview of the Pack and Unpack Commands" in Creating Templates and Domains Using the Pack and Unpack Commands.
Change directory to the newly created MSERVER_HOME directory and verify that the domain configuration files were copied to the correct location on the BIHOST2 local storage device.
12.7 Starting the Components on BIHOST1 and BIHOST2 After Scaling Out
This section describes the steps to start the component processes on BIHOST1 and BIHOST2 after scale out. The component processes include the Node Managers, the Administration Server for the WebLogic domain, the system components, and the Managed Servers.
Before starting the components on BIHOST1 and BIHOST2, complete the following tasks on BIHOST2:
Before starting the new WLS_BI2 Managed Server, verify that the Node Manager listen address for the machine associated with this new Managed Server is set to the value for BIHOST2. To do this, complete the following steps:
Sign in to Fusion Middleware Control using the Administration Server credentials.
Select the drop-down for WebLogic Domain. Select Environment and then Machines.
Select the machine BIHOST2.
Click the Configuration tab and then the Node Manager tab.
Click Lock & Edit in the Change Center menu at the top right corner of the page.
Change the listen address to be the value for BIHOST2.
Click Save.
Click Activate Changes in the Change Center menu at the top right corner of the page.
Perform these manual tasks to configure Oracle BI Publisher.
Updating the JMS Shared Temp Directory
Follow these steps to update the JMS Shared Temp Directory for BI Publisher Scheduler. You need to perform the steps in this section on only one of the BI hosts (either BIHOST1 or BIHOST2).
Setting the Oracle BI EE Data Source
The Oracle Business Intelligence Enterprise Edition (BI EE) data source must point to the clustered Oracle BI Servers through the Cluster Controllers. You must perform this task in BI Publisher.
Follow these steps to update the JMS Shared Temp Directory for BI Publisher Scheduler. You need to perform the steps in this section on only one of the BI hosts (either BIHOST1 or BIHOST2).
Perform the following steps to update the BI Publisher Scheduler configuration:
Sign in to BI Publisher using one of the following URLs:
http://BIHOST1VHN:7003/xmlpserver
http://BIHOST2VHN:7003/xmlpserver
Click the Administration tab.
Click Scheduler Configuration under System Maintenance.
The Scheduler Configuration screen is displayed.
Update the Shared Directory by entering a directory that is located in the shared storage. This shared storage is accessible from both BIHOST1 and BIHOST2.
Click Test JMS.
You see a confirmation message that JMS tested successfully.
Note:
If you do not see a confirmation message for a successful test, then verify that the JNDI URL is set to the following:
cluster:t3://bi_cluster
Click Apply.
Check the Scheduler status from the Scheduler Diagnostics tab.
The Oracle Business Intelligence Enterprise Edition (BI EE) data source must point to the clustered Oracle BI Servers through the Cluster Controllers. You must perform this task in BI Publisher.
Perform the following steps to set the Oracle BI EE data source in BI Publisher:
Sign in to BI Publisher using the following URL with administrator credentials.
http://BIHOST1VHN:7003/xmlpserver
Select the Administration tab.
Under Data Sources, select JDBC Connection.
Update the Oracle BI EE data source setting by changing the Connection String parameter to the following:
Click Availability and then Processes to display the Processes tab on the Availability page.
Note the port number from the Port column.
Select Use System User.
If you do not want to use the system user for the connection, then deselect Use System User and specify the BIImpersonateUser credentials for Username and Password. For more information about the BIImpersonateUser user in this context, see Credentials for Connecting to the Oracle BI Presentation Catalog in the Oracle Fusion Middleware Developer's Guide for Oracle Business Intelligence Enterprise Edition.
Click Test Connection. You see a "Connection established successfully" message.
12.9.4 Configuring BIPJmsResource for the Oracle BI Cluster
To configure the BIPJMSResource JMS Module, you must modify some default values within the module as listed in this topic.
The BIPJMSResource JMS Module is deployed automatically when you configure Oracle Business Intelligence Publisher in an Oracle WebLogic Server domain. However, you must modify the default values for the forwarding policy for the distributed topic in a cluster configuration.
Table 12-1 Specifying Custom Values for Setting Forwarding Policy
Property Name
Description
JMS Resource
BIP distributed topic in a cluster configuration - dist_BIP.System.T_auto
Property
Forwarding Policy
Description
A distributed BIP topic in a cluster installation is configured by default with the Forwarding Policy set to Partitioned.
Recommended Setting
Change the Forwarding Policy to Replicated.
To modify the BIPJMSResource Resource settings:
Sign in to the Oracle WebLogic Server Administration Console.
From Services, click Messaging and select JMS Modules from the left navigation pane.
Click BIPJMSResource on the list of JMS Modules.
Select dist_BIP.System.T_auto on the Summary of Resources table.
Click General tab.
From the Forwarding Policy menu, select Replicated.
12.10 Backing Up the Oracle Business Intelligence Configuration After Scaling Out
It is an Oracle best practices recommendation to create a backup after successfully configuring a domain or at another logical point. Create a backup after verifying that the installation so far is successful. This is a quick backup for the express purpose of immediate restoration in case of problems in later steps.
The backup destination is the local disk. You can discard this backup when the enterprise deployment setup is complete. After the enterprise deployment setup is complete, you can initiate the regular deployment-specific Backup and Recovery process.