Skip to main content

IT@Cornell


How to Restart a Server

Unix

Every time a Unix (Linux or Solaris) server is started (rebooted or restarted), the area manager, technical contacts, and watchers for that server are notified by email. See sample notification message listed below.

  • If your server needs to be restarted, and you would like assistance diagnosing the problem before you reboot it:
    • Non-Urgent: Send e-mail to systems-support@cornell.edu.
    • Urgent: Send e-mail to systems-support@cornell.edu. Use "Urgent:" as the first word of the Subject line. (Email is monitored during normal business hours only.)
    • Very Urgent and Urgent outside normal business hours: Follow procedure for Urgent (see above) then call the IT Service Desk at (607) 255-5500 and ask to speak to the Unix sysadmin on call. The sysadmin will call you back as soon as possible.
  • If your server needs to be rebooted and you don't need help diagnosing the problem, restart your server.
    1. Log into the server via Secure Shell (SSH).
      • If you have problems logging into your server with Secure Shell (SSH), see the section above on obtaining assistance.
    2. Run the command:
      sudo /opt/common/sbin/reboot-host

      • When you use the above command to restart the server, monitoring is suspended for 30 minutes. This means a monitoring alert will not occur for this restart.
      • You will be prompted to specify a reason for this reboot. This reason will be included in the email sent to the contacts following the reboot.
      • If you have problems restarting your server with this command, see the section above on obtaining assistance.
    3. A notification email will be sent to the area manager, technical contacts and watchers for the server. To verify the contacts for a server, see the Verify Contacts procedure.

Sample Reboot Message: Unix (Linux or Solaris)

From: systems-support@cornell.edu
Subject: Reboot notification for YOUR_SERVER_NAME

The server YOUR_SERVER_NAME was rebooted on 04/17/2012 at 10:41:59 and came back on-line 04/17/2012 at 10:44:23.

The reboot was initiated by user USER (NETID), who gave the following reason for the server restart:

--

REASON_PROVIDED_TO_REBOOT-HOST-UTILITY

--

This notification is being sent to all SFInfo contacts for this server. To view the list of services and contacts attached to YOUR_SERVER_NAME, please visit the following URL:

https://sfinfo.cit.cornell.edu/sfinfo_app/htdocs/vserver.php?vs_id=SERVER_ID


Windows

Every time a Windows server is started (rebooted or restarted), the area manager, technical contacts, and watchers for that server are notified by email. See sample below.

Restarting a Windows Server

  • If your Windows server needs to be restarted, and you would like assistance diagnosing the problem before you reboot it:
    • Non-Urgent: Send e-mail to systems-support@cornell.edu.
    • Urgent: Send e-mail to systems-support@cornell.edu. Use "Urgent:" as the first word of the Subject line. (Email is monitored during normal business hours only.)
    • Very Urgent and Urgent outside normal business hours: Follow procedure for Urgent (see above) then call the IT Service Desk at (607) 255-5500 and ask to speak to the Windows sysadmin on call. The sysadmin will call you back as soon as possible.

  • If your server needs to be rebooted and you don't need help diagnosing the problem:
    1. Restart your server.
      • When you shut down the server using a standard method (not a crash or power loss), monitoring is suspended for 30 minutes. This means a monitoring alert will not occur for this restart.
      • A notification email will be sent to both the area manager and the technical contact for the server. The notification email lists the last start for the server. Check the time stamp in the email for clarification about when the server start took place. To verify the contacts for a server, see the Verify Contacts procedure.

Sample Reboot Message: Windows

The first line is the most recent reboot. The message also includes the two previous user-initiated shutdowns.