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

    Planned power outage: best practice

    Scheduled Pinned Locked Moved IT Discussion
    20 Posts 7 Posters 2.5k Views
    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.
    • C
      Carnival Boy
      last edited by

      Our electricity is down this Saturday, and need to consider the best way to handle this with regards to shutting down our ESXi hosts and powering them on again. I Googled this and the first result I got was a thread I started on Spiceworks last year. It's always weird when that happens.

      http://community.spiceworks.com/topic/456414-planned-power-outage-procedures

      To cut a long story short, what I have done in the past when I know that the power will be out is to leave the hosts running with the firewall VM running. When the power goes off, both the hosts and the firewall VM will have a forced shutdown (I haven't configured the UPS for a clean shutdown). When the power goes on, the hosts and the firewall VM will autostart, allowing me to remotely access the hosts using vShpere Client and manually turn on all the other VMs.

      Whilst this plan works, I'm concerned about the forced shutdown of ESXi and whether this gives a risk of corruption. But I have no other way of remotely restarting everything as the firewall is a VM.

      Any advice, please?

      scottalanmillerS 1 Reply Last reply Reply Quote 1
      • art_of_shredA
        art_of_shred
        last edited by

        So, the short answer to what you've previously done, is... nothing? lol

        1 Reply Last reply Reply Quote 1
        • C
          Carnival Boy
          last edited by

          Eh?

          1 Reply Last reply Reply Quote 0
          • art_of_shredA
            art_of_shred
            last edited by

            What it sounded like was "In the past, what I have done is to leave everything running and let the power outage turn it all off for me."

            C 1 Reply Last reply Reply Quote 0
            • C
              Carnival Boy @art_of_shred
              last edited by

              @art_of_shred said:

              What it sounded like was "In the past, what I have done is to leave everything running and let the power outage turn it all off for me."

              Yes, that's exactly what I've done. My question is, is there a better way and what are the risks of my current process?

              1 Reply Last reply Reply Quote 0
              • art_of_shredA
                art_of_shred
                last edited by

                Yeah, I understood the question. I was simply basking in the humor of the detailed explanation that, in reality, equaled "I did nothing at all" but made it sound like an action plan. I'm not really confident that there is a better plan, so I don't want to weigh in on that just yet. 🙂

                1 Reply Last reply Reply Quote 1
                • C
                  Carnival Boy
                  last edited by

                  Well, "do nothing" is my default plan for everything in life 😎

                  art_of_shredA 1 Reply Last reply Reply Quote 2
                  • art_of_shredA
                    art_of_shred
                    last edited by

                    Risks of the current plan obviously include the possibility of a power surge, or decreased power. I'm sure your UPS setup is ample protection against that, but that means you are counting on that to work properly; and that's never as safe as avoiding it altogether, which would be powering down before the outage and powering back up manually after power is restored.

                    1 Reply Last reply Reply Quote 0
                    • art_of_shredA
                      art_of_shred @Carnival Boy
                      last edited by

                      @Carnival-Boy said:

                      Well, "do nothing" is my default plan for everything in life 😎

                      Then hats off to you for making it sound impressive and making it look like effort was involved. That should be enough to throw management off the scent.

                      1 Reply Last reply Reply Quote 1
                      • C
                        Carnival Boy
                        last edited by

                        To be fair, I've spent considerable energy on thinking about this. Also, I'm still having to shutdown all the other VMs and putting the other hosts in maintenance mode, so I'm doing some work.

                        1 Reply Last reply Reply Quote 1
                        • coliverC
                          coliver
                          last edited by

                          What UPS systems do you have. There are a number of them that will attach to either the ESXi host or to the vCenter VM and send the shutdown signal when it reaches a low power threshold.

                          1 Reply Last reply Reply Quote 0
                          • C
                            Carnival Boy
                            last edited by

                            Shutting down is the main problem. Will a Proliant server autostart when power is returned if the UPS has shut it down cleanly? I'm guessing not.

                            Shutting down is a bit of a problem, as I have no way of shutting down remotely as the firewall is a VM. But I also need to start up automatically.

                            coliverC 1 Reply Last reply Reply Quote 0
                            • coliverC
                              coliver @Carnival Boy
                              last edited by coliver

                              @Carnival-Boy said:

                              Shutting down is the main problem. Will a Proliant server autostart when power is returned if the UPS has shut it down cleanly? I'm guessing not.

                              Shutting down is a bit of a problem, as I have no way of shutting down remotely as the firewall is a VM. But I also need to start up automatically.

                              Hmmm... we have an IBM server that does exactly that. Restarts as soon as power is restored. It has been tested fairly regularly as we don't have the best power infrastructure in upstate NY.

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • PSX_DefectorP
                                PSX_Defector
                                last edited by

                                Why don't you have an out of band solution like DRAC or iLO? Keep necessary networking equipment on its own UPS, small ones could last for days, then remote in and fire up. I would buy one of those IP KVMs and have a workstation I could access at all times available. Then you can fix other problems as they come up.

                                C 1 Reply Last reply Reply Quote 1
                                • ?
                                  A Former User
                                  last edited by

                                  We have a whole building UPS for the DC and offices. We have separate plugs for the offices that just computers and monitors plug into. And in the DC all the power is through a 20kva UPS. in the DC it runs for 45min and will shutdown automatically before that if we do not turn on the generator (normally we will not due to unneeded costs of running it.). The desktops users have to shutdown manually.

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    Carnival Boy @PSX_Defector
                                    last edited by

                                    @PSX_Defector said:

                                    Why don't you have an out of band solution like DRAC or iLO? Keep necessary networking equipment on its own UPS, small ones could last for days, then remote in and fire up. I would buy one of those IP KVMs and have a workstation I could access at all times available. Then you can fix other problems as they come up.

                                    You mean do it properly instead of trying to get a away with a cheap and dirty solution? Yes, I probably need to do that. I won't have time to sort for this weekend though.

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

                                      Because his firewall is a VM, once the server is down, he has no way to bring it back up. iDrac won't matter in this case. He's have to go back to an external firewall (external from that VM host).

                                      1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @Carnival Boy
                                        last edited by

                                        @Carnival-Boy said:

                                        Whilst this plan works, I'm concerned about the forced shutdown of ESXi and whether this gives a risk of corruption. But I have no other way of remotely restarting everything as the firewall is a VM.

                                        A forced (e.g. power loss) power down always incurs risk. If you have flash or battery backed RAID controllers the risk is much lower but there is always risk that something will fail. As long as you have flash or a battery backed cache then the design is to survive a sudden loss of power. So since those are minimum specs for a business class server since the introduction of hardware RAID, you should be fine as long as your batteries are still healthy (flash backed effectively lasts forever, more or less.) The only major risk here, as long as you have that, is that you are allowing the system to depend on those for protection. Minor, but worth mentioning.

                                        Just set the VMs to power themselves on - at least the one VM for the firewall. The others you can bring up manually.

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

                                          Something else to keep in mind.... a UPS is designed to supply continuous, clean power under load. It is not designed to necessarily do so when failing - the idea being that a UPS is for temporary dips or loss of power and that either planned shutdown or generator power or full power restore happen before they fail. Failing a UPS means that you are doing battery damage to the UPS itself (this is lead acid still in this day and age) and potentially sending a surge or dip down the line to the unprotected servers at the time of failure. So even if your drives are safe you are stressing the servers potentially beyond what you might intend. Again, not major, but worth mentioning that the protection of the gear is being violated here so what might feel really safe may not be as safe as it feels.

                                          No more dangerous than having no UPS and letting the power spikes, dips and drops from the main grid hit the servers.

                                          1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @coliver
                                            last edited by

                                            @coliver said:

                                            Hmmm... we have an IBM server that does exactly that. Restarts as soon as power is restored. It has been tested fairly regularly as we don't have the best power infrastructure in upstate NY.

                                            In central NY that is. Here in Frankfort where I am today the power is outstanding and in the Buffalo/Niagara grid it is really good. But outside of local generation pockets, the center of the state is the area where it is roughest.

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