Installation & Upgrade & De-installation

This chapter describes all installation/upgrade/de-installation steps.

Installation

This paragraph describes the installation.

Prerequisites

This paragraph describes all necessary steps which must be completed before you start the DMK_SQL installation.

The DMK_SQL doesn’t require any specific action. It can be installed regardless of DMK.

Software extraction

Based on the dbi services and OFA (Oracle Flexible Architecture) best practices extract the archive under ${ORACLE_BASE}/local, as explained below:

gzip --decompress dmk-xx-xx-xxxx.tar.gz
tar -xvf dmk-xx-xx-xxxx.tar

Typically, ${ORACLE_BASE} match:

  • “/u00/app/oracle” on Linux/Unix

  • “D:\oracle” on Microsoft Windows systems

Install

To complete the installation you just need to re-source DMK. This can be either achieved by

  • restarting the PowerShell Console

  • sourcing DMK within your shell (alias dmk)

oracle@vmoraoel:/home/oracle/ [rdbms11202] dmk

oracle@vmoraoel:/home/oracle/ [rdbms11202] echo ${DMK_SQL}
/u00/app/oracle/local/dmk_sql

Your shell automatically expands the SQLPATH variable with the DMK_SQL scripts.

Enjoy!

Upgrade

dbi services recommend to perform a backup of your DMKSQL package before upgrading.

The upgrade process is similar to the installation except that the prerequisites are already fulfilled:

  • Extract the software as explained in chapter 3.1.2 Software extraction

  • Install DMK_SQL as explained in chapter 3.1.3 Install

That’s it!

De-installation

This paragraph describes the de-installation of the DMK_HA toolkit.

For Linux:

rm -rf $DMK_SQL

For Windows

Remove-Item $DMK_SQL

Last updated