Debian Codegraph @

UG9/cn/opennebula-linstor.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=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: Title ==
20 #: opennebula-linstor.adoc:2
21 #, no-wrap
22 msgid "LINSTOR Volumes in OpenNebula"
23 msgstr "OpenNebula中的LINSTOR卷"
24
25 #. type: Plain text
26 #: opennebula-linstor.adoc:7
27 msgid ""
28 "indexterm:[OpenNebula]This chapter describes DRBD in OpenNebula via the "
29 "usage of the https://github.com/OpenNebula/addon-linstor[LINSTOR storage "
30 "driver addon]."
31 msgstr ""
32 "indexterm:[OpenNebula]本章通过使用 https://github.com/OpenNebula/addon-linstor[LINSTOR storage driver addon] 描述OpenNebula中的DRBD。"
33
34 #. type: Plain text
35 #: opennebula-linstor.adoc:11
36 msgid ""
37 "Detailed installation and configuration instructions and be found in the "
38 "https://github.com/OpenNebula/addon-linstor/blob/master/README.md[README.md]"
39 " file of the driver's source."
40 msgstr ""
41 "详细的安装和配置说明,请参见驱动程序源的 https://github.com/OpenNebula/addon-linstor/blob/master/README.md[README.md] 文件。"
42
43 #. type: Title ===
44 #: opennebula-linstor.adoc:13
45 #, no-wrap
46 msgid "OpenNebula Overview"
47 msgstr "OpenNebula概述"
48
49 #. type: Plain text
50 #: opennebula-linstor.adoc:18
51 msgid ""
52 "http://opennebula.org/[OpenNebula] is a flexible and open source cloud "
53 "management platform which allows its functionality to be extended via the "
54 "use of addons."
55 msgstr "http://opennebula.org/[OpenNebula]是一个灵活的开源云管理平台,允许通过使用插件扩展其功能。"
56
57 #. type: Plain text
58 #: opennebula-linstor.adoc:22
59 msgid ""
60 "The LINSTOR addon allows the deployment of virtual machines with highly "
61 "available images backed by DRBD and attached across the network via DRBD's "
62 "own transport protocol."
63 msgstr "LINSTOR插件允许部署具有由DRBD支持并通过DRBD自己的传输协议连接到网络上的高可用映像的虚拟机。"
64
65 #. type: Title ===
66 #: opennebula-linstor.adoc:24
67 #, no-wrap
68 msgid "OpenNebula addon Installation"
69 msgstr "OpenNebula插件安装"
70
71 #. type: Plain text
72 #: opennebula-linstor.adoc:28
73 msgid ""
74 "Installation of the LINSTOR storage addon for OpenNebula requires a working "
75 "OpenNebula cluster as well as a working LINSTOR cluster."
76 msgstr "为OpenNebula安装linstorage插件需要一个工作的OpenNebula集群以及一个工作的LINSTOR集群。"
77
78 #. type: Plain text
79 #: opennebula-linstor.adoc:30
80 msgid ""
81 "With access to LINBIT's customer repositories you can install the linstor-"
82 "opennebula with"
83 msgstr "通过访问LINBIT的客户仓库,您可以使用"
84
85 #. type: delimited block -
86 #: opennebula-linstor.adoc:33
87 #, no-wrap
88 msgid "# apt install linstor-opennebula\n"
89 msgstr "# apt install linstor-opennebula\n"
90
91 #. type: Plain text
92 #: opennebula-linstor.adoc:36
93 msgid "or"
94 msgstr "或"
95
96 #. type: delimited block -
97 #: opennebula-linstor.adoc:39
98 #, no-wrap
99 msgid "# yum install linstor-opennebula\n"
100 msgstr "# yum install linstor-opennebula\n"
101
102 #. type: Plain text
103 #: opennebula-linstor.adoc:43
104 msgid ""
105 "Without access to LINBIT's prepared packages you need to fall back to "
106 "instructions on it's https://github.com/OpenNebula/addon-linstor[GitHub "
107 "page]."
108 msgstr ""
109 "如果无法访问LINBIT准备的包,您需要返回阅读 https://github.com/OpenNebula/addon-linstor[Github "
110 "page] 上的说明。"
111
112 #. type: Plain text
113 #: opennebula-linstor.adoc:46
114 msgid ""
115 "A DRBD cluster with LINSTOR can be installed and configured by following the"
116 " instructions in this guide, see <<s-linstor-init-cluster>>."
117 msgstr "可以按照指南中的说明安装和配置带有LINSTOR的DRBD集群,请参见<<s-linstor-init-cluster>>。"
118
119 #. type: Plain text
120 #: opennebula-linstor.adoc:50
121 msgid ""
122 "The OpenNebula and DRBD clusters can be somewhat independent of one another "
123 "with the following exception: OpenNebula's Front-End and Host nodes must be "
124 "included in both clusters."
125 msgstr "OpenNebula和DRBD集群可以相互独立,但以下情况除外:OpenNebula的前端和主机节点必须包含在这两个集群中。"
126
127 #. type: Plain text
128 #: opennebula-linstor.adoc:54
129 msgid ""
130 "Host nodes do not need a local LINSTOR storage pools, as virtual machine "
131 "images are attached to them across the network footnote:[If a host is also a"
132 " storage node, it will use a local copy of an image if that is available]."
133 msgstr ""
134 "主机节点不需要本地LINSTOR存储池,因为虚拟机映像是通过网络连接到它的。 footnote:[如果主机也是存储节点,则它将使用映像的本地副本(如果该副本可用)。]。"
135
136 #. type: Title ===
137 #: opennebula-linstor.adoc:56
138 #, no-wrap
139 msgid "Deployment Options"
140 msgstr "部署选项"
141
142 #. type: Plain text
143 #: opennebula-linstor.adoc:61
144 msgid ""
145 "It is recommended to use LINSTOR resource groups to configure the deployment"
146 " how you like it, see <<s-opennebula-resource-group>>. Previous auto-place "
147 "and deployment nodes modes are deprecated."
148 msgstr ""
149 "建议使用LINSTOR资源组配置您喜欢的部署,请参见<<s-opennebula-resource-"
150 "group>>。不推荐使用以前的自动放置和部署节点模式, 因为已经过时了。"
151
152 #. type: Title ===
153 #: opennebula-linstor.adoc:64
154 #, no-wrap
155 msgid "Configuration"
156 msgstr "配置"
157
158 #. type: Title ====
159 #: opennebula-linstor.adoc:66
160 #, no-wrap
161 msgid "Adding the driver to OpenNebula"
162 msgstr "将驱动程序添加到OpenNebula"
163
164 #. type: Plain text
165 #: opennebula-linstor.adoc:69
166 msgid "Modify the following sections of `/etc/one/oned.conf`"
167 msgstr "修改 `/etc/one/oned.conf` 的以下部分`"
168
169 #. type: Plain text
170 #: opennebula-linstor.adoc:72
171 msgid ""
172 "Add linstor to the list of drivers in the `TM_MAD` and `DATASTORE_MAD` "
173 "sections:"
174 msgstr "将linstor添加到 `TM MAD` 和 `DATASTORE MAD` 部分的驱动程序列表中:"
175
176 #. type: delimited block -
177 #: opennebula-linstor.adoc:78
178 #, no-wrap
179 msgid ""
180 "TM_MAD = [\n"
181 " executable = \"one_tm\",\n"
182 " arguments = \"-t 15 -d dummy,lvm,shared,fs_lvm,qcow2,ssh,vmfs,ceph,linstor\"\n"
183 "]\n"
184 msgstr ""
185 "TM_MAD = [\n"
186 " executable = \"one_tm\",\n"
187 " arguments = \"-t 15 -d dummy,lvm,shared,fs_lvm,qcow2,ssh,vmfs,ceph,linstor\"\n"
188 "]\n"
189
190 #. type: delimited block -
191 #: opennebula-linstor.adoc:83
192 #, no-wrap
193 msgid ""
194 "DATASTORE_MAD = [\n"
195 " EXECUTABLE = \"one_datastore\",\n"
196 " ARGUMENTS = \"-t 15 -d dummy,fs,lvm,ceph,dev,iscsi_libvirt,vcenter,linstor -s shared,ssh,ceph,fs_lvm,qcow2,linstor\"\n"
197 msgstr ""
198 "DATASTORE_MAD = [\n"
199 " EXECUTABLE = \"one_datastore\",\n"
200 " ARGUMENTS = \"-t 15 -d dummy,fs,lvm,ceph,dev,iscsi_libvirt,vcenter,linstor -s shared,ssh,ceph,fs_lvm,qcow2,linstor\"\n"
201
202 #. type: Plain text
203 #: opennebula-linstor.adoc:86
204 msgid "Add new TM_MAD_CONF and DS_MAD_CONF sections:"
205 msgstr "添加新的TM_MAD_CONF和DS_MAD_CONF部分:"
206
207 #. type: delimited block -
208 #: opennebula-linstor.adoc:93
209 #, no-wrap
210 msgid ""
211 "TM_MAD_CONF = [\n"
212 " NAME = \"linstor\", LN_TARGET = \"NONE\", CLONE_TARGET = \"SELF\", SHARED = \"yes\", ALLOW_ORPHANS=\"yes\",\n"
213 " TM_MAD_SYSTEM = \"ssh,shared\", LN_TARGET_SSH = \"NONE\", CLONE_TARGET_SSH = \"SELF\", DISK_TYPE_SSH = \"BLOCK\",\n"
214 " LN_TARGET_SHARED = \"NONE\", CLONE_TARGET_SHARED = \"SELF\", DISK_TYPE_SHARED = \"BLOCK\"\n"
215 "]\n"
216 msgstr ""
217 "TM_MAD_CONF = [\n"
218 " NAME = \"linstor\", LN_TARGET = \"NONE\", CLONE_TARGET = \"SELF\", SHARED = \"yes\", ALLOW_ORPHANS=\"yes\",\n"
219 " TM_MAD_SYSTEM = \"ssh,shared\", LN_TARGET_SSH = \"NONE\", CLONE_TARGET_SSH = \"SELF\", DISK_TYPE_SSH = \"BLOCK\",\n"
220 " LN_TARGET_SHARED = \"NONE\", CLONE_TARGET_SHARED = \"SELF\", DISK_TYPE_SHARED = \"BLOCK\"\n"
221 "]\n"
222
223 #. type: delimited block -
224 #: opennebula-linstor.adoc:99
225 #, no-wrap
226 msgid ""
227 "DS_MAD_CONF = [\n"
228 " NAME = \"linstor\", REQUIRED_ATTRS = \"BRIDGE_LIST\", PERSISTENT_ONLY = \"NO\",\n"
229 " MARKETPLACE_ACTIONS = \"export\"\n"
230 "]\n"
231 msgstr ""
232 "DS_MAD_CONF = [\n"
233 " NAME = \"linstor\", REQUIRED_ATTRS = \"BRIDGE_LIST\", PERSISTENT_ONLY = \"NO\",\n"
234 " MARKETPLACE_ACTIONS = \"export\"\n"
235 "]\n"
236
237 #. type: Plain text
238 #: opennebula-linstor.adoc:101
239 msgid "After making these changes, restart the opennebula service."
240 msgstr "完成这些更改后,重新启动opennebula服务。"
241
242 #. type: Title ====
243 #: opennebula-linstor.adoc:103
244 #, no-wrap
245 msgid "Configuring the Nodes"
246 msgstr "配置节点"
247
248 #. type: Plain text
249 #: opennebula-linstor.adoc:106
250 msgid ""
251 "The Front-End node issues commands to the Storage and Host nodes via Linstor"
252 msgstr "前端节点通过Linstor向存储和主机节点发出命令"
253
254 #. type: Plain text
255 #: opennebula-linstor.adoc:108
256 msgid "Storage nodes hold disk images of VMs locally."
257 msgstr "存储节点在本地保存vm的磁盘映像。"
258
259 #. type: Plain text
260 #: opennebula-linstor.adoc:112
261 msgid ""
262 "Host nodes are responsible for running instantiated VMs and typically have "
263 "the storage for the images they need attached across the network via Linstor"
264 " diskless mode."
265 msgstr "主机节点负责运行实例化的vm,通常通过Linstor无盘模式在网络上存储它们需要连接的映像。"
266
267 #. type: Plain text
268 #: opennebula-linstor.adoc:115
269 msgid ""
270 "All nodes must have DRBD9 and Linstor installed. This process is detailed in"
271 " the http://docs.linbit.com/doc/users-guide-90/ch-admin-linstor/[User's "
272 "Guide for DRBD9]"
273 msgstr ""
274 "所有节点都必须安装DRBD9和Linstor。这个过程在 http://docs.linbit.com/doc/users-guide-90/ch-admin-listor/"
275 "[DRBD9用户指南] 中有详细说明"
276
277 #. type: Plain text
278 #: opennebula-linstor.adoc:119
279 msgid ""
280 "It is possible to have Front-End and Host nodes act as storage nodes in "
281 "addition to their primary role as long as they the meet all the requirements"
282 " for both roles."
283 msgstr "只要前端和主机节点满足这两个角色的所有要求,它们就可以作为其主要角色之外的存储节点。"
284
285 #. type: Title =====
286 #: opennebula-linstor.adoc:121
287 #, no-wrap
288 msgid "Front-End Configuration"
289 msgstr "前端配置"
290
291 #. type: Plain text
292 #: opennebula-linstor.adoc:127
293 msgid ""
294 "Please verify that the control node(s) that you hope to communicate with are"
295 " reachable from the Front-End node. `linstor node list` for locally running "
296 "Linstor controllers and `linstor --controllers \"<IP:PORT>\" node list` for "
297 "remotely running Linstor Controllers is a handy way to test this."
298 msgstr ""
299 "请验证您希望与之通信的控制节点是否可以从前端节点访问。 `linstor node list` 用于本地运行linstor控制器,而 `linstor --"
300 "controllers \"<IP:PORT>\" node list` 用于远程运行linstor控制器,这是一种方便的测试方法。"
301
302 #. type: Title =====
303 #: opennebula-linstor.adoc:128
304 #, no-wrap
305 msgid "Host Configuration"
306 msgstr "主机配置"
307
308 #. type: Plain text
309 #: opennebula-linstor.adoc:134
310 msgid ""
311 "Host nodes must have Linstor satellite processes running on them and be "
312 "members of the same Linstor cluster as the Front-End and Storage nodes, and "
313 "may optionally have storage locally. If the `oneadmin` user is able to "
314 "passwordlessly ssh between hosts then live migration may be used with the "
315 "even with the ssh system datastore."
316 msgstr ""
317 "主机节点上必须运行Linstor satellite进程,并且与前端和存储节点属于同一Linstor集群,并且可以选择在本地存储。如果 `oneadmin` 用户能够在主机之间无密码地使用ssh,那么即使使用ssh系统数据存储,也可以使用实时迁移。"
318
319 #. type: Title =====
320 #: opennebula-linstor.adoc:135
321 #, no-wrap
322 msgid "Storage Node Configuration"
323 msgstr "存储节点配置"
324
325 #. type: Plain text
326 #: opennebula-linstor.adoc:141
327 msgid ""
328 "Only the Front-End and Host nodes require OpenNebula to be installed, but "
329 "the oneadmin user must be able to passwordlessly access storage nodes. Refer"
330 " to the OpenNebula install guide for your distribution on how to manually "
331 "configure the oneadmin user account."
332 msgstr ""
333 "只有前端和主机节点需要安装OpenNebula,但oneadmin用户必须能够无密码访问存储节点。有关如何在发行版中手动配置oneadmin用户帐户,请参阅OpenNebula安装指南。"
334
335 #. type: Plain text
336 #: opennebula-linstor.adoc:144
337 msgid ""
338 "The Storage nodes must use storage pools created with a driver that's "
339 "capable of making snapshots, such as the thin LVM plugin."
340 msgstr "存储节点必须使用由能够生成快照的驱动程序(如精简LVM插件)创建的存储池。"
341
342 #. type: Plain text
343 #: opennebula-linstor.adoc:147
344 msgid ""
345 "In this example preparation of thinly-provisioned storage using LVM for "
346 "Linstor, you must create a volume group and thinLV using LVM on each storage"
347 " node."
348 msgstr "在这个使用LVM for Linstor准备精简配置存储的示例中,必须在每个存储节点上创建卷组并使用LVM创建精简配置存储。"
349
350 #. type: Plain text
351 #: opennebula-linstor.adoc:151
352 msgid ""
353 "Example of this process using two physical volumes (/dev/sdX and /dev/sdY) "
354 "and generic names for the volume group and thinpool. Make sure to set the "
355 "thinLV's metadata volume to a reasonable size, once it becomes full it can "
356 "be difficult to resize:"
357 msgstr ""
358 "此过程的示例使用两个物理卷(/dev/sdX和/dev/sdY)以及卷组和thinpool的通用名称。请确保将thinLV的元数据卷设置为合理的大小,一旦它满了,就很难调整大小:"
359
360 #. type: delimited block -
361 #: opennebula-linstor.adoc:156
362 #, no-wrap
363 msgid ""
364 "pvcreate /dev/sdX /dev/sdY\n"
365 "vgcreate drbdpool /dev/sdX /dev/sdY\n"
366 "lvcreate -l 95%VG --poolmetadatasize 8g -T /dev/drbdpool/drbdthinpool\n"
367 msgstr ""
368 "pvcreate /dev/sdX /dev/sdY\n"
369 "vgcreate drbdpool /dev/sdX /dev/sdY\n"
370 "lvcreate -l 95%VG --poolmetadatasize 8g -T /dev/drbdpool/drbdthinpool\n"
371
372 #. type: Plain text
373 #: opennebula-linstor.adoc:159
374 msgid ""
375 "Then you'll create storage pool(s) on Linstor using this as the backing "
376 "storage."
377 msgstr "然后在Linstor上创建存储池,并将其用作备份存储。"
378
379 #. type: Title ====
380 #: opennebula-linstor.adoc:160
381 #, no-wrap
382 msgid "Permissions for Oneadmin"
383 msgstr "Oneadmin的权限"
384
385 #. type: Plain text
386 #: opennebula-linstor.adoc:164
387 msgid ""
388 "The oneadmin user must have passwordless sudo access to the `mkfs` command "
389 "on the Storage nodes"
390 msgstr "oneadmin用户必须具有对存储节点上的 `mkfs` 命令的无密码sudo访问权限"
391
392 #. type: delimited block -
393 #: opennebula-linstor.adoc:167
394 #, no-wrap
395 msgid "oneadmin ALL=(root) NOPASSWD: /sbin/mkfs\n"
396 msgstr "oneadmin ALL=(root) NOPASSWD: /sbin/mkfs\n"
397
398 #. type: Title =====
399 #: opennebula-linstor.adoc:169
400 #, no-wrap
401 msgid "Groups"
402 msgstr "组"
403
404 #. type: Plain text
405 #: opennebula-linstor.adoc:175
406 msgid ""
407 "Be sure to consider the groups that oneadmin should be added to in order to "
408 "gain access to the devices and programs needed to access storage and "
409 "instantiate VMs. For this addon, the oneadmin user must belong to the `disk`"
410 " group on all nodes in order to access the DRBD devices where images are "
411 "held."
412 msgstr ""
413 "请确保考虑应该添加oneadmin的组,以便访问访问存储和实例化vm所需的设备和程序。对于此加载项,oneadmin用户必须属于所有节点上的 `disk` 组,才能访问保存镜像的DRBD设备。"
414
415 #. type: delimited block -
416 #: opennebula-linstor.adoc:178
417 #, no-wrap
418 msgid "usermod -a -G disk oneadmin\n"
419 msgstr "usermod -a -G disk oneadmin\n"
420
421 #. type: Title ====
422 #: opennebula-linstor.adoc:180
423 #, no-wrap
424 msgid "Creating a New Linstor Datastore"
425 msgstr "创建新的Linstor数据存储"
426
427 #. type: Plain text
428 #: opennebula-linstor.adoc:188
429 msgid ""
430 "Create a datastore configuration file named ds.conf and use the "
431 "`onedatastore` tool to create a new datastore based on that configuration. "
432 "There are two mutually exclusive deployment options: LINSTOR_AUTO_PLACE and "
433 "LINSTOR_DEPLOYMENT_NODES. If both are configured, LINSTOR_AUTO_PLACE is "
434 "ignored. For both of these options, BRIDGE_LIST must be a space separated "
435 "list of all storage nodes in the Linstor cluster."
436 msgstr ""
437 "创建一个名为ds.conf的数据存储配置文件,并使用 `onedatastore` 工具基于该配置创建一个新的数据存储。有两个相互排斥的部署选项:LINSTOR_AUTO_PLACE和LINSTOR_deployment_NODES。如果两者都已配置,则忽略LINSTOR_AUTO_PLACE。对于这两个选项,BRIDGE_LIST必须是Linstor集群中所有存储节点的空间分隔列表。"
438
439 #. type: Title ====
440 #: opennebula-linstor.adoc:190
441 #, no-wrap
442 msgid "OpenNebula resource group"
443 msgstr "OpenNebula资源组"
444
445 #. type: Plain text
446 #: opennebula-linstor.adoc:195
447 msgid ""
448 "Since version 1.0.0 LINSTOR supports resource groups. A resource group is a "
449 "centralized point for settings that all resources linked to that resource "
450 "group share."
451 msgstr "因为1.0.0版LINSTOR支持资源组。资源组是所有链接到该资源组的资源共享的设置的集中点。"
452
453 #. type: Plain text
454 #: opennebula-linstor.adoc:199
455 msgid ""
456 "Create a resource group and volume group for your datastore, it is mandatory"
457 " to specify a storage-pool within the resource group, otherwise monitoring "
458 "space for opennebula will not work. Here we create one with 2 node "
459 "redundency and use a created `opennebula-storagepool`:"
460 msgstr ""
461 "为数据存储创建资源组和卷组,必须在资源组中指定存储池,否则opennebula的监视空间将不起作用。在这里,我们创建一个具有2个节点的redundency,并使用创建好的 `opennebula-storagepool` "
462
463 #. type: delimited block -
464 #: opennebula-linstor.adoc:203
465 #, no-wrap
466 msgid ""
467 "linstor resource-group create OneRscGrp --place-count 2 --storage-pool opennebula-storagepool\n"
468 "linstor volume-group create\n"
469 msgstr ""
470 "linstor resource-group create OneRscGrp --place-count 2 --storage-pool opennebula-storagepool\n"
471 "linstor volume-group create\n"
472
473 #. type: Plain text
474 #: opennebula-linstor.adoc:206
475 msgid "Now add a OpenNebula datastore using the LINSTOR plugin:"
476 msgstr "现在使用LINSTOR插件添加OpenNebula数据存储:"
477
478 #. type: delimited block -
479 #: opennebula-linstor.adoc:218
480 #, no-wrap
481 msgid ""
482 "cat >ds.conf <<EOI\n"
483 "NAME = linstor_datastore\n"
484 "DS_MAD = linstor\n"
485 "TM_MAD = linstor\n"
486 "TYPE = IMAGE_DS\n"
487 "DISK_TYPE = BLOCK\n"
488 "LINSTOR_RESOURCE_GROUP = \"OneRscGrp\"\n"
489 "COMPATIBLE_SYS_DS = 0\n"
490 "BRIDGE_LIST = \"alice bob charlie\" #node names\n"
491 "EOI\n"
492 msgstr ""
493 "cat >ds.conf <<EOI\n"
494 "NAME = linstor_datastore\n"
495 "DS_MAD = linstor\n"
496 "TM_MAD = linstor\n"
497 "TYPE = IMAGE_DS\n"
498 "DISK_TYPE = BLOCK\n"
499 "LINSTOR_RESOURCE_GROUP = \"OneRscGrp\"\n"
500 "COMPATIBLE_SYS_DS = 0\n"
501 "BRIDGE_LIST = \"alice bob charlie\" #node names\n"
502 "EOI\n"
503
504 #. type: delimited block -
505 #: opennebula-linstor.adoc:220
506 #, no-wrap
507 msgid "onedatastore create ds.conf\n"
508 msgstr "onedatastore create ds.conf\n"
509
510 #. type: Title ====
511 #: opennebula-linstor.adoc:222
512 #, no-wrap
513 msgid "Plugin attributes"
514 msgstr "插件属性"
515
516 #. type: Title =====
517 #: opennebula-linstor.adoc:224
518 #, no-wrap
519 msgid "LINSTOR_CONTROLLERS"
520 msgstr "LINSTOR_CONTROLLERS"
521
522 #. type: Plain text
523 #: opennebula-linstor.adoc:229
524 msgid ""
525 "`LINSTOR_CONTROLLERS` can be used to pass a comma separated list of "
526 "controller ips and ports to the Linstor client in the case where a Linstor "
527 "controller process is not running locally on the Front-End, e.g.:"
528 msgstr ""
529 "`LINSTOR_CONTROLLERS` 可用于在LINSTOR控制器进程未在前端本地运行的情况下,将以逗号分隔的控制器IP和端口列表传递给LINSTOR客户端,例如:"
530
531 #. type: Plain text
532 #: opennebula-linstor.adoc:231
533 msgid "`LINSTOR_CONTROLLERS = \"192.168.1.10:8080,192.168.1.11:6000\"`"
534 msgstr "`LINSTOR_CONTROLLERS = \"192.168.1.10:8080,192.168.1.11:6000\"`"
535
536 #. type: Title =====
537 #: opennebula-linstor.adoc:233
538 #, no-wrap
539 msgid "LINSTOR_CLONE_MODE"
540 msgstr "LINSTOR_CLONE_MODE"
541
542 #. type: Plain text
543 #: opennebula-linstor.adoc:236
544 msgid ""
545 "Linstor supports 2 different clone modes and are set via the "
546 "`LINSTOR_CLONE_MODE` attribute:"
547 msgstr "Linstor支持两种不同的克隆模式,并通过 `LINSTOR_CLONE_MODE` 属性设置:"
548
549 #. type: Plain text
550 #: opennebula-linstor.adoc:238
551 msgid "`snapshot`"
552 msgstr "`snapshot`"
553
554 #. type: Plain text
555 #: opennebula-linstor.adoc:242
556 msgid ""
557 "The default mode is `snapshot` it uses a linstor snapshot and restores a new"
558 " resource from this snapshot, which is then a clone of the image. This mode"
559 " is usually faster than using the `copy` mode as snapshots are cheap copies."
560 msgstr ""
561 "默认模式是 'snapshot' ,它使用linstor快照,并从该快照还原一个新资源,该快照随后是映像的克隆。此模式通常比使用 `copy` 模式快,因为快照是廉价的副本。"
562
563 #. type: Plain text
564 #: opennebula-linstor.adoc:244
565 msgid "`copy`"
566 msgstr "`copy`"
567
568 #. type: Plain text
569 #: opennebula-linstor.adoc:249
570 msgid ""
571 "The second mode is `copy` it creates a new resource with the same size as "
572 "the original and copies the data with `dd` to the new resource. This mode "
573 "will be slower than `snapshot`, but is more robust as it doesn't rely on any"
574 " snapshot mechanism, it is also used if you are cloning an image into a "
575 "different linstor datastore."
576 msgstr ""
577 "第二种模式是 `copy` ,它创建一个与原始资源大小相同的新资源,并使用 `dd` 将数据复制到新资源。此模式将比 `snapshot` 慢,但更健壮,因为它不依赖任何快照机制,如果要将镜像克隆到不同的linstor数据存储中,也会使用此模式。"
578
579 #. type: Title ====
580 #: opennebula-linstor.adoc:250
581 #, no-wrap
582 msgid "Deprecated attributes"
583 msgstr "不推荐的属性"
584
585 #. type: Plain text
586 #: opennebula-linstor.adoc:253
587 msgid ""
588 "The following attributes are deprecated and will be removed in version after"
589 " the 1.0.0 release."
590 msgstr "以下属性已弃用,并将在1.0.0版之后的版本中删除。"
591
592 #. type: Title =====
593 #: opennebula-linstor.adoc:254
594 #, no-wrap
595 msgid "LINSTOR_STORAGE_POOL"
596 msgstr "LINSTOR_STORAGE_POOL"
597
598 #. type: Plain text
599 #: opennebula-linstor.adoc:261
600 msgid ""
601 "`LINSTOR_STORAGE_POOL` attribute is used to select the LINSTOR storage pool "
602 "your datastore should use. If resource groups are used this attribute isn't "
603 "needed as the storage pool can be select by the auto select filter options."
604 " If `LINSTOR_AUTO_PLACE` or `LINSTOR_DEPLOYMENT_NODES` is used and "
605 "`LINSTOR_STORAGE_POOL` is not set, it will fallback to the `DfltStorPool` in"
606 " LINSTOR."
607 msgstr ""
608 "`LINSTOR_STORAGE_POOL` 属性用于选择数据存储应使用的LINSTOR存储池。如果使用资源组,则不需要此属性,因为可以通过 `自动选择筛选器` 选项选择存储池。如果使用 `LINSTOR_AUTO_PLACE` 或 `LINSTOR_DEPLOYMENT_NODES` ,并且未设置 `LINSTOR_STORAGE_POOL` ,则它将回退到LINSTOR中的 `DfltStorPool` 。"
609
610 #. type: Title =====
611 #: opennebula-linstor.adoc:262
612 #, no-wrap
613 msgid "LINSTOR_AUTO_PLACE"
614 msgstr "LINSTOR_AUTO_PLACE"
615
616 #. type: Plain text
617 #: opennebula-linstor.adoc:267
618 msgid ""
619 "The `LINSTOR_AUTO_PLACE` option takes a level of redundancy which is a "
620 "number between one and the total number of storage nodes. Resources are "
621 "assigned to storage nodes automatically based on the level of redundancy."
622 msgstr "`LINSTOR_AUTO_PLACE` 选项采用一个冗余级别,即一个与存储节点总数之间的数字。资源根据冗余级别自动分配给存储节点。"
623
624 #. type: Title =====
625 #: opennebula-linstor.adoc:268
626 #, no-wrap
627 msgid "LINSTOR_DEPLOYMENT_NODES"
628 msgstr "LINSTOR_DEPLOYMENT_NODES"
629
630 #. type: Plain text
631 #: opennebula-linstor.adoc:273
632 msgid ""
633 "Using `LINSTOR_DEPLOYMENT_NODES` allows you to select a group of nodes that "
634 "resources will always be assigned to. Please note that the bridge list still"
635 " contains all of the storage nodes in the Linstor cluster."
636 msgstr ""
637 "使用 `LINSTOR_DEPLOYMENT_NODES` 可以选择资源将始终分配给的一组节点。请注意,bridge列表仍然包含Linstor集群中的所有存储节点。"
638
639 #. type: Title ====
640 #: opennebula-linstor.adoc:274
641 #, no-wrap
642 msgid "LINSTOR as system datastore"
643 msgstr "LINSTOR作为系统数据存储"
644
645 #. type: Plain text
646 #: opennebula-linstor.adoc:278
647 msgid ""
648 "Linstor driver can also be used as a system datastore, configuration is "
649 "pretty similar to normal datastores, with a few changes:"
650 msgstr "Linstor驱动程序也可以用作系统数据存储,配置与普通数据存储非常相似,但有一些更改:"
651
652 #. type: delimited block -
653 #: opennebula-linstor.adoc:287
654 #, no-wrap
655 msgid ""
656 "cat >system_ds.conf <<EOI\n"
657 "NAME = linstor_system_datastore\n"
658 "TM_MAD = linstor\n"
659 "TYPE = SYSTEM_DS\n"
660 "LINSTOR_RESOURCE_GROUP = \"OneSysRscGrp\"\n"
661 "BRIDGE_LIST = \"alice bob charlie\" # node names\n"
662 "EOI\n"
663 msgstr ""
664 "cat >system_ds.conf <<EOI\n"
665 "NAME = linstor_system_datastore\n"
666 "TM_MAD = linstor\n"
667 "TYPE = SYSTEM_DS\n"
668 "LINSTOR_RESOURCE_GROUP = \"OneSysRscGrp\"\n"
669 "BRIDGE_LIST = \"alice bob charlie\" # node names\n"
670 "EOI\n"
671
672 #. type: delimited block -
673 #: opennebula-linstor.adoc:289
674 #, no-wrap
675 msgid "onedatastore create system_ds.conf\n"
676 msgstr "onedatastore create system_ds.conf\n"
677
678 #. type: Plain text
679 #: opennebula-linstor.adoc:292
680 msgid ""
681 "Also add the new sys datastore id to the `COMPATIBLE_SYS_DS` to your image "
682 "datastores (COMMA separated), otherwise the scheduler will ignore them."
683 msgstr ""
684 "还要将新的sys datastore id添加到镜像数据存储的 `COMPATIBLE_SYS_DS` (以逗号分隔),否则调度程序将忽略它们。"
685
686 #. type: Plain text
687 #: opennebula-linstor.adoc:295
688 msgid ""
689 "If you want live migration with volatile disks you need to enable the "
690 "`--unsafe` option for KVM, see: "
691 "https://docs.opennebula.org/5.8/deployment/open_cloud_host_setup/kvm_driver.html#live-"
692 "migration-for-other-cache-settings[opennebula-doc]"
693 msgstr ""
694 "如果要使用易失性磁盘进行实时迁移,则需要为KVM启用 `--unsafe` 选项,请参见: https://docs.opennebula.org/5.8/deployment/open_cloud_host_setup/kvm_driver.html#live-migration-for-other-cache-setting[opennebula"
695 " doc]"
696
697 #. type: Title ===
698 #: opennebula-linstor.adoc:297
699 #, no-wrap
700 msgid "Live Migration"
701 msgstr "Live Migration"
702
703 #. type: Plain text
704 #: opennebula-linstor.adoc:301
705 msgid ""
706 "Live migration is supported even with the use of the ssh system datastore, "
707 "as well as the nfs shared system datastore."
708 msgstr "即使使用ssh系统数据存储和nfs共享系统数据存储,也支持实时迁移。"
709
710 #. type: Title ===
711 #: opennebula-linstor.adoc:303
712 #, no-wrap
713 msgid "Free Space Reporting"
714 msgstr "可用空间报告"
715
716 #. type: Plain text
717 #: opennebula-linstor.adoc:307
718 msgid ""
719 "Free space is calculated differently depending on whether resources are "
720 "deployed automatically or on a per node basis."
721 msgstr "空闲空间的计算方式不同,这取决于资源是自动部署还是按节点部署。"
722
723 #. type: Plain text
724 #: opennebula-linstor.adoc:314
725 msgid ""
726 "For datastores which place per node, free space is reported based on the "
727 "most restrictive storage pools from all nodes where resources are being "
728 "deployed. For example, the capacity of the node with the smallest amount of "
729 "total storage space is used to determine the total size of the datastore and"
730 " the node with the least free space is used to determine the remaining space"
731 " in the datastore."
732 msgstr ""
733 "对于每个节点放置的数据存储,将根据部署资源的所有节点中限制最严格的存储池报告可用空间。例如,总存储空间最小的节点的容量用于确定数据存储的总大小,而可用空间最小的节点用于确定数据存储中的剩余空间。"
734
735 #. type: Plain text
736 #: opennebula-linstor.adoc:317
737 msgid ""
738 "For a datastore which uses automatic placement, size and remaining space are"
739 " determined based on the aggregate storage pool used by the datastore as "
740 "reported by LINSTOR."
741 msgstr "对于使用自动放置的数据存储,大小和剩余空间是根据LINSTOR报告的数据存储所使用的聚合存储池确定的。"