PCNS(PowerChute Network Shutdown) 是 APC(現 Schneider Electric)針對 UPS 管理推出的網路關機代理軟體,可在市電異常時協調多台伺服器有序關機,保護資料完整性。本文記錄在 Linux 伺服器上透過安裝腳本部署 PCNS 3.0.1 的完整流程,含 Java 環境準備、安裝參數設定、Web 管理介面驗證。
pcns301.tar.gz、install.sh(均位於安裝光碟 PCNS 目錄)。/usr/java/jre1.8.0_XXX)。/opt/pcns):chmod a+x install.sh./install.shy 或選擇 Accept。/opt/APC/PowerChute,可自訂。bin/java),非 JAVA_HOME 變數值。




https://<Server_IP>:6547(預設 HTTPS),接受自簽憑證警告。admin / apc(建議首次登入立即修改密碼)。chkconfig --add pcns(SysVinit)或 systemctl enable pcns(systemd)。netstat -antlp | grep 6547 確認服務監聽,排查 iptables/firewalld。完成上述步驟,即可建立「UPS 偵測異常 → NMC 發送指令 → PCNS 代理觸發關機」的自動化保護鏈,確保關鍵業務資料安全落盤。