ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

    Rebooting Servers

    IT Discussion
    reboots windows server automation
    7
    13
    958
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CCWTech
      CCWTech last edited by

      How often do you reboot your Windows servers? (I know there are limitless use types and each use may warrant a different answer, but just generally...)

      Do you automate the process? If so do you just use scheduled tasks or something more?

      1 Reply Last reply Reply Quote 1
      • Dashrender
        Dashrender last edited by

        When I apply updates, otherwise I don't.

        No It's not automated.

        1 Reply Last reply Reply Quote 3
        • scottalanmiller
          scottalanmiller last edited by

          When possible, I like weekly and fully automated via local script. Local because it will reboot itself even if all management systems have failed.

          1 Reply Last reply Reply Quote 1
          • scottalanmiller
            scottalanmiller last edited by

            On Linux, I like to use a cronjob, for example. We do a full system update and then reboot so that we know it's got the latest patches just before the weekly reboot.

            1 Reply Last reply Reply Quote 1
            • scottalanmiller
              scottalanmiller last edited by

              I like weekly for several reasons, but the biggest is because it is predictable and easy to understand. Monthly or lunar monthly is easy to forget.

              1 Reply Last reply Reply Quote 1
              • JaredBusch
                JaredBusch last edited by

                I reboot everything Monthly when I apply Windows updates.

                The non-Windows stuff gets updates sooner (dnf-automatic/yum-cron) but I do not bother to reboot them until I am in the Widows VMs to do the same.

                I also reboot the Hypervisor at that time.

                I do not usually reboot switches and routers, just because they are stable because of the design.

                1 Reply Last reply Reply Quote 2
                • dafyre
                  dafyre last edited by

                  I do my systems here every week

                  1 Reply Last reply Reply Quote 1
                  • dbeato
                    dbeato last edited by dbeato

                    I reboot them every month for WIndows Updates. There is always a maintenance time for us so our customers are aware.

                    Mostly the process is automated through GPO in Windows, for Linux security updates are done via cronjob.

                    1 Reply Last reply Reply Quote 2
                    • CCWTech
                      CCWTech last edited by

                      I'd like to automate this.

                      I have Windows Hyper-V running. I'd like to shut down the Windows virtual machines and then when the virtual machines are stopped reboot the host.

                      Is there a way to detect when all virtual machines have stopped so that the physical machine waits to reboot until they are completely shut down?

                      JaredBusch 1 Reply Last reply Reply Quote 0
                      • JaredBusch
                        JaredBusch @CCWTech last edited by

                        @ccwtech said in Rebooting Servers:

                        I'd like to automate this.

                        I have Windows Hyper-V running. I'd like to shut down the Windows virtual machines and then when the virtual machines are stopped reboot the host.

                        Is there a way to detect when all virtual machines have stopped so that the physical machine waits to reboot until they are completely shut down?

                        Use a powershell script since it is windows.

                        Stop-VM will shut down the VM gracefully (or forcefully).
                        Get-VM will give you status information.

                        But you don't have to do this.

                        If you specify the shutdown action in the VM settings, when you tell the host to reboot, it will perform that action first.

                        CCWTech 1 Reply Last reply Reply Quote 1
                        • CCWTech
                          CCWTech @JaredBusch last edited by

                          @jaredbusch said in Rebooting Servers:

                          @ccwtech said in Rebooting Servers:

                          I'd like to automate this.

                          I have Windows Hyper-V running. I'd like to shut down the Windows virtual machines and then when the virtual machines are stopped reboot the host.

                          Is there a way to detect when all virtual machines have stopped so that the physical machine waits to reboot until they are completely shut down?

                          Use a powershell script since it is windows.

                          Stop-VM will shut down the VM gracefully (or forcefully).
                          Get-VM will give you status information.

                          But you don't have to do this.

                          If you specify the shutdown action in the VM settings, when you tell the host to reboot, it will perform that action first.

                          You are talking about the Automatic Stop Action?

                          JaredBusch 1 Reply Last reply Reply Quote 0
                          • JaredBusch
                            JaredBusch @CCWTech last edited by

                            @ccwtech said in Rebooting Servers:

                            @jaredbusch said in Rebooting Servers:

                            @ccwtech said in Rebooting Servers:

                            I'd like to automate this.

                            I have Windows Hyper-V running. I'd like to shut down the Windows virtual machines and then when the virtual machines are stopped reboot the host.

                            Is there a way to detect when all virtual machines have stopped so that the physical machine waits to reboot until they are completely shut down?

                            Use a powershell script since it is windows.

                            Stop-VM will shut down the VM gracefully (or forcefully).
                            Get-VM will give you status information.

                            But you don't have to do this.

                            If you specify the shutdown action in the VM settings, when you tell the host to reboot, it will perform that action first.

                            You are talking about the Automatic Stop Action?

                            Yes.

                            1 Reply Last reply Reply Quote 0
                            • DustinB3403
                              DustinB3403 last edited by

                              I update and reboot weekly where I can.

                              There are a few systems that fall out of this process though.

                              1 Reply Last reply Reply Quote 1
                              • First post
                                Last post