Oracle® Fusion Middleware Installation and Administration Guide for Oracle Exalytics In-Memory Machine 11g Release 1 (11.1.1) Part Number E24706-01 |
|
|
PDF · Mobi · ePub |
This chapter describes how to horizontally scale out the Exalytics Machine for scalability (high-availability) and performance (load balancing). Chapter 2 describes using the installation scripts for a single computer. For multiple computers (such as a two-node cluster), you use the installation scripts for the first computer, then you install the software manually on other computers, without the use of scripts. After performing the steps in this chapter, see Chapter 3, "Postinstallation Tasks."
For additional details, see "Deploying Oracle Business Intelligence for High Availability" in Oracle Fusion Middleware System Administrator's Guide for Oracle Business Intelligence Enterprise Edition.
The chapter includes the following topics:
The following are required for a high availability configuration:
Each computer has an independent TimesTen instance.
Each computer has an odbc.ini file that contains a separate DSN for each TimesTen instance. Each TimesTen DSN uses the client/server mode of connection.
A BI Server repository can point to one or more physical repositories, but one set of aggregates exists per physical data source. Each physical data source has its own connection pool.
Figure 7-1 shows a diagram of high availability for the Exalytics Machine.
Figure 7-1 HIgh-Availability for the Exalytics Machine
This section describes the steps for configuring a highly available deployment:
Section 7.3.1, "Step 1: Preparing the First Exalytics Machine"
Section 7.3.2, "Step 2: Preparing the Second Exalytics Machine"
Section 7.3.4, "Step 4: Installing Oracle Business Intelligence"
Section 7.3.5, "Step 5: Scaling Out the Existing BI Domain from the First Exalytics Machine"
Section 7.3.6, "Step 6: Installing and Configuring TimesTen"
Section 7.3.7, "Step 7: Scaling Out System Components to the Second Exalytics Machine"
Section 7.3.8, "Step 8: Configuring Shared Storage for Persistent Stores"
Section 7.3.9, "Step 9: Configuring the Front-End Load Balancer"
Tip:
Because the installation process for the second node involves mostly manual steps using the Oracle Universal Installer, connect to the Exalytics Machine using a tool such as RealVNC remote control software.
Install Oracle Exalytics on the first Exalytics Machine using the instructions that are provided in Part I, "Installation" of this guide before installing on the second Exalytics Machine.
To prepare the second Exalytics Machine:
Create the user, as described in Section 2.2.1, "Step 1: Creating the User on the Operating System."
Create the TimesTen inventory, as described in Section 2.2.2, "Step 2: Creating the Inventory for TimesTen."
Create the following directory structure:
The location of the Middleware home, which must be the same logical directory name as on the first Exalytics Machine:
/home/oracle/EXALYTICS_MWHOME
The target directory for the TimesTen installation:
/home/oracle/TimesTen
Download the files into the directory structure, as described in Section 2.2.3, "Step 3: Downloading Oracle Files into the Directory Structure." You do not have to download the files for the Repository Creation Utility.
Install Oracle WebLogic Server into the following directory, which becomes the Middleware home on the second Exalytics Machine:
/home/oracle/EXALYTICS_MWHOME
To install Oracle WebLogic Server on the second Exalytics Machine:
Run the following command:
>./ wls1036_linux64.bin
Select the custom option in the wizard and deselect Coherence, because the component does not need to be installed.
The wizard automatically selects JRockit as the JVM to use, so keep this option selected.
When the installation has completed, clear the option to run "quickstart" because this option is not required.
To perform a Software Only Install of Oracle Business Intelligence on the second Exalytics Machine:
Enter the following commands:
cd /home/oracle/EXALYTICS_INSTALLERS/bi/bishiphome/disk1 >./runInstaller
The first time that you install on the second Exalytics Machine, you are prompted to log in as "root" and to run a script to create the Oracle Inventory. Ensure that the location specified is /home/oracle/oraInventory.
Navigate through the pages of the wizard until you can select the option to perform a Software Only Install.
On the next page, ensure that the Oracle Middleware Home property is set to the directory where you installed Oracle WebLogic Server.
The Oracle Home directory can be the default of Oracle_BI1.
Navigate through the remaining pages of the wizard until the installation is complete.
To scale out the BI Domain from the first Exalytics Machine:
Enter the following commands:
cd /home/oracle/EXALYTICS_MWHOME/Oracle_BI1/bin >./config.sh
Navigate through the pages of the wizard and select Scale Out BI System.
Enter details of the first Exalytics Machine and the directory locations for the installation are populated automatically.
Navigate through the remaining pages of the wizard until you can initiate the process by pressing Configure.
See "Using the Configuration Assistant to Scale Out the BI System" in Oracle Fusion Middleware Enterprise Deployment Guide for Oracle Business Intelligence for information on running the config.sh script.
To install and configure TimesTen:
Enter the following commands:
cd /home/oracle/EXALYTICS_INSTALLERS/tt >./setup.sh instance name tt1122 [default chosen] install client/server and data manager [default chosen] specify particular location for install [3] enter location [custom location chosen /home/oracle/TimesTen] create daemon home - [default chosen] daemon logs - [default chosen] accept default port no - 53396 restrict access to TT to group oracle? - Yes enable PL/SQL - yes [default chosen] TNS_ADMIN – not chosen during install. port for TT server - 53397 quickstart and doc - no [default chosen] doc without quickstart - yes [default chosen] - location default TT replication with clusterware - no - [default chosen]
Run the TimesTen daemon configuration scripts as root, as described in Section 3.4, "Running the Daemon Configuration Scripts for TimesTen."
On the first Exalytics Machine, configure the BI Server to communicate with either TimesTen instance by creating two DSNs for TimesTen, as described in Section 3.7, "Configuring the ODBC Connection from Oracle Business Intelligence to TimesTen."
On the second Exalytics Machine, perform the same procedure as in the previous step to create DSNs for TimesTen to configure the connectivity from the second BI Server to either TimesTen instance.
Update the opmn.xml file on the second Exalytics Machine to point to the driver location for ODBC for TimesTen by editing the following "variable" elements. The edited text is shown in bold.
<variable id="LD_LIBRARY_PATH" value="$ORACLE_HOME/common/ODBC/Merant/5.3/lib$:$ORACLE_HOME/bifoundation/server/bin$:$ORACLE_HOME/bifoundation/web/bin$:$ORACLE_HOME/clients/epm/Essbase/EssbaseRTC/bin$:$ORACLE_HOME/bifoundation/odbc/lib$:$ORACLE_INSTANCE$:$ORACLE_HOME/lib:/mydir/TimesTen/tt1122/lib" append="true"/> <variable id="TIMESTEN_DLL" value="/mydir/TimesTen/tt1122/lib/libttclient.so"/>
The opmn.xml file is in the following directory:
$ORACLE_BASE/bim_instance/BIInstance2/config/OPMN
Validate that you can use a TimesTen client/server DSN from the first Exalytics Machine by entering the following commands:
cd $ORACLE_INSTANCE/bifoundation/OracleBIApplication/coreapplication/setup/
. ./bi-init.sh (bash shell)
cd Times-Ten-root-dir/tt1122/bin
./ttisqlcs –connstr "uid=oracle;pwd=welcome1;dsn=bim_tt1";
These commands use the TimesTen SQL client to connect to the TimesTen server on the first Exalytics Machine and validate that the BI Server can communicate with TimesTen.
Repeat the previous step for the TimesTen client/server DSN from the second Exalytics Machine.
To configure the communication between Oracle Business Intelligence and TimesTen, you must scale out using Fusion Middleware Control to deploy the required Oracle Business Intelligence system component servers onto the second Exalytics Machine. This scale-out results in entries in the opmn.xml file on the second Exalytics Machine that can then be edited as needed.
To scale out system components to the second Exalytics Machine:
Using Fusion Middleware Control, scale out the following system components as described in Oracle Fusion Middleware System Administrator's Guide for Oracle Business Intelligence Enterprise Edition:
The Oracle BI Server
Oracle BI Presentation Services
JavaHost
You should also scale out the following single components in the Oracle BI domain as a standby component: the Cluster Controller and the Oracle BI Scheduler.
As part of the process of configuring the Exalytics Machine, you must configure various persistent stores to be located on a shared directory location such as a NAS (network attached storage). The following list outlines those stores and includes link for information on configuring them:
Repository for the Oracle BI Server. Specify a shared RPD publishing directory in Fusion Middleware Control to propagate online repository changes in a cluster. The master BI Server copies its local repository to this directory when online changes are made. When slave BI Servers start, if the version in the publishing directory is newer, then each slave server copies the version in the shared directory to its local disk.
For information, see "Using Fusion Middleware Control to Upload a Repository and Set the Oracle BI Presentation Catalog Location" in Oracle Fusion Middleware System Administrator's Guide for Oracle Business Intelligence Enterprise Edition.
Oracle BI Presentation Catalog. Each Oracle BI Presentation Services instance loads the catalog from the catalog location that is specified in Fusion Middleware Control. Copy any existing catalogs to shared storage before reconfiguring this location to shared storage.
For information, see "Using Fusion Middleware Control to Upload a Repository and Set the Oracle BI Presentation Catalog Location" in Oracle Fusion Middleware System Administrator's Guide for Oracle Business Intelligence Enterprise Edition.
Global cache. The global cache resides on a shared file system and stores purging events, seeding events (which are often generated by agents), and results sets that are associated with seeding events. Each BI Server maintains its own local query cache for regular queries. The query cache for the BI Server continues to be located on the local node.
For information, see "Using Fusion Middleware Control to Set Global Cache Parameters" in Oracle Fusion Middleware System Administrator's Guide for Oracle Business Intelligence Enterprise Edition.
Configure a front-end load balancer, which is properly configured with the Oracle WebLogic Server Cluster Plug-in. For information, see "Configuring High Availability for Oracle Business Intelligence and EPM" in Oracle Fusion Middleware High Availability Guide.
This section contains solutions that are related to a highly available deployment:
Section 7.4.1, "Connection Issues with the Oracle BI Server and TimesTen"
Section 7.4.2, "Client Installer Cannot Locate TimesTen Driver"
Section 7.4.3, "Oracle BI Server Does Not Fail Over to the TimesTen Instance"
Section 7.4.4, "Aggregates Are Not Present in Second Instance"
You might find that the BI Server cannot connect to TimesTen on either the first or the second node. To resolve this issue, check the following:
Verify that the TimesTen DSNs are configured correctly in the odbc.ini and opmn.xml files, as described in the following list:
The odbc.ini file in the $ORACLE_INSTANCE/bifoundation/OracleBIApplication/coreapplication/setup directory has the proper DSNs defined to connect to both TimesTen instances, as described in Section 3.7, "Configuring the ODBC Connection from Oracle Business Intelligence to TimesTen."
The opmn.xml file in the $ORACLE_INSTANCE/config/OPMN/opmn/ directory has the LD_LIBRARY_PATH variable set correctly to point to the TimesTen shared library folder. The TIMESTEN_DLL variable must also be defined correctly, as shown in the following example:
<variable id="TIMESTEN_DLL" value="ORACLE_BASE/TimesTen/tt1122/lib/libttclient.so"/>
The BI Server must use the TimesTen ODBC driver Version 3.5 for connection.
During deployment of a repository, ensure that you use TimesTen ODBC driver Version 3.5 for the database connection pool. Without the use of this driver version, the BI Server cannot connect to TimesTen.
After you use the Client Installer to install the Oracle BI Administration Tool on a Windows computer, you might notice that the Administration Tool displays an error message such as the following:
Unable to load Times Ten Driver ttclient.dll.
This error message indicates that you cannot use the ODBC drivers in TimesTen to import metadata from a TimesTen physical table source. To resolve this issue, set the TIMESTEN_DLL environment variable to point explicitly to the TimesTen driver location, as shown in the following example:
set TIMESTEN_DLL=C:\TimesTen\tt1122_32\bin\ttclient1122.dll
If the BI Server does not fail over to the second TimesTen instance on the scaled-out node, then ensure that the logical table source (LTS) for the repository has mapped both TimesTen physical data sources. This mapping ensures that at the logical table source level, a mapping exists to both TimesTen instances. If one TimesTen instance is not available, then failover logic for the BI Server at the DSN level tries to connect to the other TimesTen instance.
You might notice that aggregates that were created on the first TimesTen instance are not available on the second TimesTen instance. Keep in mind that no automatic replication exists between the TimesTen instances in the scaled-out deployment. The two instances are distinct and run on different computers but have the same deployed data stores. If you create aggregates using SQL scripts from Oracle BI Summary Advisor or the Aggregate Persistence Wizard on one TimesTen instance, then you must manually create the same aggregates on the second TimesTen instance. You must ensure that you keep the two TimesTen instances synchronized. For information, see "Life Cycle Use Cases for Aggregate Persistence" in Oracle Fusion Middleware Metadata Repository Builder's Guide for Oracle Business Intelligence Enterprise Edition.