Release note 2.0.0

What's new?

  • General bugs fixes

  • New feature: mariadb.sh restart

  • Instance name

  • Instance creation with -r | --release parameters

  • Instance informations

  • All instance status/recap

  • New man page

  • New aliases

  • Ansible

General bugs fixes

  • "WARNING: Log file disabled" bug fixed.

  • we can now create/remove instance with number instead of only "mysqld[number]"

    • example: mremove -s 7 will remove instance mysqld7

New feature: mariadb.sh restart

  • we can now restart instance

  • alias: mdrestart

Instance name

  • mcreate and mremove scripts compatibility

    • example: mcreate.sh -s replica-3 or mremove.sh -s replica-3

  • alias md[instance name]

    • example: mdreplica-3

  • alias vii to edit instance.conf file

  • Shell and SQL prompt compatibility

    • show [instance name] instead of his isntane id [mysqld...] when instance has a name

Instance creation with -r | --release parameters

  • command: mcreate.sh -s [instance id/name] -r [release version]

    • example: mcreate.sh -s replica-2 -r 10.9

  • Now reponse file (mcreate.rsp) is a symlink base on templates in dmk/templates/mcreate.rsp_version/

Instance informations

  • New general instance information

  • Now we can have a access to Master or Replica information status

    • Info: IP/Second Behind Master/Salve running OI/SQL

    • For master instance user grant "REPLICATION MASTER ADMIN" privileges are necessary on replica instance

All instance status/recap

  • command: u/ser/sta

  • show each instance:

    • name

    • running status

    • port

    • version

New man page

  • command: man ${DMK_HOME}/doc/dmk-mariadb.man

  • alias: dmkman

New aliases

Alias
Command

mdstart [instance]

start instance

mdstop [instance]

stop instance

mdrestart [instance]

restart instance

mdcreate

"mcreate.sh -s" equivalent create instance

mdremove

"mremove.sh -s" equivalent remove instance

md[instance_name]

change workspace to [instance_name]

vii

Open dmk/etc/instance.cnf file with VIM

dmkman

Open dmk man page (dmk/doc/dmk-mariadb.man)

Ansible

Ansible playbook to deploy and install:

  • MariaDB with all required dependencies

  • DMK installation and sourcing

Last updated