Debian Codegraph @

UG9/cn/rhcs.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 #: rhcs.adoc:2
21 #, no-wrap
22 msgid "Integrating DRBD with Red Hat Cluster"
23 msgstr "DRBD与红帽集群的集成"
24
25 #. type: Plain text
26 #: rhcs.adoc:7
27 msgid ""
28 "indexterm:[Red Hat Cluster]This chapter describes using DRBD as replicated "
29 "storage for Red Hat Cluster high availability clusters."
30 msgstr "indexterm:[Red Hat Cluster]本章介绍如何将DRBD用作Red Hat Cluster高可用性集群的复制存储。"
31
32 #. type: Plain text
33 #: rhcs.adoc:12
34 msgid ""
35 "This guide uses the unofficial term _Red Hat Cluster_ to refer to a product "
36 "that has had multiple official product names over its history, including "
37 "_Red Hat Cluster Suite_ and _Red Hat Enterprise Linux High Availability Add-"
38 "On_."
39 msgstr ""
40 "本指南使用非正式术语 `Red Hat Cluster` 指的是在其历史上拥有多个正式产品名称的产品,包括 `Red Hat Cluster "
41 "Suite` 和 `Red Hat Enterprise Linux高可用性附加组件` 。"
42
43 #. type: Title ===
44 #: rhcs.adoc:14
45 #, no-wrap
46 msgid "Red Hat Cluster background information"
47 msgstr "红帽集群背景信息"
48
49 #. type: Title ====
50 #: rhcs.adoc:17
51 #, no-wrap
52 msgid "Fencing"
53 msgstr "Fencing"
54
55 #. type: Plain text
56 #: rhcs.adoc:24
57 msgid ""
58 "Red Hat Cluster, originally designed primarily for shared storage clusters, "
59 "relies on node fencing to prevent concurrent, uncoordinated access to shared"
60 " resources. The Red Hat Cluster fencing infrastructure relies on the fencing"
61 " daemon `fenced`, and fencing agents implemented as shell scripts."
62 msgstr ""
63 "最初主要为共享存储集群设计的Red Hat Cluster依靠节点围栏来防止对共享资源的并发、不协调访问。Red "
64 "Hat集群围栏基础设施依赖于围栏守护进程 `fenced`,以及作为shell脚本实现的围栏代理。"
65
66 #. type: Plain text
67 #: rhcs.adoc:29
68 msgid ""
69 "Even though DRBD-based clusters utilize no shared storage resources and thus"
70 " fencing is not strictly required from DRBD's standpoint, Red Hat Cluster "
71 "Suite still requires fencing even in DRBD-based configurations."
72 msgstr ""
73 "尽管基于DRBD的集群不使用共享存储资源,因此从DRBD的角度来看,并不严格要求设置围栏,但即使在基于DRBD的配置中,Red "
74 "Hat集群套件仍然需要设置围栏。"
75
76 #. type: Title ====
77 #: rhcs.adoc:31
78 #, no-wrap
79 msgid "The Resource Group Manager"
80 msgstr "资源组管理器"
81
82 #. type: Plain text
83 #: rhcs.adoc:36
84 msgid ""
85 "The resource group manager (`rgmanager`, alternatively `clurgmgr`) is akin "
86 "to Pacemaker. It serves as the cluster management suite's primary interface "
87 "with the applications it is configured to manage."
88 msgstr "资源组管理器(`rgmanager`,或者 `clurgmgr`)类似于Pacemaker。它充当集群管理套件与配置为管理的应用程序的主接口。"
89
90 #. type: Title =====
91 #: rhcs.adoc:38
92 #, no-wrap
93 msgid "Red Hat Cluster resources"
94 msgstr "Red Hat集群资源"
95
96 #. type: Plain text
97 #: rhcs.adoc:43
98 msgid ""
99 "indexterm:[Red Hat Cluster]A single highly available application, "
100 "filesystem, IP address and the like is referred to as a _resource_ in Red "
101 "Hat Cluster terminology."
102 msgstr ""
103 "indexterm:[Red Hat Cluster]在Red Hat "
104 "Cluster术语中,一个高可用的应用程序、文件系统、IP地址等被称为 `资源` 。"
105
106 #. type: Plain text
107 #: rhcs.adoc:50
108 msgid ""
109 "Where resources depend on each other -- such as, for example, an NFS export "
110 "depending on a filesystem being mounted -- they form a _resource tree_, a "
111 "form of nesting resources inside another. Resources in inner levels of "
112 "nesting may inherit parameters from resources in outer nesting levels. The "
113 "concept of resource trees is absent in Pacemaker."
114 msgstr ""
115 "在资源相互依赖的地方-例如,NFS导出依赖于正在装载的文件系统-它们形成一个资源树,一种在另一个资源树中嵌套资源的形式。嵌套的内部级别中的资源可以从外部嵌套级别中的资源继承参数。Pacemaker中没有资源树的概念。"
116
117 #. type: Title =====
118 #: rhcs.adoc:52
119 #, no-wrap
120 msgid "Red Hat Cluster services"
121 msgstr "红帽集群服务"
122
123 #. type: Plain text
124 #: rhcs.adoc:58
125 msgid ""
126 "indexterm:[Red Hat Cluster]Where resources form a co-dependent collection, "
127 "that collection is called a _service_. This is different from Pacemaker, "
128 "where such a collection is referred to as a _resource group_."
129 msgstr ""
130 "indexterm:[Red Hat "
131 "Cluster]当资源形成一个共同依赖的集合时,该集合称为一个服务。这与Pacemaker不同,Pacemaker将此类集合称为 `资源组` 。"
132
133 #. type: Title =====
134 #: rhcs.adoc:60
135 #, no-wrap
136 msgid "rgmanager resource agents"
137 msgstr "rgmanager资源代理"
138
139 #. type: Plain text
140 #: rhcs.adoc:70
141 msgid ""
142 "The resource agents invoked by `rgmanager` are similar to those used by "
143 "Pacemaker, in the sense that they utilize the same shell-based API as "
144 "defined in the Open Cluster Framework (OCF), although Pacemaker utilizes "
145 "some extensions not defined in the framework. Thus in theory, the resource "
146 "agents are largely interchangeable between Red Hat Cluster Suite and "
147 "Pacemaker -- in practice however, the two cluster management suites use "
148 "different resource agents even for similar or identical tasks."
149 msgstr ""
150 "`rgmanager` 调用的资源代理与Pacemaker使用的资源代理类似,因为它们使用的是在开放集群框架(OCF)中定义的相同的基于shell的API,尽管Pacemaker使用了一些在框架中未定义的扩展。因此,在理论上,资源代理在Red"
151 " Hat Cluster "
152 "Suite和Pacemaker之间基本上是可以互换的——然而,实际上,这两个集群管理套件使用不同的资源代理,甚至用于相似或相同的任务。"
153
154 #. type: Plain text
155 #: rhcs.adoc:76
156 msgid ""
157 "Red Hat Cluster resource agents install into the `/usr/share/cluster/` "
158 "directory. Unlike Pacemaker OCF resource agents which are by convention "
159 "self-contained, some Red Hat Cluster resource agents are split into a `.sh` "
160 "file containing the actual shell code, and a `.metadata` file containing XML"
161 " resource agent metadata."
162 msgstr ""
163 "Red Hat Cluster resource agents安装到 `/usr/share/Cluster/` 目录中。与Pacemaker "
164 "OCF资源代理不同,按照惯例,这些资源代理是自包含的,一些Red "
165 "Hat集群资源代理被拆分为包含实际SHELL代码的 `.sh` 文件和包含XML资源代理元数据的 `.metadata` 文件。"
166
167 #. type: Plain text
168 #: rhcs.adoc:79
169 msgid ""
170 "DRBD includes a Red Hat Cluster resource agent. It installs into the "
171 "customary directory as `drbd.sh` and `drbd.metadata`."
172 msgstr "DRBD包括一个Red Hat集群资源代理。它作为 `drbd.sh` 和 `drbd.metadata` 安装到习惯目录中。"
173
174 #. type: Title ===
175 #: rhcs.adoc:81
176 #, no-wrap
177 msgid "Red Hat Cluster configuration"
178 msgstr "Red Hat集群配置"
179
180 #. type: Plain text
181 #: rhcs.adoc:88
182 msgid ""
183 "This section outlines the configuration steps necessary to get Red Hat "
184 "Cluster running. Preparing your cluster configuration is fairly "
185 "straightforward; all a DRBD-based Red Hat Cluster requires are two "
186 "participating nodes (referred to as _Cluster Members_ in Red Hat's "
187 "documentation) and a fencing device."
188 msgstr ""
189 "本节概述了运行红帽集群所需的配置步骤。准备集群配置相当简单;一个基于DRBD的Red Hat集群需要两个参与节点(在Red "
190 "Hat的文档中称为 `集群成员` )和一个围栏设备。"
191
192 #. type: Plain text
193 #: rhcs.adoc:92
194 msgid ""
195 "For more information about configuring Red Hat clusters, see "
196 "http://www.redhat.com/docs/manuals/csgfs/[Red Hat's documentation on the Red"
197 " Hat Cluster and GFS.]"
198 msgstr ""
199 "有关配置Red Hat集群的更多信息,请参阅 http://www.Red Hat.com/docs/manuals/csgfs/[Red "
200 "Hat有关Red Hat集群和GFS的文档。]"
201
202 #. type: Title ====
203 #: rhcs.adoc:95
204 #, no-wrap
205 msgid "The `cluster.conf` file"
206 msgstr " `cluster.conf` 文件"
207
208 #. type: Plain text
209 #: rhcs.adoc:101
210 msgid ""
211 "RHEL clusters keep their configuration in a single configuration file, "
212 "indexterm:[Red Hat Cluster]indexterm:[cluster.conf (Red Hat Cluster "
213 "configuration file)]`/etc/cluster/cluster.conf`. You may manage your cluster"
214 " configuration in the following ways:"
215 msgstr ""
216 "RHEL集群将它们的配置保存在一个配置文件中,indexterm:[redhatcluster]indexterm:[Cluster.conf(redhatcluster配置文件)] `/etc/Cluster/Cluster.conf`。您可以通过以下方式管理集群配置:"
217
218 #. type: Block title
219 #: rhcs.adoc:102
220 #, no-wrap
221 msgid "Editing the configuration file directly"
222 msgstr "直接编辑配置文件"
223
224 #. type: Plain text
225 #: rhcs.adoc:105
226 msgid ""
227 "This is the most straightforward method. It has no prerequisites other than "
228 "having a text editor available."
229 msgstr "这是最直接的方法。除了提供文本编辑器之外,它没有任何先决条件。"
230
231 #. type: Block title
232 #: rhcs.adoc:106
233 #, no-wrap
234 msgid "Using the `system-config-cluster` GUI"
235 msgstr "使用 `系统配置集群` GUI"
236
237 #. type: Plain text
238 #: rhcs.adoc:110
239 msgid ""
240 "This is a GUI application written in Python using Glade. It requires the "
241 "availability of an X display (either directly on a server console, or "
242 "tunneled via SSH)."
243 msgstr "这是一个使用Glade用Python编写的GUI应用程序。它需要X显示的可用性(直接在服务器控制台上,或者通过SSH隧道)。"
244
245 #. type: Block title
246 #: rhcs.adoc:111
247 #, no-wrap
248 msgid "Using the Conga web-based management infrastructure"
249 msgstr "使用Conga基于web的管理基础设施"
250
251 #. type: Plain text
252 #: rhcs.adoc:117
253 msgid ""
254 "The Conga infrastructure consists of a node agent ( `ricci`) communicating "
255 "with the local cluster manager, cluster resource manager, and cluster LVM "
256 "daemon, and an administration web application ( `luci`) which may be used to"
257 " configure the cluster infrastructure using a simple web browser."
258 msgstr ""
259 "Conga基础设施包括一个与本地集群管理器、集群资源管理器和集群LVM守护程序通信的节点代理( `ricci`)和一个管理web应用程序( `luci`),可以使用简单的web浏览器配置集群基础设施。"
260
261 #. type: Title ===
262 #: rhcs.adoc:120
263 #, no-wrap
264 msgid "Using DRBD in Red Hat Cluster fail-over clusters"
265 msgstr "在Red Hat集群故障转移集群中使用DRBD"
266
267 #. type: Plain text
268 #: rhcs.adoc:125
269 msgid ""
270 "This section deals exclusively with setting up DRBD for Red Hat Cluster "
271 "fail-over clusters not involving GFS. For GFS (and GFS2) configurations, "
272 "please see <<ch-gfs>>."
273 msgstr "本节专门讨论为不涉及GFS的Red Hat集群故障转移集群设置DRBD。有关GFS(和GFS2)配置,请参见<<ch-gfs>>。"
274
275 #. type: Plain text
276 #: rhcs.adoc:129
277 msgid ""
278 "This section, like <<ch-pacemaker>>, assumes you are about to configure a "
279 "highly available MySQL database with the following configuration parameters:"
280 msgstr "本节与<<ch-pacemaker>>类似,假设您将使用以下配置参数配置高可用的MySQL数据库:"
281
282 #. type: Plain text
283 #: rhcs.adoc:132
284 msgid ""
285 "The DRBD resources to be used as your database storage area is named "
286 "`mysql`, and it manages the device `/dev/drbd0`."
287 msgstr "用作数据库存储区的DRBD资源名为mysql,它管理设备 `/dev/drbd0`。"
288
289 #. type: Plain text
290 #: rhcs.adoc:135
291 msgid ""
292 "The DRBD device holds an ext3 filesystem which is to be mounted to "
293 "`/var/lib/mysql` (the default MySQL data directory)."
294 msgstr "DRBD设备拥有一个ext3文件系统,该文件系统将被挂载到 `/var/lib/mysql`(默认的mysql数据目录)。"
295
296 #. type: Plain text
297 #: rhcs.adoc:138
298 msgid ""
299 "The MySQL database is to utilize that filesystem, and listen on a dedicated "
300 "cluster IP address, 192.168.42.1."
301 msgstr "MySQL数据库将利用这个文件系统,监听一个专用的集群IP地址192.168.42.1。"
302
303 #. type: Title ====
304 #: rhcs.adoc:141
305 #, no-wrap
306 msgid "Setting up your cluster configuration"
307 msgstr "设置集群配置"
308
309 #. type: Plain text
310 #: rhcs.adoc:146
311 msgid ""
312 "To configure your highly available MySQL database, create or modify your "
313 "`/etc/cluster/cluster.conf` file to contain the following configuration "
314 "items."
315 msgstr "要配置高度可用的MySQL数据库,请创建或修改 `/etc/cluster/cluster.conf` 文件以包含以下配置项。"
316
317 #. type: Plain text
318 #: rhcs.adoc:150
319 msgid ""
320 "To do that, open `/etc/cluster/cluster.conf` with your preferred text "
321 "editing application. Then, include the following items in your resource "
322 "configuration:"
323 msgstr "为此,请使用首选的文本编辑应用程序打开 `/etc/cluster/cluster.conf` 。然后,在资源配置中包括以下项:"
324
325 #. type: delimited block -
326 #: rhcs.adoc:169
327 #, no-wrap
328 msgid ""
329 "<rm>\n"
330 " <resources />\n"
331 " <service autostart=\"1\" name=\"mysql\">\n"
332 " <drbd name=\"drbd-mysql\" resource=\"mysql\">\n"
333 " <fs device=\"/dev/drbd/by-res/mysql/0\"\n"
334 " mountpoint=\"/var/lib/mysql\"\n"
335 " fstype=\"ext3\"\n"
336 " name=\"mysql\"\n"
337 " options=\"noatime\"/>\n"
338 " </drbd>\n"
339 " <ip address=\"192.168.42.1\" monitor_link=\"1\"/>\n"
340 " <mysql config_file=\"/etc/my.cnf\"\n"
341 " listen_address=\"192.168.42.1\"\n"
342 " name=\"mysqld\"/>\n"
343 " </service>\n"
344 "</rm>\n"
345 msgstr ""
346 "<rm>\n"
347 " <resources />\n"
348 " <service autostart=\"1\" name=\"mysql\">\n"
349 " <drbd name=\"drbd-mysql\" resource=\"mysql\">\n"
350 " <fs device=\"/dev/drbd/by-res/mysql/0\"\n"
351 " mountpoint=\"/var/lib/mysql\"\n"
352 " fstype=\"ext3\"\n"
353 " name=\"mysql\"\n"
354 " options=\"noatime\"/>\n"
355 " </drbd>\n"
356 " <ip address=\"192.168.42.1\" monitor_link=\"1\"/>\n"
357 " <mysql config_file=\"/etc/my.cnf\"\n"
358 " listen_address=\"192.168.42.1\"\n"
359 " name=\"mysqld\"/>\n"
360 " </service>\n"
361 "</rm>\n"
362
363 #. type: Plain text
364 #: rhcs.adoc:172
365 msgid "This example assumes a single-volume resource."
366 msgstr "本例假设一个卷资源。"
367
368 #. type: Plain text
369 #: rhcs.adoc:175
370 msgid ""
371 "Nesting resource references inside one another in `<service/>` is the Red "
372 "Hat Cluster way of expressing resource dependencies."
373 msgstr "在 `<service/>` 中相互嵌套资源引用是表示资源依赖关系的Red Hat集群方式。"
374
375 #. type: Plain text
376 #: rhcs.adoc:180
377 msgid ""
378 "Be sure to increment the `config_version` attribute, found on the root "
379 "`<cluster>` element, after you have completed your configuration. Then, "
380 "issue the following commands to commit your changes to the running cluster "
381 "configuration:"
382 msgstr ""
383 "完成配置后,请确保在根元素 `<cluster>` 中增加 `config_version` 属性。然后,发出以下命令将更改提交到正在运行的集群配置:"
384
385 #. type: delimited block -
386 #: rhcs.adoc:184
387 #, no-wrap
388 msgid ""
389 "# ccs_tool update /etc/cluster/cluster.conf\n"
390 "# cman_tool version -r <version>\n"
391 msgstr ""
392 "# ccs_tool update /etc/cluster/cluster.conf\n"
393 "# cman_tool version -r <version>\n"
394
395 #. type: Plain text
396 #: rhcs.adoc:188
397 msgid ""
398 "In the second command, be sure to replace _<version>_ with the new cluster "
399 "configuration version number."
400 msgstr "在第二个命令中,请确保用新的集群配置版本号替换 _<version>_ 。"
401
402 #. type: Plain text
403 #: rhcs.adoc:196
404 msgid ""
405 "Both the `system-config-cluster` GUI configuration utility and the Conga web"
406 " based cluster management infrastructure will complain about your cluster "
407 "configuration after including the `drbd` resource agent in your "
408 "`cluster.conf` file. This is due to the design of the Python cluster "
409 "management wrappers provided by these two applications which does not expect"
410 " third party extensions to the cluster infrastructure."
411 msgstr ""
412 " `system config cluster` GUI配置实用程序和基于Conga "
413 "web的集群管理基础设施在将 `drbd` 资源代理包含在 `cluster.conf` 文件中之后,都会抱怨您的集群配置。这是由于这两个应用程序提供的Python集群管理包装器的设计,它们不希望对集群基础设施进行第三方扩展。"
414
415 #. type: Plain text
416 #: rhcs.adoc:201
417 msgid ""
418 "Thus, when you utilize the `drbd` resource agent in cluster configurations, "
419 "it is not recommended to utilize `system-config-cluster` nor Conga for "
420 "cluster configuration purposes. Using either of these tools to only monitor "
421 "the cluster's status, however, is expected to work fine."
422 msgstr ""
423 "因此,在集群配置中使用 `drbd` 资源代理时,不建议使用 `system config "
424 "cluster` 或 `Conga` 进行集群配置。但是,使用这两种工具中的任何一种只监视集群的状态,都可以正常工作。"