Visit Our UNIX and Linux User Community

Full Discussion: PowerChute
Operating Systems AIX PowerChute Post 302155031 by pagink on Wednesday 2nd of January 2008 05:42:28 PM
Old 01-02-2008
PowerChute

I have looked on APC webpage and searched here to find a way to configure powerchute to monitor and shutdown our servers safley when a poweroutage lasts longer then 15 minutes. the documentation i have so far is listed below but i know i am missing a step. I also called APC and they said they do not support AIX with SMART-UPS, so i am stuck any notress or direction would be greatly appreciated.
Thank you

Steps or content:
1. Obtain a copy of x-windows software. I used hummingbird - EXCEED.
2. Setup hummingbird to log on as root and target the server you would like powerchute installed.
3. Copy the pcns201.tar file from the powerchute CD via ftp to the /usr/java14/jre/bin directory
4. untar the files.
a. tar xvf pcns201.tar
5. Execute a JVM (Java Virtual Machine) session
a. java -cp .Smiliecns201.jar:swingall.jar:util.jar load
6. go through the steps of configuration. If I do not mention a step then keep the defaults.
a. Management card IP: xx.xxx.x.x
b. Username: xxx
c. Password: “xxxxxxxx”
7. logout as dmiadmin and close your xwindows session.
8. Login as root and go to /usr/PowerChute
9. copy the rc.APCpcns file to the /etc directory
a. cp -p rc.APCpcns /etc
10. Change your directory to /etc and modify the rc.APCpcns.
a. cd /etc
b. chmod 770 rc.APCpcns
c. chgrp system rc.APCpcns
d. chown root rc.APCpcns
e. vi rc.APCpcns
f. Change the INSTALL_PATH directory to /usr/PowerChute
11. go to the unix prompy in /etc as root and execute.
a. ./rc.APCpcns start
12. Your powerchute Deamon is available and running.
 
Test Your Knowledge in Computers #365
Difficulty: Medium
The original code for vi was written by Bill Joy in 1976.
True or False?

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

PowerChute on SuSe8.1

hiho, i'm the newest newbie using powerchute, so pls help: I installed PowerChute Business Edition Basic on my suse 8.1 pc ---> ok, the deamon is also running.. but now my problem.... how can i configure the software? i tried to execute the .jar files:... (3 Replies)
Discussion started by: pressy
3 Replies

2. Solaris

APC PowerChute

hi, got a problem with my ups after replacing the batterie.. there is no connection to the ups. when i plug this ups into a windows - laptop i can speak to it, but in solaris not. there are no messages in powerchute.err and the deamon upsd is running. restarting the deamon doesn't change... (4 Replies)
Discussion started by: pressy
4 Replies
SHUTDOWN(8)						      System Manager's Manual						       SHUTDOWN(8)

NAME
shutdown - close down the system at a given time SYNOPSIS
shutdown [ -k ] [ -r ] [ -h ] [ -f ] [ -n ] time [ warning-message ... ] DESCRIPTION
Shutdown provides an automated shutdown procedure which a super-user can use to notify users nicely when the system is shutting down, sav- ing them from system administrators, hackers, and gurus, who would otherwise not bother with niceties. Time is the time at which shutdown will bring the system down and may be the word now (indicating an immediate shutdown) or specify a future time in one of two formats: +number and hour:min. The first form brings the system down in number minutes and the second brings the system down at the time of day indicated (as a 24-hour clock). At intervals which get closer together as apocalypse approaches, warning messages are displayed at the terminals of all users on the sys- tem. Five minutes before shutdown, or immediately if shutdown is in less than 5 minutes, logins are disabled by creating /etc/nologin and writing a message there. If this file exists when a user attempts to log in, login(1) prints its contents and exits. The file is removed just before shutdown exits. At shutdown time a message is written in the system log, containing the time of shutdown, who ran shutdown and the reason. Then a termi- nate signal is sent to init to bring the system down to single-user state. Alternatively, if -r, -h, or -k was used, then shutdown will exec reboot(8), halt(8), or avoid shutting the system down (respectively). (If it isn't obvious, -k is to make people think the system is going down!) With the -f option, shutdown arranges, in the manner of fastboot(8), that when the system is rebooted the file systems will not be checked. The -n option prevents the normal sync(2) before stopping. The time of the shutdown and the warning message are placed in /etc/nologin and should be used to inform the users about when the system will be back up and why it is going down (or anything else). FILES
/etc/nologin tells login not to let anyone log in SEE ALSO
login(1), reboot(8), fastboot(8) BUGS
Only allows you to kill the system between now and 23:59 if you use the absolute time for shutdown. 4th Berkeley Distribution November 16, 1996 SHUTDOWN(8)

Featured Tech Videos

All times are GMT -4. The time now is 05:58 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy