入门级
部门级
企业级
特种服务器
其它

五大核心
Web服务器
FTP服务器
Mail服务器
域名服务器
文件共享服务器
其它
路由器应用
代理服务器
数据库

Windows阵营
Unix
Linux
你的位置: 商务应用> 服务器硬件>
在HP-UX下配置UPS
2001-09-10 11:23:00· 编辑:stone· 天极硬件频道

1 2  下一页

实验系统

操作系统 - HP-UX
版本 - 10.20
硬件系统 - PA 9000
系列 - K460
子系统 - UPS

配置方法

首先,有一个配置文件/etc/ups_conf 决定UPS 的行为。下面是该文件的一个示例:

**********************************************************************
# @(#) $Revision: 70.4 $
shutdown_delay_mins:1
shutdown_timeout_mins:5
upstty:/dev/tty0p1 # Port 1 (second) on terminal mux 0 for UPS rs-232
**********************************************************************

文件中的值为:
shutdown_delay_mins:1 这是UPS在开始关闭服务器之前等待电源恢复的时间。(缺省为1分钟。)

shutdown_timeout_mins:5 这是 UPS在电源故障后关闭自己之前等待的时间。(缺省为5分钟。)

upstty:/dev/tty0p1 这是UPS与服务器连接的端口。

/etc/inittab 文件中的下面一行引用了UPS,在电源故障时执行/etc/ups_conf 脚本:

ups::off:rtprio 0 /usr/lbin/ups_mond -f /etc/ups_conf

1 2  下一页


【责任编辑:stone】
【发表评论】【关闭窗口】
■ 相关内容