Install Dashboards Component

This page describes the installation process for the Oracle Utilities Analytics Warehouse (OUAW) Dashboards component on the application server.

On this page:

Prerequisites

Before you begin installing the OUAW Dashboards component, verify the following:

  • Ensure the same OS user installs the required software.

  • Ensure that all the prerequisite software (such as Java, Oracle Database Client, Oracle Fusion Middleware, Oracle Analytics Server) is installed.

  • Ensure that the Oracle Analytics Server (OAS) domain is installed and configured, and that the domain paths are available. 

  • Verify that the OUAW Dashboards Component installer is available in the <TEMPDIR>/application  directory on the application server.

See Perform Pre-Installation Steps for OUAW for more information.

Set Up the Dashboard Environment 

  1. Log in to application server.

  2. Navigate to the temporary directory where the OUAW installer is downloaded. Example: <TEMPDIR/application>.

  3. Set the JAVA_HOME. Example:

    Copy
    export JAVA_HOME=<JAVA HOME>
  4. Set the path to JAVA_HOME/bin. Example:

    Copy
    export PATH=$JAVA_HOME/bin:$PATH
  5. Launch the OUAW installer by running the following command:

    Copy
    java -jar OUA_2.8.0.0.0_generic.jar -logLevel finest 

Back to Top

Oracle Utilities Analytics Warehouse Dashboards Installation Wizard

  1. Run the Oracle Utilities Analytics Warehouse Installer. The Welcome page appears.

  2. Review the available information before you begin the installation, and click Next to continue.

    Note: If you are installing Oracle software on the server for the first time, provide central inventory details such as the inventory directory location and operating system group.

  3. On the Installation Location page, select the installation location from the Oracle Home drop-down menu and click Next. Note: The specified Oracle home directory must be an empty directory.


    Field Name and Description

    Value

    Oracle Home: The directory where the Oracle Utilities Analytics Warehouse Dashboards component is going to be installed.

    Note: In the documentation, this directory location is referred to as Dashboards Home. Keep note of it because it will be used during some deployment steps.

    Example: <Dashboards Home>

    </u01/ouaw/deployment/OUAW_DASHBOARD>

  1. On the Language Selection page, select English and click Next.

    Field Name and Description

    Value

    Language Selection: The language for the installation process.

    English

  1. On the Installation Type page, select the Dashboards option. Based on the selected installation type, the options on the left navigation panel will change. You will need to define Database and Java Home Details, Target Database Connection Details, and OAS Home Details.

  2. Click Next.

  3. On the Database and Java Home Details page, enter the following details in the respective fields and click Next.

    Field Name and Description

    Value

    Database Client Home: The directory where the Oracle Database Client is installed. If you are installing the Dashboard component on the same machine as the Database component, then you can use Database Home.

    Example: <Database Client> or <ORACLE HOME>

    </u01/ouaw/dbclient> or </u01/ouaw/database>

    Java Home: The directory where Java is installed.

    Example: <JAVA HOME> 

    </u01/ouaw/java>

  1. On the Target Database Connection Details page, enter the following values in the respective fields. Verify that "tnsping Target-SERVICENAME" gives you confirmed Database Connection details, and click Next.

    Field Name and Description

    Value

    Host: The target database hostname where the database resides

    Target Database Server host name

    Example: <dbserver.hostname>

    Port: The target database port number on the database server used for connecting

    Target Database port. Example: <1521>

    Service Name: The target database service name

    <Target Database service name>

    Target Schema Password: The password for the target schema (DWADM)

    <DWADM user password>

    Confirm Target Schema Password: Same as the Target Schema Password

    <DWADM user password>

    Metadata Schema Password: The password for the metadata schema (MDADM)

    <MDADM user password>

    Confirm Metadata Schema Password: The same password given for metadata schema 

    <MDADM user password>

  1. On the  OAS Home Details page, enter the following details in the respective fields and click Next.

    Field Name and Description

    Value

    BI Home: The location of the bi folder where OAS is installed on the application server.

    <FMW Home>/bi

    Example: </u01/ouaw/middleware/bi>

    BI Domain Home: The OAS domain home location.

    <OAS Domain>

    Example: </u01/ouaw/domains/oas_domain>

    WebLogic Host: The Application server hostname where the WebLogic server is running.

    <appserver.hostname>

    WebLogic Port Number: A unique port number within the system that is assigned to the HTTP port. This port number is used as part of the client URL request to connect to the host. It is the OAS WebLogic console admin port number.

    <OAS weblogic Admin server port>

    Example: <9500>

     

    WebLogic User: WebLogic domain console login user name.

    Example: <weblogic>

  1. On the Java Home Location page, enter the proper file path and click Next.

    Field Name and Description

    Value

    Java Home: Enter the Java installed location.

    Example: <JAVA HOME>

    </u01/ouaw/java>

  1. On the Installation Summary page, verify the installation options and click Install. For any changes to the configuration before starting the installation, use the navigation pane and select the topic to edit.

    An Installation Progress page appears to track the installation. Detailed logs of the installation are available in the logs/system directory under the installation location.

  2. On the Installation Complete page, click Finish to close the installer.

