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
Hello my friends,
just putting it here before i forget it.
in the centreon-smooth-db-backup we do the following thing https://github.com/centreon/centreon-ha/blob/907109778feba6b017b47c201e540922528c1c1f/bin/centreondb-smooth-backup.sh#L376
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: