VM/ESA and z/VM Discussions <[email protected]> wrote on 01/19/2006 12:00:25 PM:

> On Thursday, 01/19/2006 at 08:42 PST, william JANULIN
> <[EMAIL PROTECTED]> wrote:
> > Is there a way to change the services for a TCPIP
> > port (515 in this case to use RSCS instead of LPSERVE)
> > without having to bring down TCPIP? I tried OBEYFILE
> > but it does not change the port to use the services I
> > need.
>
> Your OBEYFILE must contain the entire PORT statement exactly as you want
> it; all port definitions will be replaced.  At that point you can take
> down LPSERVE and bring up RSCS.
>
> Alan Altmark
> z/VM Development
> IBM Endicott


Eek...I was hoping to respond to this before you got here ;-)

The book does in fact say that the OBEYFILE must containg the entire PORT statement etc.

That's not correct (and it is being fixed).

There is currently no way, without taking the stack down, to remove a PORT specification.

Based on a cursory look at the code, it seems as if you can have multiple users specifying the same PORT/PROTOCOL combination and as long as they aren't both trying to use it at the same time (or they use the SO_REUSEADDR socket option), they should be able to function properly.

If you're running z/VM 5.2.0, you can use the NETSTAT CONFIG PORT command to display the current PORT reservations on the TCP/IP stack.

Regards,
Miguel Diaz
z/VM TCP/IP Development

Reply via email to