diff --git a/roles/mysql/README.md b/roles/mysql/README.md index 2001c8077fb732a7306bdd6efefef23de76e2b6d..50ec7af3b631c57c5cea45c0ef776a16982a0272 100644 --- a/roles/mysql/README.md +++ b/roles/mysql/README.md @@ -16,8 +16,8 @@ The preferred approach. 4). The datbase by default is in */var/lib* which is on a small Unix disk partition. You need to change it. Several options exist. -a. Set up a soft pointer, i.e. **/var/lib/mysql -> /vdb/mysql** OR -b. Modify **/etc/my.cnf.d/mariadb-server.cnf** and point to a new location. +1. Set up a soft pointer, i.e. **/var/lib/mysql -> /vdb/mysql** OR +1. Modify **/etc/my.cnf.d/mariadb-server.cnf** and point to a new location. e.g. ``` [mysqld] @@ -29,12 +29,12 @@ pid-file=/run/mariadb/mariadb.pid 5) The procures will be something like this: -a. **systemctl stop mariadb** -b. **mkdir /mnt/vdb1/var_lib_mysql** -c. **chown mysql:mysql /mnt/vdb1/var_lib_mysql** -d. **cp -rp /var/lib/mysql/\* /mnt/vdb1/var_lib_mysql** -e. **systemctl start mariadb** -f. Use **systemctl status mariadb** and view **/var/log/mariadb/mariadb.log** to trace errors +1. **systemctl stop mariadb** +1. **mkdir /mnt/vdb1/var_lib_mysql** +1. **chown mysql:mysql /mnt/vdb1/var_lib_mysql** +1. **cp -rp /var/lib/mysql/\* /mnt/vdb1/var_lib_mysql** +1. **systemctl start mariadb** +1. Use **systemctl status mariadb** and view **/var/log/mariadb/mariadb.log** to trace errors 6) None of the above is in the ansible scripts. The *mysql* role is tagged as **never** due to these complications 7) The input parameters to this role have been modified, so users can hardcode the SLURM controllers directly.