Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
e0b7ad3f
Commit
e0b7ad3f
authored
6 years ago
by
Gin Tan (Monash University)
Browse files
Options
Downloads
Patches
Plain Diff
Adding explanation to the role
parent
87dd7d06
No related branches found
No related tags found
1 merge request
!234
Mariadb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/slurmdb-config/readme.md
+13
-0
13 additions, 0 deletions
roles/slurmdb-config/readme.md
with
13 additions
and
0 deletions
roles/slurmdb-config/readme.md
0 → 100644
+
13
−
0
View file @
e0b7ad3f
If the database is already up and running, applying the config would fail.
To make a change to the log file size without data loss before applying the config.
1.
While mariadb is still runing
MySQL> SET GLOBAL innodb_fast_shutdown=0;
2.
Stop mariadb
systemctl stop mariadb
3.
Run this role to copy the config to /etc/my.cnf.d
4.
Go to /var/lib/mysql
mv ib_logfile0 ib_logfile0_orig
mv ib_logfile1 ib_logfile1_orig
5.
systemctl start mariadb
This diff is collapsed.
Click to expand it.
Andreas Hamacher
@handreas
mentioned in commit
c822505b
·
4 years ago
mentioned in commit
c822505b
mentioned in commit c822505bc1b9af406db312fd6c0ea95ae9e0fe1e
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment