Previous | Contents | Index |
DIGITAL TCP/IP Services for OpenVMS software includes the PATHWORKS Internet Protocol (PWIP) driver and the PWIP ancillary control process (PWIP_ACP).
The PWIP driver makes possible communication between OpenVMS systems running both PATHWORKS server and TCP/IP Services software, and personal computers running PATHWORKS client software. It also enables the DECnet-over-TCP/IP feature which is included with the DECnet-Plus for OpenVMS Version 6.0 and later software. For more information, see the DECnet-Plus for OpenVMS documentation.
To start the PWIP driver, rerun TCPIP$CONFIG or enter the following command:
$ @SYS$COMMON:[SYSMGR]TCPIP$PWIP_STARTUP.COM |
To shut down the connection to the PWIP driver, enter:
$ @SYS$COMMON:[SYSMGR]TCPIP$PWIP_SHUTDOWN.COM |
You will need to set up accounts for local users, coordinate the establishment of corresponding accounts on remote systems, and create accounts for remote users who will be accessing server components on the local host.
When creating accounts for remote users, you can create one account for all remote users, an account for groups of remote users, or accounts for individual users. The strategy you use depends on your organization, system resources, and security needs.
Certain product components (for example, LPD/LPR, RMT/RCD, and NFS) act as servers for remote clients. You control access to your system and to these services by giving remote users proxy identities. A proxy identity maps a user account on one host to an account on another host. The information you provide with each entry, along with the privileges you set for the account, let you specifically grant or deny access to your system.
The configuration procedure TCPIP$CONFIG creates a proxy database file called TCPIP$PROXY. You add proxies to this database with the ADD PROXY command. The TCP/IP Services product allows two types of proxies:
TCPIP> ADD PROXY user /HOST=host /REMOTE_USER=user |
TCPIP> ADD PROXY STAFF /HOST=STAR /REMOTE_USER=* |
TCPIP> ADD PROXY CHESTER /NFS=OUTGOING /UID=23 /GID=34 /HOST="orbit" |
See the DIGITAL TCP/IP Services for OpenVMS Management Command Reference manual for a complete description of the ADD PROXY
command. For a more complete discussion about UNIX style identities and
how the NFS server and client use the proxy database, see Part 4 in
this manual.
1.4 Configuring a TCP/IP Cluster
If your host is part of an OpenVMS Cluster, you can use a cluster alias to represent the entire cluster or selected host members. In this case, the network sees the cluster as a single system with one name.
Incoming requests are switched among the cluster hosts at the end of each cluster time interval (specified with the SET COMMUNICATION command). The cluster name is not switched from a host if there are any active TCP/IP connections to the cluster interface on that host.
A remote host can use the cluster alias to address the cluster as a single host or the host name of the cluster member to address a cluster member individually.
If more than one host in the cluster is running the NFS server, the cluster can appear to an NFS client as a single host. This configuration provides automatic failover.
Compaq strongly recommends using the configuration procedure TCPIP$CONFIG to configure a TCP/IP cluster. If you cannot run TCPIP$CONFIG, configure a TCP/IP cluster by completing the following steps:
TCPIP> SET INTERFACE QE0 /CLUSTER=ALLOFUS - _TCPIP> /C_NETWORK=255.255.0.0 /C_BROADCAST=128.44.55.0 |
TCPIP> SET CONFIGURATION INTERFACE QE0 /CLUSTER=ALLOFUS - _TCPIP> /C_NETWORK=255.255.0.0 /C_BROADCAST=128.45.0.0 |
TCPIP> SET COMMUNICATION /CLUSTER_TIMER=30 |
TCPIP> SET COMMUNICATION /CLUSTER_TIMER=0 |
The auxiliary server is the TCP/IP Services implementation of the UNIX internet daemon (inetd). In addition to standard inetd functions, the auxiliary server provides access control and event logging.
The auxiliary server listens continuously for incoming requests and acts as a master server for programs specified in its configuration file. The auxiliary server reduces the load on the system by invoking services only as they are needed.
In addition to listening for and responding to requests,
the auxiliary server provides access control and event logging.
1.5.1 How the Auxiliary Server Works
The auxiliary server listens for connections on the internet addresses of the services that its configuration file specifies. When a connection is found, it invokes the server daemon for the service requested. Once a server is finished, the auxiliary server continues to listen on the socket.
When it receives a request, the auxiliary server dynamically creates a network process, obtaining user account information from one or all of the following sources:
Once a process is created, the auxiliary server starts the requested
service. All services except RLOGIN and TELNET must have access to
their default device and directories and to the command procedures
within them.
1.5.2 Rejecting Client Requests
The auxiliary server rejects client requests for the following reasons:
The post-installation configuration procedure, TCPIP$CONFIG, creates an entry in the services database for each service you configure. If you need to modify your initial configuration, rerun TCPIP$CONFIG or use individual management commands.
The configuration file TCPIP$SERVICE includes information about the service name, the socket and protocol type associated with the service, the user name under which the service should run, and any arguments to be passed to the service program.
Before you manually activate a service, configure the auxiliary server as follows:
TCPIP> SET SERVICE service /PROCESS_NAME=process |
For TELNET and RLOGIN, the process name is set by either the system or users. |
TCPIP> SET COMMUNICATION /SERVICES=n |
TCPIP> SET CONFIGURATION COMMUNICATION /SERVICES |
$ SET PROTECTION=(W:RE) SYS$MANAGER:SYSLOGIN.COM |
The services you configure are started during product startup procedure. Afterwards, to initialize (enable) a service, enter:
TCPIP> ENABLE SERVICE TCPIP> SET CONFIGURATION ENABLE SERVICE |
The first command immediately changes the running system. The second causes the services to be enabled the next time the product starts up. Before transferring data, a client and a server initialize several communication operations. Initialization is determined by the socket type and activation flags set in the services database. Table 1-2 describes the communication initialization process.
Variable | Option | Description |
---|---|---|
Socket type | STREAM | When initializing data communications for a STREAM socket, the server listens on a socket for a connection request. When a connection request is accepted, the new socket (which results from accepting the connection) is made available for network data transfer. |
DATAGRAM | This is a connectionless socket. No particular operation is required at initialization before data transfer. Therefore, an incoming datagram can be read directly, once the server socket exists and its characteristics are defined. | |
Activation flags | LISTEN |
The flag is set with the /FLAGS qualifier of the SET SERVICE command.
The auxiliary server starts the network process after data communication initialization. The server is able to start data communication directly on a socket that is passed at the logical name SYS$NET without any additional operations (other than $ASSIGN or a DEC C socket call). There is no need for communication initializations (connect, listen, or accept). This allows servers developed on UNIX to be ported with minimal effort. Also, multiple copies of a single-threaded server can run without any modification, allowing parallel processing of multiple requests. |
NOLISTEN |
The auxiliary server creates a network process and starts the requested
services after receiving a network request.
The TCP/IP Services product does not initialize data communication. Therefore, the server for the requested service must initialize its own data communication. If a server is started with the NOLISTEN activation flag, it can listen for more service requests and process them as soon as they come. Use this function to terminate a server started with the NOLISTEN activation flag. Specify the idle time with the /INACTIVITY_TIMER qualifier of the SET SERVICE command. Note: This flag is reserved. Use it only under the guidance of your Compaq support representative. |
The auxiliary server does not transfer data. Therefore, the auxiliary server can set socket options for a requested service either before or during data communications. Some available options are:
You can also specify socket options for a requested service in the
services database. These socket options are set before the new socket
is passed to the requested server.
1.5.5 Setting Up Event Logging
Event logging can help you manage the software. By default, services do not log events, but you can enable event logging for all or selected configured services. You can configure the product to log events to the operator's console, a log file, or both. To set up event logging, enter the following commands:
For a list of all the logging options, see the SET SERVICE command description in the DIGITAL TCP/IP Services for OpenVMS Management Command Reference manual.
Some product components provide additional event logging capabilities. See individual component chapters for more information.
Previous | Next | Contents | Index |