Functionalities & Features

This chapter presents the built-in functionally and features of DMK.

Automatic activation of the profile

A profile template is delivered with DMK. Follow the instructions to configure DMK sourcing at login time.

Linux/Unix login-Shell profile:

Depending on your SHELL the profile file can be called “.profile” or “.bash_profile”.

cat ${DMK_HOME}/templates/etc/profile/dmk.mysql.profile >> ~/.profile

Alias & Variable Management : ${DMK_HOME}/etc/dmk.conf

DMK set the environment using “${DMK_HOME}/etc/dmk.conf” in 3 steps

All these steps match to a section from the “${DMK_HOME}/etc/dmk.conf” file. Which are defined by brackets “[…]”, example follows:

The database section [+ASM1] is set specially for the environment of the database “+ASM1”. If aliases or variables overwrite a defined one from any other section, it will be re-initialized by switching to next environment.

Automatic creation of aliases and variables for modules

DMK interacts with other dbi services toolkits (DMK_HA,DMK_DBBACKUP,DMK_SQL, aso ….), this interaction feature is available for customers on Linux/Unix platforms.

Details of the feature:

  • Directories located under ${MYSQL_BASE}/local

  • Creates an alias and a variable with the name of the directory in Uppercase

  • The System variable ${PATH} is extended with the “bin” directory

⚠️ Aliases won’t be created for directories containing the hyphen “-“ character.

Last updated