Delete the LMT MySQL Database

Delete the Lustre monitoring tool (LMT) database.

There must be data stored in the Lustre monitoring tool (LMT) MySQL database to delete.

This procedure deletes all LMT data.

  1. Log into the LMT server (the management server (MGS) node in direct-attached Lustre (DAL) systems).
  2. Delete the LMT MySQL database where fsname is the name of the file system to be removed.
    mgs# lmtinit -d fsname
  3. Optional: Remove the MySQL users added by LMT.
    mgs# mysql -u root -p -e "drop user 'lwatchclient'@'localhost'; \
    drop user 'lwatchadmin'@'localhost';"