📄 whentorunslpd.html
字号:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"><html><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Mozilla/4.72C-CCK-MCD Caldera Systems OpenLinux [en] (X11; U; Linux 2.2.14 i686) [Netscape]"> <title>OpenSLP Users Guide - When To Run slpd</title></head><body text="#000000" bgcolor="#FFFFFF" link="#0000EE" vlink="#551A8B" alink="#FF0000"><h2>When To Run slpd</h2><hr WIDTH="100%"><p><tt>slpd</tt> provides SA (and possibly DA) functionality along withthe ability to maintain a consistent state with respect to the locationsof other SLP agents on the network. The SLP library (<tt>libslp.so</tt>)provides UA functionality internally on a per process basis with out theneed to communicate with slpd. This means that in certain cases, the slpdaemon does not always have to be loaded on every machine. We'renot sure if this will be a valuable feature to a majority of users, butat least it offers the additional flexibility to minimize the overhead forSLP for those machines that will only need UA capabilities. (If you'rewondering about the meaning of DA, SA, and UA, you should probably read<a href="../IntroductionToSLP/index.html">AnIntroduction to SLP</a>).<br> <h3>When is slpd needed?</h3><ul><li>slpd must be running on all machines that will be registering services. In other words, slpd is required on all machines that run applicationsthat make calls to one of the following SLP APIs <tt>SLPReg()</tt>,<tt>SLPDeReg()</tt>,or <tt>SLPDelAttrs(). </tt><a href="../ProgrammersGuide/index.html">Seethe OpenSLP Programmers Guide for details.</a></li><li>slpd is the process that maintains static registrations from the /etc/slp.regfile. If you expect the registrations for this file to be availableto other machines, you must run slpd.</li><li>slpd is required for automatic DA and scope discovery to work correctly. If you do not run slpd, then DAs and scopes can only be discovered via DHCPor the <tt><a href="SlpConf.html">/etc/slp.conf</a></tt> file. (Note: Dueto a lack of a standard DHCP API DA discovery via DHCP is not yet supported).</li></ul><h3>When is slpd not needed?</h3><ul><li>slpd is not needed if a machine will only be requesting services. In other words, slpd is not required on machines if a call will neverbe made to <tt>SLPReg()</tt>, <tt>SLPDeReg()</tt>, or <tt>SLPDelAttrs().</tt></li><li>slpd is not needed on a machine if manual or DHCP DA or scope discoveryis sufficient.</li></ul></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -