- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Communication between UPS and N-Class Server
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
Forums
Discussions
Discussions
Discussions
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
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
12-28-2005 07:43 AM
12-28-2005 07:43 AM
Communication between UPS and N-Class Server
I have an N-class HP9000 server with a PowerTrust UPS (model A3589A). I would like to connect the server to the UPS via the serial cable for UPS monitoring and shutdown. Cable connecting the 2 is HP part no: 5061-2575a. I cannot determine which device file to use in the configuration of the ups_mond daemon. I have tried every combination I can think of. NOTE: I am attempting to use the built-in "UPS" lables serial port pn the N-Class server.
ioscan -fun -C tty produces the following output:
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
tty 0 0/0/4/0 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/GSPdiag1 /dev/cul0p2 /dev/mux0 /dev/tty0p1 /dev/ttyd0p2
/dev/cua0p2 /dev/diag/mux0 /dev/tty0p0 /dev/tty0p2
tty 1 0/0/5/0 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/GSPdiag2 /dev/diag/mux1 /dev/mux1 /dev/tty1p1
Any help would be greatly appreciated.
Todd
Todd A. Kempf
Systems Engineer
101 31st Avenue
Rock Island, IL 61201
Email: tkempf@tranvia.com
Fax: 309-786-5132
Phone: 309-786-9311 Ext. 208
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 08:04 AM
12-28-2005 08:04 AM
Re: Communication between UPS and N-Class Server
You need to use "/dev/tty0p1" device file to be used with "ups_mond" daemon. Put this device in the ups_conf file against "upstty".
If you have already tried this device file, then what sort of problem you are facing?
Are you using SAM or UPS Manager for configuration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 08:44 AM
12-28-2005 08:44 AM
Re: Communication between UPS and N-Class Server
# @(#) $Revision: 70.4 $
shutdown_delay_mins:9
shutdown_timeout_mins:6
upstty:/dev/tty0p1 # Port 1 (second) on terminal mux 0 for UPS rs-232
trying this and starting ups_mond I receive the following in the /nsr/logs/messages file:
Dec 28 15:23:33 ips2 /usr/lbin/ups_mond[6358]: /usr/lbin/ups_mond: UPS /dev/tty0p1 interrupted but read of ups status failed - possible UPS hardware problem
I have configured ups_mond via SAM and directly on the command line. Both result in the same errors.
Is there anything I would need to change on the UPS itself?
Basically my issue is I can't estabish communications to the UPS via ups_mond.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 09:25 AM
12-28-2005 09:25 AM
Re: Communication between UPS and N-Class Server
As per the error , the "ups_mond" failed to get the UPS status from the port. It could be because of coomunication problem.
You need to ensure baud rate is set at 1200
The UPS is configured in Computer Mode.
Refer following doc for verifying the communication/connection.
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066027953
If you don't have kermit installed, you can use cu instead.
By the way which GSP firmware and HP-UX versions you are dealing with?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 07:38 PM
12-28-2005 07:38 PM
Re: Communication between UPS and N-Class Server
check for patches, on 11.11 e.g. PHNE_32616 and PHCO_32202, you may have to rmsf and insf devcie files, also check for other asio0 driver related patches.
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2005 07:26 AM
12-29-2005 07:26 AM
Re: Communication between UPS and N-Class Server
GSP Hardware Revision: 8 Firmware: A.01.06
via SAM, Peripheral Device, Terminals and Modems, /dev/tty0p1 is set to 1200 Baud.
Using the procedure provided (using kermit) I was unable to connect to the UPS. I tried 1200, 2400, 4800, and 9600 Baud rates with no success.
What exactly do you mean by make sure my UPS is in "Computer Mode"? Not quite sure how to determine this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2005 08:53 AM
12-29-2005 08:53 AM
Re: Communication between UPS and N-Class Server
The msg:
Dec 28 15:23:33 ips2 /usr/lbin/ups_mond[6358]: /usr/lbin/ups_mond: UPS /dev/tty0p1 interrupted but read of ups status failed - possible UPS hardware problem
actually means the UPS device configured as /dev/tty0p1 has experienced a
a change in state but no status information was communicated to the UPS
Monitor.
I suspect your problem is due to a faulty RS-232 communication.
Perhaps your can consider the following:
- Check the I/O HW components along the
communications link from the Server to the UPS.
- Check the UPS HW for correct cable connections, power-on/off condition, and front panel conditions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2005 09:57 AM
12-29-2005 09:57 AM
Re: Communication between UPS and N-Class Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2005 11:33 AM
12-29-2005 11:33 AM
Re: Communication between UPS and N-Class Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 07:00 AM
01-16-2006 07:00 AM
Re: Communication between UPS and N-Class Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 03:55 PM
01-18-2006 03:55 PM
Re: Communication between UPS and N-Class Server
Did you get "??" while using kermit ?
Did you try typing "N"
Did you try with XON/XOFF flow control?
What you see in # ps -ef | grep ups
Now assuming all OK from server side which includes OS, port , cable , then maybe UPS port is not responding. As I said before, one cause of it could be the operating mode of the UPS. Refer the system guide of the UPS and ensure it is operation in "Computer Mode" and not in "Network mode".
Check UPS port settings as well.