在Redhat5中安装APC PowerChute Network Shutdown实例
来源:互联网 发布:mac pro换屏幕多少钱 编辑:程序博客网 时间:2024/06/01 08:32
RHL Linux 5 安装 PCNS for APC
Data: 2009-07-07
目标:Use PCSN on Linux
环境:
APC :SMART-5000
OS : RHEL ES5 x86
管理卡 :APC Management Network Card 【AP9619】
附件软件:PowerChute Network Shutdown v2.2.3 for Linux.tar.gz
JAVA_DIR=/opt/jre150_13/ 『以后修改』
备注:
Administrator Authentication Phrase: admin user phrase(The default is。 )
===============================================================================
【确认文件:要安装的文件在当前目录中】
D:/share>dir
驱动器 D 中的卷是 Work
卷的序列号是 6273-236F
D:/share 的目录
2009/07/07 19:38 <DIR> .
2009/07/07 19:38 <DIR> ..
2009/07/07 19:18 <DIR> be
2009/07/07 19:38 <DIR> doc_manual
2009/05/15 14:04 27,338,814 jre150_13_linux.tar.gz
2009/05/15 14:04 28,854,994 PowerChute Network Shutdown v2.2.3 for Linux
.tar.gz
2 个文件 56,193,808 字节
4 个目录 6,464,155,648 可用字节
【上传文件:ftp PowerChute Network Shutdown v2.2.3 for Linux.tar.gz 文档到 /home/necadmin/目录中】
D:/share>ftp 172.20.102.27
连接到 172.20.102.27。
220 (vsFTPd 2.0.5)
用户(172.20.102.27:(none)): necadmin
331 Please specify the password.
密码:
230 Login successful.
ftp> pwd
257 "/home/necadmin"
ftp> bi 【注意二进制传输,否则文件无法识别】
200 Switching to Binary mode.
ftp> mput Po* 【可以使用通配符】
mput PowerChute Network Shutdown v2.2.3 for Linux.tar.gz? y
200 PORT command successful. Consider using PASV.
150 Ok to send data.
226 File receive OK.
ftp: 发送 28854994 字节,用时 2.50秒 11560.49千字节/秒。
ftp> bye
221 Goodbye.
【解压包:在172.20.102.27的/home/necadmin/apctemp 目录中】
[root@kbtacn07 necadmin]# mkdir apctemp
[root@kbtacn07 necadmin]# cp PowerChute/ Network/ Shutdown/ v2.2.3/ for/ Linux.tar.gz apctemp/.
[root@kbtacn07 necadmin]# cd apctemp/
[root@kbtacn07 apctemp]# ls
PowerChute Network Shutdown v2.2.3 for Linux.tar.gz
[root@kbtacn07 apctemp]# tar -vzxf PowerChute/ Network/ Shutdown/ v2.2.3/ for/ Linux.tar.gz
install.htm
install.sh
jre150_13_linux.tar.gz
pcns223.tar.gz
relnotes.htm
silentInstall.sample
[root@kbtacn07 apctemp]#
【 安装文件:执行/home/necadmin/apctemp/目录下执行 ./install.sh】
[root@kbtacn07 apctemp]# ./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 value of 1:
[root@kbtacn07 apctemp]# ./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 value of 1:
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): 【Enter】
Are you sure you want to install PCNS to /opt/APC/PowerChute [Yes|No]?
y
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 thebundled Java:
/opt/jre150_13 【注意jre环境已经安装完成,可以参考Java 安装实例】
Are you sure java path =/opt/jre150_13 [Yes|No]?
y
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
Java HotSpot(TM) Server VM (build 1.5.0_13-b05, mixed mode)
JAVA_DIR=/opt/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.
[root@kbtacn07 apctemp]#
【配置文件:进入/opt/APC/PowerChute/group1中执行PCNSConfig.sh 】
[root@kbtacn07 /]# cd /opt/APC/PowerChute/group1
[root@kbtacn07 group1]# ./PCNSConfig.sh
--------------------------------------------------
PowerChute Network Shutdown Configuration Utility
--------------------------------------------------
Press Ctrl + C at anytime to abort.
[1]: 192.168.0.27
[2]: 172.20.102.27
Please select the local host IP address to register [ 1 - 2 ]: 2
Please enter the subnet mask of the local host IP address toregister or just press enter key to use default subnet mask[255.255.0.0]: 255.255.255.0
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
Management Card IP: 172.20.102.251
Management Card Port # (80): 80
Administrator User Name: apc
Administrator Password:
Authentication Phrase:
Setting Summary:
Management Card IP: 172.20.102.251
Management Card Port #: 80
Administrator User Name: apc
Administrator Password: [ MASKED ]
Authentication Phrase: [ MASKED ]
Do you wish to register these settings [ Yes | No | Abort ]? y
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 ]? y
PowerChute Network Shutdown service started.
Configuration completed.
[root@kbtacn07 group1]#
【确认PowerChute服务启动】
[root@kbtacn07 /]# ./etc/rc.d/init.d/PowerChute
Usage ./etc/rc.d/init.d/PowerChute [start|stop|status]
[root@kbtacn07 /]# ./etc/rc.d/init.d/PowerChute status
PowerChute is running ...
[root@kbtacn07 /]# ./etc/rc.d/init.d/PowerChute stop
Killing PowerChute Network Shutdown Group #1. PID= 6472
Done.
[root@kbtacn07 /]# ./etc/rc.d/init.d/PowerChute start
PowerChute Network Shutdown, v2.2.3: Copyright 2007, American Power Conversion
Startup completed.
[root@kbtacn07 /]#
- 在Redhat5中安装APC PowerChute Network Shutdown实例
- PowerChute Network Shutdown远程服务器安装过程
- 在Redhat5中安装Symantec Backup Exec Agent实例
- 在Redhat5中安装Symantec Antivirus Agent实例
- 在Redhat5中安装Symantec Backup Exec Agent实例
- 关于在VMware中 RedHat5.8 中文包安装
- 在RedHat5.5安装oracle10g中遇到错误
- 在redhat5上安装oralce10g
- 在redhat5.8 上安装oracle10g
- 在Redhat5.5上安装oracle11gR2
- Redhat5在虚拟机下Vmware Tools安装
- 在VM中的redhat5下安装JDK6
- PHP中安装APC扩展遇到问题
- PHP中安装APC扩展遇到问题
- PHP中安装APC扩展遇到问题
- OSX 中为php安装 apc 扩展
- 在redhat5上安装Oracle 10g数据库
- 在Windows7下从硬盘安装 Redhat5.4 方法
- VIM的一般使用技巧
- Flex通信篇——Flex和外部应用程序进行通信
- 在Redhat5中安装Symantec Backup Exec Agent实例
- 疯狂了
- XP下关于快速切换用户功能的相关编程
- 在Redhat5中安装APC PowerChute Network Shutdown实例
- 关于出差
- Windows Phone,Windows Mobile,Windows Embedded CE(WinCE),.NET Compact Framework,Native C++开发系列(上百篇原创文章不断更新完善中)
- 在Redhat5中安装Symantec Antivirus Agent实例
- 使用impdp导数据文件时报错,提示work线程提早退出
- PHP 学习网站
- 获取Kernel32基地址的几种方法
- 各大搜索引擎网站登录入口
- 写的第一个较有意义Javascript程序