Upgrade to Essbase 21.8 Requires Manual ODBC Configuration
Essbase 21.8 deployment includes updated DataDirect ODBC drivers (version 8.0.2). After you apply Essbase 21.8 OPatch to an independent Essbase deployment, you need to manually update your ODBC configuration (applies on Linux and Windows).
This issue affects you if you are upgrading to Essbase 21.8 from a previous version, and you need to load external source data / dimensions to Essbase using ODBC drivers (as described in Access Data Using ODBC Connectivity).
Note:
When you apply Essbase 21.8 OPatch, older ODBC driver versions (for example, 7.1.6 or 5.3), are removed. They are unsupported for Essbase 21.8, and will not work.
Essbase 21.8 is bundled only with these DataDirect ODBC driver versions, and only these are supported:
[ODBC Drivers]
Oracle 8.1 MongoDB
Oracle 8.0 Amazon Redshift Wire Protocol
Oracle 8.0 Apache Hive Wire Protocol
Oracle 8.0 Apache Spark SQL
Oracle 8.0 DB2 Wire Protocol
Oracle 8.0 Greenplum Wire Protocol
Oracle 8.0 Informix Wire Protocol
Oracle 8.0 MySQL Wire Protocol
Oracle 8.0 Oracle Wire Protocol
Oracle 8.0 PostgreSQL Wire Protocol
Oracle 8.0 SQL Server Wire Protocol
Oracle 8.0 Sybase IQ Wire ProtocolAfter you apply the Essbase 21.8 OPatch,
- You must manually update your ODBC configuration (applies on both Linux and Windows).
- Oracle recommends manually backing up your ODBC configurations for the older 7.1.6 drivers, in case you need to roll back to a previous Essbase version that uses those drivers.
Linux Instructions
Before you begin, make note of the location of the older 7.1.6 driver configurations on the Essbase server domain:
-
odbc.ini, located in<Domain Root>/<Domain Name>/config/fmwconfig/essconfig/core -
odbcinst.ini, located in<Oracle_HOME>/essbase/modules/oracle.essbase.datadirect.odbc/7.1.6/odbcinst.ini -
ODBC driver libraries, located in
<Essbase Product Home>/modules/
-
If Essbase is running, stop the servers, as described in Start, Stop, and Check Servers.
-
Make a backup copy of your older 7.1.6 driver configurations:
odbc.ini(required), andodbcinst.ini(required if you're using third party drivers such as Teradata).Note:
To avoid accidental overwrite, ensure your 7.1.6 driver configuration backups are saved somewhere outside of<Essbase Product Home>/modules/Examples:
cp <Domain_Home>/config/fmwconfig/essconfig/core/odbc.ini <Oracle_HOME>/odbc.ini_origcp <Oracle_HOME>/essbase/modules/oracle.essbase.datadirect.odbc/7.1.6/odbcinst.ini <Oracle_HOME>/odbcinst.ini_orig -
Apply Essbase 21.8 OPatch (as described in Patch and Roll Back).
-
Open
odbc.inifor editing. -
Replace the old driver names with new ones, providing the absolute library path in the Driver name entry. For example, (replace Oracle_HOME with your system's Oracle_HOME path):
-
Change
Driver=<Oracle_HOME>/essbase/modules/oracle.essbase.datadirect.odbc/7.1.6/lib/ARsqls27.soto
Driver=<Oracle_HOME>/essbase/modules/oracle.essbase.datadirect.odbc/8.0.2/lib/ARsqls28.so -
Change
Driver=<Oracle_HOME>/essbase/modules/oracle.essbase.datadirect.odbc/7.1.6/lib/ARdb227.soto
Driver=<Oracle_HOME>/essbase/modules/oracle.essbase.datadirect.odbc/8.0.2/lib/ARdb228.so -
Change
Driver=<Oracle_HOME>/essbase/modules/oracle.essbase.datadirect.odbc/7.1.6/lib/ARmysql27.soto
Driver=<Oracle_HOME>/essbase/modules/oracle.essbase.datadirect.odbc/8.0.2/lib/ARmysql28.so
-
-
(Optional) replace the old driver descriptions with new ones.
- Change
Oracle 7.1 SQL Server Wire ProtocoltoOracle 8.0 SQL Server Wire Protocol - Change
Oracle 7.1 DB2 Wire Protocol DrivertoOracle 8.0 DB2 Wire Protocol Driver - Change
Oracle 7.1 MySQL Wire ProtocoltoOracle 8.0 MySQL Wire Protocol
- Change
-
Save
odbc.ini. -
Edit the
odbcinst.inifile,<Oracle_HOME>/essbase/modules/oracle.essbase.datadirect.odbc/8.0.2/odbcinst.ini.Example for DB2
(replace Oracle_HOME with your system's Oracle_HOME path):
Driver=<Oracle_HOME>/essbase/modules/oracle.essbase.datadirect.odbc/8.0.2/Ardb228.soExample for Teradata
Copying and pasting your Teradata-related entries from the backup file,
<Oracle_HOME>/odbcinst.ini_orig, add information about the Teradata ODBC driver toodbcinst.ini:Teradata=Installed [Teradata] Driver=/opt/teradata/client/20.00/odbc_64/lib/tdataodbc_sb64.so APILevel=CORE ConnectFunctions=YYY DriverODBCVer=3.51 SQLLevel=1 -
Save
odbcinst.ini. -
Start Essbase, as described in Start, Stop, and Check Servers.
Note:
If you ever need to roll back the Essbase 21.8 OPatch, you will also need to restore to your backup odbc.ini file (and odbcinst.ini, if using third party drivers such as Teradata). Example:
cd <DOMAIN_HOME>/config/fmwconfig/essconfig/core
cp odbc.ini.orig odbc.iniWindows Instructions
On Windows, previously configured system DSNs – as described in Configure the ODBC Source of Data (Windows) – will not work after applying the Essbase 21.8 OPatch. You must reconfigure System DSN to use the 8.0.2 drivers.
-
If Essbase is running, stop the servers, as described in Start, Stop, and Check Servers.
-
Apply Essbase 21.8 OPatch (as described in Patch and Roll Back).
-
On the Essbase Windows server, open the Windows Registry Editor (from Start menu, run regedit).
-
Navigate to
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI. -
Right click ODBC.INI and select Export. Save it as a backup, in case you need to roll back the OPatch. For example, save the configuration as
odbc.orig.reg. -
Navigate to
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI. -
Right click ODBCINST.INI and select Export. Save it as a backup, in case you need to roll back the OPatch. For example, save the configuration as
odbcini.orig.reg. -
Navigate into ODBC.INI and select essbase_datasource
-
For the entries named Driver and Description, right click and select Modify to update the information for all data sources.
Change
-
Oracle 7.1 SQL Server Wire Protocolto
Oracle 8.0 SQL Server Wire Protocol -
Change
Oracle 7.1 DB2 Wire Protocol Driverto
Oracle 8.0 DB2 Wire Protocol Driver -
Change
Oracle 7.1 MySQL Wire Protocolto
Oracle 8.0 MySQL Wire Protocol
-
-
On the Essbase Windows Server, navigate to
<ESSBASE_PRODUCT_HOME>\modules\oracle.essbase.datadirect.odbc\8.0.2. -
Make a backup copy of
ODBC802.reg(for example,ODBC802_orig.reg). -
Edit
ODBC802.reg, replacing all occurrences of$ODBC_PATHwith the absolute path of the ODBC drivers – for example,C:\\Oracle\\Middleware\\Oracle_Home\\essbase\\modules\\oracle.essbase.datadirect.odbc\\. -
Double click the edited
ODBC802.regfile. This will edit the Windows registry to have entries for the DataDirect 8.0.2 drivers bundled with Essbase 21.8. -
Start Essbase, as described in Start, Stop, and Check Servers.
Note:
If you ever need to roll back the Essbase 21.8 OPatch, you will also need to restore to your backup ODBC.INI and ODBCINST.INI Windows registry entries. For example, delete the ODBC.INI entry from regedit, then double click odbc.orig.reg to restore the previous entry. Alternatively, you can import/merge the registry entries.