HP3000-L Archives

October 1997, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Chuck Duncan." <[log in to unmask]>
Reply To:
Date:
Mon, 13 Oct 1997 05:07:59 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (96 lines)
On Fri, 10 Oct 1997 06:45:48 GMT [log in to unmask] wrote:

> Hi all, since we've started to allow telnet sessions to our HP3000,
> our licence limit of 160 concurrent users is regularly being reached.
>
> With HP wanting about 20,000 sterling to increase the licence to 256
> concurrent, I'm having to look at different ways to regulate
> multi-logons.
>
> I have bouncer running and aborting sessions after periods of
> inactivity, but I think the way forward is to refuse a login if there
> are already two sessions active at the same workstation, for example.
>
> What I need is to be able to get the IP address of the workstation
> from within MPE.
>
> I could just look up the session,username.account in a showjob and
> use that as a reference, but we have some people that sign more than
> one terminal legitimately.
>
> We run the Reflection software from WRQ as our telnet/comms software.
>
> Any help on this problem would be most appreciated.
>
>Thanks in advance,
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> - Systems Administrator                   St. James Mill Road       -
> - I.T Department                          Northampton, NN5 5JJ, UK  -
> - mailto:kevin<at>cosworth.co.uk          Tel : +44 (0)1604 732247  -
> - mailto:sysadmin<at>cosworth.co.uk       Fax : +44 (0)1604 732129  -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>(change <at> to @ to reply)

One way to allow some users multiple HP sessions and others only a
single session, can be done with Reflection for Windows 95 (NS/VT)
and a Reflection script that I got from WRQ few years ago.

The process uses DDE to invoke a Reflection process that is already
running and moves it to the foreground. For example if I have 3
different sessions on one or more HP3000s and then I run one of the
three ICONs, instead of starting a forth session, it puts me into the
appropriate original session.

First, create the appropriate settings file like PROD.R1W with the
Setup DDE Server Name value set to R1PROD. And another like DEV.R1W
with the DDE value set to R1DEV. You must do Connection Setup and do
a save settings with the appropriate "connection name" for the
connect and resume-connection to work. I also use different
background colors and Icons for each session.

Second, copy the following RCL file to PRODON.RCL and DEVON.RCL
changing dde-initiate, Window-Title, and Connection Name as
appropriate.

Third, create an shortcut Icon with a command line R1WIN.EXE
PROD.R1W,PRODON.RCL and another shortcut Icon with a command line
R1WIN.EXE DEV.R1W,DEVON.RCL.

;PRODON.RCL vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

set quiet-command no
continue on
dde-initiate "R1PROD" "RCL" v1
dde-execute v1 "[foreground]"
if error-code = 0
   dde-terminate v1
   continue off
   hardexit
endif

set window-title "Production System Session"
connect "192.100.100.111 via VT-MGR"
if error-code <> 0
   resume-connection "192.100.100.111 via VT-MGR"
   if error-code <> 0
      continue off
      display "^M^JUnable to resume-connection to 192.100.100.111^M^J
      stop
   endif
endif
continue off
WAIT 0:0:03

LOGON.RCL
STOP

;PRODON.RCL ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The main thing is to use a different DDE Server Name (like R1PROD,
R1DEV, R1SYS etc.) for each unique session allowed. The Reflection
for Windows 95 default DDE Server Name is R1WIN.


Chuck Duncan
[log in to unmask]

ATOM RSS1 RSS2