Post-Install or Upgrade Steps

This chapter covers the following topics:

Changing the Client JRE Version (Optional)

Oracle recommends using the latest version of Java 6 or 7. The version installed on the client does not have to be the same as the version that you use on the server. However, all clients must use the same JRE version. To change the JRE version on the client machine, download and install the required Java plug-in. For details, see Java Tips.

Note: The JRE defaults to the latest version installed. For example, if you have both Java 6 and 7 installed on the same machine, Demantra will be executed with 7 unless you have disabled that particular version in the Java control panel.

Checking the Log Files and Tables

To check the installation logs:

  1. Check the basic installer log file: C:\tmp\Demantra-install.log.

  2. Check the database log files written by the Installer. Depending on the installation, the Installer writes some or all of the following log files into Demantra_root\Demand Planner\Database Objects\database_type_name:

    • import.log (Information on the import process of the dump file)

    • For Oracle: run_build_procedures.LST (Information on the loading of the procedures into the new user.) and other *.LST files.

  3. Check the db_exception_log table.

If you upgraded the database user, also check the following:

Revoking Demantra User Privileges

As part of the Demantra installation, the following privilege is set in the Oracle database by the Demantra installation process:

SQL > GRANT CREATE ANY DIRECTORY TO demantra_user;

This privilege is needed for setting up JD Edwards EnterpriseOne integration.

If you are not planning to use JD Edwards integration, run the following command after setup:

SQL> REVOKE CREATE ANY DIRECTORY FROM demantra_user;

If you are planning to use JD Edwards integration, run the above command after your JD Edwards integration is working, not immediately after installation.

Affect of Upgrading on Parameters

The Oracle Demantra Installer upgrade procedure does not change the current values of any parameters, although it may change the default value of a parameter. The individual upgrade sections of this document specify any suggested manual parameter changes.

It does add new parameters for the new release and sets their default values.

Affect of Upgrading on Customizations

The Oracle Demantra Installer does not make any changes to your custom procedures, functions, or views. It is your responsibility to make adjustments to your custom features as needed so that they work with the new release. For information on preserving customizations during an upgrade, see the Business Applications Language information in the Oracle Demantra Implementation Guide.

Upgrading and Multiple Language Support (MLS)

These are some examples of how Oracle Demantra works with languages when you upgrade.

Non-translated Release to Translated Release

You install an Oracle Demantra non-translated release (before release 7.3.0) and begin your implementation in U.S. English. During this process, you maintain the standard application and add some new content (either in U.S. English, or using the limited non-U.S. English capabilities for worksheet and series names).

Then, you upgrade to a translated release (release 7.3.0 and later) to take advantage of the translations of standard application objects and platform menus and labels. You select a language other than U.S. English.

As a result of the upgrade, the following occurs:

Partially Translated Release to Fully Translated Release

You install an Oracle Demantra non-translated release (before release 7.3.0), with patches to allow creation of certain objects (for example, worksheets and series) in a non-U.S. English language. You implement new content in the non-U.S. English language and also modify standard application strings to non-U.S. English.

Then, you upgrade to a translated release (release 7.3.0 and later) to take advantage of the full user interface translation to the non-U.S English language and you select the same language as that of your partially translated release.

As a result of the upgrade, the following occurs:

Translated Release to a Higher Translated Release

You install and implement an Oracle Demantra translated release. You make slight modifications to the standard application, for example, add new series, slightly change the name of a worksheet or two, or add some new worksheets and workflows.

Then, you run the Installer to upgrade to a higher translated release and choose the same language while preserving your own modifications.

As a result of the upgrade, the following occurs:

Changing Language

You rollout a model in one region and language and want to use that same model in another region and language.

You copy the original regional schema, import it into a new instance, strip it of data, and run the Installer against this schema, choosing a new language.

As a result of the upgrade, the following occurs:

Note: Oracle Demantra release 12.2 and later handles currency symbols differently than in the 7.3.x release. In the 7.3.x releases, the currency symbol reflected the locale that was defined on the end user's client machine (for example, if the user was based in the US, the USD currency symbol ($) was used). In implementations spanning multiple countries and locales this could result with the same value being shown with different symbols presenting incorrect information. In release 12.2 and later the currency symbol does not change by the user locale. Instead, the currency symbol set in the Business Modeler is used for all users.

Verifying the Database Upgrade

If you upgraded the database user, make sure that upgrade ran correctly. See Checking the Log Files and Tables.

Application Upgrade Using the Business Application Language (BAL)

If you perform an application upgrade and new engine profiles are added, be sure to review the following parameters to ensure they are set correctly.

If you are not sure what these parameters should be set to, Oracle recommends using the settings of the 'Base' engine profile. Additionally, after performing an application upgrade to move your data model to either a daily or a monthly system, the following parameters should be evaluated in the same manner:

Note: "Timeunit" is not visible using Business Modeler and must be reviewed and modified using a tool such as SQL Developer.

Upgrading from 7.1 and Higher

Application upgrades to release 12.2 are supported from release 7.1 and later.

Refer to Upgrade Preparation Checklist before you begin.

The upgrading of the schema occurs during the installation process. Once you arrive at the Schema Options screen, your choices are as follows:

If you are upgrading both the platform and application, you can decide either to run an automatic upgrade or a manual upgrade based on these criteria:

For automatic upgrade:

For manual upgrade:

Important: To prevent issues with client expressions that may refer to seeded series names, any seeded series names that were changed will revert back to their original text during the upgrade. Therefore, if you renamed seeded series, you must restore the modification after the upgrade is complete.

Note: If you are upgrading to 12.2 or later, any seeded series names that contain restricted characters like slash (/) or hyphen (-) will no longer have these characters after the upgrade.

Automatically Provide Users Created in the Business Modeler with Access to New Seeded Series

Using the SQL insert statement, the SYS_PARAMS table can be updated to include the SYNCHRONIZE_USER_SERIES parameter that automatically provides users created in the Business Modeler with access to new seeded series upon upgrading. This parameter must be set prior to upgrading to the latest version of Demantra, or else all the new seeded series will only be available to the component owners (such as dm). Without adding the SYNCHRONIZE_USERS_SERIES parameter, the administrator must manually configure all other users to provide them with access to the new series.

Below is the syntax for this parameter:

insert into SYS_PARAMS (PNAME, PVAL, DESCRIPTION) VALUES 'SYNCHRONIZE_USER_SERIES', 'DCM_PRODUCT:157, DCM_PRODUCT:178', 'Provides users created in Business Modeler
 with access to all new seeded series for specified components when upgrading');

Where:

This statement provides all users created in Business Modeler with access to any new seeded series for both the Demand Management and Sales and Operations Planning components (application IDs 157 and 178, respectively). The description shown here is just an example; you can enter different text if desired, but note that this column cannot exceed 255 characters. If you define this parameter, it persists in the Demantra schema and is respected during future upgrades.

Upgrading Software and Data to Support Service Parts Forecasting

The following steps are necessary to support Service Parts Forecasting when upgrading software and data from a pre-7.3.1 version of Demantra:

Reviewing the Engine Profiles

Before installing or upgrading Demantra version 7.3.1, you must review any engine profiles to ensure they are not referencing init_params_XXX tables used by some of our new engine profiles provided in release 7.3.1.

  1. Using SQL Developer or similar tool, run the following command: select * from engine_profiles;

  2. Note the values in column INIT_PARAMS_TABLE_NAME.

If any profiles are pointing to the tables INIT_PARAMS_121, INIT_PARAMS_122, INIT_PARAMS_141, and INIT_PARAMS_142, the table referenced to by these engine profiles must be modified to point to a new table name.

Note: When upgrading to this release, you must select the "Application and Platform Upgrade" option (Upgrade Options screen) to enable SPF functionality. SPF will not be enabled if you choose the "Platform Only" option.

Modifying the Init Params Table Name

After reviewing your existing engine profiles, if any of your profiles are referencing INIT_PARAMS_121, INIT_PARAMS_122, INIT_PARAMS_141 or INIT_PARAMS_142, do the following to change your existing table names:

  1. Log in to Business Modeler.

  2. From the Parameters menu, choose System Parameters, then Engine.

  3. Find the appropriate engine profile and click Edit.

  4. Rename the table in the “Init Params Table Name” field. Enter a table name that is not currently in use. For example, change INIT_PARAMS_121 to INIT_PARAMS_222.

Enabling the SPF Rolling Profile Group

The seeded "SPF" Rolling Profile Group is disabled by default. After installing or upgrading, you must perform the following steps to ensure that SPF forecasts are archived.

  1. Log into the database using SQL Developer or similar application.

  2. In the ROLLING_GROUPS table, enable the “SPF” rolling profile group by setting IS_ACTIVE to '1'.

Note: When multiple profile groups are enabled, Oracle does not recommend running profile groups from the analytical engine (via INSERT_UNITS). Instead, schedule them to run separately via a workflow that executes the EXECUTE_PROFILES procedure and passes a specific rolling group ID. To disable execution of profile groups by the engine, set the engine parameter RunInsertUnits to 3.

For more information, refer to the Oracle Demantra Analytical Engine Guide.

Upgrading Software and Data to Support Configure to Order

In release 7.3.0.1 and later, two new internal Configure to Order (CTO) levels are available: CTO Parent and CTO Child. These new levels define the CTO Tree. These levels are used instead of the 'Parent Item' and 'Item' levels used in release 7.3.0 (the first Demantra release that supported CTO).

Depending on your current Demantra version, you may need to perform the steps in this section to upgrade CTO structures and (optionally) upgrade your CTO data.

If you are upgrading from release 7.3.0, then you must perform the steps in this section.

You do NOT have to perform the steps in this section if:

  1. You are upgrading from a pre-7.3.0 version of Oracle Demantra

    Or

  2. You are upgrading from release 7.3.0.1 or later

Note: Demantra release 7.3.0.1 and later also provides an automatic setting for enabling the CTO Tree view without the need to manually include CTO Parent level and CTO Child levels in worksheets. Depending on your needs, you may want to remove the Parent Item from current CTO worksheets. When using the context menu on the Item-level Show CTO Tree, the system automatically includes and hides the CTO Parent level and CTO Child levels and displays the item as a CTO Tree.

Prerequisites:

To Upgrade Software and Application to Support CTO Functionality:

If you are upgrading from release 7.3.0, the upgrade process contains two stages:

  1. Software and metadata upgrade - This is achieved by selecting 'Application and Platform' when running the installer.

  2. Data upgrade - This is a manual process that upgrades your data for the new CTO Levels and provides a mechanism to use existing data without the need to reload new data.

Important: Data upgrade is not necessary if you are planning to reload a new full data set.

Stage One: Software and Metadata Updating:

  1. Make sure you have a working backup.

  2. Back up user overrides manually or by creating an integration interface as described in the Prerequisites above.

  3. Run the Demantra Installer. In the Upgrade Options page, be sure to select the 'Application and Platform Upgrade' option. See Upgrading from 7.1 and Higher for more details. Important: When the upgrade is complete, perform the next step only if you are NOT planning to reload a new CTO data set. This step should be performed before starting Demantra.

Stage Two: Manually Updating Data

  1. If you are not planning to reload all CTO data, upgrade existing CTO data using the procedure APPPROC_UPDATE_CTO_LEVEL_7301. This procedure will generate data for the "CTO Child" level using data from "Parent Item" and "Item" levels. It also populates Demantra internal tables for CTO (T_EP_CTO, T_EP_CTO_MATRIX, T_EP_CTO_DATA).

    This procedure utilizes the Oracle database job queue. By default this spawns 10 jobs in the USER_JOBS tables. On systems that can support more parallels jobs, you can extend the number of jobs in JOB_QUEUE_PROCESSES and execute the procedure with more jobs.

    Execute procedure with default 10 jobs:

    exec APPPROC_UPDATE_CTO_LEVEL_7301;

    Execute procedure with 20 jobs:

    exec APPPROC_UPDATE_CTO_LEVEL_7301( 20 );

    Monitor job completion until no jobs are listed in the USER_JOBS table:

    select * from user_jobs

  2. Create the new Demantra.war and deploy to your application server.

For more information, see “Configure to Order” in the Oracle Demantra Integration Guide.

Upgrading from Before 7.1

If you want to upgrade from a version earlier than 7.1, you must update to an intermediate release like 7.3.0.2, and then upgrade to the current version.