[Linux-cluster] probe a special port and fence according to the result

Lon Hohberger lhh at redhat.com
Fri Feb 29 14:20:23 UTC 2008


On Fri, Feb 29, 2008 at 03:05:23PM +0100, Peter wrote:
> Hi!
>
> I am planning to test a service for availability and if the service is not 
> available anymore, fence the node and start the service on another node. 
> Therefore, i need a clue how to probe a port with system tools.
> Sure, with telnet there is a possibility to check. But i have no idea to 
> avoid the interactivity. So it is too difficult for me to implement and 
> usually not allowed in this environment.
>
> On Solaris, there is the "ping -p" command to test the availability of a 
> application waiting on a port. But for Redhat, i have no clue.
>
> Could you please help?

Net Cat? (man nc ) ?

-- 
Lon Hohberger - Software Engineer - Red Hat, Inc.




More information about the Linux-cluster mailing list