Timed shutdown for maintenance

If you are reading this article you have most likely received an e-mail from us and thus you are affected by a maintenance required for your server. We would like to stress that it is very important to us that there is a planned shutdown of your server before we start the maintenance. Therefore, we would like to ask you to schedule a shutdown at the target date. Please use the instructions below for this. It is indispensable that the server time is set correctly. The instructions are for the server time zone UTC+1. If you do not have this time zone set on your server, you will have to adjust the time in the commands below.

The commands below use 23:00 March 25 2014 as the target date. This is only an example! The target date must be set to the date that you have received for your server(s) via e-mail.

Setting up a timed shutdown

Please use these instructions for Linux servers according to the distribution that is installed.

Debian/Ubuntu

  1. Log in to your server via SSH as root
  2. Install the "at" program with this command:
    apt-get -y install at
  3. Use the following command to schedule the shutdown:
    echo "shutdown -h now" | at 23:00 March 25 2014

OpenSuSE

  1. Log in to your server via SSH as root
  2. Install the "at" program with this command:
    yast -i at
  3. Start atd:
    /etc/init.d/atd start
  4. Use the following command to schedule the shutdown:
    echo "shutdown -h now" | at 23:00 March 25 2014

CentOS/Fedora

  1. Log in to your server via SSH as root
  2. Use the following command to schedule the shutdown:
    echo "shutdown -h now" | at 23:00 March 25 2014

Windows Server 2008/2012

Please use these instructions for Windows servers:

  1. Log in to your server via Remote Desktop (RDP) as Administrator
  2. Open the command prompt (Start -> Run, "cmd", OK) and execute the following command:
    schtasks /Create /TN Shutdown /SC ONCE /SD 03/25/2014 /ST 23:00 /TR "shutdown -s" /RU System

General information

Please set this scheduled shutdown on all of your servers which are mentioned in one of our e-mails. If you do not set them, it cannot be guaranteed that your server will shut down properly.

Please note: The scheduled shutdown will be discarded and needs to be set again if you reboot your server before the maintenance.

Alternatively or in addition to this, feel free to shut down your server manually before the maintenance starts. You can do this at any time under Linux with the command shutdown -h now via SSH and under Windows, using Start -> Shut down via Remote Desktop. Please note that when doing this, your server will not be available any more, so if you want to shut down your server manually, you should only do so shortly before the maintenance.

Configure autonegotiation

Please note: Our servers are configured to use autonegotiation when provisioned. If you did not change your server's network adapter to use a fixed speed setting, you do not need to make any changes!

Linux

  1. Login to your server using SSH as root
  2. Run the command
    ethtool -s eth0 autoneg on
  3. OR:
    mii-tool -A 1000baseTx, 100baseTx, 10baseT -r eth0

In case you configured some startup script to set the speed automatically during the boot process, please remove the script.

Windows Server

  1. Login to your server using RDP as Administrartor
  2. Start -> Control Panel -> Network Connections -> Local Area Connection -> Properties -> Configure -> Advanced -> Link Speed & Duplex/MediaType -> Value: Autonegotiation
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.