3 Installing Software on the Exalytics Machine

This chapter describes how to install software on the Exalytics Machine. The installation scripts provide a semi-automated way of creating a single-node Oracle Exalytics system by installing Oracle Business Intelligence 11.1.1.7 and Oracle TimesTen and configuring the two software components to communicate with each other.

This chapter includes the following sections:

3.1 Before You Install Software on the Exalytics Machine

Before you install software on the Exalytics Machine, review the following sections:

3.1.1 Documents to Review

As you prepare to install software on the Exalytics Machine, do the following:

  • Review the Oracle Business Intelligence chapter in the Oracle Fusion Middleware Release Notes, to ensure that you understand the differences between Oracle Business Intelligence and its documented functionality, and any other issues that apply to the current release.

  • Review the latest Oracle Exalytics Release Notes for T5-8 for any late-breaking information.

  • Review the Oracle TimesTen In-Memory Database Release Notes to ensure that you understand the differences between Oracle TimesTen and its documented functionality, and any other issues that apply to the current release.

  • Review Oracle Exalytics In-Memory Machine T5-8 Owner's Guide to ensure that you have properly configured and commissioned the Exalytics Machine in your data center. The Oracle Exalytics In-Memory Machine T5-8 Owner's Guide is available at the following location:

    http://docs.oracle.com/cd/E41453_01/html/E41455/index.html

  • Review Chapter 1, "Installation Overview" to ensure that you understand the options and architecture related to installing software on the Exalytics Machine.

3.1.2 Prerequisites for Installing on the Exalytics Machine

The following prerequisites must be met before installing Oracle Business Intelligence on the Exalytics Machine:

  • The Exalytics Machine has been racked and mounted in a data center.

  • The Exalytics Machine is configured with the Oracle Solaris 11.1 image at the factory.

    If you need assistance, then Oracle provides Advanced Customer Services for installing software on the Exalytics Machine.

  • Oracle Service engineers have configured the Configuration Utility.

  • Network configuration is complete and the computer is accessible from the network.

  • A supported database is available (but not on Oracle Exalytics) and accessible from the Exalytics Machine to host the schemas that are required by the software installation and that you create as part of the installation process. Ensure that the database is running during the installation and that the database is not hardened for security purposes. Installing Oracle Business Intelligence against a hardened database is not supported.

    For information about hardened databases, see Oracle Database Vault Administrator's Guide.

  • You have access to the internet from a computer (not necessarily the Exalytics Machine) to download required packages.

3.2 Installing the Software

Installing software on the Exalytics Machine involves a combination of manual steps and automated scripts. The manual steps are to install WebLogic and Oracle BI EE while the installation script provides an automated way of installing Oracle TimesTen In-Memory Database and configuring communication with Oracle BI EE (a Software-Only Installation).

The steps in the process are:

3.2.1 Creating the User, Group, and Password on the Operating System

On the operating system, create a user with a name such as "oracle" and an appropriate password and a group with a name such as "oinstall". The following are sample commands for creating this user and group:

groupadd oinstall
useradd -b /export/home/oracle -m -s /bin/bash -g oinstall oracle

Enter the following commands to grant permissions to the /u01 drive where the software is to be installed:

chown oracle:oinstall /u01

chmod 775 /u01

The procedures throughout this section assume a user named "oracle" and a group named "oinstall".

3.2.2 Creating the Inventory for Oracle TimesTen

Create the inventory for Oracle TimesTen after you log in as the root user by entering the following commands:

mkdir /etc/TimesTen
chmod 770 /etc/TimesTen
chgrp oinstall /etc/TimesTen
touch /etc/TimesTen/instance_info
chmod 770 /etc/TimesTen/instance_info
chgrp oinstall /etc/TimesTen/instance_info

Ensure that the group who runs the script has write access to the /etc/TimesTen directory.

3.2.3 Setting Resource Limits for Oracle TimesTen

In Oracle Solaris, you must create a project to manage system resources, such as shared memory and semaphores. You can create a group project or a user project.

Note:

If you create a group project, the instance administrator must run the newtask command before the TimesTen daemons are restarted. If the TimesTen daemons start at system start time, add the newtask command to the system startup scripts.

Every user and group is associated to a default project, which is the project under which their processes are run. Modify the /etc/project file so that the project settings of the user occur first in the/etc/project file.

Note:

Do not remove the default project settings from the project file. Instead, edit the project file and place your project settings at the top of the project file above the default settings.

