I've searched, and all resources are about how to perform the restart.
I know how to reload, restart, stop; Apache, MySQL, etc and how to restart the OS.
My question is how to perform a server restart safely. I've just installed some updates which require a server restart, as there were some kernel updates.
It's Ubuntu Server 13.10, on a dedicated server. I connect via SSH.
The server is running perfectly, and it's a production server, so I'm wanting to know if there's a proper/correct procedure to follow, or if sudo shutdown -r now or sudo restart really is all that's needed, or should I shut down the major processes like the database down manually first, so I know they're safely closed, before I restart the host OS?
Will my Percona DB server which is mostly InnoDB be shutdown correctly, or just ditched? How careful will Ubuntu server be about making sure all processes have flushed to disk, and given the "I'm ok to be halted" signal before it ditches them and reboots?