Linux

Checklist for Pre and Post Linux Reboot

Every Linux admin should know basic checklist before Linux Reboot

In this tutorial, we explain the checklist for Pre and Post Linux Reboot. Every Linux admin should know what all action/checklist need to be performed before/after remote Linux server reboot.

Per-reboot checklist for remote Linux

  • Note all running services on Linux server, Optionally make sure the required service auto start on boot.
  • Check the current kernel version
  • Check the External disk/Volume attached to a Linux server
  • Sanity-check and save the NTP system time synchronized
  • Make sure fsck won’t forced check ext3/4 filesystem on boot
  • Check If you have created any RAID either software/hardware Controller and check the RAID status
  • Check if you can shutdown some of the services which will reduce system getting stuck on shutdown and it will quickly perform reboot operation
  • Network traffic – this is Optional

Post-reboot checklist for remote Linux

  • Verify the service with the list which you have taken on pre-reboot.
  • Sanity-check – kernel version booted up, RAID status, system time, started service
  • Check system logs – syslogs, error logs

The command which is required for pre- / post-Linux reboot are as followed

Command to check/list all running services for CentOS/RHEL 6.x or older

Command to check any service status for CentOS/RHEL 6.x or older

For example:

Command to list all service – config via sysv for CentOS/RHEL 6.x or older

Command to list the Linux service with ports for CentOS/RHEL 6.x or older

Command to start/stop service for CentOS/RHEL 6.x or older

Syntax:

For example:

If you are using Latest Linux distro such as CentOS/RHEL 7.X, Fedora 22/23/24 +. Follow mention command to list all running service using the systemctl command.

Command to list system services on CentOS/RHEL 7.x

The syntax is:

To list all services:

Related Articles

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close

Adblock Detected

Please consider supporting us by disabling your ad blocker