Hi all, Is there any restrictions on Resource Agent script that it shall not support any TCP connection opens.. ?? I have a script as below
executecmd="$FD<>/dev/tcp/localhost/$PORT" #FD is the lowest available FD and PORT is hardcoded port eval "exec $executecmd" 2> /dev/null retval=$? echo $retval #retval is always 1 irrespective of the TCP server running on localhost:$PORT Although I see that I can connect to TCP Server running on localhost:$PORT using other scripts with same statements. I cannot connect as a ocf-ra. So, I wanted to know is there any restrictions on my RA script. Regards, Ravikiran N
_______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org