This section describes how to upgrade from an earlier version of DB2 OLAP Server to DB2 OLAP Server Version 8.1 on the same computer and describes what occurs during the upgrade process.
Caution:
Starting in Version 8.1, the Relational Storage Manager (RSM) is
withdrawn from DB2 OLAP Server. Applications created using the RSM in
previous versions must be migrated to the Multidimensional Storage Manager
(MSM) before installing Version 8.1, or you will lose data.
If you are upgrading from an earlier version of DB2 OLAP Server and you have applications that use the Relational Storage Manager (RSM), you must first migrate them to the Multidimensional Storage Manager (MSM) in the earlier version of DB2 OLAP Server before installing Version 8.1, or you will lose data. After migrating your RSM applications to the MSM, you can install Version 8.1, and then migrate your applications to Version 8.1.
The following steps show you how to migrate data from the RSM to the MSM:
You must specify an anchor dimension.
The OLAP database is activated and restructured, and the modified outline becomes the outline for the new database. During this process, the cube is stored in a multidimensional database.
Read this section before upgrading to understand the two I/O access modes available with Version 8.1, and how OLAP databases are affected by an upgrade to Version 8.1, in terms of cache sizes and the I/O access modes.
Buffered I/O uses the buffer cache of the file system. If you are upgrading from a release prior to Version 7.1, your databases are using buffered I/O.
Direct I/O bypasses the file system buffer cache and is able to provide faster response time and more potential to optimize cache sizes. If you are upgrading from Version 7.1 or later, your databases are using direct I/O.
Cache memory locking can only be used if direct I/O is used. You also must use direct I/O if you want to use the no-wait (asynchronous) I/O of the operating system. For platform-support information related to I/O, see Table 24
Table 23 shows the default I/O access mode for each release, and the
I/O access mode choices available (if applicable) for each release. Use
this table and this section to determine whether you are currently using
buffered or direct I/O, and to decide which you will use after you upgrade to
Version 8.1.
Table 23. Default I/O access modes for each DB2 OLAP Server version
Version | Direct I/O | Buffered I/O |
---|---|---|
Version 1, Version 1.0.1, and Version 1.1 | N/A | Default |
Version 7.1, up to FixPak 7 | Default | N/A |
Version 7.1, FixPak 8 and later | Available by using DIRECTIO TRUE in essbase.cfg. | Default |
Version 8.1 | Available per-database, as a database setting.
Available once for all new or upgraded databases, by using DIRECTIO TRUE config-file setting in essbase.cfg. | Default |
The following list can help you to determine which I/O access mode your databases currently use, and how those databases will upgrade if you do not make any changes.
The DIRECTIO setting introduced in Version 7 FixPak 8 is server-wide, and affects all databases. With Version 8, the access mode specified by DIRECTIO is only read once for each database, after upgrading or first creation of a database. Thereafter, the I/O access mode must be changed per database using the database settings.
With Version 8.1, the I/O access mode is a database setting stored in the security file, rather than a server-wide essbase.cfg file setting that affects all databases. The essbase.cfg configuration-file setting DIRECTIO TRUE|FALSE is maintained for backward compatibility with Version 7 FixPak 8. It is also used to provide a default value for newly created databases and for databases that are upgraded from an earlier release.
If a DIRECTIO setting exists in the essbase.cfg file at upgrade time, only newly created or upgraded databases will be affected by the setting. DB2 OLAP Server reads the I/O access mode specification from essbase.cfg once for each database, and copies that information to the security file (essbase.sec). Thereafter, if you want to change the I/O access mode used by any database, you must change it at the database level using the database setting.
The I/O access mode can be set from Application Manager (Database Settings > Storage tab), MaxL (alter database set io_access_mode), or programmatically using the Application Programming Interface. For more information, see the Database Administrator's Guide, the MaxL documentation in the Technical Reference, or the API Reference.
If you want to use the no-wait I/O of an operating system, select direct I/O as the DB2 OLAP Server I/O access mode. DB2 OLAP Server attempts to use no-wait I/O, when available, as long as direct I/O is the I/O access mode. To determine whether DB2 OLAP Server is using no-wait I/O at a particular time, view the database information in Application Manager (Database Information > Storage tab), MaxL (display database), or programmatically using the Application Programming Interface. For a list of platforms on which DB2 OLAP Server supports no-wait I/O, see Table 24.
If you set a database to use direct I/O, DB2 OLAP Server will attempt to use direct I/O the next time the database is started. If direct I/O is not available on the platform at the time the database is started, DB2 OLAP Server will use buffered I/O, which is the default. However, DB2 OLAP Server stores the I/O access mode you selected as a setting in the security file, and will attempt to use that I/O access mode each time the database is started.
When you upgrade, your cache sizes for existing databases will not change. If you are currently running Version 7.1 up through FixPak 7 and using the default I/O access mode (direct), your cache sizes for existing databases are probably large, because direct I/O requires larger cache sizes. If, after you upgrade, you plan to use the default Version 8.1 I/O access mode (buffered), you should reduce the cache size settings before upgrading or before you start the upgraded database.
The following list explains default cache sizes for DB2 OLAP Server databases when upgrading to Release 6.5, for each I/O access mode:
To override the defaults after upgrading, change the database settings or properties before you start the upgraded database for the first time.
For more information on buffered I/O and direct I/O, see the Database Administrator's Guide.
Table 24 shows the platforms on which DB2 OLAP Server supports
no-wait (or asynchronous) I/O. Although no-wait I/O is not used by DB2
OLAP Server on Solaris Operating System and AIX, direct I/O is still available
for those platforms.
Table 24. Platforms on which DB2 OLAP Server supports no-wait (asynchronous) I/O
Platform | Direct I/O | No-Wait I/O | Cache Memory Locking |
---|---|---|---|
Windows 98 | Not Supported | Not Supported | Not Supported |
Windows XP | Supported | Supported | Supported1 |
Windows 2000 | Supported | Supported | Supported1 |
Windows NT | Supported | Supported | Supported1 |
AIX | Supported | Not Supported | Not Supported |
Solaris Operating Environment | Supported | Not Supported | Supported2 |
HP-UX | Supported3 | Supported | Not supported |
Notes:
The following additional migration considerations may apply to your upgrade situation:
This section provides migration details and tells you how to upgrade databases from earlier versions of DB2 OLAP Server to Version 8.1.
DB2 OLAP Server migrates databases when the database is started. By default, a database is set to start when its application starts. The OLAP kernel checks for files resulting from previous unsuccessful migrations, restarting the migration if necessary.
DB2 OLAP Server migrates the ESSxxxxx.IND, dbname.ESM, and thedbname.TCT files when the database is started. DB2 OLAP Server migrates the ESSxxxx.PAG file as data blocks are accessed; hence, the .PAG file migrates when you run the VALIDATE command after starting the database. After the kernel files are migrated, they are not backwards-compatible with the earlier release.
The following steps explain how to upgrade to Version 8.1 from an earlier release on the same computer. To upgrade and migrate databases to another computer, see Migrating applications and databases across servers.
After migration, you can restore databases from earlier releases only from backups. Therefore, be sure to back up databases before starting to upgrade.
To upgrade to Version 8.1 on the same computer, proceed in the following order for each database:
If VALIDATE returns errors, revert to a backup that is free of those errors.
The VALIDATE checks for LRO errors.
If you want to change database settings, this is a convenient point at which to do so. If you change the settings now, you will not have to restart the database to make the settings effective. See Determining which I/O access mode to use for information on the default settings.
DB2 OLAP Server migrates the database to Version 8.1 format if the database was restored.
In Version 7.1 and later, Essbase Query Designer (EQD) replaces Retrieval Wizard for creating queries. If you have Retrieval Wizard (.WIZ) files, the EQD may not properly translate Retrieval Wizard subsets to EQD member filters, which could cause the following problems:
After opening Retrieval Wizard files, make sure the navigation panel nodes define the member filters as you want them. If necessary, manually promote, demote, or move nodes around or add new nodes.
On Windows platforms, the DB2 OLAP Server installation program updates the client or server system environment to run Version 8.1 software. Microsoft system files are installed to the Windows system directory (for example, C:\Winnt\System32 on Windows NT 4.0) if the files do not already exist, or if the version shipped with DB2 OLAP Server is newer.
The following table lists Windows system files installed with each DB2 OLAP
Server component on supported Windows platforms. A check mark in a
column indicates that the system file is installed with the specified DB2 OLAP
Server component. These files will be installed to your system
directory only if the files do not already exist, or if older versions
exist.
Table 25. System files installed with each DB2 OLAP Server component
File | OLAP Server | Application Manager | Spreadsheet Add-in | Runtime Client | API | File Version |
---|---|---|---|---|---|---|
ATT.DLL |
|
| Yes |
|
| 2.00.7024 |
CTL3D32.DLL |
| Yes |
|
|
| 2.31.000 |
MFC42.DLL |
|
| Yes | Yes | Yes | 4.21.70221 |
MSVCRT.DLL | Yes | Yes | Yes | Yes | Yes | 5.00.70222 |
MSVCIRT.DLL | Yes | Yes | Yes | Yes | Yes | 5.00.7022 |
Notes:
To move databases to a different computer, or to upgrade to Version 8.1 on a different computer manually, proceed in the following order for each database:
If VALIDATE returns errors, revert to a backup that is free of those errors.
Consider carefully how you configure your disk volumes. Any changes you make to your disk volumes settings after you have loaded data on the new OLAP Server are reflected only in new data loads; changes are not retroactive.
The names of the applications and database you create do not need to be the same as the ones on the original server. However, if you make changes to the names, make sure that these changes are reflected as necessary in script files, spreadsheet macros, and API-based applications. In addition, make sure that these changes are clearly communicated to the user base.
Caution:
Do not move the application directory to the new server through a file
transfer via the operating system or via FTP.
At this point, you should avoid making changes to the outline if you want to be able to import the data file that you will export from the original application.
If you are migrating between different server platforms, be sure to use the procedure described in steps 8 through 11 of this procedure. If you are migrating between the same server platforms, calc script and report script files can be moved using the operating system. If you move these files via the operating system, check to make sure that they function properly after moving them.
Caution:
Data load rules files are binary files and should always be migrated as
described in steps 8-11.
Caution:
Moving the security file (ESSBASE.SEC and its backup
ESSBASE.BAK) between computers is not recommended or
supported.