Re: [CentOS] Gracefully powering off system in case of power failure

2015-07-04 Thread John R Pierce
On 7/4/2015 1:26 AM, Jatin Davey wrote: I dont seem to have a battery in my server. ** [root@node-103 ~]# ls /proc/acpi/battery/ ACPI would report on the sort of battery that a LAPTOP has. -- john r pierce, recycling bits in santa cruz

Re: [CentOS] Gracefully powering off system in case of power failure

2015-07-04 Thread Peter
On 07/04/2015 08:32 PM, Jatin Davey wrote: >> I've never heard of a UPS built into a server, >> > No , i was referring to the battery backup unit within the server. This sounds like it might actually be a battery backup unit (BBU) for the RAID card in the server. This is common but different to a

Re: [CentOS] Gracefully powering off system in case of power failure

2015-07-04 Thread Jatin Davey
On 7/4/2015 1:55 PM, John R Pierce wrote: On 7/4/2015 1:02 AM, Jatin Davey wrote: [Jatin] I am still reading through the documentation of my server to find out the battery backup in it. Is there any command within the OS that i can use to find out this information ? I've never heard of a UPS

Re: [CentOS] Gracefully powering off system in case of power failure

2015-07-04 Thread Jatin Davey
On 7/4/2015 1:32 PM, Jatin Davey wrote: On 7/4/2015 1:07 PM, John R Pierce wrote: On 7/4/2015 12:28 AM, Jatin Davey wrote: My server supports ACPI 4.0 standard , Will that be helpful ? does `init 0` as a root command cause it to gracefully shut down and power off ? thats all the ACPI

Re: [CentOS] Gracefully powering off system in case of power failure

2015-07-04 Thread John R Pierce
On 7/4/2015 1:02 AM, Jatin Davey wrote: [Jatin] I am still reading through the documentation of my server to find out the battery backup in it. Is there any command within the OS that i can use to find out this information ? I've never heard of a UPS built into a server, every one I've ever s

Re: [CentOS] Gracefully powering off system in case of power failure

2015-07-04 Thread Jatin Davey
On 7/4/2015 1:07 PM, John R Pierce wrote: On 7/4/2015 12:28 AM, Jatin Davey wrote: My server supports ACPI 4.0 standard , Will that be helpful ? does `init 0` as a root command cause it to gracefully shut down and power off ? thats all the ACPI support you need. [Jatin] Yes, init 0 do

Re: [CentOS] Gracefully powering off system in case of power failure

2015-07-04 Thread John R Pierce
On 7/4/2015 12:28 AM, Jatin Davey wrote: My server supports ACPI 4.0 standard , Will that be helpful ? does `init 0` as a root command cause it to gracefully shut down and power off ? thats all the ACPI support you need. what brand/model UPS (battery backup) do you have ?the UPS

Re: [CentOS] Gracefully powering off system in case of power failure

2015-07-04 Thread Jatin Davey
On 7/4/2015 12:27 PM, g wrote: On 07/04/15 01:27, Jatin Davey wrote: <> In case of power failure on this server , how can i make the system to shutdown gracefully so that it unmounts the file-system and cleans up the required buffers. My server does have a battery backup so it will help in sh

Re: [CentOS] Gracefully powering off system in case of power failure

2015-07-04 Thread John R Pierce
On 7/3/2015 11:27 PM, Jatin Davey wrote: I am using the system as shown below. * [root@localhost sbin]# cat /etc/*release ... Red Hat Enterprise Linux Server release 6.5 (Santiago) yeah, they have their own support forums and stuff. In case of power failure on

Re: [CentOS] Gracefully powering off system in case of power failure

2015-07-03 Thread g
On 07/04/15 01:27, Jatin Davey wrote: <> > In case of power failure on this server , how can i make the system to > shutdown gracefully so that it unmounts the file-system and cleans up > the required buffers. > > My server does have a battery backup so it will help in shutting down > the sys

[CentOS] Gracefully powering off system in case of power failure

2015-07-03 Thread Jatin Davey
Hi I am using the system as shown below. * [root@localhost sbin]# cat /etc/*release LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphi cs-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Red Hat Enterprise Linux