Debian Codegraph @

UG9/cn/openstack-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-03 07:56+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 #: openstack-linstor.adoc:2
21 #, no-wrap
22 msgid "LINSTOR volumes in Openstack"
23 msgstr "Openstack中的LINSTOR卷"
24
25 #. type: Plain text
26 #: openstack-linstor.adoc:8
27 msgid ""
28 "indexterm:[Openstack]indexterm:[Cinder]indexterm:[Nova]indexterm:[LINSTOR] "
29 "This chapter describes DRBD in Openstack for persistent, replicated, and "
30 "high-performance block storage with https://github.com/LINBIT/openstack-"
31 "cinder/tree/stein-linstor[LINSTOR Driver]."
32 msgstr ""
33 "indexterm:[Openstack]indexterm:[Cinder]indexterm:[Nova]indexterm:[LINSTOR]本章介绍了Openstack中的DRBD,它使用"
34 " https://github.com/LINBIT/openstack-cinder/tree/stein linstor[LINSTOR Driver] 实现持久、复制和高性能块存储。"
35
36 #. type: Title ===
37 #: openstack-linstor.adoc:11
38 #, no-wrap
39 msgid "Openstack Overview"
40 msgstr "Openstack概述"
41
42 #. type: Plain text
43 #: openstack-linstor.adoc:17
44 msgid ""
45 "Openstack consists of a wide range of individual services; the two that are "
46 "mostly relevant to DRBD are Cinder and Nova. *Cinder* is the block storage "
47 "service, while *Nova* is the compute node service that's responsible for "
48 "making the volumes available for the VMs."
49 msgstr ""
50 "Openstack包含各种各样的独立服务;与DRBD最相关的两个是Cinder和Nova。*Cinder* 是块存储服务,*Nova* 是计算节点服务,负责为虚拟机提供卷。"
51
52 #. type: Plain text
53 #: openstack-linstor.adoc:26
54 msgid ""
55 "The LINSTOR driver for OpenStack manages DRBD/LINSTOR clusters and makes "
56 "them available within the OpenStack environment, especially within Nova "
57 "compute instances. LINSTOR-backed Cinder volumes will seamlessly provide "
58 "all the features of DRBD/LINSTOR while allowing OpenStack to manage all "
59 "their deployment and management. The driver will allow OpenStack to create "
60 "and delete persistent LINSTOR volumes as well as managing and deploying "
61 "volume snapshots and raw volume images."
62 msgstr ""
63 "OpenStack的LINSTOR驱动程序管理DRBD/LINSTOR集群,并使它们在OpenStack环境中可用,特别是在Nova计算实例中。LINSTOR支持的Cinder卷将无缝地提供DRBD/LINSTOR的所有功能,同时允许OpenStack管理其所有部署和管理。驱动程序将允许OpenStack创建和删除持久LINSTOR卷,以及管理和部署卷快照和原始卷映像。"
64
65 #. type: Plain text
66 #: openstack-linstor.adoc:31
67 msgid ""
68 "Aside from using the kernel-native DRBD protocols for replication, the "
69 "LINSTOR driver also allows using iSCSI with LINSTOR cluster(s) to provide "
70 "maximum compatibility. For more information on these two options, please see"
71 " <<s-openstack-linstor-transport-protocol>>."
72 msgstr ""
73 "除了使用内核本机DRBD协议进行复制外,LINSTOR驱动程序还允许将iSCSI与LINSTOR集群一起使用,以提供最大的兼容性。有关这两个选项的更多信息,请参见<<s-openstack-"
74 "linstor-transport-protocol>>。"
75
76 #. type: Title ===
77 #: openstack-linstor.adoc:34
78 #, no-wrap
79 msgid "LINSTOR for Openstack Installation"
80 msgstr "在OpenStack上安装LINSTOR"
81
82 #. type: Plain text
83 #: openstack-linstor.adoc:41
84 msgid ""
85 "An initial installation and configuration of DRBD and LINSTOR must be "
86 "completed prior to installing OpenStack driver. Each LINSTOR node in a "
87 "cluster should also have a Storage Pool defined as well. Details about "
88 "LINSTOR installation can be found <<s-linstor-init-cluster, here>>."
89 msgstr ""
90 "在安装OpenStack驱动程序之前,必须完成DRBD和LINSTOR的初始安装和配置。集群中的每个LINSTOR节点也应该定义一个存储池。有关LINSTOR安装的详细信息,请参见<<s-linstor-"
91 "init-cluster, here>>。"
92
93 #. type: Title ====
94 #: openstack-linstor.adoc:43
95 #, no-wrap
96 msgid "Here's a synopsis on quickly setting up a LINSTOR cluster on Ubuntu:"
97 msgstr "以下是关于在Ubuntu上快速设置LINSTOR集群的概要:"
98
99 #. type: Title =====
100 #: openstack-linstor.adoc:46
101 #, no-wrap
102 msgid "Install DRBD and LINSTOR on Cinder node as a LINSTOR Controller node:"
103 msgstr "在Cinder节点上安装DRBD和LINSTOR作为LINSTOR Controller节点:"
104
105 #. type: delimited block -
106 #: openstack-linstor.adoc:50 openstack-linstor.adoc:81
107 #, no-wrap
108 msgid "# First, set up LINBIT repository per support contract\n"
109 msgstr "# First, set up LINBIT repository per support contract\n"
110
111 #. type: delimited block -
112 #: openstack-linstor.adoc:56
113 #, no-wrap
114 msgid ""
115 "# Install DRBD and LINSTOR packages\n"
116 "sudo apt update\n"
117 "sudo apt install -y drbd-dkms lvm2\n"
118 "sudo apt install -y linstor-controller linstor-satellite linstor-client\n"
119 "sudo apt install -y drbdtop\n"
120 msgstr ""
121 "# Install DRBD and LINSTOR packages\n"
122 "sudo apt update\n"
123 "sudo apt install -y drbd-dkms lvm2\n"
124 "sudo apt install -y linstor-controller linstor-satellite linstor-client\n"
125 "sudo apt install -y drbdtop\n"
126
127 #. type: delimited block -
128 #: openstack-linstor.adoc:62
129 #, no-wrap
130 msgid ""
131 "# Start both LINSTOR Controller and Satellite Services\n"
132 "systemctl enable linstor-controller.service\n"
133 "systemctl start linstor-controller.service\n"
134 "systemctl enable linstor-satellite.service\n"
135 "systemctl start linstor-satellite.service\n"
136 msgstr ""
137 "# Start both LINSTOR Controller and Satellite Services\n"
138 "systemctl enable linstor-controller.service\n"
139 "systemctl start linstor-controller.service\n"
140 "systemctl enable linstor-satellite.service\n"
141 "systemctl start linstor-satellite.service\n"
142
143 #. type: delimited block -
144 #: openstack-linstor.adoc:64
145 #, no-wrap
146 msgid "# For Diskless Controller, skip the following two 'sudo' commands\n"
147 msgstr "# For Diskless Controller, skip the following two 'sudo' commands\n"
148
149 #. type: delimited block -
150 #: openstack-linstor.adoc:68
151 #, no-wrap
152 msgid ""
153 "# For Diskful Controller, create backend storage for DRBD/LINSTOR by creating\n"
154 "# a Volume Group 'drbdpool' and specify appropriate volume location (/dev/vdb)\n"
155 "sudo vgcreate drbdpool /dev/vdb\n"
156 msgstr ""
157 "# For Diskful Controller, create backend storage for DRBD/LINSTOR by creating\n"
158 "# a Volume Group 'drbdpool' and specify appropriate volume location (/dev/vdb)\n"
159 "sudo vgcreate drbdpool /dev/vdb\n"
160
161 #. type: delimited block -
162 #: openstack-linstor.adoc:72 openstack-linstor.adoc:99
163 #, no-wrap
164 msgid ""
165 "# Create a Logical Volume 'thinpool' within 'drbdpool'\n"
166 "# Specify appropriate thin volume size (64G)\n"
167 "sudo lvcreate -L 64G -T drbdpool/thinpool\n"
168 msgstr ""
169 "# Create a Logical Volume 'thinpool' within 'drbdpool'\n"
170 "# Specify appropriate thin volume size (64G)\n"
171 "sudo lvcreate -L 64G -T drbdpool/thinpool\n"
172
173 #. type: Plain text
174 #: openstack-linstor.adoc:75
175 msgid "OpenStack measures storage size in GiBs."
176 msgstr "OpenStack以GiB为单位测量存储大小。"
177
178 #. type: Title =====
179 #: openstack-linstor.adoc:77
180 #, no-wrap
181 msgid "Install DRBD and LINSTOR on other node(s) on the LINSTOR cluster:"
182 msgstr "在LINSTOR集群的其他节点上安装DRBD和LINSTOR:"
183
184 #. type: delimited block -
185 #: openstack-linstor.adoc:87
186 #, no-wrap
187 msgid ""
188 "# Install DRBD and LINSTOR packages\n"
189 "sudo apt update\n"
190 "sudo apt install -y drbd-dkms lvm2\n"
191 "sudo apt install -y linstor-satellite\n"
192 "sudo apt install -y drbdtop\n"
193 msgstr ""
194 "# Install DRBD and LINSTOR packages\n"
195 "sudo apt update\n"
196 "sudo apt install -y drbd-dkms lvm2\n"
197 "sudo apt install -y linstor-satellite\n"
198 "sudo apt install -y drbdtop\n"
199
200 #. type: delimited block -
201 #: openstack-linstor.adoc:91
202 #, no-wrap
203 msgid ""
204 "# Start only the LINSTOR Satellite service\n"
205 "systemctl enable linstor-satellite.service\n"
206 "systemctl start linstor-satellite.service\n"
207 msgstr ""
208 "# Start only the LINSTOR Satellite service\n"
209 "systemctl enable linstor-satellite.service\n"
210 "systemctl start linstor-satellite.service\n"
211
212 #. type: delimited block -
213 #: openstack-linstor.adoc:95
214 #, no-wrap
215 msgid ""
216 "# Create backend storage for DRBD/LINSTOR by creating a Volume Group 'drbdpool'\n"
217 "# Specify appropriate volume location (/dev/vdb)\n"
218 "sudo vgcreate drbdpool /dev/vdb\n"
219 msgstr ""
220 "# Create backend storage for DRBD/LINSTOR by creating a Volume Group 'drbdpool'\n"
221 "# Specify appropriate volume location (/dev/vdb)\n"
222 "sudo vgcreate drbdpool /dev/vdb\n"
223
224 #. type: Title =====
225 #: openstack-linstor.adoc:102
226 #, no-wrap
227 msgid ""
228 "Lastly, from the Cinder node, create LINSTOR Satellite Node(s) and Storage "
229 "Pool(s)"
230 msgstr "最后,从Cinder节点创建LINSTOR Satellite节点和存储池"
231
232 #. type: delimited block -
233 #: openstack-linstor.adoc:108
234 #, no-wrap
235 msgid ""
236 "# Create a LINSTOR cluster, including the Cinder node as one of the nodes\n"
237 "# For each node, specify node name, its IP address, volume type (diskless) and\n"
238 "# volume location (drbdpool/thinpool)\n"
239 msgstr ""
240 "# Create a LINSTOR cluster, including the Cinder node as one of the nodes\n"
241 "# For each node, specify node name, its IP address, volume type (diskless) and\n"
242 "# volume location (drbdpool/thinpool)\n"
243
244 #. type: delimited block -
245 #: openstack-linstor.adoc:111
246 #, no-wrap
247 msgid ""
248 "# Create the controller node as combined controller and satellite node\n"
249 "linstor node create cinder-node-name 192.168.1.100 --node-type Combined\n"
250 msgstr ""
251 "# Create the controller node as combined controller and satellite node\n"
252 "linstor node create cinder-node-name 192.168.1.100 --node-type Combined\n"
253
254 #. type: delimited block -
255 #: openstack-linstor.adoc:115
256 #, no-wrap
257 msgid ""
258 "# Create the satellite node(s)\n"
259 "linstor node create another-node-name 192.168.1.101\n"
260 "# repeat to add more satellite nodes in the LINSTOR cluster\n"
261 msgstr ""
262 "# Create the satellite node(s)\n"
263 "linstor node create another-node-name 192.168.1.101\n"
264 "# repeat to add more satellite nodes in the LINSTOR cluster\n"
265
266 #. type: delimited block -
267 #: openstack-linstor.adoc:120
268 #, no-wrap
269 msgid ""
270 "# Create LINSTOR Storage Pool on each nodes\n"
271 "# For each node, specify node name, its IP address,\n"
272 "# storage pool name (DfltStorPool),\n"
273 "# volume type (diskless / lvmthin) and node type (Combined)\n"
274 msgstr ""
275 "# Create LINSTOR Storage Pool on each nodes\n"
276 "# For each node, specify node name, its IP address,\n"
277 "# storage pool name (DfltStorPool),\n"
278 "# volume type (diskless / lvmthin) and node type (Combined)\n"
279
280 #. type: delimited block -
281 #: openstack-linstor.adoc:123
282 #, no-wrap
283 msgid ""
284 "# Create diskless Controller node on the Cinder controller\n"
285 "linstor storage-pool create diskless cinder-node-name DfltStorPool\n"
286 msgstr ""
287 "# Create diskless Controller node on the Cinder controller\n"
288 "linstor storage-pool create diskless cinder-node-name DfltStorPool\n"
289
290 #. type: delimited block -
291 #: openstack-linstor.adoc:127
292 #, no-wrap
293 msgid ""
294 "# Create diskful Satellite nodes\n"
295 "linstor storage-pool create lvmthin another-node-name DfltStorPool drbdpool/thinpool\n"
296 "# repeat to add a storage pool to each node in the LINSTOR cluster\n"
297 msgstr ""
298 "# Create diskful Satellite nodes\n"
299 "linstor storage-pool create lvmthin another-node-name DfltStorPool drbdpool/thinpool\n"
300 "# repeat to add a storage pool to each node in the LINSTOR cluster\n"
301
302 #. type: Title ====
303 #: openstack-linstor.adoc:130
304 #, no-wrap
305 msgid "Install the LINSTOR driver file"
306 msgstr "安装LINSTOR驱动程序文件"
307
308 #. type: Plain text
309 #: openstack-linstor.adoc:137
310 msgid ""
311 "The _linstor driver_ will be officially available starting OpenStack Stein "
312 "release. The latest release is located at "
313 "https://github.com/LINBIT/openstack-cinder/blob/stein-"
314 "linstor/cinder/volume/drivers/linstordrv.py[LINBIT OpenStack Repo]. It is a"
315 " single Python file called *linstordrv.py*. Depending on your OpenStack "
316 "installation, its destination may vary."
317 msgstr ""
318 "linstor驱动程序将从OpenStack "
319 "Stein版本开始正式提供。最新版本位于 "
320 "https://github.com/LINBIT/openstack-cinder/blob/stein-"
321 "linstor/cinder/volume/drivers/linstordrv.py[LINBIT OpenStack Repo]. "
322 "它是一个名为 *linstordrv.py* 的Python文件。根据OpenStack的安装,其目标可能会有所不同。"
323
324 #. type: Plain text
325 #: openstack-linstor.adoc:140
326 msgid ""
327 "Place the driver ( linstordrv.py ) in an appropriate location within your "
328 "OpenStack Cinder node."
329 msgstr "将驱动程序(linstordrv.py)放置在OpenStack Cinder节点中的适当位置。"
330
331 #. type: Plain text
332 #: openstack-linstor.adoc:142 openstack-linstor.adoc:213
333 msgid "For Devstack:"
334 msgstr "对于Devstack:"
335
336 #. type: delimited block -
337 #: openstack-linstor.adoc:145
338 #, no-wrap
339 msgid "/opt/stack/cinder/cinder/volume/drivers/linstordrv.py\n"
340 msgstr "/opt/stack/cinder/cinder/volume/drivers/linstordrv.py\n"
341
342 #. type: Plain text
343 #: openstack-linstor.adoc:148
344 msgid "For Ubuntu:"
345 msgstr "对于Ubuntu:"
346
347 #. type: delimited block -
348 #: openstack-linstor.adoc:151
349 #, no-wrap
350 msgid "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/linstordrv.py\n"
351 msgstr "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/linstordrv.py\n"
352
353 #. type: Plain text
354 #: openstack-linstor.adoc:154 openstack-linstor.adoc:221
355 msgid "For RDO Packstack:"
356 msgstr "对于RDO Packstack:"
357
358 #. type: delimited block -
359 #: openstack-linstor.adoc:157
360 #, no-wrap
361 msgid "/usr/lib/python2.7/site-packages/cinder/volume/drivers/linstordrv.py\n"
362 msgstr "/usr/lib/python2.7/site-packages/cinder/volume/drivers/linstordrv.py\n"
363
364 #. type: Title ===
365 #: openstack-linstor.adoc:161
366 #, no-wrap
367 msgid "Cinder Configuration for LINSTOR"
368 msgstr "Cinder配置"
369
370 #. type: Title ====
371 #: openstack-linstor.adoc:164
372 #, no-wrap
373 msgid ""
374 "Edit Cinder configuration file *cinder.conf* in /etc/cinder/ as follows:"
375 msgstr "在/etc/cinder/中编辑Cinder配置文件 *Cinder.conf* ,如下所示:"
376
377 #. type: Title =====
378 #: openstack-linstor.adoc:167
379 #, no-wrap
380 msgid "Enable LINSTOR driver by adding 'linstor' to enabled_backends"
381 msgstr "通过将 `linstor` 添加到已启用的后端来启用LINSTOR驱动程序"
382
383 #. type: delimited block -
384 #: openstack-linstor.adoc:174
385 #, no-wrap
386 msgid ""
387 "[DEFAULT]\n"
388 "...\n"
389 "enabled_backends=lvm, linstor\n"
390 "...\n"
391 msgstr ""
392 "[DEFAULT]\n"
393 "...\n"
394 "enabled_backends=lvm, linstor\n"
395 "...\n"
396
397 #. type: Title =====
398 #: openstack-linstor.adoc:177
399 #, no-wrap
400 msgid "Add the following configuration options at the end of the cinder.conf"
401 msgstr "在cinder.conf的末尾添加以下配置选项"
402
403 #. type: delimited block -
404 #: openstack-linstor.adoc:188
405 #, no-wrap
406 msgid ""
407 "[linstor]\n"
408 "volume_backend_name = linstor\n"
409 "volume_driver = cinder.volume.drivers.linstordrv.LinstorDrbdDriver\n"
410 "linstor_default_volume_group_name=drbdpool\n"
411 "linstor_default_uri=linstor://localhost\n"
412 "linstor_default_storage_pool_name=DfltStorPool\n"
413 "linstor_default_resource_size=1\n"
414 "linstor_volume_downsize_factor=4096\n"
415 msgstr ""
416 "[linstor]\n"
417 "volume_backend_name = linstor\n"
418 "volume_driver = cinder.volume.drivers.linstordrv.LinstorDrbdDriver\n"
419 "linstor_default_volume_group_name=drbdpool\n"
420 "linstor_default_uri=linstor://localhost\n"
421 "linstor_default_storage_pool_name=DfltStorPool\n"
422 "linstor_default_resource_size=1\n"
423 "linstor_volume_downsize_factor=4096\n"
424
425 #. type: Title ====
426 #: openstack-linstor.adoc:191
427 #, no-wrap
428 msgid "Update Python python libraries for the driver"
429 msgstr "更新驱动程序的Python库"
430
431 #. type: delimited block -
432 #: openstack-linstor.adoc:197
433 #, no-wrap
434 msgid ""
435 "sudo pip install google --upgrade\n"
436 "sudo pip install protobuf --upgrade\n"
437 "sudo pip install eventlet --upgrade\n"
438 msgstr ""
439 "sudo pip install google --upgrade\n"
440 "sudo pip install protobuf --upgrade\n"
441 "sudo pip install eventlet --upgrade\n"
442
443 #. type: Title ====
444 #: openstack-linstor.adoc:200
445 #, no-wrap
446 msgid "Create a new backend type for LINSTOR"
447 msgstr "为LINSTOR创建新的后端类型"
448
449 #. type: Plain text
450 #: openstack-linstor.adoc:203
451 msgid ""
452 "Run these commands from the Cinder node once environment variables are "
453 "configured for OpenStack command line operation."
454 msgstr "为OpenStack命令行操作配置环境变量后,从Cinder节点运行这些命令。"
455
456 #. type: delimited block -
457 #: openstack-linstor.adoc:207
458 #, no-wrap
459 msgid ""
460 "cinder type-create linstor\n"
461 "cinder type-key linstor set volume_backend_name=linstor\n"
462 msgstr ""
463 "cinder type-create linstor\n"
464 "cinder type-key linstor set volume_backend_name=linstor\n"
465
466 #. type: Title ====
467 #: openstack-linstor.adoc:210
468 #, no-wrap
469 msgid "Restart the Cinder services to finalize"
470 msgstr "重新启动Cinder服务以完成"
471
472 #. type: delimited block -
473 #: openstack-linstor.adoc:218
474 #, no-wrap
475 msgid ""
476 "sudo systemctl restart [email protected]\n"
477 "sudo systemctl restart [email protected]\n"
478 "sudo systemctl restart [email protected]\n"
479 msgstr ""
480 "sudo systemctl restart [email protected]\n"
481 "sudo systemctl restart [email protected]\n"
482 "sudo systemctl restart [email protected]\n"
483
484 #. type: delimited block -
485 #: openstack-linstor.adoc:226
486 #, no-wrap
487 msgid ""
488 "sudo systemctl restart openstack-cinder-volume.service\n"
489 "sudo systemctl restart openstack-cinder-api.service\n"
490 "sudo systemctl restart openstack-cinder-scheduler.service\n"
491 msgstr ""
492 "sudo systemctl restart openstack-cinder-volume.service\n"
493 "sudo systemctl restart openstack-cinder-api.service\n"
494 "sudo systemctl restart openstack-cinder-scheduler.service\n"
495
496 #. type: Plain text
497 #: openstack-linstor.adoc:229
498 msgid "For full OpenStack:"
499 msgstr "对于完整的OpenStack:"
500
501 #. type: delimited block -
502 #: openstack-linstor.adoc:234
503 #, no-wrap
504 msgid ""
505 "sudo systemctl restart cinder-volume.service\n"
506 "sudo systemctl restart cinder-api.service\n"
507 "sudo systemctl restart cinder-scheduler.service\n"
508 msgstr ""
509 "sudo systemctl restart cinder-volume.service\n"
510 "sudo systemctl restart cinder-api.service\n"
511 "sudo systemctl restart cinder-scheduler.service\n"
512
513 #. type: Title ====
514 #: openstack-linstor.adoc:237
515 #, no-wrap
516 msgid "Verify proper installation:"
517 msgstr "验证安装是否正确:"
518
519 #. type: Plain text
520 #: openstack-linstor.adoc:241
521 msgid ""
522 "Once the Cinder service is restarted, a new Cinder volume with LINSTOR "
523 "backend may be created using the Horizon GUI or command line. Use following"
524 " as a guide for creating a volume with the command line."
525 msgstr ""
526 "一旦Cinder服务重新启动,可以使用Horizon图形用户界面或命令行创建带有LINSTOR后端的新Cinder卷。使用以下命令行创建卷时,请参考。"
527
528 #. type: delimited block -
529 #: openstack-linstor.adoc:247
530 #, no-wrap
531 msgid ""
532 "# Check to see if there are any recurring errors with the driver.\n"
533 "# Occasional 'ERROR' keyword associated with the database is normal.\n"
534 "# Use Ctrl-C to stop the log output to move on.\n"
535 "sudo systemctl -f -u devstack@c-* | grep error\n"
536 msgstr ""
537 "# Check to see if there are any recurring errors with the driver.\n"
538 "# Occasional 'ERROR' keyword associated with the database is normal.\n"
539 "# Use Ctrl-C to stop the log output to move on.\n"
540 "sudo systemctl -f -u devstack@c-* | grep error\n"
541
542 #. type: delimited block -
543 #: openstack-linstor.adoc:255
544 #, no-wrap
545 msgid ""
546 "# Create a LINSTOR test volume. Once the volume is created, volume list\n"
547 "# command should show one new Cinder volume. The 'linstor' command then\n"
548 "# should list actual resource nodes within the LINSTOR cluster backing that\n"
549 "# Cinder volume.\n"
550 "openstack volume create --type linstor --size 1 --availability-zone nova linstor-test-vol\n"
551 "openstack volume list\n"
552 "linstor resource list\n"
553 msgstr ""
554 "# Create a LINSTOR test volume. Once the volume is created, volume list\n"
555 "# command should show one new Cinder volume. The 'linstor' command then\n"
556 "# should list actual resource nodes within the LINSTOR cluster backing that\n"
557 "# Cinder volume.\n"
558 "openstack volume create --type linstor --size 1 --availability-zone nova linstor-test-vol\n"
559 "openstack volume list\n"
560 "linstor resource list\n"
561
562 #. type: Title ====
563 #: openstack-linstor.adoc:258
564 #, no-wrap
565 msgid "Additional Configuration"
566 msgstr "附加配置"
567
568 #. type: Plain text
569 #: openstack-linstor.adoc:261
570 msgid "More to come"
571 msgstr "待补充"
572
573 #. type: Title ===
574 #: openstack-linstor.adoc:264
575 #, no-wrap
576 msgid "Choosing the Transport Protocol"
577 msgstr "选择传输协议"
578
579 #. type: Plain text
580 #: openstack-linstor.adoc:267
581 msgid "There are two main ways to run DRBD/LINSTOR with Cinder:"
582 msgstr "使用Cinder运行DRBD/LINSTOR有两种主要方法:"
583
584 #. type: Plain text
585 #: openstack-linstor.adoc:269
586 msgid "accessing storage via <<s-openstack-linstor-iscsi,iSCSI exports>>, and"
587 msgstr "通过<<s-openstack-linstor-iscsi,iSCSI exports>>和"
588
589 #. type: Plain text
590 #: openstack-linstor.adoc:271
591 msgid ""
592 "using <<s-openstack-linstor-drbd,the DRBD transport protocol>> on the wire "
593 "with"
594 msgstr "使用"
595
596 #. type: Plain text
597 #: openstack-linstor.adoc:272
598 msgid "LINSTOR."
599 msgstr "LINSTOR."
600
601 #. type: Plain text
602 #: openstack-linstor.adoc:275
603 msgid ""
604 "These are not exclusive; you can define multiple backends, have some of them"
605 " use iSCSI, and others the DRBD protocol."
606 msgstr "这些不是非此即彼的;您可以定义多个后端,其中一些使用iSCSI,另一些使用DRBD协议。"
607
608 #. type: Title ====
609 #: openstack-linstor.adoc:278
610 #, no-wrap
611 msgid "iSCSI Transport"
612 msgstr "iSCSI传输"
613
614 #. type: Plain text
615 #: openstack-linstor.adoc:283
616 msgid ""
617 "The default way to export Cinder volumes is via iSCSI. This brings the "
618 "advantage of maximum compatibility - iSCSI can be used with every "
619 "hypervisor, be it VMWare, Xen, HyperV, or KVM."
620 msgstr ""
621 "导出Cinder卷的默认方法是通过iSCSI。这带来了最大兼容性的优势 - 无论是VMWare、Xen、HyperV还是KVM,iSCSI都可以用于每个虚拟机监控程序。"
622
623 #. type: Plain text
624 #: openstack-linstor.adoc:287
625 msgid ""
626 "The drawback is that all data has to be sent to a Cinder node, to be "
627 "processed by an (userspace) iSCSI daemon; that means that the data needs to "
628 "pass the kernel/userspace border, and these transitions will cost some "
629 "performance."
630 msgstr ""
631 "缺点是,所有数据都必须发送到Cinder节点,由(userspace)iSCSI守护进程处理;这意味着数据需要通过内核/userspace边界,这些转换将消耗一些性能。"
632
633 #. type: Title ====
634 #: openstack-linstor.adoc:290
635 #, no-wrap
636 msgid "DRBD/LINSTOR Transport"
637 msgstr "DRBD/LINSTOR传输"
638
639 #. type: Plain text
640 #: openstack-linstor.adoc:296
641 msgid ""
642 "The alternative is to get the data to the VMs by using DRBD as the transport"
643 " protocol. This means that DRBD 9footnote:[LINSTOR must be installed on "
644 "Cinder node. Please see the note at <<s-openstack-linstor-drbd-external-"
645 "NOTE>>.] needs to be installed on the Cinder node as well."
646 msgstr ""
647 "另一种方法是使用DRBD作为传输协议将数据传输到VMs。这意味着DRBD "
648 "9 footnote:[LINSTOR必须安装在Cinder节点上。请参见<<s-openstack-linstor-drbd-external-"
649 "note>.]也需要安装在Cinder节点上。"
650
651 #. type: Plain text
652 #: openstack-linstor.adoc:300
653 msgid ""
654 "Since OpenStack only functions in Linux, using DRBD/LINSTOR Transport "
655 "restricts deployment only on Linux hosts with KVM at the moment."
656 msgstr "由于OpenStack只在Linux中运行,因此使用DRBD/LINSTOR传输目前仅限制在具有KVM的Linux主机上部署。"
657
658 #. type: Plain text
659 #: openstack-linstor.adoc:307
660 msgid ""
661 "One advantage of that solution is that the storage access requests of the "
662 "VMs can be sent via the DRBD kernel module to the storage nodes, which can "
663 "then directly access the allocated LVs; this means no Kernel/Userspace "
664 "transitions on the data path, and consequently better performance. Combined "
665 "with RDMA capable hardware you should get about the same performance as with"
666 " VMs accessing a FC backend directly."
667 msgstr ""
668 "该解决方案的一个优点是,vm的存储访问请求可以通过DRBD内核模块发送到存储节点,然后存储节点可以直接访问分配的lv;这意味着数据路径上没有内核/用户空间转换,因此性能更好。结合支持RDMA的硬件,您应该获得与VMs直接访问FC后端相同的性能。"
669
670 #. type: Plain text
671 #: openstack-linstor.adoc:312
672 msgid ""
673 "Another advantage is that you will be implicitly benefitting from the HA "
674 "background of DRBD: using multiple storage nodes, possibly available over "
675 "different network connections, means redundancy and avoiding a single point "
676 "of failure."
677 msgstr "另一个优点是,您将从DRBD的HA背景中隐式获益:使用多个存储节点(可能在不同的网络连接上可用)意味着冗余并避免单点故障。"
678
679 #. type: Plain text
680 #: openstack-linstor.adoc:321
681 msgid ""
682 "Default configuration options for Cinder driver assumes the Cinder node to "
683 "be a *Diskless* LINSTOR node. If the node is a *Diskful* node, please "
684 "change the 'linstor_controller_diskless=True' to "
685 "'linstor_controller_diskless=False' and restart the Cinder services."
686 msgstr ""
687 "Cinder驱动程序的默认配置选项假定Cinder节点是一个 *无磁盘* LINSTOR节点。如果节点是 *Diskful* 节点,请将 `linstor_controller_diskless=True` 更改为 `linstor_controller_diskless=False` ,然后重新启动Cinder服务。"
688
689 #. type: Title ====
690 #: openstack-linstor.adoc:325
691 #, no-wrap
692 msgid "Configuring the Transport Protocol"
693 msgstr "配置传输协议"
694
695 #. type: Plain text
696 #: openstack-linstor.adoc:332
697 msgid ""
698 "In the LINSTOR section in `cinder.conf` you can define which transport "
699 "protocol to use. The initial setup described at the beginning of this "
700 "chapter is set to use DRBD transport. You can configure as necessary as "
701 "shown below. Then Horizonfootnote:[The OpenStack GUI] should offer these "
702 "storage backends at volume creation time."
703 msgstr ""
704 "在 `cinder.conf` 的LINSTOR部分中,可以定义要使用的传输协议。本章开头描述的初始设置被设置为使用DRBD传输。您可以根据需要进行如下配置。那么Horizonfootnote:[OpenStack"
705 " GUI]应该在卷创建时提供这些存储后端。"
706
707 #. type: Plain text
708 #: openstack-linstor.adoc:335
709 msgid "To use iSCSI with LINSTOR:"
710 msgstr "要在LINSTOR中使用iSCSI,请执行以下操作:"
711
712 #. type: delimited block -
713 #: openstack-linstor.adoc:338
714 #, no-wrap
715 msgid ""
716 " "
717 "volume_driver=cinder.volume.drivers.drbdmanagedrv.DrbdManageIscsiDriver\n"
718 msgstr ""
719 " "
720 "volume_driver=cinder.volume.drivers.drbdmanagedrv.DrbdManageIscsiDriver\n"
721
722 #. type: Plain text
723 #: openstack-linstor.adoc:341
724 msgid "To use DRBD Kernel Module with LINSTOR:"
725 msgstr "要将DRBD内核模块与LINSTOR一起使用,请执行以下操作:"
726
727 #. type: delimited block -
728 #: openstack-linstor.adoc:344
729 #, no-wrap
730 msgid ""
731 " volume_driver=cinder.volume.drivers.drbdmanagedrv.DrbdManageDrbdDriver\n"
732 msgstr ""
733 " volume_driver=cinder.volume.drivers.drbdmanagedrv.DrbdManageDrbdDriver\n"
734
735 #. type: Plain text
736 #: openstack-linstor.adoc:348
737 msgid ""
738 "The old class name \"DrbdManageDriver\" is being kept for the time because "
739 "of compatibility reasons; it's just an alias to the iSCSI driver."
740 msgstr "由于兼容性原因,旧类名 `DrbdManageDriver` 暂时保留;它只是iSCSI驱动程序的别名。"
741
742 #. type: Plain text
743 #: openstack-linstor.adoc:351
744 msgid "To summarize:"
745 msgstr "总结一下:"
746
747 #. type: Plain text
748 #: openstack-linstor.adoc:353
749 msgid ""
750 "You'll need the LINSTOR Cinder driver 0.1.0 or later, and LINSTOR 0.6.5"
751 msgstr "你需要LINSTOR Cinder驱动程序0.1.0或更高版本,LINSTOR 0.6.5"
752
753 #. type: Plain text
754 #: openstack-linstor.adoc:354
755 msgid "or later."
756 msgstr "或者以后的版本。"
757
758 #. type: Plain text
759 #: openstack-linstor.adoc:356
760 msgid "The <<s-openstack-linstor-drbd,DRBD transport protocol>> should be"
761 msgstr "<<s-openstack-linstor-drbd,DRBD transport protocol>>应该是"
762
763 #. type: Plain text
764 #: openstack-linstor.adoc:357
765 msgid "preferred whenever possible; iSCSI won't offer any locality benefits."
766 msgstr "尽可能首选;iSCSI不会提供任何本地好处。"
767
768 #. type: Plain text
769 #: openstack-linstor.adoc:359
770 msgid "Take care to not run out of disk space, especially with thin volumes."
771 msgstr "注意不要耗尽磁盘空间,特别是对于精简卷。"