Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

bad mariadb handling with backup #64

Open
tanguyvda opened this issue Jul 5, 2022 · 0 comments
Open

bad mariadb handling with backup #64

tanguyvda opened this issue Jul 5, 2022 · 0 comments

Comments

@tanguyvda
Copy link

tanguyvda commented Jul 5, 2022

Hello my friends,

just putting it here before i forget it.

in the centreon-smooth-db-backup we do the following thing

systemctl start mariadb

we shouldn't start mariadb if it is supposed to be handled by a cluster. From what I've seen it will sometimes generates error when the script starts mariadb and we don't want to rely on the mariadb ability to recover from repeated missusage

fix idea:

if [ "$PACEMAKER_ON" = "0" ] ; then
	systemctl start mariadb
fi
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant