PowerChute Network Shutdown远程服务器安装过程

来源:互联网 发布:mysql 分组排序 编辑:程序博客网 时间:2024/05/21 19:22
# tar zxvf pcns223Linux.tar.gz
install.htm
install.sh
jre150_13_linux.tar.gz
pcns223.tar.gz
relnotes.htm
silentInstall.sample
开始安装:
# ./install.sh
OS=Linux
Initializing ...
Please enter the PCNS instance number [1|2|3] or press enter to use default value of 1:
1 PCNS instance(s) will be installed.
Please enter the installation directory or press enter to install to the default directory (/opt/APC/PowerChute):
Are you sure you want to install PCNS to /opt/APC/PowerChute [Yes|No]?
yes
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:
Copying jre to /opt/APC/PowerChute/jre ...
Extracting jre to /opt/APC/PowerChute/jre ...
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode, sharing)
JAVA_DIR=/opt/APC/PowerChute/jre/jre150_13
Configuring startup files ...
Startup script=/etc/rc.d/init.d/PowerChute
Updating Linux symbolic link ...
Configuring uninstall script ...
Completed.
Please run the PCNSConfig.sh script located within the PCNS installation directory to complete the installation.
配置PowerChute Network Shutdown
# /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 ]: //根据UPS类型选择
Management Card IP: 10.10.10.10 //UPS的IP地址
Management Card Port # (80): 80 //控制端口
Administrator User Name: ups //UPS管理登录用户
Administrator Password:upspassword //登录密码
Authentication Phrase: apcupsapcupsapcups //这个随便写一个找个地记住就行了,一般也用不着它好像~~~
Setting Summary:
Management Card IP: 10.10.10.10
Management Card Port #: 80
Administrator User Name: ups
Administrator Password: [ MASKED ]
Authentication Phrase: [ MASKED ]
Do you wish to register these settings [ Yes | No | Abort ]? yes
Registering PowerChute Network Shutdown with the management card ...
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.
到此配置完成!
使用浏览器访问http://remote_server_ip:3052
# service PowerChute status //查看PowerChute服务状态
# service PowerChute stop //启动PowerChute服务
# service PowerChute start //停止PowerChute服务
原创粉丝点击