Hopefully you can just have the firewall updated to allow communication through the ports that STAF uses (6500, 6550 by default).
Note that more recent versions of STAF would have given you a better error
in this scenario, something like:
$ STAF <remote_ip> SEM REQUEST MUTEX test
Error submitting request, RC: 16
Additional info
---------------
An error occurred when the SEM service on machine 'remote_ip' attempted to
register for garbage collection notification on endpoint 'ssl://
<your-local-machine>@6550'. Reason: STAFConnectionProviderConnect: Error
resolving host name: Unknown host name: <your-local-machine>,
gethostbyname_r(): 22,
Endpoint: ssl://<your-local-machine>@6550
Thanks,
David
David Bender 11501 Burnet Rd. Phone (T/L): 1-512-286-5315
STAF/STAX Development Bldg. 903-5B002 (363-5315)
Austin, TX ITN: 23635315
IBM Software Group, 78758-3400 Email: [email protected]
WPLC
From: "Yanping Wang" <[email protected]>
To: David Bender/Austin/i...@ibmus
Cc: [email protected]
Date: 04/19/2010 08:12 PM
Subject: Re: [staf-users] mutex garbage collect
Hi David,
No, I am not running the latest STAF. I tried 3.3.1 and 3.3.5. Both give me
the same results.
the root cause of this problem is the remote machine cannot do staf ping to
my local.
I finally figured out that this a limitation because the machine is behind
other firewall.
Thanks,
Jeff
From: David Bender [mailto:[email protected]]
Sent: Monday, April 19, 2010 5:18 PM
To: Yanping Wang
Cc: [email protected]
Subject: Re: [staf-users] mutex garbage collect
Hi,
Are you running the latest versions of STAF (V3.4.1) on both machines?
STAF local MISC VERSION
STAF remote_ip MISC VERSION
Can the remote machine communicate to your local machine via STAF? On the
remote machine, does a "STAF <your-local-machine> PING PING" work? You need
to make sure that works in order for the garbage collection to work
correctly.
Thanks,
David
David Bender 11501 Burnet Rd. Phone (T/L): 1-512-286-5315
STAF/STAX Development Bldg. 903-5B002 (363-5315)
Austin, TX ITN: 23635315
IBM Software Group, 78758-3400 Email: [email protected]
WPLC
Inactive hide details for "Yanping Wang" ---04/19/2010 07:09:46 PM---Hi,
"Yanping Wang" ---04/19/2010 07:09:46 PM---Hi,
From: "Yanping Wang" <[email protected]>
To: <[email protected]>
Date: 04/19/2010 07:09 PM
Subject: [staf-users] mutex garbage collect
Hi,
I tried the sem service according to the user guide.
C:\>STAF local SEM REQUEST MUTEX Mutex1
this works fine and the mutex is garbage collected. However, if I change
the local to an IP address of the other machine.
C:\>STAF remote_ip SEM REQUEST MUTEX Mutex1
The mutex is created but is not garbage collected.
Does anyone know how to make garbage collection working?
Thanks,
Jeff Wang
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ staf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/staf-users
