Debian Codegraph @

UG9/cn/proxy.po

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2020-03-02 15:09+0000\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=CHARSET\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: Title ==
20 #: proxy.adoc:2
21 #, no-wrap
22 msgid "Using DRBD Proxy"
23 msgstr "使用DRBD代理"
24
25 #. type: Title ===
26 #: proxy.adoc:5
27 #, no-wrap
28 msgid "DRBD Proxy deployment considerations"
29 msgstr "DRBD代理部署注意事项"
30
31 #. type: Plain text
32 #: proxy.adoc:11
33 msgid ""
34 "The <<s-drbd-proxy,DRBD Proxy>> processes can either be located directly on "
35 "the machines where DRBD is set up, or they can be placed on distinct "
36 "dedicated servers. A DRBD Proxy instance can serve as a proxy for multiple "
37 "DRBD devices distributed across multiple nodes."
38 msgstr ""
39 "<<s-drbd-proxy,DRBD "
40 "Proxy>>进程可以直接位于设置drbd的机器上,也可以放置在不同的专用服务器上。一个DRBD代理实例可以作为分布在多个节点上的多个DRBD设备的代理。"
41
42 #. type: Plain text
43 #: proxy.adoc:17
44 msgid ""
45 "DRBD Proxy is completely transparent to DRBD. Typically you will expect a "
46 "high number of data packets in flight, therefore the activity log should be "
47 "reasonably large. Since this may cause longer re-sync runs after the crash "
48 "of a primary node, it is recommended to enable DRBD's `csums-alg` setting."
49 msgstr ""
50 "DRBD代理对DRBD完全透明。通常,集群运行中有大量的数据包,因此活动日志应该相当大。由于这可能导致主节点崩溃后重新同步运行的时间更长,建议启用DRBD的 `csums-alg` "
51 " 设置。"
52
53 #. type: Plain text
54 #: proxy.adoc:20
55 msgid ""
56 "For more information about the rationale for the DRBD Proxy, please see the "
57 "feature explanation <<s-drbd-proxy>>."
58 msgstr "有关DRBD代理的基本原理的更多信息,请参见功能说明<<s-drbd-proxy>>。"
59
60 #. type: Plain text
61 #: proxy.adoc:27
62 msgid ""
63 "The DRBD Proxy 3 uses several kernel features that are only available since "
64 "2.6.26, so running it on older systems (e.g. RHEL 5) is not possible; here we"
65 " can still provide DRBD Proxy 1 packages, thoughfootnote:[The v1 uses a "
66 "different scheduling model and will therefore not reach the same performance"
67 " as v3; so even if your production setup is still RHEL 5, perhaps you can "
68 "run one RHEL 6/7 VM in each data center?]."
69 msgstr ""
70 "DRBD Proxy 3使用了几个内核特性,这些特性仅在2.6.26版之后才可用,因此在较旧的系统(如RHEL "
71 "5)上运行是不可能的;在这里,我们仍然可以提供DRBD Proxy v1版本的包. "
72 "footnote:[v1使用不同的调度模型,因此不会达到与v3相同的性能;因此,即使您的生产设置仍然是RHEL "
73 "5,也许您可以在每个数据中心运行一个RHEL 6/7虚拟机?]."
74
75 #. type: Title ===
76 #: proxy.adoc:30
77 #, no-wrap
78 msgid "Installation"
79 msgstr "安装"
80
81 #. type: Plain text
82 #: proxy.adoc:35
83 msgid ""
84 "To obtain DRBD Proxy, please contact your Linbit sales representative. "
85 "Unless instructed otherwise, please always use the most recent DRBD Proxy "
86 "release."
87 msgstr "要获取DRBD代理,请与Linbit销售代表联系。除非另有说明,请始终使用最新的DRBD代理版本。"
88
89 #. type: Plain text
90 #: proxy.adoc:39
91 msgid ""
92 "To install DRBD Proxy on Debian and Debian-based systems, use the dpkg tool "
93 "as follows (replace version with your DRBD Proxy version, and architecture "
94 "with your target architecture):"
95 msgstr ""
96 "要在基于Debian和Debian的系统上安装DRBD Proxy,请使用dpkg工具,如下所示(用DRBD "
97 "Proxy版本替换版本,用目标体系结构替换体系结构):"
98
99 #. type: delimited block -
100 #: proxy.adoc:42
101 #, no-wrap
102 msgid "# dpkg -i drbd-proxy_3.2.2_amd64.deb\n"
103 msgstr "# dpkg -i drbd-proxy_3.2.2_amd64.deb\n"
104
105 #. type: Plain text
106 #: proxy.adoc:47
107 msgid ""
108 "To install DRBD Proxy on RPM based systems (like SLES or RHEL) use the rpm "
109 "tool as follows (replace version with your DRBD Proxy version, and "
110 "architecture with your target architecture):"
111 msgstr ""
112 "要在基于RPM的系统(如SLES或RHEL)上安装DRBD代理,请使用以下RPM工具(将版本替换为DRBD代理版本,将体系结构替换为目标体系结构):"
113
114 #. type: delimited block -
115 #: proxy.adoc:50
116 #, no-wrap
117 msgid "# rpm -i drbd-proxy-3.2.2-1.x86_64.rpm\n"
118 msgstr "# rpm -i drbd-proxy-3.2.2-1.x86_64.rpm\n"
119
120 #. type: Plain text
121 #: proxy.adoc:54
122 msgid ""
123 "Also install the DRBD administration program drbdadm since it is required to"
124 " configure DRBD Proxy."
125 msgstr "同时安装DRBD管理程序drbdadm,因为需要配置DRBD代理。"
126
127 #. type: Plain text
128 #: proxy.adoc:59
129 msgid ""
130 "This will install the DRBD proxy binaries as well as an init script which "
131 "usually goes into `/etc/init.d`. Please always use the init script to "
132 "start/stop DRBD proxy since it also configures DRBD Proxy using the "
133 "`drbdadm` tool."
134 msgstr ""
135 "这将安装DRBD代理二进制文件以及通常进入 `/etc/init.d` 的init脚本。请始终使用init脚本启动/停止DRBD "
136 "proxy,因为它还使用 `drbdadm` 工具配置DRBD proxy。"
137
138 #. type: Title ===
139 #: proxy.adoc:61
140 #, no-wrap
141 msgid "License file"
142 msgstr "许可证文件"
143
144 #. type: Plain text
145 #: proxy.adoc:67
146 msgid ""
147 "When obtaining a license from Linbit, you will be sent a DRBD Proxy license "
148 "file which is required to run DRBD Proxy. The file is called `drbd-"
149 "proxy.license`, it must be copied into the `/etc` directory of the target "
150 "machines, and be owned by the user/group `drbdpxy`."
151 msgstr ""
152 "从Linbit获取许可证时,将向您发送运行DRBD Proxy所需的DRBD Proxy许可证文件。该文件名为 `drbd-"
153 "proxy.license` ,必须将其复制到目标计算机的 `/etc` 目录中,并由用户/组 `drbdpxy` 拥有。"
154
155 #. type: delimited block -
156 #: proxy.adoc:70
157 #, no-wrap
158 msgid "# cp drbd-proxy.license /etc/\n"
159 msgstr "# cp drbd-proxy.license /etc/\n"
160
161 #. type: Title ===
162 #: proxy.adoc:73
163 #, no-wrap
164 msgid "Configuration using LINSTOR"
165 msgstr "使用LINSTOR配置"
166
167 #. type: Plain text
168 #: proxy.adoc:77
169 msgid ""
170 "DRBD Proxy can be configured using LINSTOR as described in the LINSTOR "
171 "USER'S GUIDE."
172 msgstr "可以使用LINSTOR配置DRBD代理,如LINSTOR用户指南中所述。"
173
174 #. type: Title ===
175 #: proxy.adoc:79
176 #, no-wrap
177 msgid "Configuration using resource files"
178 msgstr "使用资源文件配置"
179
180 #. type: Plain text
181 #: proxy.adoc:84
182 msgid ""
183 "DRBD Proxy can also be configured by editing resource files. It is "
184 "configured by an additional section called `proxy` and additional `proxy on`"
185 " sections within the host sections."
186 msgstr "DRBD代理也可以通过编辑资源文件来配置。它由主机部分中名为 `proxy` 的附加部分和名为 `proxy on` 的附加部分配置。"
187
188 #. type: Plain text
189 #: proxy.adoc:87
190 msgid ""
191 "Below is a DRBD configuration example for proxies running directly on the "
192 "DRBD nodes:"
193 msgstr "下面是直接在DRBD节点上运行的代理的DRBD配置示例:"
194
195 #. type: delimited block -
196 #: proxy.adoc:95
197 #, no-wrap
198 msgid ""
199 "resource r0 {\n"
200 "\tprotocol A;\n"
201 "\tdevice /dev/drbd15;\n"
202 "\tdisk /dev/VG/r0;\n"
203 "\tmeta-disk internal;\n"
204 msgstr ""
205 "resource r0 {\n"
206 "\tprotocol A;\n"
207 "\tdevice /dev/drbd15;\n"
208 "\tdisk /dev/VG/r0;\n"
209 "\tmeta-disk internal;\n"
210
211 #. type: delimited block -
212 #: proxy.adoc:102
213 #, no-wrap
214 msgid ""
215 "\tproxy {\n"
216 "\t\tmemlimit 512M;\n"
217 "\t\tplugin {\n"
218 "\t\t\tzlib level 9;\n"
219 "\t\t}\n"
220 "\t}\n"
221 msgstr ""
222 "\tproxy {\n"
223 "\t\tmemlimit 512M;\n"
224 "\t\tplugin {\n"
225 "\t\t\tzlib level 9;\n"
226 "\t\t}\n"
227 "\t}\n"
228
229 #. type: delimited block -
230 #: proxy.adoc:110
231 #, no-wrap
232 msgid ""
233 "\ton alice {\n"
234 "\t\taddress 127.0.0.1:7915;\n"
235 "\t\tproxy on alice {\n"
236 "\t\t\tinside 127.0.0.1:7815;\n"
237 "\t\t\toutside 192.168.23.1:7715;\n"
238 "\t\t}\n"
239 "\t}\n"
240 msgstr ""
241 "\ton alice {\n"
242 "\t\taddress 127.0.0.1:7915;\n"
243 "\t\tproxy on alice {\n"
244 "\t\t\tinside 127.0.0.1:7815;\n"
245 "\t\t\toutside 192.168.23.1:7715;\n"
246 "\t\t}\n"
247 "\t}\n"
248
249 #. type: delimited block -
250 #: proxy.adoc:119
251 #, no-wrap
252 msgid ""
253 "\ton bob {\n"
254 "\t\taddress 127.0.0.1:7915;\n"
255 "\t\tproxy on bob {\n"
256 "\t\t\tinside 127.0.0.1:7815;\n"
257 "\t\t\toutside 192.168.23.2:7715;\n"
258 "\t\t}\n"
259 "\t}\n"
260 "}\n"
261 msgstr ""
262 "\ton bob {\n"
263 "\t\taddress 127.0.0.1:7915;\n"
264 "\t\tproxy on bob {\n"
265 "\t\t\tinside 127.0.0.1:7815;\n"
266 "\t\t\toutside 192.168.23.2:7715;\n"
267 "\t\t}\n"
268 "\t}\n"
269 "}\n"
270
271 #. type: Plain text
272 #: proxy.adoc:125
273 msgid ""
274 "The `inside` IP address is used for communication between DRBD and the DRBD "
275 "Proxy, whereas the `outside` IP address is used for communication between "
276 "the proxies. The latter channel might have to be allowed in your firewall "
277 "setup."
278 msgstr ""
279 "`inside` IP地址用于DRBD和DRBD代理之间的通信,而 `outside` IP地址用于代理之间的通信。后一个通道可能必须在防火墙设置中被允许。"
280
281 #. type: Title ===
282 #: proxy.adoc:127
283 #, no-wrap
284 msgid "Controlling DRBD Proxy"
285 msgstr "控制DRBD代理"
286
287 #. type: Plain text
288 #: proxy.adoc:133
289 msgid ""
290 "`drbdadm` offers the `proxy-up` and `proxy-down` subcommands to configure or"
291 " delete the connection to the local DRBD Proxy process of the named DRBD "
292 "resource(s). These commands are used by the `start` and `stop` actions which"
293 " `/etc/init.d/drbdproxy` implements."
294 msgstr ""
295 "`drbdadm` 提供了 `proxy-up` 和 `proxy-down` "
296 "子命令,用于配置或删除与命名DRBD资源的本地DRBD代理进程的连接。这些命令由 `/etc/init.d/drbdproxy` 实现的 `start` 和 `stop` 操作使用。"
297
298 #. type: Plain text
299 #: proxy.adoc:137
300 msgid ""
301 "The DRBD Proxy has a low level configuration tool, called `drbd-proxy-ctl`. "
302 "When called without any option it operates in interactive mode."
303 msgstr "DRBD代理有一个低级的配置工具,称为 `drbd-proxy-ctl`。在没有任何选项的情况下调用时,它以交互模式运行。"
304
305 #. type: Plain text
306 #: proxy.adoc:140
307 msgid ""
308 "To pass a command directly, avoiding interactive mode, use the `-c` "
309 "parameter followed by the command."
310 msgstr "要避免交互模式,直接传递命令,请在命令后面使用 `-c` 参数。"
311
312 #. type: Plain text
313 #: proxy.adoc:142
314 msgid "To display the available commands use:"
315 msgstr "要显示可用的命令,请使用:"
316
317 #. type: delimited block -
318 #: proxy.adoc:144
319 #, no-wrap
320 msgid "# drbd-proxy-ctl -c \"help\"\n"
321 msgstr "# drbd-proxy-ctl -c \"help\"\n"
322
323 #. type: Plain text
324 #: proxy.adoc:147
325 msgid "Note the double quotes around the command being passed."
326 msgstr "注意传递的命令周围的双引号。"
327
328 #. type: Plain text
329 #: proxy.adoc:152
330 msgid ""
331 "Here is a list of commands; while the first few ones are typically only used"
332 " indirectly (via `drbdadm proxy-up` resp. `drbdadm proxy-down`), the latter "
333 "ones give various status informations."
334 msgstr ""
335 "下面是一个命令列表;前几个命令通常仅间接使用(通过 `drbdadm proxy-up` 对应的使用 `drbdadm proxy-"
336 "down`),后者提供各种状态信息。"
337
338 #. type: Block title
339 #: proxy.adoc:153
340 #, no-wrap
341 msgid "`add connection _<name>_ _lots of arguments_`"
342 msgstr "`add connection _<name>_ _lots of arguments_`"
343
344 #. type: Plain text
345 #: proxy.adoc:155
346 msgid ""
347 "Creates a communication path. As this is run via `drbdadm proxy-up` the long"
348 " list of arguments is omitted here."
349 msgstr "创建通信路径。由于这是通过 `drbdadm proxy-up` 运行的,因此这里省略了长参数列表。"
350
351 #. type: Block title
352 #: proxy.adoc:156
353 #, no-wrap
354 msgid "`del connection _<name>_`"
355 msgstr "`del connection _<name>_`"
356
357 #. type: Plain text
358 #: proxy.adoc:158
359 msgid "Removes a communication path."
360 msgstr "删除通信路径。"
361
362 #. type: Block title
363 #: proxy.adoc:159
364 #, no-wrap
365 msgid "`set memlimit _<name>_ _<memlimit-in-bytes>_`"
366 msgstr "`set memlimit _<name>_ _<memlimit-in-bytes>_`"
367
368 #. type: Plain text
369 #: proxy.adoc:163
370 msgid ""
371 "Sets the memory limit for a connection; this can only be done when setting "
372 "it up afresh, changing it during runtime is not possible. + This command "
373 "understands the usual units `k`, `M`, and `G`."
374 msgstr "设置连接的内存限制;这只能在重新设置连接时完成,无法在运行时更改。+ 这个命令理解常用的 `k`、 `M` 和 `G` 单位。"
375
376 #. type: Block title
377 #: proxy.adoc:164
378 #, no-wrap
379 msgid "`show`"
380 msgstr "`show`"
381
382 #. type: Plain text
383 #: proxy.adoc:166
384 msgid "Shows currently configured communication paths."
385 msgstr "显示当前配置的通信路径。"
386
387 #. type: Block title
388 #: proxy.adoc:167
389 #, no-wrap
390 msgid "`show memusage`"
391 msgstr "`show memusage`"
392
393 #. type: Plain text
394 #: proxy.adoc:169
395 msgid "Shows memory usage of each connection. +"
396 msgstr "显示每个连接的内存使用情况。+"
397
398 #. type: Plain text
399 #: proxy.adoc:171
400 msgid "As an example,"
401 msgstr "举个例子,"
402
403 #. type: delimited block -
404 #: proxy.adoc:174
405 #, no-wrap
406 msgid "# watch -n 1 'drbd-proxy-ctl -c \"show memusage\"'\n"
407 msgstr "# watch -n 1 'drbd-proxy-ctl -c \"show memusage\"'\n"
408
409 #. type: Plain text
410 #: proxy.adoc:177
411 msgid ""
412 "monitors memory usage. Please note that the quotes are required as listed "
413 "above."
414 msgstr "监视内存使用情况。请注意,上述的反斜杠是必需的。"
415
416 #. type: Block title
417 #: proxy.adoc:179
418 #, no-wrap
419 msgid "`show [h]subconnections`"
420 msgstr "`show [h]subconnections`"
421
422 #. type: Plain text
423 #: proxy.adoc:183
424 msgid ""
425 "Shows currently established individual connections together with some stats."
426 " With `h` outputs bytes in human readable format."
427 msgstr "显示当前建立的个人连接以及一些统计信息。`h` 选项以可读格式输出字节。"
428
429 #. type: Block title
430 #: proxy.adoc:184
431 #, no-wrap
432 msgid "`show [h]connections`"
433 msgstr "`show [h]connections`"
434
435 #. type: Plain text
436 #: proxy.adoc:187
437 msgid ""
438 "Shows currently configured connections and their states With `h` outputs "
439 "bytes in human readable format. +"
440 msgstr "显示当前配置的连接及其状态,`h` 选项以可读格式输出字节。+"
441
442 #. type: Plain text
443 #: proxy.adoc:189
444 msgid "The column `Status` will show one of these states:"
445 msgstr "`Status` 列将显示以下状态之一:"
446
447 #. type: Plain text
448 #: proxy.adoc:191
449 msgid "_Off_: No communication to the remote DRBD Proxy process."
450 msgstr "_Off_:与远程DRBD代理进程没有通信。"
451
452 #. type: Plain text
453 #: proxy.adoc:192
454 msgid ""
455 "_Half-up_: The connection to the remote DRBD Proxy could be established; the"
456 " Proxy => DRBD paths are not up yet."
457 msgstr "_Half-up_: 可以建立到远程DRBD代理的连接;Proxy => DRBD路径尚未启动。"
458
459 #. type: Plain text
460 #: proxy.adoc:193
461 msgid ""
462 "_DRBD-conn_: The first few packets are being pushed across the connection; "
463 "but still e.g. a Split-Brain situation might sever it again."
464 msgstr "_DRBD-conn_:最初的几个数据包是通过连接推送的;但仍然是这样,裂脑时可能会再次切断它。"
465
466 #. type: Plain text
467 #: proxy.adoc:194
468 msgid "_Up_: The DRBD connection is fully established."
469 msgstr "_Up_: DRBD连接已完全建立。"
470
471 #. type: Block title
472 #: proxy.adoc:196
473 #, no-wrap
474 msgid "`shutdown`"
475 msgstr "`shutdown`"
476
477 #. type: Plain text
478 #: proxy.adoc:199
479 msgid ""
480 "Shuts down the `drbd-proxy` program. Attention: this unconditionally "
481 "terminates any DRBD connections using the DRBD proxy."
482 msgstr "关闭 `drbd proxy` 程序。注意:这将无条件终止使用DRBD代理的任何DRBD连接。"
483
484 #. type: Block title
485 #: proxy.adoc:200
486 #, no-wrap
487 msgid "`quit`"
488 msgstr "`quit`"
489
490 #. type: Plain text
491 #: proxy.adoc:203
492 msgid ""
493 "Exits the client program (closes the control connection), but leaves the "
494 "DRBD proxy running."
495 msgstr "退出客户端程序(关闭控制连接),但保留DRBD代理运行。"
496
497 #. type: Block title
498 #: proxy.adoc:205
499 #, no-wrap
500 msgid "`print statistics`"
501 msgstr "`print statistics`"
502
503 #. type: Plain text
504 #: proxy.adoc:208
505 msgid ""
506 "This prints detailed statistics for the currently active connections, in an "
507 "easily parseable format. Use this for integration to your monitoring "
508 "solution! +"
509 msgstr "这将以易于解析的格式打印当前活动连接的详细统计信息。使用这个来集成到您的监控解决方案!+"
510
511 #. type: Plain text
512 #: proxy.adoc:214
513 msgid ""
514 "While the commands above are only accepted from UID 0 (i.e., the `root` "
515 "user), this one can be used by any user (provided that unix permissions "
516 "allow access on the proxy socket at `/var/run/drbd-proxy/drbd-proxy-"
517 "ctl.socket`); see the init script at `/etc/init.d/drbdproxy` about setting "
518 "the rights."
519 msgstr ""
520 "虽然上面的命令只能从UID 0(即 `root` 用户)接受,但任何用户都可以使用这个命令(前提是unix权限允许访问位于 `/var/run/drbd-"
521 "proxy/drbd-proxy-"
522 "ctl.socket` )的代理套接字;有关设置权限的信息,请参阅 `/etc/init.d/drbdproxy` 上的init脚本。"
523
524 #. type: Title ===
525 #: proxy.adoc:218
526 #, no-wrap
527 msgid "About DRBD Proxy plugins"
528 msgstr "关于DRBD代理插件"
529
530 #. type: Plain text
531 #: proxy.adoc:224
532 msgid ""
533 "Since DRBD Proxy version 3 the proxy allows to enable a few specific plugins"
534 " for the WAN connection. + The currently available plugins are `zstd`, "
535 "`lz4`, `zlib` and `lzma` (all software compression), and `aha` (hardware "
536 "compression support, see http://www.aha.com/data-compression/)."
537 msgstr ""
538 "从DRBD "
539 "Proxy版本3起,代理允许为广域网连接启用一些特定的插件。+ 当前可用的插件有 `zstd` 、 `lz4` 、 `zlib` 和 `lzma`(所有软件压缩)和 `aha`(硬件压缩支持,请参见 http://www.aha.com/data-"
540 "compression/)。"
541
542 #. type: Plain text
543 #: proxy.adoc:229
544 msgid ""
545 "`zstd` (Zstandard) is a real-time compression algorithm, providing high "
546 "compression ratios. It offers a very wide range of compression / speed "
547 "trade-off, while being backed by a very fast decoder. Compression rates are "
548 "dependent on \"level\" parameter which can be arranged between 1 to 22. Over"
549 " level 20, Drbd Proxy will require more memory."
550 msgstr ""
551 "`zstd`(Zstandard)是一种实时压缩算法,具有很高的压缩比。它提供了一个非常广泛的压缩/速度权衡,同时有一个非常快速的解码器支持。压缩率取决于 \"level\" 参数,该参数可以设置在1到22之间。在20级以上,Drbd代理将需要更多的内存。"
552
553 #. type: Plain text
554 #: proxy.adoc:232
555 msgid ""
556 "`lz4` is a very fast compression algorithm; the data typically gets "
557 "compressed down by 1:2 to 1:4, half- to two-thirds of the bandwidth can be "
558 "saved."
559 msgstr "`lz4` 是一种非常快速的压缩算法;数据通常被压缩1:2到1:4,可以节省一半到三分之二的带宽。"
560
561 #. type: Plain text
562 #: proxy.adoc:234
563 msgid ""
564 "The `zlib` plugin uses the GZIP algorithm for compression; it uses a bit "
565 "more CPU than `lz4`, but gives a ratio of 1:3 to 1:5."
566 msgstr "`zlib` 插件使用GZIP算法进行压缩;它使用的CPU比 `lz4` 多一点,但给出的比率是1:3到1:5。"
567
568 #. type: Plain text
569 #: proxy.adoc:242
570 msgid ""
571 "The `lzma` plugin uses the `liblzma2` library. It can use dictionaries of "
572 "several hundred MiB; these allow for very efficient delta-compression of "
573 "repeated data, even for small changes. `lzma` needs much more CPU and "
574 "memory, but results in much better compression than `zlib` -- real-world "
575 "tests with a VM sitting on top of DRBD gave ratios of 1:10 to 1:40. The "
576 "`lzma` plugin has to be enabled in your license."
577 msgstr ""
578 "`lzma` 插件使用 `liblzma2` 库。它可以使用几百个MiB的字典;这些字典允许对重复数据进行非常有效的增量压缩,即使是很小的更改。`lzma` 需要更多的CPU和内存,但其压缩效果要比 `zlib` 好得多 - 在DRBD上安装VM的实际测试给出了1:10到1:40的比率。必须在许可证中启用 `lzma` 插件。"
579
580 #. type: Plain text
581 #: proxy.adoc:246
582 msgid ""
583 "`aha` uses hardware compression cards, like the AHA367PCIe (10Gbit/sec) or "
584 "AHA372 (20GBit/sec); this is the fastest compression for contemporary "
585 "hardware. + You will need a special flag in your license file to enable this"
586 " plugin."
587 msgstr ""
588 "`aha` 使用硬件压缩卡,如AHA367PCIe(10Gbit/sec)或AHA372(20GBit/sec);这是当代硬件最快的压缩。+ 你需要在你的许可文件中有一个特殊的标志来启用这个插件。"
589
590 #. type: Plain text
591 #: proxy.adoc:252
592 msgid ""
593 "Please contact LINBIT to find the best settings for your environment - it "
594 "depends on the CPU (speed, number of threads), available memory, input and "
595 "available output bandwidth, and expected IO spikes. Having a week of "
596 "`sysstat` data already available helps in determining the configuration, "
597 "too."
598 msgstr ""
599 "请联系LINBIT为您的环境找到最佳设置-"
600 "这取决于CPU(速度、线程数)、可用内存、输入和可用输出带宽以及预期的IO峰值。如果有一周的 `sysstat` 数据可用,这也能有助于确定配置。"
601
602 #. type: Plain text
603 #: proxy.adoc:258
604 msgid ""
605 "Please note that the older `compression on` in the `proxy` section is "
606 "deprecated, and will be removed in a future release. + Currently it is "
607 "treated as `zlib level 9`."
608 msgstr ""
609 "请注意,`proxy` 部分中较旧的 `compression on` 已弃用,并将在以后的版本中删除。+ 目前它被视为 `zlib level 9`。"
610
611 #. type: Title ====
612 #: proxy.adoc:261
613 #, no-wrap
614 msgid "Using a WAN Side Bandwidth Limit"
615 msgstr "使用广域网侧带宽限制"
616
617 #. type: Plain text
618 #: proxy.adoc:266
619 msgid ""
620 "The experimental `bwlimit` option of DRBD Proxy is broken. Do not use it, as"
621 " it may cause applications on DRBD to block on IO. It will be removed."
622 msgstr "DRBD Proxy 的 `bwrimit` 选项已不可用。不要使用它,因为它可能会导致DRBD上的应用程序在IO上阻塞。它将被移除。"
623
624 #. type: Plain text
625 #: proxy.adoc:269
626 msgid ""
627 "Instead use the Linux kernel's traffic control framework to limit bandwidth "
628 "consumed by proxy on the WAN side."
629 msgstr "相反,使用Linux内核的流量控制框架来限制广域网端代理所消耗的带宽。"
630
631 #. type: Plain text
632 #: proxy.adoc:272
633 msgid ""
634 "In the following example you would need to replace the interface name, the "
635 "source port and the ip address of the peer."
636 msgstr "在下面的示例中,您需要替换对等机的接口名称、源端口和ip地址。"
637
638 #. type: delimited block -
639 #: proxy.adoc:283
640 #, no-wrap
641 msgid ""
642 "# tc qdisc add dev eth0 root handle 1: htb default 1\n"
643 "# tc class add dev eth0 parent 1: classid 1:1 htb rate 1gbit\n"
644 "# tc class add dev eth0 parent 1:1 classid 1:10 htb rate 500kbit\n"
645 "# tc filter add dev eth0 parent 1: protocol ip prio 16 u32 \\\n"
646 " match ip sport 7000 0xffff \\\n"
647 " match ip dst 192.168.47.11 flowid 1:10\n"
648 "# tc filter add dev eth0 parent 1: protocol ip prio 16 u32 \\\n"
649 " match ip dport 7000 0xffff \\\n"
650 " match ip dst 192.168.47.11 flowid 1:10\n"
651 msgstr ""
652 "# tc qdisc add dev eth0 root handle 1: htb default 1\n"
653 "# tc class add dev eth0 parent 1: classid 1:1 htb rate 1gbit\n"
654 "# tc class add dev eth0 parent 1:1 classid 1:10 htb rate 500kbit\n"
655 "# tc filter add dev eth0 parent 1: protocol ip prio 16 u32 \\\n"
656 " match ip sport 7000 0xffff \\\n"
657 " match ip dst 192.168.47.11 flowid 1:10\n"
658 "# tc filter add dev eth0 parent 1: protocol ip prio 16 u32 \\\n"
659 " match ip dport 7000 0xffff \\\n"
660 " match ip dst 192.168.47.11 flowid 1:10\n"
661
662 #. type: Plain text
663 #: proxy.adoc:286
664 msgid "You can remove this bandwidth limitation with"
665 msgstr "您可以使用"
666
667 #. type: delimited block -
668 #: proxy.adoc:289
669 #, no-wrap
670 msgid "# tc qdisc del dev eth0 root handle 1\n"
671 msgstr "# tc qdisc del dev eth0 root handle 1\n"
672
673 #. type: Title ===
674 #: proxy.adoc:292
675 #, no-wrap
676 msgid "Troubleshooting"
677 msgstr "故障排除"
678
679 #. type: Plain text
680 #: proxy.adoc:296
681 msgid ""
682 "DRBD proxy logs via syslog using the `LOG_DAEMON` facility. Usually you will"
683 " find DRBD Proxy messages in `/var/log/daemon.log`."
684 msgstr ""
685 "DRBD代理使用 `LOG DAEMON` 工具通过syslog进行日志记录。通常您会在 `/var/log/daemon.log` 中找到DRBD代理消息。"
686
687 #. type: Plain text
688 #: proxy.adoc:298
689 msgid ""
690 "Enabling debug mode in DRBD Proxy can be done with the following command."
691 msgstr "可以使用以下命令在DRBD Proxy中启用调试模式。"
692
693 #. type: delimited block -
694 #: proxy.adoc:301
695 #, no-wrap
696 msgid "# drbd-proxy-ctl -c 'set loglevel debug'\n"
697 msgstr "# drbd-proxy-ctl -c 'set loglevel debug'\n"
698
699 #. type: Plain text
700 #: proxy.adoc:307
701 msgid ""
702 "For example, if proxy fails to connect it will log something like `Rejecting"
703 " connection because I can't connect on the other side`. In that case, please"
704 " check if DRBD is running (not in StandAlone mode) on both nodes and if both"
705 " proxies are running. Also double-check your configuration."
706 msgstr ""
707 "例如,如果代理连接失败,它将记录类似 `Rejecting connection because I can't connect on the other side` 的内容。在这种情况下,请检查两个节点上的DRBD是否都在运行(不是独立模式),以及两个代理是否都在运行。还要仔细检查您的配置。"