Skip to content
Snippets Groups Projects
Commit f610ed67 authored by Simon Michnowicz's avatar Simon Michnowicz
Browse files

number

parent 20eb7519
No related branches found
No related tags found
1 merge request!595Slurm upgrade and new rocky sql server
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment