Cent_UPS
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
#contents();
*** UPS の導入 [#l66e18c4]
&ref(apces500.JPG);
- 自宅サーバー、ネットワークの電源障害(主として工事によ...
- UPS でバックアップ出来ないほど停電が続いた場合には、安...
- サーバー系の UPS で実績のある [[APC:http://www.apc.co.j...
*** Linux 用シャットダウンソフト [#o37b2943]
- [[APC UPS deamon (community):http://www.apcupsd.org/]]
[root@backup apcupsd-3.12.4]# ./configure --prefix=/usr ...
--sbindir=/sbin --...
--disable-smnp --d...
Configuration on Sun Aug 20 14:03:21 JST 2006:
Host: i686-pc-linux-gnu -- redhat...
Apcupsd version: 3.12.4 (19 August 2006)
Source code location: .
Install binaries: /sbin
Install config files: /etc/apcupsd
Install man files: /usr/share/man
Nologin file in: /etc
PID directory: /var/run
LOG dir (events, status) /var/log
LOCK dir (for serial port) /var/lock
Power Fail dir /etc/apcupsd
Compiler: /usr/bin/g++ 4.1.1
Compiler flags: -g -O2 -Wall
Linker flags: -g -O
Host and version: redhat (Bordeaux)
Shutdown Program: /sbin/shutdown
Port/Device: /dev/ttyS0
Network Info Port (CGI): 3551
Master/slave Port: 6666
UPSTYPE usb
UPSCABLE usb
drivers (no-* are disabled): no-apcsmart no-dumb no-net...
enable-master-slave: no
enable-nis: yes
with-nisip: 0.0.0.0
enable-cgi: no
with-cgi-bin: /etc/apcupsd
with-libwrap:
enable-nls: no
enable-libintl: no
enable-powerflute: no
enable-pthreads: yes
enable-dist-install: yes
[root@backup apcupsd-3.12.4]# make
[root@backup apcupsd-3.12.4]# make install
[root@spirit etc]# cat /etc/apcupsd/apcupsd.conf
## apcupsd.conf v1.1 ##
# for apcupsd release 3.10.18 (21 July 2005) - redhat
# "apcupsd" POSIX config file
#
# ========= General configuration parameters ============
#
# UPSNAME xxx
# Use this to give your UPS a name in log files and su...
# is particulary useful if you have multiple UPSes. T...
# set the EEPROM.
UPSNAME APC-ES500
#
# UPSCABLE [ simple | smart | ether | usb |
# 940-0119A | 940-0127A | 940-0128A | 940-002...
# 940-0020C | 940-0023A | 940-0024B | 940-002...
# 940-1524C | 940-0024G | 940-0095A | 940-009...
# 940-0095C | M-04-02-2000 ]
#
# defines the type of cable that you have.
UPSCABLE usb
#
# Old types, still valid, are mapped to the new drivers
#
# keyword driver used
# UPSTYPE [ backups dumb
# | sharebasic dumb
# | netups dumb
# | backupspro apcsmart
# | smartvsups apcsmart
# | newbackupspro apcsmart
# | backupspropnp apcsmart
# | smartups apcsmart
# | matrixups apcsmart
# | sharesmart apcsmart
#
# *** New driver names. They can be used directly
# rather than using one of the above aliases.
#
# UPSTYPE [ dumb | apcsmart | net | usb | snmp | test]
# defines the type of UPS you have.
UPSTYPE usb
#
#DEVICE <string> /dev/<serial port>
# name of your UPS device
#
# Here a table of the possible devices related with the ...
#
# Driver Device Description
# dumb /dev/tty** Serial character de...
# apcsmart /dev/tty** Serial character de...
# usb <BLANK> A blank DEVICE sett...
# autodetection, best...
# installations.
# net hostname:port Network link to a m...
# through NIS
# snmp hostname:port:vendor:community
# SNMP Network link t...
# UPS device. Vendor ...
# the UPS device: can...
# where APC is the po...
# is the IETF's rfc16...
# Port is usually 161.
#DEVICE /dev/usb/hiddev96
#DEVICE usb
DEVICE
#
#LOCKFILE <path to lockfile>
# path for serial port lock file
LOCKFILE /var/lock
#
# ======== configuration parameters used during power fa...
#
# The ONBATTERYDELAY is the time in seconds from when a ...
# is detected until we react to it with an onbattery e...
#
# This means that, apccontrol will be called with the ...
# immediately when a power failure is detected. Howev...
# onbattery argument is passed to apccontrol only afte...
# ONBATTERYDELAY time. If you don't want to be annoye...
# powerfailures, make sure that apccontrol powerout do...
# i.e. comment out the wall.
ONBATTERYDELAY 6
#
# Note: BATTERYLEVEL, MINUTES, and TIMEOUT work in conju...
# the first that occurs will cause the initation of a sh...
#
# If during a power failure, the remaining battery perce...
# (as reported by the UPS) is below or equal to BATTERYL...
# apcupsd will initiate a system shutdown.
BATTERYLEVEL 5
#
#
# If during a power failure, the remaining runtime in mi...
# (as calculated internally by the UPS) is below or equa...
# apcupsd, will initiate a system shutdown.
MINUTES 3
#
#
# If during a power failure, the UPS has run on batterie...
# many seconds or longer, apcupsd will initiate a system...
# A value of 0 disables this timer.
#
# Note, if you have a Smart UPS, you will most likely w...
# this timer by setting it to zero. That way, you UPS...
# on batteries until either the % charge remaing drop...
# or the remaining battery runtime drops to or below ...
# if you are testing, setting this to 60 causes a qui...
# if you pull the power plug.
# If you have an older dumb UPS, you will want to set t...
# the time you know you can run on batteries.
TIMEOUT 6000
#
#
# Time in seconds between annoying users to signoff pri...
# system shutdown. 0 disables.
ANNOY 0
#
# Initial delay after power failure before warning users...
# off the system.
ANNOYDELAY 180
#
# The condition which determines when users are prevente...
# logging in during a power failure.
# NOLOGON <string> [ disable | timeout | percent | minut...
NOLOGON disable
#
# If killdelay is set, apcupsd will continue running aft...
# shutdown has been requested, and after the specified t...
# seconds attempt to kill the power. This is for use on...
# where apcupsd cannot regain control after a shutdown.
# KILLDELAY <seconds> 0 disables
KILLDELAY 0
#
#
# ==== Configuration statements the network information ...
#
# NETSERVER [ on | off ] on enables, off disables the ne...
# information server. If netstatus is on, a network inf...
# server process will be started for serving the STATUS...
# EVENT data over the network (used by CGI programs).
NETSERVER off
( snip )
#
# ========== Configuration statements used if sharing ==...
# a UPS and controlling it via the network
(snip)
UPSCLASS standalone
UPSMODE disable
#
# ===== Configuration statements to control apcupsd syst...
#
# Time interval in seconds between writing the STATUS fi...
STATTIME 0
LOGSTATS off
DATATIME 0
( snip )
#
# ========== Configuration statements used in updating t...
#
# UPS name, max 8 characters -- used only during -n or ...
#UPSNAME UPS_IDEN
#
# Battery date - 8 characters -- used only during -u or ...
#BATTDATE mm/dd/yy
#
# The following items are set during -c or --configure
#
# Sensitivity to line voltage quality (H cause faster tr...
# SENSITIVITY H M L (default = H)
#SENSITIVITY H
#
# UPS delay after power return (seconds)
# WAKEUP 000 060 180 300 (default = 0)
WAKEUP 60
#
# UPS Grace period after request to power off (seconds)
# SLEEP 020 180 300 600 (default = 20)
#SLEEP 180
#
#
# Low line voltage causing transfer to batteries
# The permitted values depend on your model as defined b...
# of FIRMWARE or APCMODEL. Some representative values a...
# D 106 103 100 097
# M 177 172 168 182
# A 092 090 088 086
# I 208 204 200 196 (default = 0 => not valid)
#LOTRANSFER 208
#
# High line voltage causing transfer to batteries
# The permitted values depend on your model as defined b...
# of FIRMWARE or APCMODEL. Some representative values a...
# D 127 130 133 136
# M 229 234 239 224
# A 108 110 112 114
# I 253 257 261 265 (default = 0 => not valid)
#HITRANSFER 253
#
# Battery change needed to restore power
# RETURNCHARGE 00 15 50 90 (default = 15)
#RETURNCHARGE 15
#
# Alarm delay
# 0 = zero delay after pwr fail, T = power fail + 30 sec...
# BEEPSTATE 0 T L N (default = 0)
#BEEPSTATE T
#
# Low battery warning delay in minutes
# LOWBATT 02 05 07 10 (default = 02)
#LOWBATT 2
#
# UPS Output voltage when running on batteries
# The permitted values depend on your model as defined b...
# of FIRMWARE or APCMODEL. Some representative values a...
# D 115
# M 208
# A 100
# I 230 240 220 225 (default = 0 => not valid)
#OUTPUTVOLTS 230
#
# Self test interval in hours 336=2 weeks, 168=1 week, O...
# SELFTEST 336 168 ON OFF (default = 336)
#SELFTEST 336
#
[root@spirit etc]#
*** モニターソフトの起動 [#i00d5bc2]
[root@spirit etc]# service apcupsd restart
Shutting down UPS monitoring: ...
Starting UPS monitoring: ...
*** backup.hmuna.com の起動に失敗した [#c855b385]
[root@backup apcupsd-3.12.4]# apcaccess
FATAL ERROR in apcaccess.c at line 252
tcp_open: cannot connect to server localhost on port 3551.
ERR=Connection refused
- 結論としては %%エラーメッセージから推測される LAN 関連...
- USB デバイスの認識に問題があれば UPS アクセスが出来ない...
- &color(red){上の /etc/apcupsd/apcupsd.conf の設定では a...
# NETSERVER [ on | off ] on enables, off disables the ne...
# information server. If netstatus is on, a network inf...
# server process will be started for serving the STATUS...
# EVENT data over the network (used by CGI programs).
NETSERVER on
- backup.hmuna.com では、USBポートによって認識されない場...
ー dmesg で usb ドライバーのロードを確認しておくべきだっ...
-- dmesg には最初から usb connection が見つからないという...
Aug 26 01:13:22 backup apcupsd[27255]: apcupsd FATAL ERR...
-- usb が正しく認識されたときには、以下のようなメッセージ...
Aug 26 01:26:57 backup kernel: ohci_hcd 0000:00:03.0: wa...
Aug 26 01:26:57 backup kernel: usb 1-2: new low speed US...
Aug 26 01:26:57 backup kernel: usb 1-2: configuration #1...
Aug 26 01:26:58 backup kernel: hiddev96: USB HID v1.10 D...
- /proc/bus/usb/devices で USB で接続(認識)されたデバイ...
[root@backup apcupsd-3.12.4]# cat /proc/bus/usb/devices
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=1....
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs...
P: Vendor=051d ProdID=0002 Rev= 1.06
S: Manufacturer=APC
S: Product=APC ES 725 FW:821.y1.A USB FW:y1
S: SerialNumber=QB0420132727
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 D...
E: Ad=81(I) Atr=03(Int.) MxPS= 6 Ivl=10ms
*** UPS ステータスの確認 ( apcaccess )[#i00d5bc2]
[root@spirit ~]# apcaccess
APC : 001,033,0820
DATE : Mon May 15 02:18:46 JST 2006
HOSTNAME : spirit.hmuna.com
RELEASE : 3.10.18
VERSION : 3.10.18 (21 July 2005) redhat
UPSNAME : APC-ES500
CABLE : USB Cable
MODEL : APC ES 500
UPSMODE : Stand Alone
STARTTIME: Mon May 15 01:50:39 JST 2006
STATUS : ONLINE
LINEV : 101.0 Volts
LOADPCT : 35.0 Percent Load Capacity
BCHARGE : 100.0 Percent
TIMELEFT : 24.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME : 6000 Seconds
LOTRANS : 090.0 Volts
HITRANS : 110.0 Volts
ALARMDEL : Always
BATTV : 13.5 Volts
NUMXFERS : 0
TONBATT : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
STATFLAG : 0x02000008 Status Flag
MANDATE : 2005-08-09
SERIALNO : AB0533121005
BATTDATE : 2000-00-00
NOMBATTV : 12.0
FIRMWARE : 03.p4.A USB FW:p4
APCMODEL : APC ES 500
END APC : Mon May 15 02:19:44 JST 2006
[root@spirit ~]#
*** 復電時の動作 [#q43f7922]
- APC ES500 は停電検出してサーバーをシャットダウンさせた...
- %%デフォルトの状態では、公衆電源が復帰した時に UPS 電源...
- 改めて実験した結果、一次側電源(= UPS 自体の電源) に連動...
- %%APC に確認したところ Power Shute Plus personal editio...
*** アラーム (停電、電池切れ,... ) [#qd4cc5c7]
- &ref(UPS.JPG);
*** バッテリー交換 [#d8c4befc]
- APC ES シリーズは交換用バッテリーをユーザーが自分で交換...
- バッテリー交換時には、&color(RED){バッテリーの残容量を...
- この時にアラームが鳴ることがある
- APC ES 500 用交換バッテリー ⇒ RBC2J
- APC ES 750 用交換バッテリー ⇒ RBC17J
*** LAN de BOOT (ネットワーク電源監視装置)との連動 [#b1...
- APC の UPS はコマンドを使って色々なUPSモニタリング情報...
- LAN de BOOT は3線の信号の組合わせで 電源異常、ローバッ...
- &color(red){結論としては、APC と LAN de BOOT は連係させ...
-- 停電時のシャットダウンは APC からの制御とする
-- 遠隔リブート時のシャットダウンは LAN de BOOT から制御...
-- LAN de BOOT からのシャットダウン開始は実際にはシャット...
終了行:
#contents();
*** UPS の導入 [#l66e18c4]
&ref(apces500.JPG);
- 自宅サーバー、ネットワークの電源障害(主として工事によ...
- UPS でバックアップ出来ないほど停電が続いた場合には、安...
- サーバー系の UPS で実績のある [[APC:http://www.apc.co.j...
*** Linux 用シャットダウンソフト [#o37b2943]
- [[APC UPS deamon (community):http://www.apcupsd.org/]]
[root@backup apcupsd-3.12.4]# ./configure --prefix=/usr ...
--sbindir=/sbin --...
--disable-smnp --d...
Configuration on Sun Aug 20 14:03:21 JST 2006:
Host: i686-pc-linux-gnu -- redhat...
Apcupsd version: 3.12.4 (19 August 2006)
Source code location: .
Install binaries: /sbin
Install config files: /etc/apcupsd
Install man files: /usr/share/man
Nologin file in: /etc
PID directory: /var/run
LOG dir (events, status) /var/log
LOCK dir (for serial port) /var/lock
Power Fail dir /etc/apcupsd
Compiler: /usr/bin/g++ 4.1.1
Compiler flags: -g -O2 -Wall
Linker flags: -g -O
Host and version: redhat (Bordeaux)
Shutdown Program: /sbin/shutdown
Port/Device: /dev/ttyS0
Network Info Port (CGI): 3551
Master/slave Port: 6666
UPSTYPE usb
UPSCABLE usb
drivers (no-* are disabled): no-apcsmart no-dumb no-net...
enable-master-slave: no
enable-nis: yes
with-nisip: 0.0.0.0
enable-cgi: no
with-cgi-bin: /etc/apcupsd
with-libwrap:
enable-nls: no
enable-libintl: no
enable-powerflute: no
enable-pthreads: yes
enable-dist-install: yes
[root@backup apcupsd-3.12.4]# make
[root@backup apcupsd-3.12.4]# make install
[root@spirit etc]# cat /etc/apcupsd/apcupsd.conf
## apcupsd.conf v1.1 ##
# for apcupsd release 3.10.18 (21 July 2005) - redhat
# "apcupsd" POSIX config file
#
# ========= General configuration parameters ============
#
# UPSNAME xxx
# Use this to give your UPS a name in log files and su...
# is particulary useful if you have multiple UPSes. T...
# set the EEPROM.
UPSNAME APC-ES500
#
# UPSCABLE [ simple | smart | ether | usb |
# 940-0119A | 940-0127A | 940-0128A | 940-002...
# 940-0020C | 940-0023A | 940-0024B | 940-002...
# 940-1524C | 940-0024G | 940-0095A | 940-009...
# 940-0095C | M-04-02-2000 ]
#
# defines the type of cable that you have.
UPSCABLE usb
#
# Old types, still valid, are mapped to the new drivers
#
# keyword driver used
# UPSTYPE [ backups dumb
# | sharebasic dumb
# | netups dumb
# | backupspro apcsmart
# | smartvsups apcsmart
# | newbackupspro apcsmart
# | backupspropnp apcsmart
# | smartups apcsmart
# | matrixups apcsmart
# | sharesmart apcsmart
#
# *** New driver names. They can be used directly
# rather than using one of the above aliases.
#
# UPSTYPE [ dumb | apcsmart | net | usb | snmp | test]
# defines the type of UPS you have.
UPSTYPE usb
#
#DEVICE <string> /dev/<serial port>
# name of your UPS device
#
# Here a table of the possible devices related with the ...
#
# Driver Device Description
# dumb /dev/tty** Serial character de...
# apcsmart /dev/tty** Serial character de...
# usb <BLANK> A blank DEVICE sett...
# autodetection, best...
# installations.
# net hostname:port Network link to a m...
# through NIS
# snmp hostname:port:vendor:community
# SNMP Network link t...
# UPS device. Vendor ...
# the UPS device: can...
# where APC is the po...
# is the IETF's rfc16...
# Port is usually 161.
#DEVICE /dev/usb/hiddev96
#DEVICE usb
DEVICE
#
#LOCKFILE <path to lockfile>
# path for serial port lock file
LOCKFILE /var/lock
#
# ======== configuration parameters used during power fa...
#
# The ONBATTERYDELAY is the time in seconds from when a ...
# is detected until we react to it with an onbattery e...
#
# This means that, apccontrol will be called with the ...
# immediately when a power failure is detected. Howev...
# onbattery argument is passed to apccontrol only afte...
# ONBATTERYDELAY time. If you don't want to be annoye...
# powerfailures, make sure that apccontrol powerout do...
# i.e. comment out the wall.
ONBATTERYDELAY 6
#
# Note: BATTERYLEVEL, MINUTES, and TIMEOUT work in conju...
# the first that occurs will cause the initation of a sh...
#
# If during a power failure, the remaining battery perce...
# (as reported by the UPS) is below or equal to BATTERYL...
# apcupsd will initiate a system shutdown.
BATTERYLEVEL 5
#
#
# If during a power failure, the remaining runtime in mi...
# (as calculated internally by the UPS) is below or equa...
# apcupsd, will initiate a system shutdown.
MINUTES 3
#
#
# If during a power failure, the UPS has run on batterie...
# many seconds or longer, apcupsd will initiate a system...
# A value of 0 disables this timer.
#
# Note, if you have a Smart UPS, you will most likely w...
# this timer by setting it to zero. That way, you UPS...
# on batteries until either the % charge remaing drop...
# or the remaining battery runtime drops to or below ...
# if you are testing, setting this to 60 causes a qui...
# if you pull the power plug.
# If you have an older dumb UPS, you will want to set t...
# the time you know you can run on batteries.
TIMEOUT 6000
#
#
# Time in seconds between annoying users to signoff pri...
# system shutdown. 0 disables.
ANNOY 0
#
# Initial delay after power failure before warning users...
# off the system.
ANNOYDELAY 180
#
# The condition which determines when users are prevente...
# logging in during a power failure.
# NOLOGON <string> [ disable | timeout | percent | minut...
NOLOGON disable
#
# If killdelay is set, apcupsd will continue running aft...
# shutdown has been requested, and after the specified t...
# seconds attempt to kill the power. This is for use on...
# where apcupsd cannot regain control after a shutdown.
# KILLDELAY <seconds> 0 disables
KILLDELAY 0
#
#
# ==== Configuration statements the network information ...
#
# NETSERVER [ on | off ] on enables, off disables the ne...
# information server. If netstatus is on, a network inf...
# server process will be started for serving the STATUS...
# EVENT data over the network (used by CGI programs).
NETSERVER off
( snip )
#
# ========== Configuration statements used if sharing ==...
# a UPS and controlling it via the network
(snip)
UPSCLASS standalone
UPSMODE disable
#
# ===== Configuration statements to control apcupsd syst...
#
# Time interval in seconds between writing the STATUS fi...
STATTIME 0
LOGSTATS off
DATATIME 0
( snip )
#
# ========== Configuration statements used in updating t...
#
# UPS name, max 8 characters -- used only during -n or ...
#UPSNAME UPS_IDEN
#
# Battery date - 8 characters -- used only during -u or ...
#BATTDATE mm/dd/yy
#
# The following items are set during -c or --configure
#
# Sensitivity to line voltage quality (H cause faster tr...
# SENSITIVITY H M L (default = H)
#SENSITIVITY H
#
# UPS delay after power return (seconds)
# WAKEUP 000 060 180 300 (default = 0)
WAKEUP 60
#
# UPS Grace period after request to power off (seconds)
# SLEEP 020 180 300 600 (default = 20)
#SLEEP 180
#
#
# Low line voltage causing transfer to batteries
# The permitted values depend on your model as defined b...
# of FIRMWARE or APCMODEL. Some representative values a...
# D 106 103 100 097
# M 177 172 168 182
# A 092 090 088 086
# I 208 204 200 196 (default = 0 => not valid)
#LOTRANSFER 208
#
# High line voltage causing transfer to batteries
# The permitted values depend on your model as defined b...
# of FIRMWARE or APCMODEL. Some representative values a...
# D 127 130 133 136
# M 229 234 239 224
# A 108 110 112 114
# I 253 257 261 265 (default = 0 => not valid)
#HITRANSFER 253
#
# Battery change needed to restore power
# RETURNCHARGE 00 15 50 90 (default = 15)
#RETURNCHARGE 15
#
# Alarm delay
# 0 = zero delay after pwr fail, T = power fail + 30 sec...
# BEEPSTATE 0 T L N (default = 0)
#BEEPSTATE T
#
# Low battery warning delay in minutes
# LOWBATT 02 05 07 10 (default = 02)
#LOWBATT 2
#
# UPS Output voltage when running on batteries
# The permitted values depend on your model as defined b...
# of FIRMWARE or APCMODEL. Some representative values a...
# D 115
# M 208
# A 100
# I 230 240 220 225 (default = 0 => not valid)
#OUTPUTVOLTS 230
#
# Self test interval in hours 336=2 weeks, 168=1 week, O...
# SELFTEST 336 168 ON OFF (default = 336)
#SELFTEST 336
#
[root@spirit etc]#
*** モニターソフトの起動 [#i00d5bc2]
[root@spirit etc]# service apcupsd restart
Shutting down UPS monitoring: ...
Starting UPS monitoring: ...
*** backup.hmuna.com の起動に失敗した [#c855b385]
[root@backup apcupsd-3.12.4]# apcaccess
FATAL ERROR in apcaccess.c at line 252
tcp_open: cannot connect to server localhost on port 3551.
ERR=Connection refused
- 結論としては %%エラーメッセージから推測される LAN 関連...
- USB デバイスの認識に問題があれば UPS アクセスが出来ない...
- &color(red){上の /etc/apcupsd/apcupsd.conf の設定では a...
# NETSERVER [ on | off ] on enables, off disables the ne...
# information server. If netstatus is on, a network inf...
# server process will be started for serving the STATUS...
# EVENT data over the network (used by CGI programs).
NETSERVER on
- backup.hmuna.com では、USBポートによって認識されない場...
ー dmesg で usb ドライバーのロードを確認しておくべきだっ...
-- dmesg には最初から usb connection が見つからないという...
Aug 26 01:13:22 backup apcupsd[27255]: apcupsd FATAL ERR...
-- usb が正しく認識されたときには、以下のようなメッセージ...
Aug 26 01:26:57 backup kernel: ohci_hcd 0000:00:03.0: wa...
Aug 26 01:26:57 backup kernel: usb 1-2: new low speed US...
Aug 26 01:26:57 backup kernel: usb 1-2: configuration #1...
Aug 26 01:26:58 backup kernel: hiddev96: USB HID v1.10 D...
- /proc/bus/usb/devices で USB で接続(認識)されたデバイ...
[root@backup apcupsd-3.12.4]# cat /proc/bus/usb/devices
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=1....
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs...
P: Vendor=051d ProdID=0002 Rev= 1.06
S: Manufacturer=APC
S: Product=APC ES 725 FW:821.y1.A USB FW:y1
S: SerialNumber=QB0420132727
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 D...
E: Ad=81(I) Atr=03(Int.) MxPS= 6 Ivl=10ms
*** UPS ステータスの確認 ( apcaccess )[#i00d5bc2]
[root@spirit ~]# apcaccess
APC : 001,033,0820
DATE : Mon May 15 02:18:46 JST 2006
HOSTNAME : spirit.hmuna.com
RELEASE : 3.10.18
VERSION : 3.10.18 (21 July 2005) redhat
UPSNAME : APC-ES500
CABLE : USB Cable
MODEL : APC ES 500
UPSMODE : Stand Alone
STARTTIME: Mon May 15 01:50:39 JST 2006
STATUS : ONLINE
LINEV : 101.0 Volts
LOADPCT : 35.0 Percent Load Capacity
BCHARGE : 100.0 Percent
TIMELEFT : 24.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME : 6000 Seconds
LOTRANS : 090.0 Volts
HITRANS : 110.0 Volts
ALARMDEL : Always
BATTV : 13.5 Volts
NUMXFERS : 0
TONBATT : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
STATFLAG : 0x02000008 Status Flag
MANDATE : 2005-08-09
SERIALNO : AB0533121005
BATTDATE : 2000-00-00
NOMBATTV : 12.0
FIRMWARE : 03.p4.A USB FW:p4
APCMODEL : APC ES 500
END APC : Mon May 15 02:19:44 JST 2006
[root@spirit ~]#
*** 復電時の動作 [#q43f7922]
- APC ES500 は停電検出してサーバーをシャットダウンさせた...
- %%デフォルトの状態では、公衆電源が復帰した時に UPS 電源...
- 改めて実験した結果、一次側電源(= UPS 自体の電源) に連動...
- %%APC に確認したところ Power Shute Plus personal editio...
*** アラーム (停電、電池切れ,... ) [#qd4cc5c7]
- &ref(UPS.JPG);
*** バッテリー交換 [#d8c4befc]
- APC ES シリーズは交換用バッテリーをユーザーが自分で交換...
- バッテリー交換時には、&color(RED){バッテリーの残容量を...
- この時にアラームが鳴ることがある
- APC ES 500 用交換バッテリー ⇒ RBC2J
- APC ES 750 用交換バッテリー ⇒ RBC17J
*** LAN de BOOT (ネットワーク電源監視装置)との連動 [#b1...
- APC の UPS はコマンドを使って色々なUPSモニタリング情報...
- LAN de BOOT は3線の信号の組合わせで 電源異常、ローバッ...
- &color(red){結論としては、APC と LAN de BOOT は連係させ...
-- 停電時のシャットダウンは APC からの制御とする
-- 遠隔リブート時のシャットダウンは LAN de BOOT から制御...
-- LAN de BOOT からのシャットダウン開始は実際にはシャット...
ページ名: