Re: [Pacemaker] Resource Agent Restrictions on opening TCP Connection

2014-08-26 Thread Ken Gaillot
On 8/26/14 6:32 AM, N, Ravikiran wrote: 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 p

[Pacemaker] Resource Agent Restrictions on opening TCP Connection

2014-08-26 Thread N, Ravikiran
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> /