OpenSolaris Server an einer USV betreiben. Warum eigentlich nicht? Nicht nur Stromschwankungen ausgleichen, sondern auch (Strom)Netzausfälle überbrücken und im Bedarfsfall koordiniert das System anhalten. Clientseitig brauchen wir hier eine Software, welche mit der USV, in diesem Fall eine APC RT6000er kommunizieren kann.
Diese gibt es bei APC auf der Webseite und nennt sich PowerChute Network Shutdown (PCNS).
Nach den ca 35MB *.tar.gz und der Entpackerei kanns auch schon losgehn:
hdi@test:/opt/APC/PowerChute/group1$ pfexec ./INSTALL
Do you agree to the above license terms? [yes or no]
yes
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.
Hier wird jetzt noch klein wenig Krams abgefragt. Java Umgebung, Installationspfad…
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
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/jre1.5.0_18) or press enter to install the
bundled Java:
/usr/java/jre/bin
Are you sure java path =/usr/java/jre/bin [Yes|No]?
yes
java version “1.6.0_13”
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode)
JAVA_DIR=/usr/java/jre
Configuring startup files …
Startup script=/etc/rc2.d/S99PowerChute
Configuring uninstall script …
Completed.
Please run the PCNSConfig.sh script located within the PCNS installation
directory to complete the installation.
Na dann konfigurieren wir mal:
hdi@test:~/Desktop/sol$
################################
hdi@test:/opt/APC/PowerChute/group1$ pfexec ./PCNSConfig.sh
————————————————–
PowerChute Network Shutdown Configuration Utility
————————————————–
Press Ctrl + C at anytime to abort.
Configuring PowerChute Network Shutdown …
[1]: Configure for a single UPS device
[2]: Configure for a parallel Silcon UPS / Smart-UPS VT / Galaxy system
[3]: Configure for multiple Smart-UPS or Galaxy devices
[4]: Configure for multiple Symmetra devices
Please select the appropriate configuration type (1) [ 1 – 4 ]: 1
Management Card IP: 192.168.0.36
Management Card Port # (80): 80
Administrator User Name: apc
Administrator Password:
Authentication Phrase (default):
Setting Summary:
Management Card IP: 192.168.0.36
Management Card Port #: 80
Administrator User Name: apc
Administrator Password: [ MASKED ]
Authentication Phrase (default): [ 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
]? Yes
PowerChute Network Shutdown service started.
Configuration completed.
hdi@test:/opt/APC/PowerChute/group1$
Und schon haben wir ein besseres Bauchgefühl, oder?