Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Problem to detect power cut off

Problem to detect power cut off

Scheduled Pinned Locked Moved System Admin
sysadminhelpquestionlearning
9 Posts 3 Posters 0 Views 1 Watching
  • 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi, I have a problem about the limit of the power resource at my work place. My office have a server with 40 clients. The power will cut off around 6pm or 6:30pm and will be available again around 6:30am in the morning (because of the fuel price growth to high the management decide to cut the power). It is really difficult for me to manage the server. Because I couldn't perform any task such as backup and schedule to clearn virus at the weekend. One thing that I concern is about the scheudle to shutdown the server. Sometime the power was cut off before the schedule reach its time. My purpose it, how could we detect the UPS of the server when it detect that if there is no power supply around 30 second then it will shutdown the server. I know the command to shutdown the server immediately but i don't not know how could we detect the power on UPS when it is disconnect. Does anyone has any idea? Thank in advance!!!

    V J 2 Replies Last reply
    0
    • L Lost User

      Hi, I have a problem about the limit of the power resource at my work place. My office have a server with 40 clients. The power will cut off around 6pm or 6:30pm and will be available again around 6:30am in the morning (because of the fuel price growth to high the management decide to cut the power). It is really difficult for me to manage the server. Because I couldn't perform any task such as backup and schedule to clearn virus at the weekend. One thing that I concern is about the scheudle to shutdown the server. Sometime the power was cut off before the schedule reach its time. My purpose it, how could we detect the UPS of the server when it detect that if there is no power supply around 30 second then it will shutdown the server. I know the command to shutdown the server immediately but i don't not know how could we detect the power on UPS when it is disconnect. Does anyone has any idea? Thank in advance!!!

      V Offline
      V Offline
      vimal_yet
      wrote on last edited by
      #2

      There are some UPS in the market available having the functionality on showing the USP capability to the machine using a serial BUS......

      If U Get Errors U Will Learn If U Don't Get Errors U Have Learnt

      1 Reply Last reply
      0
      • L Lost User

        Hi, I have a problem about the limit of the power resource at my work place. My office have a server with 40 clients. The power will cut off around 6pm or 6:30pm and will be available again around 6:30am in the morning (because of the fuel price growth to high the management decide to cut the power). It is really difficult for me to manage the server. Because I couldn't perform any task such as backup and schedule to clearn virus at the weekend. One thing that I concern is about the scheudle to shutdown the server. Sometime the power was cut off before the schedule reach its time. My purpose it, how could we detect the UPS of the server when it detect that if there is no power supply around 30 second then it will shutdown the server. I know the command to shutdown the server immediately but i don't not know how could we detect the power on UPS when it is disconnect. Does anyone has any idea? Thank in advance!!!

        J Offline
        J Offline
        Jorgen Andersson
        wrote on last edited by
        #3

        What brand and model UPS is it?

        L 1 Reply Last reply
        0
        • J Jorgen Andersson

          What brand and model UPS is it?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Its model is APC SmartUPS 1500[^]

          J 1 Reply Last reply
          0
          • L Lost User

            Its model is APC SmartUPS 1500[^]

            J Offline
            J Offline
            Jorgen Andersson
            wrote on last edited by
            #5

            This model is equipped with both a USB and a serial connector. So you can connect a cable to the server and install the APCs own program (Powershute) for handling the shutdown of the server.

            L 2 Replies Last reply
            0
            • J Jorgen Andersson

              This model is equipped with both a USB and a serial connector. So you can connect a cable to the server and install the APCs own program (Powershute) for handling the shutdown of the server.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Thank you very much for your support. I will try to do it and when if i have any question i will return to you. Thank

              1 Reply Last reply
              0
              • J Jorgen Andersson

                This model is equipped with both a USB and a serial connector. So you can connect a cable to the server and install the APCs own program (Powershute) for handling the shutdown of the server.

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                Hello again, I alreay install the software of this UPS and connect the UPS with the server via USB port. But I found nothing happend when the power is cut off. As I check with event viewer I Found the following error and information: Event Type: Error Event Source: APCPBEAgent Event Category: None Event ID: 3005 Date: 12/12/2008 Time: 7:50:51 AM User: N/A Computer: SERVER Description: "Communication Not Established" Event Type: Error Event Source: APCPBEAgent Event Category: None Event ID: 3003 Date: 12/11/2008 Time: 5:58:47 PM User: N/A Computer: SERVER Description: "UPS Battery Is Discharged" Event Type: Error Event Source: APCPBEAgent Event Category: None Event ID: 3030 Date: 12/11/2008 Time: 5:58:41 PM User: N/A Computer: SERVER Description: "Insufficient Runtime Available" Event Type: Information Event Source: APCPBEAgent Event Category: None Event ID: 1061 Date: 12/11/2008 Time: 5:51:30 PM User: N/A Computer: SERVER Description: "AVR Boost No Longer Active" This most problem that occure is an Event ID 3030. This event occure every minute. If you have any comment or solution please let me know. Thank in advance

                J 1 Reply Last reply
                0
                • L Lost User

                  Hello again, I alreay install the software of this UPS and connect the UPS with the server via USB port. But I found nothing happend when the power is cut off. As I check with event viewer I Found the following error and information: Event Type: Error Event Source: APCPBEAgent Event Category: None Event ID: 3005 Date: 12/12/2008 Time: 7:50:51 AM User: N/A Computer: SERVER Description: "Communication Not Established" Event Type: Error Event Source: APCPBEAgent Event Category: None Event ID: 3003 Date: 12/11/2008 Time: 5:58:47 PM User: N/A Computer: SERVER Description: "UPS Battery Is Discharged" Event Type: Error Event Source: APCPBEAgent Event Category: None Event ID: 3030 Date: 12/11/2008 Time: 5:58:41 PM User: N/A Computer: SERVER Description: "Insufficient Runtime Available" Event Type: Information Event Source: APCPBEAgent Event Category: None Event ID: 1061 Date: 12/11/2008 Time: 5:51:30 PM User: N/A Computer: SERVER Description: "AVR Boost No Longer Active" This most problem that occure is an Event ID 3030. This event occure every minute. If you have any comment or solution please let me know. Thank in advance

                  J Offline
                  J Offline
                  Jorgen Andersson
                  wrote on last edited by
                  #8

                  It most probably means that the UPS has been running after the power outtage the evening before until the battery is flat and then shuts off. It takes a day or so to recharge the battery to have what the UPS is considering to be enough power. The default setting of Powerchute, if I remember correctly, is to keep on running until there is five minutes of power left and then signal to the server to shut down. I would change this setting to shutting down the server five minutes after the power outtage. This way you're going to save a lot of battery life time, lead-acid batteries likes to stay fully charged. And the server will still be shut down is a nice way, which will keep your databases happy.

                  L 1 Reply Last reply
                  0
                  • J Jorgen Andersson

                    It most probably means that the UPS has been running after the power outtage the evening before until the battery is flat and then shuts off. It takes a day or so to recharge the battery to have what the UPS is considering to be enough power. The default setting of Powerchute, if I remember correctly, is to keep on running until there is five minutes of power left and then signal to the server to shut down. I would change this setting to shutting down the server five minutes after the power outtage. This way you're going to save a lot of battery life time, lead-acid batteries likes to stay fully charged. And the server will still be shut down is a nice way, which will keep your databases happy.

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    Jörgen Andersson wrote:

                    It takes a day or so to recharge the battery to have what the UPS is considering to be enough power.

                    God!!! my office power just run from 7am to 7pm. And that time that we need to run our server. I don't know when the battery will be charge that UPS is considering to be enough power. As your expereince do you know how long (nearly exact time) that UPS could be fully charge?

                    Jörgen Andersson wrote:

                    I would change this setting to shutting down the server five minutes after the power outtage.

                    Where did you change this setting? Thank for your help

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups