# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2020-03-03 07:56+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: Title == #: openstack-linstor.adoc:2 #, no-wrap msgid "LINSTOR volumes in Openstack" msgstr "Openstack中的LINSTOR卷" #. type: Plain text #: openstack-linstor.adoc:8 msgid "" "indexterm:[Openstack]indexterm:[Cinder]indexterm:[Nova]indexterm:[LINSTOR] " "This chapter describes DRBD in Openstack for persistent, replicated, and " "high-performance block storage with https://github.com/LINBIT/openstack-" "cinder/tree/stein-linstor[LINSTOR Driver]." msgstr "" "indexterm:[Openstack]indexterm:[Cinder]indexterm:[Nova]indexterm:[LINSTOR]本章介绍了Openstack中的DRBD,它使用" " https://github.com/LINBIT/openstack-cinder/tree/stein linstor[LINSTOR Driver] 实现持久、复制和高性能块存储。" #. type: Title === #: openstack-linstor.adoc:11 #, no-wrap msgid "Openstack Overview" msgstr "Openstack概述" #. type: Plain text #: openstack-linstor.adoc:17 msgid "" "Openstack consists of a wide range of individual services; the two that are " "mostly relevant to DRBD are Cinder and Nova. *Cinder* is the block storage " "service, while *Nova* is the compute node service that's responsible for " "making the volumes available for the VMs." msgstr "" "Openstack包含各种各样的独立服务;与DRBD最相关的两个是Cinder和Nova。*Cinder* 是块存储服务,*Nova* 是计算节点服务,负责为虚拟机提供卷。" #. type: Plain text #: openstack-linstor.adoc:26 msgid "" "The LINSTOR driver for OpenStack manages DRBD/LINSTOR clusters and makes " "them available within the OpenStack environment, especially within Nova " "compute instances. LINSTOR-backed Cinder volumes will seamlessly provide " "all the features of DRBD/LINSTOR while allowing OpenStack to manage all " "their deployment and management. The driver will allow OpenStack to create " "and delete persistent LINSTOR volumes as well as managing and deploying " "volume snapshots and raw volume images." msgstr "" "OpenStack的LINSTOR驱动程序管理DRBD/LINSTOR集群,并使它们在OpenStack环境中可用,特别是在Nova计算实例中。LINSTOR支持的Cinder卷将无缝地提供DRBD/LINSTOR的所有功能,同时允许OpenStack管理其所有部署和管理。驱动程序将允许OpenStack创建和删除持久LINSTOR卷,以及管理和部署卷快照和原始卷映像。" #. type: Plain text #: openstack-linstor.adoc:31 msgid "" "Aside from using the kernel-native DRBD protocols for replication, the " "LINSTOR driver also allows using iSCSI with LINSTOR cluster(s) to provide " "maximum compatibility. For more information on these two options, please see" " <>." msgstr "" "除了使用内核本机DRBD协议进行复制外,LINSTOR驱动程序还允许将iSCSI与LINSTOR集群一起使用,以提供最大的兼容性。有关这两个选项的更多信息,请参见<>。" #. type: Title === #: openstack-linstor.adoc:34 #, no-wrap msgid "LINSTOR for Openstack Installation" msgstr "在OpenStack上安装LINSTOR" #. type: Plain text #: openstack-linstor.adoc:41 msgid "" "An initial installation and configuration of DRBD and LINSTOR must be " "completed prior to installing OpenStack driver. Each LINSTOR node in a " "cluster should also have a Storage Pool defined as well. Details about " "LINSTOR installation can be found <>." msgstr "" "在安装OpenStack驱动程序之前,必须完成DRBD和LINSTOR的初始安装和配置。集群中的每个LINSTOR节点也应该定义一个存储池。有关LINSTOR安装的详细信息,请参见<>。" #. type: Title ==== #: openstack-linstor.adoc:43 #, no-wrap msgid "Here's a synopsis on quickly setting up a LINSTOR cluster on Ubuntu:" msgstr "以下是关于在Ubuntu上快速设置LINSTOR集群的概要:" #. type: Title ===== #: openstack-linstor.adoc:46 #, no-wrap msgid "Install DRBD and LINSTOR on Cinder node as a LINSTOR Controller node:" msgstr "在Cinder节点上安装DRBD和LINSTOR作为LINSTOR Controller节点:" #. type: delimited block - #: openstack-linstor.adoc:50 openstack-linstor.adoc:81 #, no-wrap msgid "# First, set up LINBIT repository per support contract\n" msgstr "# First, set up LINBIT repository per support contract\n" #. type: delimited block - #: openstack-linstor.adoc:56 #, no-wrap msgid "" "# Install DRBD and LINSTOR packages\n" "sudo apt update\n" "sudo apt install -y drbd-dkms lvm2\n" "sudo apt install -y linstor-controller linstor-satellite linstor-client\n" "sudo apt install -y drbdtop\n" msgstr "" "# Install DRBD and LINSTOR packages\n" "sudo apt update\n" "sudo apt install -y drbd-dkms lvm2\n" "sudo apt install -y linstor-controller linstor-satellite linstor-client\n" "sudo apt install -y drbdtop\n" #. type: delimited block - #: openstack-linstor.adoc:62 #, no-wrap msgid "" "# Start both LINSTOR Controller and Satellite Services\n" "systemctl enable linstor-controller.service\n" "systemctl start linstor-controller.service\n" "systemctl enable linstor-satellite.service\n" "systemctl start linstor-satellite.service\n" msgstr "" "# Start both LINSTOR Controller and Satellite Services\n" "systemctl enable linstor-controller.service\n" "systemctl start linstor-controller.service\n" "systemctl enable linstor-satellite.service\n" "systemctl start linstor-satellite.service\n" #. type: delimited block - #: openstack-linstor.adoc:64 #, no-wrap msgid "# For Diskless Controller, skip the following two 'sudo' commands\n" msgstr "# For Diskless Controller, skip the following two 'sudo' commands\n" #. type: delimited block - #: openstack-linstor.adoc:68 #, no-wrap msgid "" "# For Diskful Controller, create backend storage for DRBD/LINSTOR by creating\n" "# a Volume Group 'drbdpool' and specify appropriate volume location (/dev/vdb)\n" "sudo vgcreate drbdpool /dev/vdb\n" msgstr "" "# For Diskful Controller, create backend storage for DRBD/LINSTOR by creating\n" "# a Volume Group 'drbdpool' and specify appropriate volume location (/dev/vdb)\n" "sudo vgcreate drbdpool /dev/vdb\n" #. type: delimited block - #: openstack-linstor.adoc:72 openstack-linstor.adoc:99 #, no-wrap msgid "" "# Create a Logical Volume 'thinpool' within 'drbdpool'\n" "# Specify appropriate thin volume size (64G)\n" "sudo lvcreate -L 64G -T drbdpool/thinpool\n" msgstr "" "# Create a Logical Volume 'thinpool' within 'drbdpool'\n" "# Specify appropriate thin volume size (64G)\n" "sudo lvcreate -L 64G -T drbdpool/thinpool\n" #. type: Plain text #: openstack-linstor.adoc:75 msgid "OpenStack measures storage size in GiBs." msgstr "OpenStack以GiB为单位测量存储大小。" #. type: Title ===== #: openstack-linstor.adoc:77 #, no-wrap msgid "Install DRBD and LINSTOR on other node(s) on the LINSTOR cluster:" msgstr "在LINSTOR集群的其他节点上安装DRBD和LINSTOR:" #. type: delimited block - #: openstack-linstor.adoc:87 #, no-wrap msgid "" "# Install DRBD and LINSTOR packages\n" "sudo apt update\n" "sudo apt install -y drbd-dkms lvm2\n" "sudo apt install -y linstor-satellite\n" "sudo apt install -y drbdtop\n" msgstr "" "# Install DRBD and LINSTOR packages\n" "sudo apt update\n" "sudo apt install -y drbd-dkms lvm2\n" "sudo apt install -y linstor-satellite\n" "sudo apt install -y drbdtop\n" #. type: delimited block - #: openstack-linstor.adoc:91 #, no-wrap msgid "" "# Start only the LINSTOR Satellite service\n" "systemctl enable linstor-satellite.service\n" "systemctl start linstor-satellite.service\n" msgstr "" "# Start only the LINSTOR Satellite service\n" "systemctl enable linstor-satellite.service\n" "systemctl start linstor-satellite.service\n" #. type: delimited block - #: openstack-linstor.adoc:95 #, no-wrap msgid "" "# Create backend storage for DRBD/LINSTOR by creating a Volume Group 'drbdpool'\n" "# Specify appropriate volume location (/dev/vdb)\n" "sudo vgcreate drbdpool /dev/vdb\n" msgstr "" "# Create backend storage for DRBD/LINSTOR by creating a Volume Group 'drbdpool'\n" "# Specify appropriate volume location (/dev/vdb)\n" "sudo vgcreate drbdpool /dev/vdb\n" #. type: Title ===== #: openstack-linstor.adoc:102 #, no-wrap msgid "" "Lastly, from the Cinder node, create LINSTOR Satellite Node(s) and Storage " "Pool(s)" msgstr "最后,从Cinder节点创建LINSTOR Satellite节点和存储池" #. type: delimited block - #: openstack-linstor.adoc:108 #, no-wrap msgid "" "# Create a LINSTOR cluster, including the Cinder node as one of the nodes\n" "# For each node, specify node name, its IP address, volume type (diskless) and\n" "# volume location (drbdpool/thinpool)\n" msgstr "" "# Create a LINSTOR cluster, including the Cinder node as one of the nodes\n" "# For each node, specify node name, its IP address, volume type (diskless) and\n" "# volume location (drbdpool/thinpool)\n" #. type: delimited block - #: openstack-linstor.adoc:111 #, no-wrap msgid "" "# Create the controller node as combined controller and satellite node\n" "linstor node create cinder-node-name 192.168.1.100 --node-type Combined\n" msgstr "" "# Create the controller node as combined controller and satellite node\n" "linstor node create cinder-node-name 192.168.1.100 --node-type Combined\n" #. type: delimited block - #: openstack-linstor.adoc:115 #, no-wrap msgid "" "# Create the satellite node(s)\n" "linstor node create another-node-name 192.168.1.101\n" "# repeat to add more satellite nodes in the LINSTOR cluster\n" msgstr "" "# Create the satellite node(s)\n" "linstor node create another-node-name 192.168.1.101\n" "# repeat to add more satellite nodes in the LINSTOR cluster\n" #. type: delimited block - #: openstack-linstor.adoc:120 #, no-wrap msgid "" "# Create LINSTOR Storage Pool on each nodes\n" "# For each node, specify node name, its IP address,\n" "# storage pool name (DfltStorPool),\n" "# volume type (diskless / lvmthin) and node type (Combined)\n" msgstr "" "# Create LINSTOR Storage Pool on each nodes\n" "# For each node, specify node name, its IP address,\n" "# storage pool name (DfltStorPool),\n" "# volume type (diskless / lvmthin) and node type (Combined)\n" #. type: delimited block - #: openstack-linstor.adoc:123 #, no-wrap msgid "" "# Create diskless Controller node on the Cinder controller\n" "linstor storage-pool create diskless cinder-node-name DfltStorPool\n" msgstr "" "# Create diskless Controller node on the Cinder controller\n" "linstor storage-pool create diskless cinder-node-name DfltStorPool\n" #. type: delimited block - #: openstack-linstor.adoc:127 #, no-wrap msgid "" "# Create diskful Satellite nodes\n" "linstor storage-pool create lvmthin another-node-name DfltStorPool drbdpool/thinpool\n" "# repeat to add a storage pool to each node in the LINSTOR cluster\n" msgstr "" "# Create diskful Satellite nodes\n" "linstor storage-pool create lvmthin another-node-name DfltStorPool drbdpool/thinpool\n" "# repeat to add a storage pool to each node in the LINSTOR cluster\n" #. type: Title ==== #: openstack-linstor.adoc:130 #, no-wrap msgid "Install the LINSTOR driver file" msgstr "安装LINSTOR驱动程序文件" #. type: Plain text #: openstack-linstor.adoc:137 msgid "" "The _linstor driver_ will be officially available starting OpenStack Stein " "release. The latest release is located at " "https://github.com/LINBIT/openstack-cinder/blob/stein-" "linstor/cinder/volume/drivers/linstordrv.py[LINBIT OpenStack Repo]. It is a" " single Python file called *linstordrv.py*. Depending on your OpenStack " "installation, its destination may vary." msgstr "" "linstor驱动程序将从OpenStack " "Stein版本开始正式提供。最新版本位于 " "https://github.com/LINBIT/openstack-cinder/blob/stein-" "linstor/cinder/volume/drivers/linstordrv.py[LINBIT OpenStack Repo]. " "它是一个名为 *linstordrv.py* 的Python文件。根据OpenStack的安装,其目标可能会有所不同。" #. type: Plain text #: openstack-linstor.adoc:140 msgid "" "Place the driver ( linstordrv.py ) in an appropriate location within your " "OpenStack Cinder node." msgstr "将驱动程序(linstordrv.py)放置在OpenStack Cinder节点中的适当位置。" #. type: Plain text #: openstack-linstor.adoc:142 openstack-linstor.adoc:213 msgid "For Devstack:" msgstr "对于Devstack:" #. type: delimited block - #: openstack-linstor.adoc:145 #, no-wrap msgid "/opt/stack/cinder/cinder/volume/drivers/linstordrv.py\n" msgstr "/opt/stack/cinder/cinder/volume/drivers/linstordrv.py\n" #. type: Plain text #: openstack-linstor.adoc:148 msgid "For Ubuntu:" msgstr "对于Ubuntu:" #. type: delimited block - #: openstack-linstor.adoc:151 #, no-wrap msgid "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/linstordrv.py\n" msgstr "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/linstordrv.py\n" #. type: Plain text #: openstack-linstor.adoc:154 openstack-linstor.adoc:221 msgid "For RDO Packstack:" msgstr "对于RDO Packstack:" #. type: delimited block - #: openstack-linstor.adoc:157 #, no-wrap msgid "/usr/lib/python2.7/site-packages/cinder/volume/drivers/linstordrv.py\n" msgstr "/usr/lib/python2.7/site-packages/cinder/volume/drivers/linstordrv.py\n" #. type: Title === #: openstack-linstor.adoc:161 #, no-wrap msgid "Cinder Configuration for LINSTOR" msgstr "Cinder配置" #. type: Title ==== #: openstack-linstor.adoc:164 #, no-wrap msgid "" "Edit Cinder configuration file *cinder.conf* in /etc/cinder/ as follows:" msgstr "在/etc/cinder/中编辑Cinder配置文件 *Cinder.conf* ,如下所示:" #. type: Title ===== #: openstack-linstor.adoc:167 #, no-wrap msgid "Enable LINSTOR driver by adding 'linstor' to enabled_backends" msgstr "通过将 `linstor` 添加到已启用的后端来启用LINSTOR驱动程序" #. type: delimited block - #: openstack-linstor.adoc:174 #, no-wrap msgid "" "[DEFAULT]\n" "...\n" "enabled_backends=lvm, linstor\n" "...\n" msgstr "" "[DEFAULT]\n" "...\n" "enabled_backends=lvm, linstor\n" "...\n" #. type: Title ===== #: openstack-linstor.adoc:177 #, no-wrap msgid "Add the following configuration options at the end of the cinder.conf" msgstr "在cinder.conf的末尾添加以下配置选项" #. type: delimited block - #: openstack-linstor.adoc:188 #, no-wrap msgid "" "[linstor]\n" "volume_backend_name = linstor\n" "volume_driver = cinder.volume.drivers.linstordrv.LinstorDrbdDriver\n" "linstor_default_volume_group_name=drbdpool\n" "linstor_default_uri=linstor://localhost\n" "linstor_default_storage_pool_name=DfltStorPool\n" "linstor_default_resource_size=1\n" "linstor_volume_downsize_factor=4096\n" msgstr "" "[linstor]\n" "volume_backend_name = linstor\n" "volume_driver = cinder.volume.drivers.linstordrv.LinstorDrbdDriver\n" "linstor_default_volume_group_name=drbdpool\n" "linstor_default_uri=linstor://localhost\n" "linstor_default_storage_pool_name=DfltStorPool\n" "linstor_default_resource_size=1\n" "linstor_volume_downsize_factor=4096\n" #. type: Title ==== #: openstack-linstor.adoc:191 #, no-wrap msgid "Update Python python libraries for the driver" msgstr "更新驱动程序的Python库" #. type: delimited block - #: openstack-linstor.adoc:197 #, no-wrap msgid "" "sudo pip install google --upgrade\n" "sudo pip install protobuf --upgrade\n" "sudo pip install eventlet --upgrade\n" msgstr "" "sudo pip install google --upgrade\n" "sudo pip install protobuf --upgrade\n" "sudo pip install eventlet --upgrade\n" #. type: Title ==== #: openstack-linstor.adoc:200 #, no-wrap msgid "Create a new backend type for LINSTOR" msgstr "为LINSTOR创建新的后端类型" #. type: Plain text #: openstack-linstor.adoc:203 msgid "" "Run these commands from the Cinder node once environment variables are " "configured for OpenStack command line operation." msgstr "为OpenStack命令行操作配置环境变量后,从Cinder节点运行这些命令。" #. type: delimited block - #: openstack-linstor.adoc:207 #, no-wrap msgid "" "cinder type-create linstor\n" "cinder type-key linstor set volume_backend_name=linstor\n" msgstr "" "cinder type-create linstor\n" "cinder type-key linstor set volume_backend_name=linstor\n" #. type: Title ==== #: openstack-linstor.adoc:210 #, no-wrap msgid "Restart the Cinder services to finalize" msgstr "重新启动Cinder服务以完成" #. type: delimited block - #: openstack-linstor.adoc:218 #, no-wrap msgid "" "sudo systemctl restart devstack@c-vol.service\n" "sudo systemctl restart devstack@c-api.service\n" "sudo systemctl restart devstack@c-sch.service\n" msgstr "" "sudo systemctl restart devstack@c-vol.service\n" "sudo systemctl restart devstack@c-api.service\n" "sudo systemctl restart devstack@c-sch.service\n" #. type: delimited block - #: openstack-linstor.adoc:226 #, no-wrap msgid "" "sudo systemctl restart openstack-cinder-volume.service\n" "sudo systemctl restart openstack-cinder-api.service\n" "sudo systemctl restart openstack-cinder-scheduler.service\n" msgstr "" "sudo systemctl restart openstack-cinder-volume.service\n" "sudo systemctl restart openstack-cinder-api.service\n" "sudo systemctl restart openstack-cinder-scheduler.service\n" #. type: Plain text #: openstack-linstor.adoc:229 msgid "For full OpenStack:" msgstr "对于完整的OpenStack:" #. type: delimited block - #: openstack-linstor.adoc:234 #, no-wrap msgid "" "sudo systemctl restart cinder-volume.service\n" "sudo systemctl restart cinder-api.service\n" "sudo systemctl restart cinder-scheduler.service\n" msgstr "" "sudo systemctl restart cinder-volume.service\n" "sudo systemctl restart cinder-api.service\n" "sudo systemctl restart cinder-scheduler.service\n" #. type: Title ==== #: openstack-linstor.adoc:237 #, no-wrap msgid "Verify proper installation:" msgstr "验证安装是否正确:" #. type: Plain text #: openstack-linstor.adoc:241 msgid "" "Once the Cinder service is restarted, a new Cinder volume with LINSTOR " "backend may be created using the Horizon GUI or command line. Use following" " as a guide for creating a volume with the command line." msgstr "" "一旦Cinder服务重新启动,可以使用Horizon图形用户界面或命令行创建带有LINSTOR后端的新Cinder卷。使用以下命令行创建卷时,请参考。" #. type: delimited block - #: openstack-linstor.adoc:247 #, no-wrap msgid "" "# Check to see if there are any recurring errors with the driver.\n" "# Occasional 'ERROR' keyword associated with the database is normal.\n" "# Use Ctrl-C to stop the log output to move on.\n" "sudo systemctl -f -u devstack@c-* | grep error\n" msgstr "" "# Check to see if there are any recurring errors with the driver.\n" "# Occasional 'ERROR' keyword associated with the database is normal.\n" "# Use Ctrl-C to stop the log output to move on.\n" "sudo systemctl -f -u devstack@c-* | grep error\n" #. type: delimited block - #: openstack-linstor.adoc:255 #, no-wrap msgid "" "# Create a LINSTOR test volume. Once the volume is created, volume list\n" "# command should show one new Cinder volume. The 'linstor' command then\n" "# should list actual resource nodes within the LINSTOR cluster backing that\n" "# Cinder volume.\n" "openstack volume create --type linstor --size 1 --availability-zone nova linstor-test-vol\n" "openstack volume list\n" "linstor resource list\n" msgstr "" "# Create a LINSTOR test volume. Once the volume is created, volume list\n" "# command should show one new Cinder volume. The 'linstor' command then\n" "# should list actual resource nodes within the LINSTOR cluster backing that\n" "# Cinder volume.\n" "openstack volume create --type linstor --size 1 --availability-zone nova linstor-test-vol\n" "openstack volume list\n" "linstor resource list\n" #. type: Title ==== #: openstack-linstor.adoc:258 #, no-wrap msgid "Additional Configuration" msgstr "附加配置" #. type: Plain text #: openstack-linstor.adoc:261 msgid "More to come" msgstr "待补充" #. type: Title === #: openstack-linstor.adoc:264 #, no-wrap msgid "Choosing the Transport Protocol" msgstr "选择传输协议" #. type: Plain text #: openstack-linstor.adoc:267 msgid "There are two main ways to run DRBD/LINSTOR with Cinder:" msgstr "使用Cinder运行DRBD/LINSTOR有两种主要方法:" #. type: Plain text #: openstack-linstor.adoc:269 msgid "accessing storage via <>, and" msgstr "通过<>和" #. type: Plain text #: openstack-linstor.adoc:271 msgid "" "using <> on the wire " "with" msgstr "使用" #. type: Plain text #: openstack-linstor.adoc:272 msgid "LINSTOR." msgstr "LINSTOR." #. type: Plain text #: openstack-linstor.adoc:275 msgid "" "These are not exclusive; you can define multiple backends, have some of them" " use iSCSI, and others the DRBD protocol." msgstr "这些不是非此即彼的;您可以定义多个后端,其中一些使用iSCSI,另一些使用DRBD协议。" #. type: Title ==== #: openstack-linstor.adoc:278 #, no-wrap msgid "iSCSI Transport" msgstr "iSCSI传输" #. type: Plain text #: openstack-linstor.adoc:283 msgid "" "The default way to export Cinder volumes is via iSCSI. This brings the " "advantage of maximum compatibility - iSCSI can be used with every " "hypervisor, be it VMWare, Xen, HyperV, or KVM." msgstr "" "导出Cinder卷的默认方法是通过iSCSI。这带来了最大兼容性的优势 - 无论是VMWare、Xen、HyperV还是KVM,iSCSI都可以用于每个虚拟机监控程序。" #. type: Plain text #: openstack-linstor.adoc:287 msgid "" "The drawback is that all data has to be sent to a Cinder node, to be " "processed by an (userspace) iSCSI daemon; that means that the data needs to " "pass the kernel/userspace border, and these transitions will cost some " "performance." msgstr "" "缺点是,所有数据都必须发送到Cinder节点,由(userspace)iSCSI守护进程处理;这意味着数据需要通过内核/userspace边界,这些转换将消耗一些性能。" #. type: Title ==== #: openstack-linstor.adoc:290 #, no-wrap msgid "DRBD/LINSTOR Transport" msgstr "DRBD/LINSTOR传输" #. type: Plain text #: openstack-linstor.adoc:296 msgid "" "The alternative is to get the data to the VMs by using DRBD as the transport" " protocol. This means that DRBD 9footnote:[LINSTOR must be installed on " "Cinder node. Please see the note at <>.] needs to be installed on the Cinder node as well." msgstr "" "另一种方法是使用DRBD作为传输协议将数据传输到VMs。这意味着DRBD " "9 footnote:[LINSTOR必须安装在Cinder节点上。请参见<.]也需要安装在Cinder节点上。" #. type: Plain text #: openstack-linstor.adoc:300 msgid "" "Since OpenStack only functions in Linux, using DRBD/LINSTOR Transport " "restricts deployment only on Linux hosts with KVM at the moment." msgstr "由于OpenStack只在Linux中运行,因此使用DRBD/LINSTOR传输目前仅限制在具有KVM的Linux主机上部署。" #. type: Plain text #: openstack-linstor.adoc:307 msgid "" "One advantage of that solution is that the storage access requests of the " "VMs can be sent via the DRBD kernel module to the storage nodes, which can " "then directly access the allocated LVs; this means no Kernel/Userspace " "transitions on the data path, and consequently better performance. Combined " "with RDMA capable hardware you should get about the same performance as with" " VMs accessing a FC backend directly." msgstr "" "该解决方案的一个优点是,vm的存储访问请求可以通过DRBD内核模块发送到存储节点,然后存储节点可以直接访问分配的lv;这意味着数据路径上没有内核/用户空间转换,因此性能更好。结合支持RDMA的硬件,您应该获得与VMs直接访问FC后端相同的性能。" #. type: Plain text #: openstack-linstor.adoc:312 msgid "" "Another advantage is that you will be implicitly benefitting from the HA " "background of DRBD: using multiple storage nodes, possibly available over " "different network connections, means redundancy and avoiding a single point " "of failure." msgstr "另一个优点是,您将从DRBD的HA背景中隐式获益:使用多个存储节点(可能在不同的网络连接上可用)意味着冗余并避免单点故障。" #. type: Plain text #: openstack-linstor.adoc:321 msgid "" "Default configuration options for Cinder driver assumes the Cinder node to " "be a *Diskless* LINSTOR node. If the node is a *Diskful* node, please " "change the 'linstor_controller_diskless=True' to " "'linstor_controller_diskless=False' and restart the Cinder services." msgstr "" "Cinder驱动程序的默认配置选项假定Cinder节点是一个 *无磁盘* LINSTOR节点。如果节点是 *Diskful* 节点,请将 `linstor_controller_diskless=True` 更改为 `linstor_controller_diskless=False` ,然后重新启动Cinder服务。" #. type: Title ==== #: openstack-linstor.adoc:325 #, no-wrap msgid "Configuring the Transport Protocol" msgstr "配置传输协议" #. type: Plain text #: openstack-linstor.adoc:332 msgid "" "In the LINSTOR section in `cinder.conf` you can define which transport " "protocol to use. The initial setup described at the beginning of this " "chapter is set to use DRBD transport. You can configure as necessary as " "shown below. Then Horizonfootnote:[The OpenStack GUI] should offer these " "storage backends at volume creation time." msgstr "" "在 `cinder.conf` 的LINSTOR部分中,可以定义要使用的传输协议。本章开头描述的初始设置被设置为使用DRBD传输。您可以根据需要进行如下配置。那么Horizonfootnote:[OpenStack" " GUI]应该在卷创建时提供这些存储后端。" #. type: Plain text #: openstack-linstor.adoc:335 msgid "To use iSCSI with LINSTOR:" msgstr "要在LINSTOR中使用iSCSI,请执行以下操作:" #. type: delimited block - #: openstack-linstor.adoc:338 #, no-wrap msgid "" " " "volume_driver=cinder.volume.drivers.drbdmanagedrv.DrbdManageIscsiDriver\n" msgstr "" " " "volume_driver=cinder.volume.drivers.drbdmanagedrv.DrbdManageIscsiDriver\n" #. type: Plain text #: openstack-linstor.adoc:341 msgid "To use DRBD Kernel Module with LINSTOR:" msgstr "要将DRBD内核模块与LINSTOR一起使用,请执行以下操作:" #. type: delimited block - #: openstack-linstor.adoc:344 #, no-wrap msgid "" " volume_driver=cinder.volume.drivers.drbdmanagedrv.DrbdManageDrbdDriver\n" msgstr "" " volume_driver=cinder.volume.drivers.drbdmanagedrv.DrbdManageDrbdDriver\n" #. type: Plain text #: openstack-linstor.adoc:348 msgid "" "The old class name \"DrbdManageDriver\" is being kept for the time because " "of compatibility reasons; it's just an alias to the iSCSI driver." msgstr "由于兼容性原因,旧类名 `DrbdManageDriver` 暂时保留;它只是iSCSI驱动程序的别名。" #. type: Plain text #: openstack-linstor.adoc:351 msgid "To summarize:" msgstr "总结一下:" #. type: Plain text #: openstack-linstor.adoc:353 msgid "" "You'll need the LINSTOR Cinder driver 0.1.0 or later, and LINSTOR 0.6.5" msgstr "你需要LINSTOR Cinder驱动程序0.1.0或更高版本,LINSTOR 0.6.5" #. type: Plain text #: openstack-linstor.adoc:354 msgid "or later." msgstr "或者以后的版本。" #. type: Plain text #: openstack-linstor.adoc:356 msgid "The <> should be" msgstr "<>应该是" #. type: Plain text #: openstack-linstor.adoc:357 msgid "preferred whenever possible; iSCSI won't offer any locality benefits." msgstr "尽可能首选;iSCSI不会提供任何本地好处。" #. type: Plain text #: openstack-linstor.adoc:359 msgid "Take care to not run out of disk space, especially with thin volumes." msgstr "注意不要耗尽磁盘空间,特别是对于精简卷。"