Back to Top

Verify the Dashboards Installation

Review the contents of the installation log files to verify that the installer did not encounter any problems. The OUAW installer logs location will be shown in the launched terminal. Enter the following commands:

Copy
cd <Dashboards Home>;
ls

This will confirm that the Dashboards component installation was successful.

Back to Top

Deploy the Web Catalog

On the Oracle Analytics Server, you can deploy the latest catalogs into the environment using online mode.

  1. Navigate to <OAS DOMAIN>/bitools/bin.

  2. Create a new credentials file called boot.txt and add the following contents to it:

    Copy
    login=<OAS Weblogc admin user>
    pwd=<OAS Weblogic admin password>

  3. For each catalog present under <Dashboards Home>/Catalog directory, run the following command from the <OAS DOMAIN HOME>/bitools/bin location. Replace all parameters enclosed in <> with actual values. Note: The inputFile parameter must be in double quotes, and the catalog filename includes spaces.

    Copy
    ./runcat.sh -cmd unarchive -folder "/shared" -online http://<OAS SERVER Host>:<OAS Managed SERVER PORT>/analytics-ws/saw.dll -credentials boot.txt -inputFile "<Dashboards Home>/Catalog/<Catalog Name>" -overwrite all


  4. Deploy the 'Spatial Metadata Catalog' on the System folder. Replease all parameters enclosed in <> with actual values. Note: The inputFile parameter must be in double quotes, and the catalog filename includes spaces.

    Copy
    ./runcat.sh -cmd unarchive -folder "/system" -online http://<OAS SERVER Host>:<OAS Managed SERVER PORT>/analytics-ws/saw.dll  -credentials boot.txt -inputFile "<Dashboards Home>/Catalog/Spatial Metadata.Catalog" -overwrite all

Back to Top

Deploy the Repository (RPD) File

  1. Take the Utilities Business Analytics RPD file (UtilitiesBusinessAnalytics.rpd) backup from the OUAW Dashboards component installed location. Example: <Dashboards Home>/Reports/rpd/UtilitiesBusinessAnalytics.rpd.

  2. Copy the file to the Windows machine where Oracle Analytics Client Tools 5.9.0 is installed.

  3. Make sure you download Oracle Analytics Client Tools 5.9.0 from OTN and install it on the Windows machine before proceeding to the next step.

  4. Click Start > Programs > Oracle Analytics Client Tools > Model Administration Tool.

  5. Click File > Open > Offline... to open the RPD in offline mode.

  6. Provide the RPD password. The default password is “oracle123”.

  7. In the Oracle BI Administration tool, go to the Physical pane and expand the tree.

  8. Double-click Init Block Connection Pool and enter the following:

    • Datasource name: BI Database name

    • User name: DWREAD

    • Password: DWREAD User password

  9. Double-click Init Block Pool - MDM and enter the following (only for Oracle Utilities Meter Data Management):

    • Datasource name: MDM database name

    • User name: CISUSER

    • Password: CISUSER User password

  10. Double-click Materialized Views Connection and enter the following:

    • Datasource name: BI Database name

    • User name: DWREAD

    • Password: DWREAD User password

  11. Double-click MDM Database Connection and enter the following (only for Oracle Utilities Meter Data Management):

    • Datasource name: MDM database name

    • User name: CISUSER

    • Password: CISUSER User password

  12. Double-click NMS Replication Tables and enter the following (only for Oracle Utilities Network Management System):

    • Datasource name: BI database name

    • User name: DWREAD

    • Password: DWREAD User password

      Note: The default schema name is <NMS1REP>. If the replication schema name is different, then rename it to the actual value.

  13. Double-click ODIDEV Connection and enter the following:

    • Datasource name: BI database name

    • User name: DWUSER

    • Password: DWUSER User password

  14. Double-click Oracle Data Warehouse OUBI Database Connection and enter the following:

    • Datasource name: BI database name

    • User name: DWREAD

    • Password: DWREAD User password

  15. Click File and then click Save the changes. Click Yes when you see the prompt "Do you wish to check global consistency?" Ignore any warnings that appear after the consistency check is complete.

  16. Copy the modified RPD back to the path: <Dashboards Home>/Reports/rpd/UtilitiesBusinessAnalytics.rpd

  17. On the application server where the Oracle Analytics Server (OAS) Domain exists, navigate to <OAS DOMAIN HOME>/bitools/bin and run the following command to deploy the RPD:

    • In Unix if SSL is enabled:

      Copy
      ./datamodel.sh uploadrpd -I <Dashboards Home>/Reports/rpd/UtilitiesBusinessAnalytics.rpd -W <rpd password, default password is oracle123> -U <WebLogic user name of OAS domain> -P <WebLogic password of OAS domain> -SI ssi -SSL-TS <keystore> -TSP <keystore_password>
    • In Unix if SSL is disabled:

      Copy
      ./datamodel.sh uploadrpd -I <Dashboards Home>/Reports/rpd/UtilitiesBusinessAnalytics.rpd -W <rpd password, default password is oracle123> -U <WebLogic user name of OASdomain> -P <WebLogic password of OAS domain> -SI ssi
  18. Run the following commands from <OAS DOMAIN HOME>/bitools/bin directory to stop and start the OAS domain services respectively.

    Copy
    ./stop.sh
    ./start.sh

