Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Installation

...

Prerequisites

The following instructions are applied to both PBCS and FCCS. Instructions which are specific to FCCS only have been mentioned.

Info

Important: Restart server after installing .NET core hosting bundle

...

Setting up

  1. Install Oracle EPM Cloud Adapter.

  2. Open CXO Configurator>Maintenance and click Register Services and Websites.

...

Create IIS website for Oracle Epm (Application Pool should have "No Managed Code")

...

  1. Image Added

  2. Select Register Oracle EPM Adapter Api to add service account details.

    Image Added
  3. Create Client in the CXO Identity Provider.

Option available only for version 21.2.0 or higher.

Identity Provider

...

Configuration

...

  1. Create new Generic Client.

...

Check “Allow Offline Access” checkbox

  1. Select Allow Offline Access option.

  2. Add the following scopes:

    1. User profile

    2. User groups

  3. Add Redirect

...

  1. URL(

...

  1. s) in the following format:
    {OraclEPMAdapterUrl}/signin-oidc

  2. Add Post Logout Redirect

...

  1. URL(s) in the following format:
    {OraclEPMAdapterUrl}/signin-oidc-auth

Info

...

RedirectUri’s are case sensitive so it’s good practice to use lowercase in all URLs.

...

CXO

...

Configuration and

...

Source Creation

...

To

...

use OracleEPMAdapter you need a license key with: Oracle EPM Planning or Oracle EPM Financial Consolidation and Close.

  1. Create a new source system in the SSM for the correct source type: Oracle EPM Planning / Oracle EPM Financial Consolidation and Close. This should create:

    • Fact database

    • SSAS cube

...

  1. Open command line as Administrator and run configuration database creation command

...

  1. , for example:
    .\CXO.Adapter.OracleCloudEpm.Cli.exe create-configuration-db server-name:cxo-dev-sql02 database-name:oracleEpmConfigTest authentication-type:Proprietary username:cxo password:somePassword
    Parameters:
    o   server-name:

...

  1. Name of the server on which the database should be created.

    o   database-name:

...

  1. Name of the database to be created.

    o   authentication-type: windows / proprietary

    o   username: SQL

...

  1. username (if authentication-type == proprietary).

    o   password: SQL user password (if authentication-type == proprietary).

...

  1. Refer CXO.Adapter.OracleCloudEpm.Cli.exe help for detailed description of the command.

  2. Run set-authentication-settings command, for example:

...

  1. .\CXO.Adapter.OracleCloudEpm.Cli.exe set-authentication-settings idp-authority: https://cxoUrl/idp idp-client-id:clientId idp-client-secret:secret idp-client-allowed-user-group:ADM

...

  1. Refer CXO.Adapter.OracleCloudEpm.Cli.exe help for detailed description of the command.

  2. Run create-source-in-adapter command

...

  1. for example:
    .\CXO.Adapter.OracleCloudEpm.Cli.exe create-source-in-adapter source-type:pbcs source-name:source factdb-name:factdb-name factdb-server:factdb-server factdb-authentication-type:1 ssas-server-name:ssas-server-name ssas-database-name:ssas-database-name ssas-cube-name:ssas-cube-name

Important: The name of the source should be the same as name of the source in CXO

...

  1. Refer CXO.Adapter.OracleCloudEpm.Cli.exe help for detailed description of the command.

  2. Restart IIS Application Pool for Oracle EPM Adapter

...

Oracle EPM system configuration

...

  1. .

Note: UserGroup specified in “idp-client-allowed-user-group” should be created in CXO. Only users from that group are allowed to open CXO Oracle Cloud Adapter.

Important: The name of the source should be the same as name of the source in CXO. Note that two sources should not share a fact database - we do some rudimental checks, but do not fully guarantee if configuration UI prevents creating two sources with the same fact DB.

Oracle EPM System Configuration

  • Make sure you have an account to connect from the adapter to the Oracle system (A user with rights to create export job is required - admin user)

  • Configure metadata export job

  • Configure data export job

See sections below for more details

Configure metadata export job

Steps to perform:

...

  1. Click Overview

...

  1. .

...

2. Go to Under Dimensions tab, click Export button on the right.

...

3. On the export metadata screen, you will see the existing CXO job, might be others as welljobs.

a. create new job. See two screenshots below

...

Click Create.

...

b. Select Location to Outbox and select all dimensions which should be extracted.

...

The export job name created in Oracle Cloud and export job file delimiter has to must be later on used in Oracle EPM Adapter in Metadata General Settings.

...

Configure data export job

...

  1. Click Overview

...

  1. .

  2. Choose Export Data

...

  1. .

    Image Modified
  2. Click Create

...

  1. .

    Image Added
  2. Specify the following values:

    1. Location: Outbox

    2. Pick right cube

    3. Choose a delimiter, preferably set it to

...

    1. Other and use “|”

    2. Smart Lists are not used currently

    3. Dynamic Members: Exclude

    4. Decimals:

...

    1. None (or discuss with the customer)

    2. Slice definition:

...

    1. Take Account on rows, Period on columns, set default slice values for all dimensions

...

    1. including POV.
      Note:

...

    1. This configuration will not be used in the actual data extraction, as it will be input to the job API call.

...

    1. Image Added

The export job name created in Oracle Cloud and export job file delimiter has to must be later on used in Oracle EPM Adapter in Metadata General Settings.

...

Oracle EPM

...

Adapter Configuration

  1. Configure connection.

    1. Cube

    2. Image Modified

...

    1. Use host url for Api Url

...

    1. without any path for example: https://epm a000000.epm.em2.oraclecloud.com.
      Application name is the same you see in

...

    1. Oracle.

      Image Added
    2. For credentials use username combining domain + “.” + username
      Example: for picture below username would be

...

    1. a000000.xxxxxxxxxxxxx

...

    1. Image Added
  1. Configure dimension mappings. Most standard dimensions would be mapped already – you need to map the custom ones. Number of custom Oracle Dimension doesn’t matter and are only used

...

  1. by CXO. Fill in the alias corresponding to custom dimension name.
    Example:

...

...

  1. Configure metadata.
    Please follow instructions for FCCS here and then proceed.

  2. Go to Overview

...

  1. > Dimensions

...

  1. >Extract.

...

  1. Image Added

...

  1. Configure Data.

...

  1. Should be filled in consultation with the customer.
    - Multiple members are supported and should be separated by comma

...

  1. - Do not use quotes around members (even if they contain spaces)

...

  1. - Do not use “@” before selector methods (like @

...

  1. ILvl0Descendants(YearTotal))

  2. Fill in Account dimension on Row and Period on Column.

  3. Select all other dimensions in any order and fill in desired selectors.
    The Order of POV dimensions is important

...

  1. to parse data extraction file using it. To figure it out fill in at first in a random order, finish configuration and return to the next step after you have successfully run an extraction. (

...

  1. You will see in the logs that data extraction

...

  1. has finished successfully but there

...

  1. are warnings of zero records being mapped).

  2. Download the export data file for your last extraction (it should have at least one record).

...

  1. Image Added
  2. Add

...

  1. .

...

  1. zip extension to file if necessary.

  2. Open a file. Identify for any record

...

  1. Point-of-

...

  1. Viewmember (it would be few members enclosed in quotes). Identify to which dimension each members belongs. Reorder your

...

  1. POV dimensions in adapter in the same order.

...

  1. Image Added

...

  1. Configure schedule.

  2. Create a new schedule

...

  1. . Name and schedule

...

  1. are up to the customer (or

...

  1. CXO) and not connected to

...

  1. Oracle configuration.

...

  1. - Initially its best to have “Extract Metadataenabled.

  2. Create a data slice.
    - Multiple members separated by commas are supported.

...

  1. - Do not use quotes.

Selector functions are not supported yet (e.g. Children(YearTotal)) there is no warning for this so make sure there are not included in Data Slices. Use multiple members to replace such functions.

Example:

...

  1. Image Added

    Schedule the time when metadata and data should be extracted from under the Scheduling tab. A schedule can be on a daily or a weekly basis, and the extracted data set is defined with a combination of Period, Year, and Scenario (for example Q1 2020 Actual).

    Image Added
  2. Select the Full option to load the entire metadata. If there are smaller changes like a new dimension structure or if you need to perform only an incremental extraction, the option Incremental can be selected to get faster results. When this option is selected, although the entire metadata is loaded, only the delta/changes get added to the cubes list.

  3. Click Run now to extract data and metadata.

...

  1. Image Added

    You can see the progress of the extraction

...

  1. under the

...

After successful extraction Process cube from SQL Server Management Studio (this is temporary solution. This process will be automated in the future)

Logging

  • The log level can be set in appsettings.json in "LogLevel" property (Both Web project and CLI project have own appsettings.json file)

  • Location of the log files:

    • CLI command {CXO-Installation-Dir}\Oracle Cloud EPM Adapter\Extraction\logs

    • Web application {CXO-Installation-Dir}\Oracle Cloud EPM Adapter\Web API\logs

  • Log files are split into two file types

    • nlog-all -contains cxo defined logs and logs generated by other Microsoft libraries. Usually it is more verbose

    • nlog-own-detailed -contains logs defined by cxo with more detailed information then info in “nlog-all“ and additionally filters logs created by Microsoft libraries.

  • Logging to the console in CLI tool

...

  1. Logs tab.

Note:

  1. Selector functions are not supported yet (for example, Children (YearTotal)).

2. Make sure these are not included in Data Slices.
- Use multiple members to replace such functions.