- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: configuring ups and tty problem
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
05-28-2003 05:08 AM
05-28-2003 05:08 AM
i'm facing a problem on configuring ups to my rp5400
let me brief
i have a ups powerware 9210 and lansafe managment software
i've defined ups serial tty0p1
and when installing the software it asked for the port and selcted the defined one
when i lunched the tool , communication faliur with ups msg occaurd ( cool for now )
i've removed the port and ups demon ,checked with ups_conf
and same problem
when i reconfigured the ups port it gave tty0p2 rather than tty0p1 ,
i have 4 port asio0 it was labled as tty0p0, p1,p2,p3 after i created ups ttyop2 it gave me
tty0p0,0p2,0p3,0p4 , checked with /dev no tty0p1 device are found , when i force the ups port to port ttyop1 it says it is in use
can any one tell me where did tty0p1 go and y it was replaced by tty0p4
part 2
when i could not retrive ttyop1 and configured tty0p2 insted to manage the ups , it did not communicate !!!
the cable is working and it has been replaced with a new tested one , the cable is connected to serial named UPS
i made a KERMIT test to check the connectivty and communication with tty0p2 with different speed ( ups is 9600) and did not work
HELP ME PLZ , really i'm lost sorrt for taking too much reading this problem
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 05:45 AM
05-28-2003 05:45 AM
Re: configuring ups and tty problem
seem rmsf insf -e
Here are my working configurations.
from /etc/inittab
ups::respawn:rtprio 0 /usr/lbin/ups_mond -f /etc/ups_conf
[2698#] more /etc/ups_conf
# @(#)B.11.11_LR
shutdown_delay_mins:1
shutdown_timeout_mins:5
upstty:/dev/tty0p1 # Port 1 (second) on terminal mux 0 for UPS rs-232
I'm getting a sense of deja vu here.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 07:19 AM
05-28-2003 07:19 AM
Re: configuring ups and tty problem
If you're using something other than ups_mond to monitor the ups you need to ensure that you remove the ups line from inittab. Check using fuser that nothing else is using the device file.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 07:33 AM
05-28-2003 07:33 AM
Re: configuring ups and tty problem
the inittab configuration are right as u said , the UPS_CONF file is true
i made rmsf -H H/W PATH for asio0 and insf -e
then recreat the devices files from sam , and ttyp01 did not created
i dont know why , i mean it should creat the orginal device file
tty0p0 tty0p2 tty0p3 tty0p4 are created where is tty0p1
or how can i add the /dev/tty0p1 0x000100
thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 07:45 AM
05-28-2003 07:45 AM
Re: configuring ups and tty problem
Have you recently had the GSP firmware updated, or applied the console driver patches? The fact that you have tty0p0, p2,p3,p4 suggests that this is the case - p3 is then used for the UPS.
Can you confirm that you are using the lansafe s/w to monitor the ups? I believe that ups_mond can only monitor HP's range of UPS, hence you should not have ups_mond in /etc/inittab if this is the case. Also the contents of ups_conf which is used only by ups_mond is irrelevant.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 07:50 AM
05-28-2003 07:50 AM
Re: configuring ups and tty problem
ioscan -fnCtty
swlist -l product | grep -e Mux -e mksf
in GSP (press Ctl+B,get GSP> prompt) check
with "HE" command GSP rev.,what is it?
Are you sure that UPS got connected to the
UPS port of 3-heads rs-232 cable (not the remote one)?
So far :)
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 07:53 AM
05-28-2003 07:53 AM
Re: configuring ups and tty problem
i'm using lansafe for ups mangment
i did not made any firmware upgrade
so i should delete the ups_mond from inittab
and tty0p3 will the serial for the ups
is that true ??!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 07:53 AM
05-28-2003 07:53 AM
Re: configuring ups and tty problem
i'm using lansafe for ups mangment
i did not made any firmware upgrade
so i should delete the ups_mond from inittab
and tty0p3 will the serial for the ups
is that true ??!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 07:53 AM
05-28-2003 07:53 AM
Re: configuring ups and tty problem
i'm using lansafe for ups mangment
i did not made any firmware upgrade
so i should delete the ups_mond from inittab
and tty0p3 will the serial for the ups
is that true ??!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 07:59 AM
05-28-2003 07:59 AM
Re: configuring ups and tty problem
If you are using lansafe to monitor the ups then you should definitely remove the ups line from inittab (or change the respawn line to off and run init q.) Check that you have no ups_mond processes by running ps -ef | grep ups.
If ups_mond was running on the ups port you would have problems with either lansafe or kermit being able to use it.
I believe tty0p3 will be your ups port now. I've read that after a certain patch level and GSP revision tty0p1 is no longer used.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 08:11 AM
05-28-2003 08:11 AM
Re: configuring ups and tty problem
can you please send me or link me where did u check that tty0p1 is no longer used after certin patches ,
and one last thing
the steps are
1) from sam--- ups
creat port tty0p3 for ups
and make the demon inactive
2) go to inittab # or off the ups
then test with kermit and run lansafe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 08:28 AM
05-28-2003 08:28 AM
Re: configuring ups and tty problem
As Daren has said and please see the line in
my reply - check for patches (esp. insf and mux) level.What happens is that even if you
have these patches installed BUT doesn't apply
a certain GSP firmware the whole solution worths nothing and you still would have problems even after setting to a new tty.
Best regards
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 08:32 AM
05-28-2003 08:32 AM
SolutionSome of the information can from HP internally viewable documents, but the special instructions of the patch text of PHNE_27788 (Mux/Pty patch for 11.00) mentions the GSP firmware/patch revision/insf link. The equivalent patch for 11i is PHNE_27760.
The insf patch needed is PHCO_27370 for 11.00, PHCO_28169 for 11i.
I'd suggest you don't use SAM in this instance. When SAM does anything related to the UPS it is expecting to see an HP UPS and will configure ups_mond. If you need to create the device file then something like insf -e -d asio0 should be sufficient.
Your step 2 is correct, but you must run init q after editing inittab so that the changes take effect.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 06:18 AM
05-29-2003 06:18 AM
Re: configuring ups and tty problem
You can save yourself a lot of trouble in the future by using APC for your UPS needs.
The setup, monitoring tools, and support is excellant. Theur models change often but, APC has served me well for 10 years.
I am notified when the temperture or voltage varies from whatever limit I decide by e-nail, by pafer, or by phone.
I know this does not help you now but, maybe in the future.
Tony