低価格UPSによる電源管理

以下のテキストは、執筆時当時の情報を元に書いたものであり、 現在の情勢にそぐわないことを含む場合があるので注意されたい。 また、テキストは最終提出原稿で校正を経る前のものなので、実際にUNIXUSER 本誌に記載されたものとは異なる。誤字脱字等そのままである。

致命的な誤り以外は加筆修正等は行なわないので情報の鮮度に気をつけつつ 利用して欲しい。

目次


===========================================
Part 3 UPS
===========================================





Part 3 
UPS







fsck






 1
PC



PC
100V



100V

PC
PC


UPS
UPS
UPS 


UPS



PC 
PC
UPS




UPS


UPS




* 

  
  
   
  UPS
  

---[ ]------------------------------------------------------------
: 
: 
----------------------------------------------------------------------

* 

  
  
  
  


* 

  
  
  

* 

  
  /
  UPS
  

UPS
 

--------------------------------------------------------------------------
	   			      
						 	    
						    
						 
* 	

	  	 		
	  
	
	
		

* 

	  	 		
	
	

* 

	  	 		
  	
  	
  	

* ()

	      	 		
	
	
	

* 

	  	 		
	
--------------------------------------------------------------------------

---[ ]------------------------------------------------------------

UPSUPS

UPS
UPS

UPS
----------------------------------------------------------------------



5





UPS


UPS2 

(A) 
(B) 

(B)
PC



PCBIOSON/OFF
UPS


UPS
UPSPC
(A)
UPSUnix
PC
Unix(1)UPS



(B)

---[ ]------------------------------------------------------------
+--------------------------------------
|  
| +-----+
| | ::  |
| | :\  |          UPS
| +---\-+       +-------+
|      ~~~~~~~~~|       |
|         /~~~~~|       |
|        /   /~~|       |
|       |   |   +-------+
|        \   \
|         \   \
|          \   \  +-------------------------+
|           ~~| UPS         |
| ~~~~|     	    	    |
|                 |     []      |  !  
|                 |                         |		
|                 |                         |     
|                 |                         |  
|                 |     PC      	    |
|                 |                         |
|                 +-------------------------+
+-------------------------------------------------

----------------------------------------------------------------------


FreeBSD/LinuxUPS


UPS
FreeBSDLinux1


  BN75XS  APC Smart-UPS 700 
UPS

---[ 1]-------------------------------------------------------------

GS YUASA BM700GNX
http://www.gs-yuasa.com/gype/jp/products/standard_ups/gnx/gnx.html

APC Smart-UPS 700
http://www.apc.co.jp/products/ups/su700j.html

OMRON BN75XS
http://www.omron.co.jp/ped-j/product/ups/bn50-75xs/bn50-75xs.htm


 FW-A10L-0.7K
http://www.mitsubishielectric.co.jp/frequps/products/series_a/tbl.html
----------------------------------------------------------------------

---[ 2]-------------------------------------------------------------
	  GS YUASA	APC		OMRON		
	  BM700GNX	Smart-UPS700	BN75XS		FW-A10L-0.7K
  700VA/460W	700VA/450W	750VA/500W	0.7kVA/490W
		      
 4		4		4		4
   4ms()	24ms		10ms	4ms
WDH(mm) 145x370x160	158x358x137	140x368x172(1) 140x360x160
    			 
	    40dB	41dB	50dB	45dB
FreeBSD  1	2		3		4


1 http://www.gsee.co.jp/seihin/software/pv_gnx.html
2 http://www.sibbald.com/apcupsd/
3 http://www.jp.freebsd.org/QandA/HTML/318.html
4 http://www.mitsubishielectric.co.jp/frequps/down/down2.html
----------------------------------------------------------------------







UPS
UPS
 

	1. UPS(1)
	2. 
	   (UPS)UPS
	3. UPS
	4. UPS
	    
	5. 4UPS
	    
	6. UPS
	   
	7. 46UPS
	   

---[ ]------------------------------------------------------------
UPS/syslog
/var/log/messages  tail -f 
----------------------------------------------------------------------

---[ ]------------------------------------------------------------

+--  2,3,5 ---------------------------------
|  
| +-----+
| | ::  |
| | \\  |          UPS
| +--\\-+       +-------+
|     \~~~~~~~~~|       |
|      \     /~~|       |
|       \   |   +-------+
|        \   \
|         \   \
|          \   \  +-----------------+
|             ~~|                 |
| 	      ~~~~|     PC      | UPS
|	          |		    |	
|	          |		    |
|	          |		    |
|		  +-----------------+
+-------------------------------------------------
+--  4,6 ---------------------------------
|  
| +-----+
| | ::  |  UPS
| | \:  |          UPS
| +--\--+       +-------+
|     \   =]~~~~|       |
|      \     /~~|       |
|       \   |   +-------+
|        \   \
|         \   \
|          \   \  +-----------------+
|           ~~|                 |
| ~~~~|     PC      | tail -f /var/log/messages
|	          |		    |	
|	          |		    |
|	          |		    |
|		  +-----------------+
+-------------------------------------------------
+--  7 ---------------------------------
|  
| +-----+
| | ::  |
| | :\  |          UPS
| +---\-+       +-------+
|      ~~~~~~~~~|       |
|         /~~~~~|       |
|        /   /~~|       |
|       |   |   +-------+
|        \   \
|         \   \
|          \   \  +-----------------+
|           ~~|                 |
| ~~~~|     PC      |
|	          |		    |
|	          |		    | 
|	          |		    |
|		  +-----------------+
+-------------------------------------------------

----------------------------------------------------------------------


APC Smart-UPS 700




GPLAPC UPS Daemon - apcupsd


http://www.sibbald.com/apcupsd/

apcupsd-3.10.17a
FreeBSD/Linux

	# gtar zxpf apcupsd-3.10.17a.tar.gz
	# cd apcupsd-3.10.17a

configure 
  configure 
--bindir, --sbindir, --sysconfdir, --with-cgi-bin 
--prefix 
CGI
CGI /var/www/cgi-bin/apc 

	# ./configure --enable-cgi --with-cgi-bin=/var/www/cgi-bin/apc
	# make && make install

Apache

---[ ]------------------------------------------------------------
apcupsd configure  [ ]

  --prefix		
  --bindir=DIR		()
  --sbindir=DIR		 [/sbin]
  --sysconfdir=DIR	 [/etc/apcupsd]
  --mandir=DIR		 [$PREFIX/man]

  --with-nologin=DIR	  nologin [OS]
  --with-pid-dir=DIR	  PID [OS]
  --with-log-dir=DIR	   [OS]
  --with-lock-dir=DIR	   [OS]
  --with-pwrfail-dir=DIR   [OS]
  --with-cgi-bin=DIR      CGI [/etc/apcupsd]
  --with-serial-dev=DEV	   [OS]
  --with-nis-port=PORT	  NIS [3551]
  --with-upstype=TYPE	  UPS backups, sharebasic, netups,
  			  	backupspro, smartvsups, newbackupspro,
				backupspropnp, smartups, matrixups,
				sharesmart  [smartups]
  --with-upscable=CABLE	  UPS simple, smart 
  			     [smart]
----------------------------------------------------------------------




----------------------------------------------------------------------------
			FreeBSD			Linux
		/sbin/apcupsd			
apcupsd	/etc/apcupsd/apcupsd.conf	
	/etc/rc.apcupsd			/etc/init.d/apcupsd
----------------------------------------------------------------------------



 /etc/apcupsd  apcupsd.conf 





	* UPSNAME
	  UPS8UPS
	  

	* UPSCABLE
	  UPSconfigure --with-upscable 

	* UPSTYPE
	  UPSconfigure --with-upstype 

	* DEVICE
	  UPS1
	  (COM1)
	  

	* ONBATTERYDELAY
	  6()
	  

 BATTERYLEVEL, MINUTES, TIMEOUT 3
3

	* BATTERYLEVEL
	  UPS
	  

	* MINUTES
	  UPS()
	  

	* TIMEOUT
	  Smart-UPS0
	  UPS 
	  0
	  UPSTIMEOUT 30
	  

apcupsd

FreeBSD

/etc/rc.apcupsd  apcupsd 
/etc/rc.local  /etc/rc.apcupsd 

rc.apcupsd  /usr/local/etc/rc.d 
 apcupsd 

Linux

/etc/init.d/apcupsd 
 /etc/rc*.d/ Linux
apcupsd


CGIUPS

Apachehttpd.conf 
 

---[ ]--------------------------------------------------------
ScriptAlias /apc/ "/var/www/cgi-bin/apc/"

    AllowOverride None
    Options None
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1 10.1.1.    CGI

----------------------------------------------------------------------

---[ ]------------------------------------------------------------
 cgi-bin 
configure  --with-cgi-bin 
----------------------------------------------------------------------

Apache CGI


http://localhost/apc/multimon.cgi

 (A)
 (B)
UPS



---[ ]------------------------------------------------------------
(A) %image apc-multimon.png
(B) %image apc-stats.png
----------------------------------------------------------------------




 - BN75XS



BN75XSCD-ROMLinux
WebFreeBSD
Linux
 PowerAct Pro 2.0 
http://www.omron.co.jp/ped-j/product/soft/poweract/
 Fedora Core 3 



CD-ROM
PowerAct_Pro/Linux/Program///


PowerAct Pro rpm

# rpm -i PowerActPro-Master-2.0-20050520.i386.rpm

/usr/lib/PowerActPro/ 
UPS

----------------------------------------------------------------------
*****************************************************************************
        Access right setting of PowerAct Pro
*****************************************************************************
        Please register the password of User ID [Admin].
        Don't forget the password.

        Password:*******
        Reconfirm Password:*******
----------------------------------------------------------------------

UPS




   PowerAct Pro Master Agent program has been installed completely.
   Please run below command and setup the shutdown parameters of master
   agent to meet your system.

        Command:  /usr/lib/PowerActPro/MasterAgent/config.sh

config.sh 
config.sh


Apache

	http://localhost/PowerAct_Pro/

 (A)

---[ ]-------------------------------------------------------------
 (A) %image PAPnetsearch.png
 (B) %image PAPmonitor.png
----------------------------------------------------------------------

UPSUPS
 Admin
 (B)



UPS


 PowerAct Pro Web
http://www.omron.co.jp/ped-j/product/soft/poweract/






700VA
UPSUPS
UPS

UPS



UPS


UPS


URL


1. http://www.apc.co.jp/visitors/trouble.html
2. http://www.sanken-ele.co.jp/prod/powersp/ups/what_ups/ups_w11.htm
3. http://www.mitsubishielectric.co.jp/frequps/wups/wups04.html
4. http://www.gs-yuasa.com/gype/jp/products/other/upsguide/upsguide.html
5. http://www.keyman.or.jp/search/30000392_2.html





 BN75XS 

http://www.omron.co.jp/ped-j/product/ups/index.htm
     
TEL:03-3436-7227   FAX:03-3436-7224


yuuji@gentei.org
Fingerprint16 = FF F9 FF CC E0 FE 5C F7 19 97 28 24 EC 5D 39 BA
HIROSE Yuuji - ASTROLOGY / BIKE / EPO / GUEST BOOK / YaTeX [Tweet]