- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: program a serial port to UPS to detect power o...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 12:56 PM
тАО06-21-2004 12:56 PM
program a serial port to UPS to detect power outage
I would prefer a simple DCL solution; but it may be a VAX Basic or VAX C program.
Is there an "industry standard" white paper?
I am interested in the "general theory" that people use for determining:
- send OpenVMS mail when power outage is first detected
- other actions to do at first power outage
- how long do you wait before shutdown?
Do you wait five or ten minutes before committing to a shutdown?
- is there a SHUTDOWN and POWER OFF option for OpenVMS AlphaServer (DS10 or DS20) OpenVMS v7.3-1?
Thank you.
Jim, OpenVMS Systems Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 05:03 PM
тАО06-21-2004 05:03 PM
Re: program a serial port to UPS to detect power outage
I think your first job is to find out how the UPS does the signalling.
- some of them just close a contact
That could be sensed by putting data transmit and receive on it. You just send out characters and see if they come back.
- some of them deliver a high/low signal
That could be sensed by monitoring one of the modem control lines.
- others really can 'talk'
Obviously you need information about the protocol.
So much for "industry standard" ...
--
It depends on your system what to do.
I don't think it makes sense to send mail, when the system goes down in 2 minutes anyway except for journaling purposes, but that can be built into the software, too. Some software I have seen sends broadcasts to all users that are logged-in interactively.
How long to wait? Well it does not make sense to shut down immediately - it could be a short power failure. On the other hand there must be enough 'juice' in the UPS so that you can shut down safely.
Having your system on UPS is fine, but remember that your infrastructure might need power, too. A VMScluster will not work if the nodes are powered, but the network switches are down.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 06:31 PM
тАО06-21-2004 06:31 PM
Re: program a serial port to UPS to detect power outage
- how long do you wait before shutdown?
Do you wait five or ten minutes before committing to a shutdown?
This depends on your UPS. I know environmenst that have power for well over one hour, others that will last just for 5 minutes.
- is there a SHUTDOWN and POWER OFF option for OpenVMS AlphaServer (DS10 or DS20) OpenVMS v7.3-1?
If you have the facility for the UPS to signal - in whatever way - that main power is off, that will allow you to start SHUTDOWN.COM (hopefully, I never tried it non-interactively). I don't know POWEROFF by software on DS10 of DS20 so you may be out-of-luck there.
Furthermore, I agree with Uwe. you may need other hardware to to stay alive on UPS. On the other hand, if just these will stay on and the rest is taken off power (not behind UPS) you _may_ run into trouble with broken connections, open databases - all depending on your infrastructure. (It would be a nice thing if this extra could be shut off by software, over the LAN, after the open applications were shut down normally....)
So be aware what you take off the UPS.
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2004 05:41 AM
тАО06-22-2004 05:41 AM
Re: program a serial port to UPS to detect power outage
I know this is not a direct answer to your question, but I have collected several URLs concerning UPS Software solutions for OpenVMS that you might find useful. I've included them in the attached HTML file.
Cheers!
Keith Cayemberg
Consultant
Wipro Technologies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2004 01:35 PM
тАО10-23-2004 01:35 PM
Re: program a serial port to UPS to detect power outage
Before I try to tackle the impossible, has anyone had any luck with "porting" some software for VMS to monitor these Compaq and HP branded UPS?
Thanks,
Rich, VMS SYSmgr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2004 03:46 AM
тАО10-24-2004 03:46 AM
Re: program a serial port to UPS to detect power outage
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2004 08:31 AM
тАО10-24-2004 08:31 AM
Re: program a serial port to UPS to detect power outage
SYSMAN> SHUTDOWN NODE
This can be directed at any node on your network to which you can set your environment (with privilege).
It can also turn off the power, if your hardware has soft power capabilities.
For example, to take out the whole cluster:
SYSMAN> SET ENVIRONMENT/CLUSTER
SYSMAN> SHUTDOWN NODE /POWER_OFF -
/MINUTES_TO_SHUTDOWN=2 -
/REASON="UPS Detected power failure" -
/REBOOT_TIME="When power is back" -
/REBOOT_CHECK/CLUSTER_SHUTDOWN
Ask the UPS hardware supplier if they have software for OpenVMS. Let them know there is demand and it will eventually happen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2004 08:41 PM
тАО10-24-2004 08:41 PM
Re: program a serial port to UPS to detect power outage
http://www.tmesis.com/apc/registration.htmlx
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 03:24 AM
тАО10-26-2004 03:24 AM
Re: program a serial port to UPS to detect power outage
I talked to Brian "VAXman" Schenkenberger about monitoring ups equipment last spring. His excellent software 'only' monitors APC brand equipment.
Since the systems that I am supporting are hundreds of miles away, I've asked if the "optional" monitoring ports were installed on the Compaq R3000 and the HP R3000XR. So far I haven't found an online reference document for the R3000, but the R3000XR doesn't list Alpha OpenVMS as a supported platform.
Assuming that these UPS's have the monitoring hardware, I'll broaden the search a bit. I wonder if anyone has ported the Linux NUT ("Network UPS Tools") package, for instance, to OpenVMS. I'll report back if I find anything positive on something supporting these HP/Compaq UPS's.