Back to Top

Deploy Writeback Templates

  1. Log in to the application server and run the following commands to deploy writeback templates:

    Copy
    mkdir -p <FMW Home>/bi/bifoundation/web/msgdb/l_en/custommessages
    cp <Dashboards Home>/writeback/wbtemplates/*  <FMW Home>/bi/bifoundation/web/msgdb/l_en/custommessages/
  2. Restart the Oracle Analytics Server services after deploying these writeback templates in the specified path.

    Copy
    cd <OAS DOMAIN>/bitools/bin
    ./stop.sh
    ./start.sh

Back to Top

Enable the Autocomplete Feature in Oracle Analytics Server

  1. Log in to the Analytics application. http://<Application Server Host>:<port>/analytics

  2. Click User profile icon in the top right section of the page.

  3. From the drop-down menu, select My Account.

  4. On the Preferences tab, set Prompt AutoComplete to ON.

  5. Click OK.

Back to Top

Configure the MapViewer

Configuring and deploying the MapViewer on the application server involves two tasks: configuring the data source for the MapViewer, and modifying the instanceconfig.xml file.

Configure the Data Source for the MapViewer

  1. Log in to the WebLogic admin console.

  2. To create the 'MAP_DS' data source, click Lock and edit on the change center.

  3. Navigate to Services > Data Sources.

  4. Click New > Generic Data Source.

  5. Enter the following details and click Next.

    • Name: MAP_DS

    • JNDI Name: MAP_DS

    • Database Type: Oracle

  6. Select the following and click Next.

    • Database Driver: *Oracle’s Driver (Thin) for Service connections; Versions:Any

  7. On the next page, do not change any values. Click Next.

  8. Enter the following connection properties and click Next.

    • Database Name: BI Database Name

    • Host Name: Database host

    • Port: Database port

    • Database User Name: dwadm

    • Password: dwadm user password

  9. On the next page, click Test Configuration. After a successful test, click Next.

  10. On the Select Target page, select AdminServer under Servers, and bi_cluster under Clusters. Click Finish to save the configuration.

  11. Click Activate Changes on the change center.

Back to Top

Configure MapViewer for OUAW

To work with OUAW Analytics, there are a few changes that need to be made in the mapViewerConfig file. The file is located in <OAS DOMAIN>/config/fmwconfig/mapviewer/conf. Ensure you take a backup before updating it.

Note: Skip this task on AIX platforms. The Mapviewer URL is not supported in AIX environments.

To update the MapViewer configuration from the MapViewer Admin Console:

  1. Log in to MapViewer http://<Server>:<port>/mapviewer

  2. Navigate to MapViewer > Administration > Configuration. This section enables you to edit mapViewerConfig.xml file. If the customer environment runs behind the proxy, then on the application server, insert the list of host names for all the third-party service providers in the security_config node.

    Copy
    <proxy_enabled_hosts>elocation.oracle.com</proxy_enabled_hosts>
  3. Add the following ns_data_provider node:

    Copy
    <ns_data_provider id="obieeNsdp" class="com.oracle.utilities.birdseye.BirdseyeNSDP" />
  4. Add the current map_tile_server with the following map_tile_server node:

    Copy
    <map_tile_server><tile_storage default_root_path="/mytilecache/"/></map_tile_server>
  5. Add the below map data source code in the mapViewerConfig.xml with the appropriate values as Database server details:

    Copy
    <map_data_source name="mapconn"
    jdbc_host="<DB server name>"
    jdbc_sid="//<DB Service name>"
    jdbc_port="1521"
    jdbc_user="DWADM"
    jdbc_password="!<DWADM user password>"
    jdbc_mode="thin"
    number_of_mappers="32"
    allow_jdbc_theme_based_foi="true"/>

Back to Top

Modify Instanceconfig.xml

Ensure you take a backup before updating the instanceconfig.xml file.

Perform the following changes to the instanceconfig.xml file for Oracle Analytics Server 5.9:

  1. Run the proper command in UNIX to go to the directory containing the instanceconfig.xml file. The path will have a pattern similar to <OAS DOMAIN>/config/fmwconfig/biconfig/OBIPS. Example:

    Copy
    cd </u01/ouaw/domains/oas_domain/config/fmwconfig/biconfig/OBIPS>

  2. Make the following changes to the instanceconfig.xml file:

    • Update the security node with the following values. If the security node is not present, add the following XML stanzas before the </Serverinstance> ending tag:

      Copy
      <Security>

       <ClientSessionExpireMinutes>210</ClientSessionExpireMinutes>
       <HttpOnlyCookies>false</HttpOnlyCookies>
       <CookieDomain />    
       <CookiePath>/</CookiePath>

      </Security>

    • Update the following <ServerInstance> element:

      Copy
      <LightWriteback>true</LightWriteback>
    • Add the following code between the <ServerInstance></ServerInstance> tags.

      Copy
      <Prompts>
        <MaxDropDownValues>256</MaxDropDownValues>
        <AutoApplyDashboardPromptValues>true</AutoApplyDashboardPromptValues>
        <AutoSearchPromptDialogBox>true</AutoSearchPromptDialogBox>
        <AutoCompletePromptDropDowns>
          <SupportAutoComplete>true</SupportAutoComplete>
          <CaseInsensitive>true</CaseInsensitive>
          <MatchingLevel>MatchAll</MatchingLevel>
          <ResultsLimit>50</ResultsLimit>
        </AutoCompletePromptDropDowns>
       </Prompts>
      <SpatialMaps>
       <MapViewerAPIV2Enabled>false</MapViewerAPIV2Enabled>
      </SpatialMaps>

Perform the following changes to the instanceconfig.xml file for Oracle Analytics Server 6.4:

Remove <ServerInstance/> tag from the instanceconfig.xml file, and add the following XML stanzas before </WebConfig>:

Copy
<ServerInstance>
 <LightWriteback>true</LightWriteback>
 <Security>
  <HttpOnlyCookies>false</HttpOnlyCookies>
  <CookieDomain/>
  <CookiePath>/</CookiePath>
 </Security>
 <Prompts>
  <MaxDropDownValues>256</MaxDropDownValues>
  <AutoApplyDashboardPromptValues>true</AutoApplyDashboardPromptValues>
  <AutoSearchPromptDialogBox>true</AutoSearchPromptDialogBox>
  <AutoCompletePromptDropDowns>
   <SupportAutoComplete>true</SupportAutoComplete>
   <CaseInsensitive>true</CaseInsensitive>
   <MatchingLevel>MatchAll</MatchingLevel>
   <ResultsLimit>50</ResultsLimit>
  </AutoCompletePromptDropDowns>
 </Prompts>
 <SpatialMaps>
  <MapViewerAPIV2Enabled>false</MapViewerAPIV2Enabled>
 </SpatialMaps>
</ServerInstance>

For example, after updating the above configuration, the instanceconfig.xml file should look like below:

Copy
<WebConfig xmlns="oracle.bi.presentation.services/config/v1.1">

<ServerInstance>
 <LightWriteback>true</LightWriteback>
 <Security>
  <HttpOnlyCookies>false</HttpOnlyCookies>
  <CookieDomain/>
  <CookiePath>/</CookiePath>
 </Security>
 <Prompts>
  <MaxDropDownValues>256</MaxDropDownValues>
  <AutoApplyDashboardPromptValues>true</AutoApplyDashboardPromptValues>
  <AutoSearchPromptDialogBox>true</AutoSearchPromptDialogBox>
  <AutoCompletePromptDropDowns>
   <SupportAutoComplete>true</SupportAutoComplete>
   <CaseInsensitive>true</CaseInsensitive>
   <MatchingLevel>MatchAll</MatchingLevel>
   <ResultsLimit>50</ResultsLimit>
  </AutoCompletePromptDropDowns>
 </Prompts>
 <SpatialMaps>
  <MapViewerAPIV2Enabled>false</MapViewerAPIV2Enabled>
 </SpatialMaps>
</ServerInstance>

</WebConfig>

Back to Top

Enable WriteBack

  1. Log in to the Analytics application: http://<applicationserver.host>:<port>/analytics.

  2. Click the profile icon in the top right corner of the screen, and click Administration.

  3. In the Administration screen, under the Security area, click Manage Privileges

  4. In the Manage Privileges area, in the Write Back > Write Back to Database row, click Authenticated User.

  5. In the dialog box that displays, click the menu in the Permissions column and select Granted.

  6. Click OK.

Back to Top