ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaii_5.4.0.1/rzaiidaemon.htm

74 lines
4.5 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Server daemons" />
<meta name="abstract" content="The server daemon is a batch job associated with a particular server type." />
<meta name="description" content="The server daemon is a batch job associated with a particular server type." />
<meta name="DC.Relation" scheme="URI" content="rzaiistrhostsvr.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaiidaemon" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Server daemons</title>
</head>
<body id="rzaiidaemon"><a name="rzaiidaemon"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Server daemons</h1>
<div><p>The server daemon is a batch job associated with a particular server
type.</p>
<p>There is only one server daemon for each of the different server types
(such as database, network print, and signon). Each server type has a one-to-many
relationship between its server daemon and the actual server jobs; one server
daemon potentially has many associated server jobs.</p>
<p>The server daemon allows client applications to start communications with
a host server that is using sockets communications support. The server daemon
does this by handling and routing incoming connection requests. Once the client
establishes communications with the server job, there is no further association
between the client and the server daemon for the duration of that server job.</p>
<p>Subsystems must be active to use server or file server jobs. When shipped,
all server jobs are configured to run in the QUSRWRK subsystem, but you can
change the subsystem in which they run. File server jobs and the database
host server daemon job (QZDASRVSD) run in the QSERVER subsystem.</p>
<p>The Start Host Server command starts server daemon jobs. The
server daemons must be active for client applications to establish a connection
with a host server that is using sockets communications support.</p>
<p>If you are starting the database daemon or the file server daemon, the
QSERVER subsystem must be active. If you start any of the other server daemons,
the QSYSWRK subsystem must be active. To use the prestart jobs for the server
daemons that run in the QSYSWRK subsystem, QUSRWRK must be active.</p>
<div class="section"><h4 class="sectiontitle">Server Mapper Daemon</h4><p>The server mapper daemon is
a batch job that runs in the QSYSWRK subsystem. It provides a method for client
applications to determine the port number associated with a particular server.</p>
<p>This
job listens on a well-known port for a connection request from a client. The
well-known port number for TCP/IP is 449. The client sends the service name
to the server mapper. The server mapper obtains the port number for the specified
service name from the service table. The server mapper returns this port number
to the client, ends the connection, and returns to listen for another connection
request. The client uses the port number returned from the server mapper daemon
to connect to the specified server daemon.</p>
<p>The server mapper daemon
starts with the STRHOSTSVR command and ends with the ENDHOSTSVR command.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiistrhostsvr.htm" title="To start Host Servers, use the STRHOSTSVR CL command.">Start host servers</a></div>
</div>
</div>
</body>
</html>