OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / nfs-utils / draft / man8 / statd.8
1 .\"
2 .\" statd(8)
3 .\"
4 .\" Copyright (C) 1999 Olaf Kirch <okir@monad.swb.de>
5 .\" Modified by Jeffrey A. Uphoff, 1999, 2002.
6 .\" Modified by Lon Hohberger, 2000.
7 .\" Modified by Paul Clements, 2004.
8 .\"
9 .\" Japanese Version Copyright (c) 2002 NAKANO Takeo all rights reserved.
10 .\" Translated Sun 29 Sep 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
11 .\" Updated & Modified Wed 29 Mar 2006 by Yuichi SATO <ysato444@yahoo.co.jp>
12 .\"
13 .TH rpc.statd 8 "31 Aug 2004"
14 .\"O .SH NAME
15 .\"O rpc.statd \- NSM status monitor
16 .SH Ì¾Á°
17 rpc.statd \- NSM ¥¹¥Æ¡¼¥¿¥¹¥â¥Ë¥¿
18 .\"O .SH SYNOPSIS
19 .SH ½ñ¼°
20 .B "/sbin/rpc.statd [-F] [-d] [-?] [-n " name "] [-o " port "] [-p " port "] [-H " prog "] [-V]"
21 .\"O .SH DESCRIPTION
22 .SH ÀâÌÀ
23 .\"O The
24 .\"O .B rpc.statd
25 .\"O server implements the NSM (Network Status Monitor) RPC protocol.
26 .\"O This service is somewhat misnomed, since it doesn't actually provide
27 .\"O active monitoring as one might suspect; instead, NSM implements a
28 .\"O reboot notification service. It is used by the NFS file locking service,
29 .\"O .BR rpc.lockd ,
30 .\"O to implement lock recovery when the NFS server machine crashes and
31 .\"O reboots.
32 .\"nakano misnomed ¤Ï misnamed ¤«¤Ê
33 .B rpc.statd
34 ¥µ¡¼¥Ð¤Ï NSM (Network Status Monitor) RPC ¥×¥í¥È¥³¥ë¤ò¼ÂÁõ¤·¤¿¤â¤Î¤Ç¤¢¤ë¡£
35 ¤³¤Î¥µ¡¼¥Ó¥¹¤Ï¾¯¡¹Ì¾Á°¤¬Å¬ÀڤǤϤʤ¯¡¢
36 ͽÁÛ¤µ¤ì¤ë¤è¤¦¤Ê¥¢¥¯¥Æ¥£¥Ö¤Ê¥â¥Ë¥¿¥ê¥ó¥°¤ò¼ÂºÝ¤Ë¹Ô¤¦¤ï¤±¤Ç¤Ï¤Ê¤¤¡£
37 ¼ÂºÝ¤Ë¤Ï NSM ¤Ï¥ê¥Ö¡¼¥ÈÄÌÃÎ¥µ¡¼¥Ó¥¹¤ò¼ÂÁõ¤·¤¿¤â¤Î¤Ê¤Î¤Ç¤¢¤ë¡£
38 .B rpc.statd
39 ¤Ï NFS ¥Õ¥¡¥¤¥ë¥í¥Ã¥¯¥µ¡¼¥Ó¥¹
40 .BR rpc.lockd
41 ¤¬ÍøÍѤ¹¤ë¤â¤Î¤Ç¡¢
42 NFS ¥µ¡¼¥Ð¥Þ¥·¥ó¤¬¥¯¥é¥Ã¥·¥å¤·¤ÆÉüµ¢¤·¤¿¤È¤­¤Ë¡¢
43 ¥í¥Ã¥¯¤ò²óÉü¤¹¤ë¤¿¤á¤ËÍѤ¤¤é¤ì¤ë¡£
44 .\"O .SS Operation
45 .SS Æ°ºî
46 .\"O For each NFS client or server machine to be monitored,
47 .\"O .B rpc.statd
48 .\"O creates a file in
49 .\"O .BR /var/lib/nfs/sm .
50 .\"O When starting, it iterates through these files and notifies the
51 .\"O peer
52 .\"O .B rpc.statd
53 .\"O on those machines.
54 ¥â¥Ë¥¿¤ÎÂоݤȤʤë
55 NFS ¤Î¥¯¥é¥¤¥¢¥ó¥È¤È¥µ¡¼¥Ð¤Î¥Þ¥·¥ó¤½¤ì¤¾¤ì¤ËÂФ·¡¢
56 .B rpc.statd
57 ¤Ï
58 .B /var/lib/nfs/sm
59 ¤Ë¥Õ¥¡¥¤¥ë¤òºî¤ë¡£
60 µ¯Æ°¤¹¤ë¤È¤­¡¢
61 .B rpc.statd
62 ¤Ï¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤ò½ç¼¡Ä´¤Ù¡¢
63 ¤½¤ì¤éÀܳÀè¤Î¥Þ¥·¥ó¤Î
64 .B rpc.statd
65 ¤ËÄÌÃΤ¹¤ë¡£
66 .\"O .SH OPTIONS
67 .SH ¥ª¥×¥·¥ç¥ó
68 .TP
69 .B -F
70 .\"O By default,
71 .\"O .B rpc.statd
72 .\"O forks and puts itself in the background when started. The
73 .\"O .B -F
74 .\"O argument tells it to remain in the foreground. This option is
75 .\"O mainly for debugging purposes.
76 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï
77 .B rpc.statd
78 ¤Ï¥Õ¥©¡¼¥¯¤·¤Æ¥Ð¥Ã¥¯¥°¥é¥¦¥ó¥É¤Ë°ÜÆ°¤·¤Æ¤«¤éÆ°ºî¤ò»Ï¤á¤ë¡£
79 .B -F
80 ¥ª¥×¥·¥ç¥ó¤Ï¡¢
81 .B rpc.statd
82 ¤Ë¥Õ¥©¥¢¥°¥é¥¦¥ó¥É¤Ëα¤Þ¤ë¤è¤¦ÅÁ¤¨¤ë¡£
83 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¼ç¤Ë¥Ç¥Ð¥Ã¥°¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¢¤ë¡£
84 .TP
85 .B -d
86 .\"O By default,
87 .\"O .B rpc.statd
88 .\"O sends logging messages via
89 .\"O .BR syslog (3)
90 .\"O to system log.  The
91 .\"O .B -d
92 .\"O argument forces it to log verbose output to
93 .\"O .B stderr
94 .\"O instead. This option is mainly for debugging purposes, and may only
95 .\"O be used in conjunction with the
96 .\"O .B -F
97 .\"O parameter.
98 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï
99 .B rpc.statd
100 ¤Ï¥í¥°¥á¥Ã¥»¡¼¥¸¤ò
101 .BR syslog (3)
102 ¤òÄ̤·¤Æ¥·¥¹¥Æ¥à¥í¥°¤ËÁ÷¤ë¡£
103 .B -d
104 ¥ª¥×¥·¥ç¥ó¤Ï¡¢¤³¤Î¥í¥°½ÐÎϤò¾ÜºÙ¤Ë¤·¡¢
105 .B stderr
106 ¤ËÁ÷¤ë¤è¤¦»Ø¼¨¤¹¤ë¡£
107 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¼ç¤Ë¥Ç¥Ð¥Ã¥°¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¢¤ê¡¢
108 ¤ª¤½¤é¤¯
109 .B -F
110 ¤ÈƱ»þ¤Ë¤Î¤ß»È¤¦¤³¤È¤Ë¤Ê¤ë¤À¤í¤¦¡£
111 .TP
112 .BI "\-n," "" " \-\-name " name 
113 .\"O specify a name for
114 .\"O .B rpc.statd
115 .\"O to use as the local hostname. By default,
116 .\"O .BR rpc.statd
117 .\"O will call
118 .\"O .BR gethostname (2)
119 .\"O to get the local hostname. Specifying
120 .\"O a local hostname may be useful for machines with more than one
121 .\"O interfaces.
122 .B rpc.statd
123 ¤¬¥í¡¼¥«¥ë¤Î¥Û¥¹¥È̾¤È¤·¤ÆÍѤ¤¤ë̾Á°¤ò»ØÄꤹ¤ë¡£
124 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï
125 .B rpc.statd
126 ¤Ï
127 .BR gethostname (2)
128 ¤ò¸Æ¤ó¤Ç¥í¡¼¥«¥ë¤Î¥Û¥¹¥È̾¤ò¼èÆÀ¤¹¤ë¡£
129 ¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤¬ 2 ¤Ä°Ê¾å¤¢¤ë¥Þ¥·¥ó¤Ç¤Ï¡¢
130 ¥í¡¼¥«¥ë¤Î¥Û¥¹¥È̾¤ò»ØÄꤹ¤ë¤ÈÊØÍø¤«¤â¤·¤ì¤Ê¤¤¡£
131 .TP
132 .BI "\-o," "" " \-\-outgoing\-port "  port
133 .\"O specify a port for
134 .\"O .B rpc.statd
135 .\"O to send outgoing status requests from.  By default,
136 .\"O .BR rpc.statd
137 .\"O will ask
138 .\"O .BR portmap (8)
139 .\"O to assign it a port number.  As of this writing, there is not
140 .\"O a standard port number that
141 .\"O .BR portmap
142 .\"O always or usually assigns.  Specifying
143 .\"O a port may be useful when implementing a firewall.
144 .B rpc.statd
145 ¤¬³°¸þ¤­¤Î¥¹¥Æ¡¼¥¿¥¹¥ê¥¯¥¨¥¹¥È¤òÁ÷¿®¤¹¤ë¤È¤­¤Ë»È¤¦¥Ý¡¼¥È¤ò»ØÄꤹ¤ë¡£
146 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï
147 .B rpc.statd
148 ¤Ï
149 .BR portmap (8)
150 ¤Ë¥Ý¡¼¥ÈÈÖ¹æ¤ò³ä¤êÅö¤Æ¤Æ¤¯¤ì¤ë¤è¤¦Í׵᤹¤ë¡£
151 ¤³¤Î¥Þ¥Ë¥å¥¢¥ë¤Î¼¹É®»þÅÀ¤Ç¤Ï¡¢
152 .B portmap
153 ¤¬¾ï¤Ë³ä¤êÅö¤Æ¤ËÍѤ¤¤ë¤è¤¦¤Ê¡¢É¸½àŪ¤Ê¥Ý¡¼¥ÈÈÖ¹æ¤Ï¤Ê¤¤¡£
154 ¥Ý¡¼¥È¤Î»ØÄê¤Ï¡¢¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¤ò¼ÂÁõ¤¹¤ë¤È¤­¤ËÊØÍø¤À¤í¤¦¡£
155 .TP
156 .BI "\-p," "" " \-\-port " port
157 .\"O specify a port for
158 .\"O .B rpc.statd
159 .\"O to listen on.  By default,
160 .\"O .BR rpc.statd
161 .\"O will ask
162 .\"O .BR portmap (8)
163 .\"O to assign it a port number.  As of this writing, there is not
164 .\"O a standard port number that
165 .\"O .BR portmap
166 .\"O always or usually assigns.  Specifying
167 .\"O a port may be useful when implementing a firewall.
168 .B rpc.statd
169 ¤¬ listen ¤¹¤ë¥Ý¡¼¥È¤ò»ØÄꤹ¤ë¡£
170 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï
171 .B rpc.statd
172 ¤Ï
173 .BR portmap (8)
174 ¤Ë¥Ý¡¼¥ÈÈÖ¹æ¤ò³ä¤êÅö¤Æ¤Æ¤¯¤ì¤ë¤è¤¦Í׵᤹¤ë¡£
175 ¤³¤Î¥Þ¥Ë¥å¥¢¥ë¤Î¼¹É®»þÅÀ¤Ç¤Ï¡¢
176 .B portmap
177 ¤¬¾ï¤Ë³ä¤êÅö¤Æ¤ËÍѤ¤¤ë¤è¤¦¤Ê¡¢É¸½àŪ¤Ê¥Ý¡¼¥ÈÈÖ¹æ¤Ï¤Ê¤¤¡£
178 ¥Ý¡¼¥È¤Î»ØÄê¤Ï¡¢¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¤ò¼ÂÁõ¤¹¤ë¤È¤­¤ËÊØÍø¤À¤í¤¦¡£
179 .TP
180 .BI "\-P," "" " \-\-state\-directory\-path "  directory
181 .\"O specify a directory in which to place statd state information.
182 .\"O If this option is not specified the default of 
183 .\"O .BR /var/lib/nfs
184 .\"O is used.
185 statd ¤Î¾õÂÖ¾ðÊó¤òÃÖ¤¯¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤹ¤ë¡£
186 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î
187 .B /var/lib/nfs
188 ¤¬»ÈÍѤµ¤ì¤ë¡£
189 .TP
190 .B -N
191 .\"O Causes statd to run in the notify-only mode. When started in this mode, the
192 .\"O statd program will check its state directory, send notifications to any
193 .\"O monitored nodes, and exit once the notifications have been sent. This mode is
194 .\"O used to enable Highly Available NFS implementations (i.e. HA-NFS).
195 statd ¤òÄÌÃÎÀìÍѥ⡼¥É¤Ç¼Â¹Ô¤µ¤»¤ë¡£
196 ¤³¤Î¥â¡¼¥É¤Çµ¯Æ°¤¹¤ë¤È¡¢
197 statd ¥×¥í¥°¥é¥à¤Ï¾õÂÖ¾ðÊó¤òÃÖ¤¯¥Ç¥£¥ì¥¯¥È¥ê¤ò¥Á¥§¥Ã¥¯¤·¤Æ¡¢
198 Á´¤Æ¤Î¥â¥Ë¥¿ÂоݥΡ¼¥É¤ËÄÌÃΤòÁ÷¿®¤·¡¢ÄÌÃΤÎÁ÷¿®¤¬´°Î»¤·¤¿¤é½ªÎ»¤¹¤ë¡£
199 ¤³¤Î¥â¡¼¥É¤Ï¹â²ÄÍÑÀ­ (Highly Available) NFS ¼ÂÁõ (¤Ä¤Þ¤ê HA-NFS) ¤ò
200 Í­¸ú¤Ë¤¹¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë¡£
201 .TP
202 .BI "\-H, " "" " \-\-ha-callout " prog
203 .\"O Specify a high availability callout program, which will receive callouts
204 .\"O for all client monitor and unmonitor requests. This allows
205 .\"O .B rpc.statd
206 .\"O to be used in a High Availability NFS (HA-NFS) environment. The
207 .\"O program will be run with 3 arguments:  The first is either
208 .\"O .B add-client
209 .\"O or
210 .\"O .B del-client
211 .\"O depending on the reason for the callout.
212 ¹â²ÄÍÑÀ­¥³¡¼¥ë¥¢¥¦¥È¥×¥í¥°¥é¥à¤ò»ØÄꤹ¤ë¡£
213 ¤³¤Î¥×¥í¥°¥é¥à¤ÏÁ´¤Æ¤Î¥¯¥é¥¤¥¢¥ó¥È¥â¥Ë¥¿¤È¥â¥Ë¥¿½ªÎ»¥ê¥¯¥¨¥¹¥È¤ËÂФ¹¤ë
214 ¥³¡¼¥ë¥¢¥¦¥È¤ò¼õ¤±¼è¤ë¡£
215 ¤³¤ì¤Ë¤è¤ê
216 .B rpc.statd
217 ¤ò¹â²ÄÍÑÀ­ NFS (HA-NFS) ´Ä¶­¤Ç»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
218 ¤³¤Î¥×¥í¥°¥é¥à¤Ï 3 ¤Ä¤Î°ú¤­¿ô¤òÉÕ¤±¤Æ¼Â¹Ô¤µ¤ì¤ë¡£
219 1 ¤ÄÌܤϡ¢
220 .B add-client
221 ¤Þ¤¿¤Ï
222 .B del-client
223 ¤Ç¤¢¤ê¡¢¥³¡¼¥ë¥¢¥¦¥È¤ÎÍýͳ¤Ë°Í¸¤¹¤ë¡£
224 .\"O The second will be the name of the client.
225 2 ¤ÄÌܤϥ¯¥é¥¤¥¢¥ó¥È¤Î̾Á°¤Ç¤¢¤ë¡£
226 .\"O The third will be the name of the server as known to the client.
227 3 ¤ÄÌܤϥ¯¥é¥¤¥¢¥ó¥È¤ËÃΤ餻¤ë¥µ¡¼¥Ð¤Î̾Á°¤Ç¤¢¤ë¡£
228 .TP
229 .B -?
230 .\"O Causes
231 .\"O .B rpc.statd
232 .\"O to print out command-line help and exit.
233 ¥³¥Þ¥ó¥É¥é¥¤¥ó¥Ø¥ë¥×¤òɽ¼¨¤·¤Æ½ªÎ»¤¹¤ë¡£
234 .TP
235 .B -V
236 .\"O Causes
237 .\"O .B rpc.statd
238 .\"O to print out version information and exit.
239 ¥Ð¡¼¥¸¥ç¥ó¾ðÊó¤òɽ¼¨¤·¤Æ½ªÎ»¤¹¤ë¡£
240 .\"O 
241 .\"O 
242 .\"O 
243 .\"O .SH TCP_WRAPPERS SUPPORT
244 .SH TCP_WRAPPERS ¤Î¥µ¥Ý¡¼¥È
245 .\"O This
246 .\"O .B rpc.statd
247 .\"O version is protected by the
248 .\"O .B tcp_wrapper
249 .\"O library. You have to give the clients access to
250 .\"O .B rpc.statd
251 .\"O if they should be allowed to use it. To allow connects from clients of
252 .\"O the .bar.com domain you could use the following line in /etc/hosts.allow:
253 ¤³¤ÎÈǤÎ
254 .B rpc.statd
255 ¤Ï
256 .B tcp_wrapper
257 ¥é¥¤¥Ö¥é¥ê¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Æ¤¤¤ë¡£
258 ¥¯¥é¥¤¥¢¥ó¥È¤«¤é¤Î
259 .B rpc.statd
260 ¤ËÂФ¹¤ë¥¢¥¯¥»¥¹¤¬É¬Íפʤ顢
261 µö²Ä¤¹¤ë¤è¤¦ÀßÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£.bar.com ¥É¥á¥¤¥ó¤Î
262 ¥¯¥é¥¤¥¢¥ó¥È¤«¤é¤Î¥¢¥¯¥»¥¹¤òµö²Ä¤¹¤ë¤Ë¤Ï¡¢
263 /etc/hosts.allow ¤Ë¼¡¤Î¤è¤¦¤Ë½ñ¤±¤Ð¤è¤¤¡£
264 .\"O 
265 .sp
266 statd: .bar.com
267 .\"O 
268 .sp
269 .\"O You have to use the daemon name 
270 .\"O .B statd
271 .\"O for the daemon name (even if the binary has a different name).
272 ¥Ç¡¼¥â¥ó¤Î̾Á°¤Ï (¥Ð¥¤¥Ê¥ê¤Î¥Õ¥¡¥¤¥ë̾¤¬°Û¤Ê¤Ã¤Æ¤¤¤Æ¤â)
273 .B statd
274 ¤È¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
275
276 .\"O For further information please have a look at the
277 .\"O .BR tcpd (8)
278 .\"O and
279 .\"O .BR hosts_access (5)
280 .\"O manual pages.
281 ¾ÜºÙ¤Ï man ¥Ú¡¼¥¸
282 .BR tcpd (8)
283 ¤È
284 .BR hosts_access (5)
285 ¤ò¸«¤Æ¤Û¤·¤¤¡£
286 .\"O 
287 .\"O .SH SIGNALS
288 .SH ¥·¥°¥Ê¥ë
289 .\"O .BR SIGUSR1
290 .\"O causes
291 .\"O .B rpc.statd
292 .\"O to re-read the notify list from disk
293 .\"O and send notifications to clients. This can be used in High Availability NFS
294 .\"O (HA-NFS) environments to notify clients to reacquire file locks upon takeover
295 .\"O of an NFS export from another server.
296 .B SIGUSR1
297 ¤òÁ÷¤ë¤È¡¢
298 .B rpc.statd
299 ¤Ï¥Ç¥£¥¹¥¯¤«¤éÄÌÃΥꥹ¥È¤òÆɤßľ¤·¤Æ¡¢¥¯¥é¥¤¥¢¥ó¥È¤ËÄÌÃΤòÁ÷¤ë¡£
300 ¤³¤Î¥·¥°¥Ê¥ë¤Ï¹â²ÄÍÑÀ­ NFS (HA-NFS) ´Ä¶­¤Ë¤ª¤¤¤Æ¡¢
301 ¾¤Î¥µ¡¼¥Ð¤«¤é NFS ¥¨¥¯¥¹¥Ý¡¼¥È¤Î°ú¤­·Ñ¤®¤ò¹Ô¤¦¤È¤­¤Ë¡¢
302 ¥¯¥é¥¤¥¢¥ó¥È¤ËÄÌÃΤò¹Ô¤Ã¤Æ¥Õ¥¡¥¤¥ë¥í¥Ã¥¯¤òºÆ¼èÆÀ¤¹¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë¡£
303 .\"O 
304 .\"O .SH FILES
305 .SH ¥Õ¥¡¥¤¥ë
306 .BR /var/lib/nfs/state
307 .br
308 .BR /var/lib/nfs/sm/*
309 .br
310 .BR /var/lib/nfs/sm.bak/*
311 .\"O .SH SEE ALSO
312 .SH ´ØÏ¢¹àÌÜ
313 .BR rpc.nfsd(8),
314 .BR portmap(8)
315 .\"O .SH AUTHORS
316 .SH Ãø¼Ô
317 .br
318 Jeff Uphoff <juphoff@nrao.edu>
319 .br
320 Olaf Kirch <okir@monad.swb.de>
321 .br
322 H.J. Lu <hjl@gnu.org>
323 .br
324 Lon Hohberger <hohberger@missioncriticallinux.com>
325 .br
326 Paul Clements <paul.clements@steeleye.com>