Structure

This chapter presents the structure of DMK.

Directory structure

Name
Description

${DMK_BASE}

${PG_BASE}/local

${DMK_HOME}

/ansible

Contains Ansible playbooks

/bin

Contains all binaries & scripts

/containers

Contains docker files

/docs

Contains the documentation

/etc

Contains configuration files

/lib

Contains all required perl libraries

/log

Contains log files

/sql

Contains SQL scripts

/templates

Contains Various templates (scrips, configurations, profiles, aso …)

/tmp

Contains temporary files, e.g., sockets

Prompt customization

A well-designed prompt heightens DBA efficiency on all platforms.

The DMK prompt is always composed of

  • The username

  • The server name

  • The current directory

  • The current database instance for which the DMK environment has been sourced.

On Linux the customization takes directly place from the ${DMK_HOME}/etc/dmk.conf file

var::PS1::=::nooption::'${LOGNAME}@${HOSTNAME}:${PWD}/ [${PGDATABASE}] '::

Last updated