← Back to team overview

maria-discuss team mailing list archive

New Question: Need help modifing the mysqld_multi script

 

Hello,

A new question has been asked in "MariaDB Community" by cisaksen. Please answer it at http://mariadb.com/kb/en/need-help-modifing-the-mysqld_multi-script/ as the person asking the question may not be subscribed to the mailing list.

--------------------------------
I running a multi instance mariadb cluster with 3 nodes.  The nodes are all SUSE (SLES) 12.  I have copied the mysqld_multi script form /usr/bin to /etc/init.d to enable the startup and shutdown of all the databases when the system starts and stops.  Problem I'm having is that if I use mysqld_mult stop/start (to stop/start them all) only one or two will actually stop/start the rest just won't work.  But I f I start/stop them one at a time with a few seconds delay between commands it works just fine.

So what I'm looking to do is to modify the mysqld_multi script to add a 5 sec delay in between each instances start/stop.  Just not where the best place in the script to do this.

Any ideas ? 


--------------------------------

To view or answer this question please visit: http://mariadb.com/kb/en/need-help-modifing-the-mysqld_multi-script/