joe@uw-warp.UUCP (04/10/87)
How can I tell if a port on a DECServer is in use? I want to define a MODEM service on the Decserver, and be able to connect to it from either the DECServer, or any one of the Vaxes on my cluster? Ideally I'd like to have several modems hooked up, and just be able to grab the first available one.. Any ideas? How do I go about doing it? Thanks for any info, Joe Meadows joe@uw-warp!uw-nsr!uw-beaver (I think thats it?!)
tedcrane@batcomputer.UUCP (04/14/87)
In article <670@uw-warp.UUCP> joe@uw-warp.UUCP (Joe Meadows) writes: > How can I tell if a port on a DECServer is in use? > I want to define a MODEM service on the Decserver, and be > able to connect to it from either the DECServer, or any one > of the Vaxes on my cluster? Ideally I'd like to have several > modems hooked up, and just be able to grab the first available > one.. Any ideas? How do I go about doing it? PRIMO: You had better have a DECserver 200/MC or sufficient wiring knowledge to fake the modem into seeing signals that the 100 and 200/DL do not supply, or all bets are off! Much of what you query about is documented in the DECserver 200 Management Guide (AA-HL76A-TK), around page 4-41. They describe what is called a "dial-in/dial-out modem". Here's a synopsis: On each server, set up the ports connected to modems: define port XXX access dynamic autobaud dis modem ena ... define port ... ... define service MODEM ports XXX YYY ZZZ QUEUE ENABLED There are other keywords, but those will get you started and HELP on the DECserver can suggest more. Note that the MODEM service can be provided by more than one server. Now, on your cluster (or any VMS machine connected to the Ethernet) you must create ports for the user to connect to: $ run sys$system:LATCP LATCP> create port LTAxxx LATCP> set port LTAxxx/node=<servername>/port=<portname> or LATCP> set port LTAxxx/node=<servername>/service=MODEM Again, this is the gist of it. You are creating an LT port which when accessed initiates a connection to a port or, preferably, the MODEM service on the DECserver. In VMS, the easiest way to connect will probably be: $ set host/dte LT_PORT_NAME Where LT_PORT_NAME is the name of the LT port you created. If you have more than one modem, you may want to create several such LT ports. Of course, if your users are logging in from a DECserver, it will be MUCH easier to just let them Local> connect MODEM rather than go through VMS. In this case you can omit the LATCP commands above. Drawback: SET HOST/DTE offers a /LOG feature which you cannot use in this case. Beware: we have encountered problems with a DF224 hooked to the DECserver 200/MCso if you see funny things (like the alternate speed doesn't work), don't be surprised). Oh, your last question. How can you tell if the port is in use? From the server, its easy. Try SHOW PORT or SHOW SERVICE commands. From VMS its not so easy. The SHOW TERMINAL LTAxx tells you who is using the VMS port, but provides no information aboutthe underlying server ports. If you have a cluster, the situation is worse. LATCP> SHOW PORT is a privileged command. Perhaps someone else will have info on this one. -- - ted crane, alias (tc) tedcrane@tcgould.tn.cornell.edu BITNET: tedcrane@CRNLTHRY tedcrane@squid.tn.cornell.edu DECnet: GOPHER::THC