10 More Discussions You Might Find Interesting
1. What is on Your Mind?
Admins...
I just lerve the pop-ups that appear whilst replying to someones post.
It reminds me of "Paperclip" from my MS Windows days... ;oDD
Love it, as it makes me smile, telling me I am creating a thread ATM... ;o)
Neat little addition/feature guys... (4 Replies)
Discussion started by: wisecracker
4 Replies
2. Hardware
Is anyone here using this brand, and if so, how satisfied are you with its 'PowerPanel for Linux' software? Any problems? (0 Replies)
Discussion started by: Varsel
0 Replies
3. UNIX for Dummies Questions & Answers
Hello! First post, please be gentle!
I have some APC UPS devices that I'm trying to log in to. They are currently configured to use telnet -- as a safety precaution, they can only be accessed from our 'bounce' machine. Because I want to do this from a script on my local machine, I'm doing it... (2 Replies)
Discussion started by: Korla Plankton
2 Replies
4. Shell Programming and Scripting
Hi all,
The place where i stay experiences lot of power cuts and my solaris box is almost always on.
It so happens that many times i will not be around to switch it off as soon as there is a power cut..(i also have UPS which provides alternative supply for 15min)
So i wanted to write a script... (3 Replies)
Discussion started by: wrapster
3 Replies
5. HP-UX
We have a D380 server running 10.20 for disaster recovery in the event we ever needed it. Hardly robust, dual processor, 4 4.3gb HDD, DDS3 tape drive, CD-ROM and external DLT4000 tape drive. Are there any 3rd-party UPS options that anyone could recommend that would provide for graceful shutdown? ... (3 Replies)
Discussion started by: mtedeschi
3 Replies
6. What is on Your Mind?
This thread reminded me of a couple of screwups made by an operator in my old job. The ops used to run OS backups through a script which asked for the path to the tape (/dev/rmt/whatnot). We (the sysadmins) would give these to the ops if a new server was added or the h/w path changed. One Sunday... (4 Replies)
Discussion started by: blowtorch
4 Replies
7. Solaris
Has anyone ever setup the APC powerchute (business edition agent) software, using a USB drive on any solaris machines?
We installed the software, and it doesnt seem to be giving the option for a /dev/usb device, it only gives options of /ttya, ttyb etc...
anyone ever done this with a USB? or... (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies
8. Solaris
I'm having some trouble getting my ups to work on my Sun ultra enterprise servers. I have it hooked to serial port b and i have the tripplite power alert software installed and running, but it doesn't see the connection, is there something else i'm supposed to do to make it realize it is hooked to... (2 Replies)
Discussion started by: kymberm
2 Replies
9. UNIX for Advanced & Expert Users
Hello Everyone I run 4 HP 9000 servers with HP-UX 11.0 on all 4, with an Infomix Database. About 6 months ago one system starting acting real weird it will display the message that it lost power (which did not) and it would shutdown, Then roughly 30 seconds later it would then say power has... (4 Replies)
Discussion started by: JackieRyan26
4 Replies
10. UNIX for Dummies Questions & Answers
I am a newbie and I just got a Sun Ultra 5, and want an UPS. I have been looking at the different models, but I do not know which brand has software that is compatable with Solaris 2.8 for automatic shutdown. I have looked at the power setup options in Solaris, but there doesn't seem to be any... (1 Reply)
Discussion started by: jeremiebarber
1 Replies
UPSDRVCTL(8) NUT Manual UPSDRVCTL(8)
NAME
upsdrvctl - UPS driver controller
SYNOPSIS
upsdrvctl -h
upsdrvctl [OPTIONS] {start | stop | shutdown} [ups]
DESCRIPTION
upsdrvctl provides a uniform interface for controlling your UPS drivers. You should use upsdrvctl instead of direct calls to the drivers
whenever possible.
When used properly, upsdrvctl lets you maintain identical startup scripts across multiple systems with different UPS configurations.
OPTIONS
-h
Display the help text.
-r directory
If starting a driver, this value will direct it to chroot(2) into directory. This can be useful when securing systems.
This may be set in the ups.conf with "chroot" in the global section.
-t
Enable testing mode. This also enables debug mode. Testing mode makes upsdrvctl display the actions it would execute without actually
doing them. Use this to test out your configuration without actually doing anything to your UPS drivers. This may be helpful when
defining the sdorder directive in your ups.conf(5).
-u username
If starting a driver, this value will direct it to setuid(2) to the user id associated with username.
If the driver is started as root without specifying this value, it will use the username that was compiled into the binary. This defaults
to "nobody", and is far from ideal.
This may be set in ups.conf with "user" in the global section.
-D
Raise the debug level. Use this multiple times for additional details.
COMMANDS
upsdrvctl supports three commands - start, stop and shutdown. They take an optional argument which is a UPS name from ups.conf(5). Without
that argument, they operate on every UPS that is currently configured.
start
Start the UPS driver(s).
stop
Stop the UPS driver(s).
shutdown
Command the UPS driver(s) to run their shutdown sequence. Drivers are stopped according to their sdorder value - see ups.conf(5).
Warning
this will probably power off your computers, so don't play around with this option. Only use it when your systems are prepared to lose
power.
ENVIRONMENT VARIABLES
NUT_CONFPATH is the path name of the directory that contains upsd.conf and other configuration files. If this variable is not set,
upsdrvctl the driver use a built-in default, which is often /usr/local/ups/etc.
DIAGNOSTICS
upsdrvctl will return a nonzero exit code if it encounters an error while performing the desired operation. This will also happen if a
driver takes longer than the maxstartdelay period to enter the background.
SEE ALSO
nutupsdrv(8), upsd(8), ups.conf(5)
Internet resources:
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
Network UPS Tools 05/21/2012 UPSDRVCTL(8)