10.3 Configuring for High Availability

You use a combination of the Exalytics Domain Management Utility and manual steps to scale-out an existing Oracle Business Intelligence domain.

This section contains the following topics:

10.3.1 Step 1: Preparing the First Exalytics Machine

Install Oracle Exalytics on the first Exalytics Machine using the instructions that are provided in Installing Business Intelligence Software on New Deployments of this guide before installing on the second Exalytics Machine.

10.3.2 Step 2: Preparing the Second Exalytics Machine

To prepare the second Exalytics Machine:

  1. Confirm that you have upgraded to Oracle Exalytics Release 2.0 or higher.
  2. Create the user, as described in Creating a Password on the Operating System.
  3. Create the inventory for Oracle TimesTen, as described in Optional: Creating the Inventory for Oracle TimesTen.
  4. Download the files into an installers directory, as described in Downloading the Oracle Installation Files into a Staging Directory Structure.
  5. Create an input properties file, as described in Creating an Input Properties File.

10.3.3 Step 3: Scaling Out the Existing BI Domain

You scale out the existing Oracle Business Intelligence domain by running the Exalytics Domain Management Utility.

Note:

The Exalytics Domain Management Utility only scales out and configures Oracle Business Intelligence. If you want to scale out and configure Oracle TimesTen, then install it manually on the second Exalytics Machine. See Step 4: Installing and Configuring Oracle TimesTen.

To scale out an Oracle Business Intelligence domain:

  1. Verify that all processes are running on the existing domain. See Viewing Status of an Exalytics Domain.

    Make a note of the AdminServer port number. You need to enter the port number later when prompted by the Exalytics Domain Management Utility.

  2. Log in to the second Exalytics Machine as the user that you created in Step 2 of Step 2: Preparing the Second Exalytics Machine.
  3. To scale out an Oracle Business Intelligence domain, enter the following command:

    /opt/exalytics/bin/exalytics-domain-management.sh --action=scaleout_domain --input=<location and name of the input file> --domain=<domain_name on the first Exalytics Machine>

    For example, to scale out domain "menlo" from the first Exalytics Machine, enter the following command:

    /opt/exalytics/bin/exalytics-domain-management.sh --action=scaleout_domain --input=/home/oracle/Installers/input.properties --domain=menlo

  4. When prompted by the Exalytics Domain Management Utility, perform the following tasks:
    • Enter the user name and password for the Oracle WebLogic Server administrator.

    • Enter the AdminServer host name.

    • Enter the AdminServer port number.

    The Exalytics Domain Management Utility performs the following actions on the second Exalytics Machine:

    • Installs Oracle WebLogic Server

    • Installs Oracle Business Intelligence

    • Creates an Oracle Instance

    • Scales out the Managed Server

    • Scales out the existing BI domain

    After the installation completes, a message is displayed that you can successfully connect to the scaled-out domain. The output looks similar to the following:

    [LOGMSG] [11-13-13 00:54:31] [INFO] [menlo] [scaleout_domain] Success connecting to <server-name_on_scaled_out_domain> on port: 12003
    
  5. To verify that the scaled out domain is listed on the second Exalytics Machine, enter the following command on the second Exalytics Machine:

    /opt/exalytics/bin/exalytics-domain-management.sh --action=list_domains --input=/home/oracle/input.properties

    The report displays the scaled out domain on the second Exalytics Machine. The Node type is displayed as "Scaled out node". The output should look similar to the following:

    ============================================================
                     Domain: menlo
    ============================================================
    Node type: Scaled out node
    Provisioning status: Completed
    Middleware Home: /u01/app/oracle/product/exalytics/exalyticsdomains/menlo/fmw
    BI Instance Home: /u01/app/oracle/product/exalytics/exalyticsdomains/menlo/instances/instance1
        -------------------
        | Application URLs |
        -------------------
    Oracle Enterprise Manager: http://<server-name>:12000/em
    Oracle WebLogic Admin Console: http://<server-name>:12000/console
    Oracle Business Intelligence: http://<server-name_on_scaled_out_domain>:12001/analytics
    Oracle BI Publisher : http://<server-name_on_scaled_out_domain>:12001/xmlpserver
        ------------
        | WebLogic |
        ------------
    Domain Home: /u01/app/oracle/product/exalytics/exalyticsdomains/menlo/user_projects/domains/bifoundation_domain
    Admin Server Host: <server-name>
    Admin Server Port: 12000
    BI Managed Server Host: <server-name_on_scaled_out_domain>
    BI Managed Server Port: 12001
        ------------
        | TimesTen |
        ------------
    TimesTen enabled: No
    
    
    Found 1 domain(s) in total
    

10.3.4 Step 4: Installing and Configuring Oracle TimesTen

To install and configure Oracle TimesTen:

  1. 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 /u01/app/oracle/product/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]
    
  2. Run the daemon configuration scripts for Oracle TimesTen as root, as described in Running the Daemon Configuration Scripts for Oracle TimesTen.

  3. On the first Exalytics Machine, configure the BI Server to communicate with either instance of Oracle TimesTen by creating two DSNs for Oracle TimesTen, as described in Configuring the ODBC Connection from Oracle Business Intelligence to Oracle TimesTen.

  4. On the second Exalytics Machine, perform the same procedure as in the previous step to create DSNs for Oracle TimesTen to configure the connectivity from the second BI Server to either instance of Oracle TimesTen.

  5. Update the opmn.xml file on the second Exalytics Machine to point to the driver location for ODBC for Oracle 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:/u01/app/oracle/product/TimesTen/tt1122/lib" append="true"/>
    <variable id="TIMESTEN_DLL" value="/u01/app/oracle/product/TimesTen/tt1122/lib/libttclient.so"/>
    

    The opmn.xml file is in the following directory:

    /u01/app/oracle/product/fmw/instances/instance2/config/OPMN

  6. Stop and start the Notification Server (OPMN).

    1. Go to the following directory that contains the OPMN command-line tool:

      /u01/app/oracle/product/fmw/instances/instance2/bin

    2. Run the following command:

      ./opmnctl stopall

      Stops OPMN and all Oracle Business Intelligence system components.

    3. Go to the following directory that contains the OPMN command-line tool:

      /u01/app/oracle/product/fmw/instances/instance2/bin

    4. Run the following command:

      ./opmnctl startall

      Starts OPMN and all Oracle Business Intelligence system components.

      For more information, see "Using the OPMN Command Line to Start, Stop, Restart, and View the Status of System Components" in System Administrator's Guide for Oracle Business Intelligence Enterprise Edition.

  7. Validate that you can use a client/server DSN for Oracle TimesTen 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 SQL client for Oracle TimesTen to connect to the Oracle TimesTen server on the first Exalytics Machine and validate that the BI Server can communicate with Oracle TimesTen.

  8. Repeat the previous step for the client/server DSN for Oracle TimesTen from the second Exalytics Machine.

10.3.5 Step 5: Configuring Shared Storage for Persistent Stores

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:

10.3.6 Step 6: Configuring the Front-End Load Balancer

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 High Availability Guide.