Operating System - HP-UX
1836373 Members
2313 Online
110100 Solutions
New Discussion

Telnet connection closes at package halt

 
Luk Vandenbussche
Honored Contributor

Telnet connection closes at package halt

Hello,

When I perform cmhaltpkg. All my telnet sessions are disconnected, also those who are connected to the IP adres of the server, and not to the IP adres of the package.. It seems like a problem with cmmodnet?
9 REPLIES 9
Massimo Bianchi
Honored Contributor

Re: Telnet connection closes at package halt

Hi,
probably all your session start from a virtual IP, this is lost during an halt.


Try a simple test: from another server telnet to the real IP address and see if you loose the connection. I think no.

HTH,
Massimo
Michael Steele_2
Honored Contributor

Re: Telnet connection closes at package halt

This will always happen with connection based sessions. Only connectionless sessions, udp based, will migrate between nodes during failover.

So sorry, but that's the application using TCP sessions instead of udp sessions and has nothing whatsoever to do with MC/SG or any command thereof.
Support Fatherhood - Stop Family Law
Sridhar Bhaskarla
Honored Contributor

Re: Telnet connection closes at package halt

Hi,

If it is not a IP address issue, then it may be the "fuser" command that cmhaltpkg runs to unmount the filesystems. Ofcourse, you would get a "killed" message prior to it.

If your users were in any of those filesystems managed by Serviceguard, that's what it would happen.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Luk Vandenbussche
Honored Contributor

Re: Telnet connection closes at package halt

Hello all,

1) I am connected to my real IP adres, not to my virtual
2) My working directory is not a cluster directory
3) The telnet connections to the real IP adres off the standby node are also closed.

Any idea's
melvyn burnard
Honored Contributor

Re: Telnet connection closes at package halt

check your patch levels, particularly networking patches.
Also, before halting the package, have you checked the networking logs? or the netstat outputs, etc?
Please bear in mind, all SG does is to remove the floating ip address, it is the netwoking software that would kill telnets etc.
You could also check manually using fuser whether the system is getting"confused" and it is kiling of the users due to this.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Vasikaran Venkatesan
Frequent Advisor

Re: Telnet connection closes at package halt

If you are not connecting to the floating IP and not sitting on the clustered FS, you may want to check the RUN and HALT script of the package. Check for any unwanted procedures being done on the node, while halting or starting on the second node.
Maigualida
Occasional Advisor

Re: Telnet connection closes at package halt

If you lose connection to your static IP when stopping the package, sounds that this happening something surprises with the IP alias defined in cntl, you can to publish your present configuration of associate cards LAN?

An additional test consists of maintaining 2 sessions with ping - t to the directions of that node, and observing that packages ICMP lose when stopping the package...

I imagine that you reviewed it, but section
IP[] and subnet of cntl of the package, and /etc/hosts, its correct?

Regards.
The freedom means responsibility. It is why most of the men they ignore it
Tim D Fulford
Honored Contributor

Re: Telnet connection closes at package halt

I have not seen this.... My telnet sessions remain intack after cmhaltpkg (when I connect to the node & NOT the package).

The only thing I can think of is what are the IPs & netmasks of the packages & nodes. If the networks differ then the routing of the packates in & out of the lan interfaces can get muddled.

please supply netstat -in & ifconfig lanX on all interfaces.

The only other obvious thing is make sure you have applied the lates set of STREAMS/ARPA/ServiceGuard/Network patches...

Regards

Tim
-
Luk Vandenbussche
Honored Contributor

Re: Telnet connection closes at package halt

Problem solved