To set the resource limits for Oracle TimesTen:

  1. Log in as root user.

  2. Create a project. For information on creating a project, see "Administering Projects" in System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones.

    Note:

    The following procedure modifies the performance settings and semaphores for the "obiee" project for user "oracle".

  3. Add the project to the user by entering the following command:

    # projadd - U oracle obiee -c "Oracle OBIEE Project"

  4. Modify the shared memory settings by entering a command.

    For example, to modify the shared memory settings to 2 TB, enter the following command:

    # projmod -a -K "process.max-shm-memory=(priv,2TB,deny)" obiee

    Note:

    Oracle recommends that you set the size of the memory settings not to exceed 75% of the size of the physical memory. The physical memory available on the host depends upon the system configuration. To check physical memory on the host, run the following command as the root user:

    prtconf |grep Memory

  5. Modify the maximum number of semaphores to 4096 by entering the following command:

    # projmod -a -K "process.max-sem-nsems=(priv,4096,deny)" obiee

  6. Validate the project by entering the following command:

    project -l or cat /etc/project

3.2.4 Downloading Oracle Files into the Directory Structure

Before installing the software you must download the required files into an organized directory structure. Please note that the directory structures detailed in Task 2 below and Section 3.2.5, "Staging the Middleware Home" is not mandatory, but is just an example. You can choose any structure to organize the files.

Note:

You must reference the same chosen directory structure in the properties files when editing the install script.

To download files into the directory structure:

  1. Log in as "oracle" user.

  2. Download the following required software installers from the Media Pack and patches for Oracle Exalytics under Oracle Business Intelligence software for Oracle Solaris on Oracle Software Delivery Cloud at the following location:

    http://edelivery.oracle.com/

    • Oracle BI Enterprise Edition Release 11g

    • Repository Creation Utility that corresponds with the appropriate Oracle BI EE Release

    • Oracle TimesTen Release 11g

    • Oracle WebLogic Server Release 10g

    For information about downloading and applying the latest Oracle Exalytics patch, see Chapter 7, "Patching."

  3. As the user who owns the installation of the Oracle Exalytics software, create a directory structure such as the following for staging the software installation programs, if the user name is "oracle" and the home directory is export/home/oracle:

    • export/home/oracle/EXALYTICS_RCU

      Copy the rcuHome.zip file for the Repository Creation Utility (RCU) into this directory and unzip it.

    • export/home/oracle/EXALYTICS_INSTALLERS/bi

      Copy the Oracle BI EE installation ZIP files into this directory and unzip them using the following command. The -q parameter reduces the number of lines of output that are sent to the console.

      unzip -q '*.zip'

      The unzip process creates a subdirectory called bishiphome that contains subdirectories with names of Disk1 through Disk5.

    • export/home/oracle/EXALYTICS_INSTALLERS/tt

      Copy the TimesTen for Exalytics distribution file into this directory and do not unzip it. The file has an extension such as .zip or .tar.gz. The installation scripts work with a file of either extension.

    • export/home/oracle/EXALYTICS_INSTALLERS/wls

      Obtain the ZIP file for Oracle WebLogic Server on Oracle Solaris and extract the file with a name such as wls1036_generic.jar into this directory. If the file is not executable, then use a command such as the following to allow it to be executed:

      chmod +x wls1036_generic.jar

    • export/home/oracle/EXALYTICS_INSTALL_LOG

      The installation scripts use this directory for storing the log files from the installation. You use these log files for troubleshooting, as described in Section 3.3, "Troubleshooting the Installation and Configuration Processes."

    • export/home/oracle/EXALYTICS_INSTALL_TEMP

      The installation scripts use this directory for storing temporary files.

3.2.5 Staging the Middleware Home

Create a directory structure such as the following for staging the Middleware Home:

/u01/app/oracle/product/fmw

The installation scripts use this directory as the target directory for the Oracle BI EE installation, which is known as the Middleware Home. In this guide, this directory is referred to as EXALYTICS_MWHOME.

3.2.6 Creating the Database Schemas

Follow the instructions in the "Create Database Schemas Using the Repository Creation Utility (RCU)" section in Oracle Fusion Middleware Installation Guide for Oracle Business Intelligence.

You must first create required Oracle Business Intelligence schemas in a database (note that the database must not be hardened). You use a tool called the Repository Creation Utility (RCU) to create these schemas with the appropriate permissions and data.

Before you begin using RCU, review the "Repository Creation Utility (RCU) Requirements" section in the Oracle Fusion Middleware System Requirements document:

http://docs.oracle.com/html/E18558_01/fusion_requirements.htm

This section contains important information about your system and component-specific database requirements that should be met before you run RCU.

Ensure that you record the following details, because you use them later in the installation process:

  • The database connection details in the following form:

    host-name:port-number:service-name

  • The names and passwords of the schemas that you create, which have names such as prefix_BIPLATFORM and prefix_MDS.

3.2.7 Installing WebLogic Server

If not already installed, install the WebLogic Server.

To install a WebLogic Server:

  1. Configure the JAVA_HOME and PATH variables for the JDK by performing the following actions:

    1. Run the following commands:

      # export JAVA_HOME=/usr/jdk/instances/jdk1.6.0

      # export PATH=/usr/jdk/instances/jdk1.6.0/bin:$PATH

    2. Run the following command to verify that JDK is configured correctly:

      # java -version

      The output should look similar to the following:

      bash-4.1$ java -version
      java version "1.6.0_45"
      Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
      Java HotSpot(TM) Server VM (build 20.45-b01, mixed mode)
      bash-4.1$ 
      
  2. Navigate to the directory where you downloaded the WebLogic Server zip file (export/home/oracle/EXALYTICS_INSTALLERS/wls.)

  3. If the file is not executable, run the following command:

    #java -d64 -jar wls1036_generic.jar

  4. On the Welcome screen, click Next.

    The Choose Middleware Home Directory is displayed.

  5. Select Create a new Middleware Home and create a new Middleware home in the /u01/app/oracle/product/fmw directory, and click Next.

    The Register for Security Updates screen is displayed.

  6. Specify whether you want to register for security updates, and click Next.

    The Choose Install screen is displayed.

  7. Select Typical, and click Next.

    The Choose Product Installation Directories screen is displayed.

  8. Specify the directories in which you want to install the products, and click Next.

    The Installation Summary screen is displayed.

  9. Click Next.

    The Status screen is displayed.

  10. When the installation is complete, click Next.

    The Installation Complete screen is displayed.

  11. If selected, deselect Run Quickstart, and then click Done.

For more information on installing Oracle WebLogic Server, including custom installations, see Oracle Fusion Middleware Installation Guide for Oracle WebLogic Server.

3.2.8 Performing a Software Only Install

The Software Only Install type enables you to install Oracle Business Intelligence software binary files in an Oracle home for later configuration.

To perform a Software Only Install:

  1. Navigate to the export/home/oracle/EXALYTICS_INSTALLERS/bi/bishiphome/Disk1 directory.

  2. Start Oracle Business Intelligence 11g Installer by running the following command:

    ./runInstaller

    The Specify Inventory directory screen is displayed.

  3. If this is your first Oracle installation, perform the following actions:

    • On the Specify Inventory directory screen, specify the location of the inventory directory and the group whose members you want to grant access to the inventory, and click OK.

    • Navigate to the location chosen in the previous step (Step 3, first sub-step) and enter the following command as root user:

      /createCentralInventory.sh

      Click OK.

  4. On the Welcome screen, click Next.

  5. On the Software Updates screen, specify your My Oracle Support information and software update preferences, and click Next.

  6. On the Select Installation Type screen, select Software Only Install, and click Next.

  7. On the Prerequisite Checks screen, after the prerequisite checks conclude with no errors, click Next.

  8. On the Specify Installation Location screen, in the Oracle Middleware Home field, enter the path /u01/app/oracle/product/fmw for the Middleware home directory, and click Next.

  9. On the Application Server screen, confirm that the application server installed is Oracle WebLogic Server, and click Next.

  10. On the Security Updates screen, enter your My Oracle Support account information, and then click Next.

  11. On the Summary screen, Click Install.

  12. On the Installation Progress screen, monitor the progress of your installation. To stop the installation, click Cancel.

  13. On the Installation Complete screen, click Finish to exit Oracle Business Intelligence 11g Installer.

For more information, see "Software Only Install" in Oracle Fusion Middleware Installation Guide for Oracle Business Intelligence.

3.2.9 Creating a New Oracle BI Enterprise Edition Instance

After completing the Software Only Install, you must create a new Oracle BI Enterprise Edition (Oracle BI EE) instance using the Configuration Assistant.

To create a new Oracle BI Enterprise Edition instance:

  1. Navigate to the EXALYTICS_MWHOME/Oracle_BI1/bin directory.

  2. Start the Oracle Business Intelligence Configuration Assistant by entering the following command:

    ./config.sh

  3. On the Welcome screen, click Next.

  4. On the Prerequisite Checks screen, after the prerequisite checks conclude with no errors, click Next.

  5. On the Create, Scale Out, or Extend BI System screen, select Create New BI System, and then enter the following information:

    • The user name and password for the system administrator for the new Oracle Business Intelligence system

    • The domain name for the new Oracle Business Intelligence system

    Click Next.

  6. On the Specify Installation Location (Enterprise) screen, review the current Middleware home and other key locations for the new installation, and click Next.

  7. On the Configure Components screen, all products (including Essbase) are selected by default. Deselect Real-Time Decisions, and then click Next.

    Note:

    When you configure Oracle BI EE, Oracle BI Publisher is configured automatically. Also, if you want to install Essbase, you must select it now as it's not possible to install Essbase later.

  8. On the BIPLATFORM and MDS Schema screens, specify the details of the database schemas you previously created in Section 3.2.6, "Creating the Database Schemas".

  9. Click Next.

  10. On the Configuration Ports screen, click Auto Port Configuration or Specify Ports Using Configuration File.

    If you select the latter option, you must specify a configuration file that contains the custom port values for the Oracle Business Intelligence installation.

    Note:

    The Oracle Business Intelligence Configuration Assistant automatically assigns the Node Manager port (default is 9556), unless you specify the Oracle Business Intelligence ports manually using a configuration file such as staticports.ini.

    Click Next.

  11. On the Security Updates screen, enter your My Oracle Support account information, and then click Next.

  12. On the Summary screen, click Configure to start the configuration process.

  13. On the Configuration Progress screen, confirm the configuration completes successfully, and then click Next.

  14. On the Complete screen, click Finish to exit the Oracle Business Intelligence Configuration Assistant.

For more information, see "Configuring Oracle Business Intelligence with the Configuration Assistant" in Oracle Fusion Middleware Installation Guide for Oracle Business Intelligence.

3.2.10 Editing the Properties File

Note:

Before you edit the properties file, navigate to My Oracle Support and download patch 17173039. The patch contains the p17173039_111170_SOLARIS64.zip file. Unzip and install the file by following the instructions in the Readme file.

Edit carefully the properties file that contains values that the installation scripts use. The file is named bim-setup.properties and is stored in the following directory:

/EXALYTICS_MWHOME/Oracle_BI1/bifoundation/exalytics/properties

Keep the following points in mind as you edit the file:

  • Ensure that you use proper spelling and capitalization in the lines of the file.

  • The file contains comments that provide details on how to edit the values to be appropriate for your system.

The following is the contents of the properties file:

#########################################################
# BI Machine Properties
#########################################################
 
#########################################################
[Generic properties to be used across all the Oracle Products]
# [Generic properties to be used across all the Oracle Products]
#bim.tt.installer.root=The directory location where the timesten installer zips are present
#bim.tt.install.dir=The directory location where the timesten needs to be installed 
#bim.tt.daemon.port=The daemon port for timesten,if value is not provided default value of port is used as 53396. For multiple install of timesten this property is mandatory. The port number specified should be a number between 1024 and 65527.
#bim.tt.server.port=The server port used to configure timesten,if value is not provided default value of port is used as 53397. For multiple install of timesten this property is mandatory. The port number specified should be a number between 1024 and 65527.
#bim.tt.instance.name=The instance name for timesten,if value is not provided default value used is tt1122. For multiple install of timesten this property is mandatory.

#########################################################
bim.tt.installer.root=/home/oracle/EXALYTICS_INSTALLERS/tt
bim.tt.install.dir=/u01/TT1
bim.tt.daemon.port=53396
bim.tt.server.port=53397
bim.tt.instance.name=tt1122
 
#########################################################
[BI specific properties]
#bim.bi.host=The host name where BI is installed.
#bim.mw.home=This directory location BI Middleware home
#bim.bi.admin.user=The admin username of BI
#bim.bi.wls.admin.port=The port where AdminServer is running of BI
#########################################################
 
bim.bi.host=<hostname>
bim.mw.home=/u01/INSTANCE1
bim.bi.admin.user=biadmin
bim.bi.wls.admin.port=7001

3.2.11 Verifying the Checklist

Before running the script, ensure that you verify the items in the following checklist:

  • TimesTen install file is present.

  • You carefully edited the properties file for the script and ensured that it contains no errors.

3.2.12 Running the Script

To run the script:

  1. Log in to the Exalytics Machine as the user that you created in Section 3.2.1, "Creating the User, Group, and Password on the Operating System."

  2. Change to the directory that contains the Oracle Exalytics software, such as the following one:

    /EXALYTICS_MWHOME/Oracle_BI1/bifoundation/exalytics

  3. Start a shell session (such as csh), ensure that the GROUP environment variable is set to the group that the user belongs to (for example in this section, "oracle" user belongs to the "oinstall" group), then run the main installation script, which is named bim-setup.sh, using a command such as the following one:

    ./bim-setup.sh /EXALYTICS_MWHOME/Oracle_BI1/bifoundation/exalytics/properties/bim-setup.properties

    You can store the properties file in any directory when you update it as specified in Section 3.2.10, "Editing the Properties File" and specify the full path name when you run the installation script.

