comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL licenses thru a tunnel?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL licenses thru a tunnel? [message #34492 is a reply to message #34388] Wed, 19 March 2003 11:17 Go to previous message
Anthony J. Ferro is currently offline  Anthony J. Ferro
Messages: 6
Registered: February 2002
Junior Member
Hi all,

My thanks to all who helped and responded. I've now been able
to get this to work, so I thought I'd post a summary of what I
did to get this to work. (Note I'm doing this all under Linux,
but it should work for other systems too.)

The basic problem in my original attempt is that IDL actually
requires _two_ connections to get a license. The first is to
the FlexLM license manager. That's normally on port 1700 and
that's what I was able to connect to originally. The second
connection is to the VENDOR deamon, in this case RSI's idl_lmgrd.
That normally falls to some unused default value, but it can be
specified on the license server in the license file on the DAEMON
line (aka the VENDOR line in the FlexLM docs). I've chosen to
specify that port.

What I've now done to enable me to work from home (behind a
NAT system) to connect to my work (behind a firewall) license
server is....

On the server, license.foo.edu, I modified the license file
so that it starts out something like this:

SERVER license 001122334455 1700
DAEMON idl_lmgrd /usr/local/rsi/idl_5.6/bin PORT=31700

On my home system, home.bar.com, I had to first modify my
/etc/hosts file so that "license" is the loopback address:

127.0.0.1 localhost.localdomain localhost home license

This is required because the FlexLM license server knows who
it is supposed to be (from the SERVER line). Next I have a
"basic" license.dat file with:

SERVER localhost 001122334455 17000
USE_SERVER

So far, this has all been a one-time setup. Now, to run IDL
locally, I first start up two ssh tunnels to my license server
with a script which has:

ssh -f -N -L 17000:localhost:1700 license.foo.edu
ssh -f -N -L 31700:localhost:31700 license.foo.edu

Then I just use the "idl" command as normal. As long as those
tunnels are up, everything should work. Note that I use the
ports "17000" and "31700" just because they are free (high number)
and might remind me why they are there.

I hope this helps anyone else trying to work out this type of
configuration.

- Tony

------------------------------------------------------------ -----------
| Anthony Ferro tferro@as.arizona.edu |
| Steward Observatory, NICMOS Project |
| University of Arizona Phone: (520) 621-8683 |
| 933 N. Cherry Ave. FAX: (520) 621-1891 |
| Tucson, AZ 85721-0065 http://merlin.as.arizona.edu/~tferro/ |
------------------------------------------------------------ -----------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: "broken" scale in IDL plot
Next Topic: Using multiple top level bases created with GUIBuilder

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:39:49 PDT 2025

Total time taken to generate the page: 0.00451 seconds