Boost / MySQL behavior on stop/shutdown?

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
mastrboy
Posts: 26
Joined: Wed Aug 02, 2006 2:40 am

Boost / MySQL behavior on stop/shutdown?

Post by mastrboy »

We currently installed boost into a Memory Resident database, and are currently wondering what happens to the data if we shutdown mysqld via /etc/init.d/mysql stop

Will mysql write the data to disk or will the poll data be lost?

If it's lost on mysql shutdown i guess it would be a good idea to add "php poller_boost.php -f" to the stop function in the mysql init script?
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Re: Boost / MySQL behavior on stop/shutdown?

Post by Linegod »

The poll data will be lost.
mastrboy wrote:If it's lost on mysql shutdown i guess it would be a good idea to add "php poller_boost.php -f" to the stop function in the mysql init script?
That would work. Ensure the 'restart' function has it as well, if it is not calling stop/start.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest