PowerChute
Download: http://www.apc.com/resource/include/techspec_index.cfm?base_sku=SFPCNS223&tab=Software
Install
$ tar zxvf pcns223Linux.tar.gz
$ ./install.sh
PowerChute Network Shutdown v.2.2.3 Installation Script
Copyright American Power Conversion Corporation. 2007
------------------------------------------------------------------
OS=Linux
Initializing ...
Please enter the PCNS instance number [1|2|3] or press enter to use default valu e of 1: <Enter>
Please enter the installation directory or press enter to install to the default directory (/opt/APC/PowerChute): <Enter>
Are you sure you want to install PCNS to /opt/APC/PowerChute [Yes|No]? Yes <Enter>
Creating /opt/APC directory ...
PCNS will be installed to /opt/APC/PowerChute
Copying the installation files ...
Extracting PCNS files ...
PCNS is extracted to /opt/APC/PowerChute
Please enter java directory if you want to use your system java (example:/usr/local/bin/jre/jre150_13) or press enter to install the bundled Java: <Enter>
Completed.
Please run the PCNSConfig.sh script located within the PCNS installation directory to complete the installation.
$ cd /opt/APC/PowerChute/group1
$ ./PCNSConfig.sh
--------------------------------------------------
PowerChute Network Shutdown Configuration Utility
--------------------------------------------------
Press Ctrl + C at anytime to abort.
Configuring PowerChute Network Shutdown ...
[1]: Configure for a single APC UPS device
[2]: Configure for a parallel APC Silcon UPS/Smart-UPS VT system
[3]: Configure for multiple APC Smart-UPS devices
[4]: Configure for multiple APC Symmetra devices
Please select the appropriate configuration type (1) [ 1 - 4 ]:1 <Enter>
Management Card IP: 192.168.1.19 <Enter>
Management Card Port # (80): 80 <Enter>
Administrator User Name: apc
Administrator Password: *******
Authentication Phrase: 123456789123456(Authentication phrase must contain at least 15 and no more than 32 characters.)
Setting Summary:
Management Card IP: 192.168.1.19
Management Card Port #: 80
Administrator User Name: apc
Administrator Password: [ MASKED ]
Authentication Phrase: [ MASKED ]
Do you wish to register these settings [ Yes | No | Abort ]? Yes <Enter>
Registering PowerChute Network Shutdown with the management card ...
Security information incorrect. Access denied.
(ต้องเพิ่ม Client IP Address เข้าใน Network Management Card ก่อน)
- http://192.168.1.19
- user : apc
- pass : *********
- go to menu Smart-UPS 1000 > PowerChute > Add PowerChute Clients

Do you wish to continue the configuration with the current settings? [ Yes | No ]? Yes
PowerChute Network Shutdown registration completed successfully.
Do you wish to start the PowerChute Network Shutdown service [ Yes | No ]? Yes
PowerChute Network Shutdown service started.
Configuration completed.
Note : GUI Config
$ cd /opt/APC/PowerChute/group1
$ cp m11.cfg lib/
$ cd lib/
$ java -cp m11.jar:confutil.jar:../comp/Notifier.jar:../comp/CommandFileRunner.jar:../comp/ds.jar PCNSUtilApp
Configure PCNS
https://127.0.0.1:6547



- กำหนดเวลา ให้เครื่อง Server Shutdown




Note : เมื่อไฟดับเครื่อง Servers จะใช้ไฟจาก Battery ของเครื่อง UPS แล้วหลังจากนั้น 5 นาทีตามที่คอนฟิกไว้เครื่อง Server ก็จะ Shutdown *(ควรกำหนดเวลาให้เหมาะสมกับระยะเวลาที่ใช้Battery ของ UPS). Battery ต้องไฟไม่หมดก่อนที่เครื่อง Server จะ Shutdown.
เป็นอันเสร็จครับ.

SUSE Linux Enterprise Cool Solutions
|







