Start host servers

 

+

Search Tips   |   Advanced Search

 

To start iSeries Access for Windows host servers, use the STRHOSTSVR CL command.

You can use iSeries Navigator to configure your system so that servers start automatically when you start Transmission Control Protocol (TCP) with the STRTCP command. Newly shipped systems do this by default.

The STRHOSTSVR command starts the host server daemons and the server mapper daemon. It also attempts to start the prestart job associated with the server.

Each host server type has a server daemon. There is a single server mapper daemon for the system. The client PC application uses the port number to connect to the host server daemon. The server daemon accepts the incoming connection request and routes it to the server job for processing.

Use the CL command finder to see the parameters for the STRHOSTSVR command values that are listed below:

Server type

*ALL

Starts all host server daemons and the server mapper daemon.

*CENTRAL

Starts the central server daemon in QSYSWRK subsystem. The daemon job is QZSCSRVSD, and the associated server prestart job is QZSCSRVS.

*DATABASE

Starts the database server daemon in the QSERVER subsystem. The daemon job is QZDASRVSD, and the associated server prestart jobs are QZDASOINIT, QZDASSINIT, and QTFPJTCP. QTFPJTCP runs in the QSERVER subsystem.

*DTAQ

Starts the data queue server daemon in QSYSWRK subsystem. The daemon job is QZHQSRVD, and the associated server prestart job is QZHQSSRV.

*FILE

Starts the file server daemon in QSERVER subsystem. The daemon job is QPWFSERVSD, and the associated server prestart jobs are QPWFSERVSO, QPWFSERVSS, and QPWFSERVS2.

*NETPRT

Starts the network print server daemon in QSYSWRK subsystem. The daemon job is QNPSERVD, and the associated server prestart jobs are QNPSERVS and QIWVPPJT. QIWVPPJT runs in the QSYSWRK subsystem.

*RMTCMD

Starts the remote command and the distributed program call server daemon in QSYSWRK subsystem. The daemon job is QZRCSRVSD, and the associated server prestart job is QZRCSRVS.

*SIGNON

Starts the signon server daemon in QSYSWRK subsystem. The daemon job is QZSOSGND and the associated server prestart job QZSOSIGN.

*SVRMAP

Starts the server mapper daemon in QSYSWRK subsystem. The daemon job is QZSOSMAPD.

If the daemon job runs in the QSYSWRK directory, the associated server prestart jobs will run in the QUSRWRK directory by default. Additionally, database server prestart jobs will run in QUSRWRK subsystem by default.

Required protocol

(This optional parameter specifies the communication protocols that are required to be active for the host server daemons to start.)

*ANY

The TCP/IP communication protocol must be active at the time the STRHOSTSVR command is issued. If TCP/IP is not active, diagnostic message PWS3008 and escape message PWS300D are issued and the host server daemons are not started.

*NONE

No communication protocols need to be active at the time the STRHOSTSVR command is issued for the host server daemons to start. No messages will be issued for protocols which are inactive.

*TCP

The TCP/IP communication protocol must be active at the time the STRHOSTSVR command is issued. If TCP/IP is not active, diagnostic message PWS3008 and escape message PWS300D are issued and the host server daemons are not started.

 

Parent topic:

Establish client/server communications

Related concepts
CL command finder