The installer script for Oracle Exalytics performs the following tasks:

  • Prompts you to enter the Oracle BI Administration password when it runs.

  • Enables the HardwareAcceleration MBean attribute.

    If you must modify the attribute, then you can update it as described in Section 3.3.4, "Manually Setting the HardwareAcceleration MBean Attribute."

  • Installs Oracle TimesTen.

  • Makes configuration changes in the opmn.xml file to point to the Oracle TimesTen libraries.

  • Configures the sys.odbc.ini file for Oracle TimesTen and the odbc.ini file for Oracle Business Intelligence with DSN details for Oracle TimesTen.

3.2.13 Verifying the Installation

To verify that the installation is successful, you open a web browser and attempt to display the following URLs. If you can display and interact with the pages at the following URLs, then the installation succeeded.

  • Oracle BI Enterprise Edition:

    http://server-name:9704/analytics

  • Oracle WebLogic Server Console:

    http://server-name:7001/console

  • Fusion Middleware Control:

    http://server-name:7001/em

3.3 Troubleshooting the Installation and Configuration Processes

This section provides the following information on troubleshooting:

3.3.1 Resolving Issues with the Installation

If you have any issues installing software on the Exalytics Machine, check the following items:

  • Ensure that the database in which you ran the Repository Creation Utility to create the schemas is running.

  • Check the networking configuration of the machine including the /etc/hosts file.

  • Check the contents of the bim-setup.properties file to ensure that all entries are accurate with no misspellings.

  • If the installation scripts fail, then perform the following steps:

    1. Deinstall the Oracle TimesTen software.

    2. Verify the contents of the bim-setup.properties file, as described in Section 3.2.10, "Editing the Properties File."

    3. Restart the installation process.

3.3.2 Viewing Log Files

After installing the software, you can check the log files for Oracle WebLogic Server, Oracle Business Intelligence, and Oracle TimesTen in the MW_HOME/Oracle_BI1/bifoundation/exalytics/logs directories. The files have names such as tt_install.log for Oracle TimesTen.

3.3.3 Reinstalling Software on the Exalytics Machine

You might want to reinstall the software. The installer does not allow reinstallation of Oracle Business Intelligence in a directory that contains another Oracle Business Intelligence installation on an Exalytics Machine.

To reinstall Oracle Business Intelligence in the same directory as before:

  1. Deinstall the software as described in Chapter 5, "Deinstalling Software on the Exalytics Machine."

  2. Reboot the computer to ensure that if any processes are running, they are stopped.

  3. If you used the Repository Creation Utility to create the BISHIPHOME and MDS schemas, then either drop the schemas or use a new prefix to create schemas.

  4. To uninstall Oracle TimesTen, enter the following command:

    /u01/app/oracle/product/fmw/../TimesTen/tt1122/bin/setup.sh -uininstall

  5. Delete the /etc/TimesTen/* files.

  6. Return to this chapter and follow the installation instructions again.

3.3.4 Manually Setting the HardwareAcceleration MBean Attribute

The HardwareAcceleration MBean attribute specifies whether you are using the Exalytics Machine, as described in the following procedure. This MBean attribute is turned on automatically when you run the script to install Oracle Business Intelligence on the Exalytics Machine. The MBean attribute sets the ORACLEHARDWAREACCELERATION parameter in the NQSConfig.ini file and the OracleHardwareAcceleration element in the instanceconfig.ini file.

To specify the use of the Exalytics Machine using the System MBean Browser:

  1. In Fusion Middleware Control, in the Navigator window, expand the WebLogic Domain folder and the bifoundation_domain node.

  2. Right-click the AdminServer node and select System MBean Browser.

  3. Expand Application Defined MBeans, then expand oracle.biee.admin, then expand Domain: bifoundation_domain.

  4. Lock the domain, as follows:

    1. Expand BIDomain and select the BIDomain MBean where group=Service.

    2. Display the Operations tab.

    3. Click the lock link.

  5. Display the Attributes tab for the same MBean.

  6. Ensure that the HardwareAcceleration attribute is set to true.

  7. After applying your changes, release the lock on the domain by displaying the Operations tab and clicking one of the commit operations.

  8. Restart Oracle Business Intelligence.