# 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-02 15:09+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 == #: opennebula-linstor.adoc:2 #, no-wrap msgid "LINSTOR Volumes in OpenNebula" msgstr "OpenNebula中的LINSTOR卷" #. type: Plain text #: opennebula-linstor.adoc:7 msgid "" "indexterm:[OpenNebula]This chapter describes DRBD in OpenNebula via the " "usage of the https://github.com/OpenNebula/addon-linstor[LINSTOR storage " "driver addon]." msgstr "" "indexterm:[OpenNebula]本章通过使用 https://github.com/OpenNebula/addon-linstor[LINSTOR storage driver addon] 描述OpenNebula中的DRBD。" #. type: Plain text #: opennebula-linstor.adoc:11 msgid "" "Detailed installation and configuration instructions and be found in the " "https://github.com/OpenNebula/addon-linstor/blob/master/README.md[README.md]" " file of the driver's source." msgstr "" "详细的安装和配置说明,请参见驱动程序源的 https://github.com/OpenNebula/addon-linstor/blob/master/README.md[README.md] 文件。" #. type: Title === #: opennebula-linstor.adoc:13 #, no-wrap msgid "OpenNebula Overview" msgstr "OpenNebula概述" #. type: Plain text #: opennebula-linstor.adoc:18 msgid "" "http://opennebula.org/[OpenNebula] is a flexible and open source cloud " "management platform which allows its functionality to be extended via the " "use of addons." msgstr "http://opennebula.org/[OpenNebula]是一个灵活的开源云管理平台,允许通过使用插件扩展其功能。" #. type: Plain text #: opennebula-linstor.adoc:22 msgid "" "The LINSTOR addon allows the deployment of virtual machines with highly " "available images backed by DRBD and attached across the network via DRBD's " "own transport protocol." msgstr "LINSTOR插件允许部署具有由DRBD支持并通过DRBD自己的传输协议连接到网络上的高可用映像的虚拟机。" #. type: Title === #: opennebula-linstor.adoc:24 #, no-wrap msgid "OpenNebula addon Installation" msgstr "OpenNebula插件安装" #. type: Plain text #: opennebula-linstor.adoc:28 msgid "" "Installation of the LINSTOR storage addon for OpenNebula requires a working " "OpenNebula cluster as well as a working LINSTOR cluster." msgstr "为OpenNebula安装linstorage插件需要一个工作的OpenNebula集群以及一个工作的LINSTOR集群。" #. type: Plain text #: opennebula-linstor.adoc:30 msgid "" "With access to LINBIT's customer repositories you can install the linstor-" "opennebula with" msgstr "通过访问LINBIT的客户仓库,您可以使用" #. type: delimited block - #: opennebula-linstor.adoc:33 #, no-wrap msgid "# apt install linstor-opennebula\n" msgstr "# apt install linstor-opennebula\n" #. type: Plain text #: opennebula-linstor.adoc:36 msgid "or" msgstr "或" #. type: delimited block - #: opennebula-linstor.adoc:39 #, no-wrap msgid "# yum install linstor-opennebula\n" msgstr "# yum install linstor-opennebula\n" #. type: Plain text #: opennebula-linstor.adoc:43 msgid "" "Without access to LINBIT's prepared packages you need to fall back to " "instructions on it's https://github.com/OpenNebula/addon-linstor[GitHub " "page]." msgstr "" "如果无法访问LINBIT准备的包,您需要返回阅读 https://github.com/OpenNebula/addon-linstor[Github " "page] 上的说明。" #. type: Plain text #: opennebula-linstor.adoc:46 msgid "" "A DRBD cluster with LINSTOR can be installed and configured by following the" " instructions in this guide, see <>." msgstr "可以按照指南中的说明安装和配置带有LINSTOR的DRBD集群,请参见<>。" #. type: Plain text #: opennebula-linstor.adoc:50 msgid "" "The OpenNebula and DRBD clusters can be somewhat independent of one another " "with the following exception: OpenNebula's Front-End and Host nodes must be " "included in both clusters." msgstr "OpenNebula和DRBD集群可以相互独立,但以下情况除外:OpenNebula的前端和主机节点必须包含在这两个集群中。" #. type: Plain text #: opennebula-linstor.adoc:54 msgid "" "Host nodes do not need a local LINSTOR storage pools, as virtual machine " "images are attached to them across the network footnote:[If a host is also a" " storage node, it will use a local copy of an image if that is available]." msgstr "" "主机节点不需要本地LINSTOR存储池,因为虚拟机映像是通过网络连接到它的。 footnote:[如果主机也是存储节点,则它将使用映像的本地副本(如果该副本可用)。]。" #. type: Title === #: opennebula-linstor.adoc:56 #, no-wrap msgid "Deployment Options" msgstr "部署选项" #. type: Plain text #: opennebula-linstor.adoc:61 msgid "" "It is recommended to use LINSTOR resource groups to configure the deployment" " how you like it, see <>. Previous auto-place " "and deployment nodes modes are deprecated." msgstr "" "建议使用LINSTOR资源组配置您喜欢的部署,请参见<>。不推荐使用以前的自动放置和部署节点模式, 因为已经过时了。" #. type: Title === #: opennebula-linstor.adoc:64 #, no-wrap msgid "Configuration" msgstr "配置" #. type: Title ==== #: opennebula-linstor.adoc:66 #, no-wrap msgid "Adding the driver to OpenNebula" msgstr "将驱动程序添加到OpenNebula" #. type: Plain text #: opennebula-linstor.adoc:69 msgid "Modify the following sections of `/etc/one/oned.conf`" msgstr "修改 `/etc/one/oned.conf` 的以下部分`" #. type: Plain text #: opennebula-linstor.adoc:72 msgid "" "Add linstor to the list of drivers in the `TM_MAD` and `DATASTORE_MAD` " "sections:" msgstr "将linstor添加到 `TM MAD` 和 `DATASTORE MAD` 部分的驱动程序列表中:" #. type: delimited block - #: opennebula-linstor.adoc:78 #, no-wrap msgid "" "TM_MAD = [\n" " executable = \"one_tm\",\n" " arguments = \"-t 15 -d dummy,lvm,shared,fs_lvm,qcow2,ssh,vmfs,ceph,linstor\"\n" "]\n" msgstr "" "TM_MAD = [\n" " executable = \"one_tm\",\n" " arguments = \"-t 15 -d dummy,lvm,shared,fs_lvm,qcow2,ssh,vmfs,ceph,linstor\"\n" "]\n" #. type: delimited block - #: opennebula-linstor.adoc:83 #, no-wrap msgid "" "DATASTORE_MAD = [\n" " EXECUTABLE = \"one_datastore\",\n" " ARGUMENTS = \"-t 15 -d dummy,fs,lvm,ceph,dev,iscsi_libvirt,vcenter,linstor -s shared,ssh,ceph,fs_lvm,qcow2,linstor\"\n" msgstr "" "DATASTORE_MAD = [\n" " EXECUTABLE = \"one_datastore\",\n" " ARGUMENTS = \"-t 15 -d dummy,fs,lvm,ceph,dev,iscsi_libvirt,vcenter,linstor -s shared,ssh,ceph,fs_lvm,qcow2,linstor\"\n" #. type: Plain text #: opennebula-linstor.adoc:86 msgid "Add new TM_MAD_CONF and DS_MAD_CONF sections:" msgstr "添加新的TM_MAD_CONF和DS_MAD_CONF部分:" #. type: delimited block - #: opennebula-linstor.adoc:93 #, no-wrap msgid "" "TM_MAD_CONF = [\n" " NAME = \"linstor\", LN_TARGET = \"NONE\", CLONE_TARGET = \"SELF\", SHARED = \"yes\", ALLOW_ORPHANS=\"yes\",\n" " TM_MAD_SYSTEM = \"ssh,shared\", LN_TARGET_SSH = \"NONE\", CLONE_TARGET_SSH = \"SELF\", DISK_TYPE_SSH = \"BLOCK\",\n" " LN_TARGET_SHARED = \"NONE\", CLONE_TARGET_SHARED = \"SELF\", DISK_TYPE_SHARED = \"BLOCK\"\n" "]\n" msgstr "" "TM_MAD_CONF = [\n" " NAME = \"linstor\", LN_TARGET = \"NONE\", CLONE_TARGET = \"SELF\", SHARED = \"yes\", ALLOW_ORPHANS=\"yes\",\n" " TM_MAD_SYSTEM = \"ssh,shared\", LN_TARGET_SSH = \"NONE\", CLONE_TARGET_SSH = \"SELF\", DISK_TYPE_SSH = \"BLOCK\",\n" " LN_TARGET_SHARED = \"NONE\", CLONE_TARGET_SHARED = \"SELF\", DISK_TYPE_SHARED = \"BLOCK\"\n" "]\n" #. type: delimited block - #: opennebula-linstor.adoc:99 #, no-wrap msgid "" "DS_MAD_CONF = [\n" " NAME = \"linstor\", REQUIRED_ATTRS = \"BRIDGE_LIST\", PERSISTENT_ONLY = \"NO\",\n" " MARKETPLACE_ACTIONS = \"export\"\n" "]\n" msgstr "" "DS_MAD_CONF = [\n" " NAME = \"linstor\", REQUIRED_ATTRS = \"BRIDGE_LIST\", PERSISTENT_ONLY = \"NO\",\n" " MARKETPLACE_ACTIONS = \"export\"\n" "]\n" #. type: Plain text #: opennebula-linstor.adoc:101 msgid "After making these changes, restart the opennebula service." msgstr "完成这些更改后,重新启动opennebula服务。" #. type: Title ==== #: opennebula-linstor.adoc:103 #, no-wrap msgid "Configuring the Nodes" msgstr "配置节点" #. type: Plain text #: opennebula-linstor.adoc:106 msgid "" "The Front-End node issues commands to the Storage and Host nodes via Linstor" msgstr "前端节点通过Linstor向存储和主机节点发出命令" #. type: Plain text #: opennebula-linstor.adoc:108 msgid "Storage nodes hold disk images of VMs locally." msgstr "存储节点在本地保存vm的磁盘映像。" #. type: Plain text #: opennebula-linstor.adoc:112 msgid "" "Host nodes are responsible for running instantiated VMs and typically have " "the storage for the images they need attached across the network via Linstor" " diskless mode." msgstr "主机节点负责运行实例化的vm,通常通过Linstor无盘模式在网络上存储它们需要连接的映像。" #. type: Plain text #: opennebula-linstor.adoc:115 msgid "" "All nodes must have DRBD9 and Linstor installed. This process is detailed in" " the http://docs.linbit.com/doc/users-guide-90/ch-admin-linstor/[User's " "Guide for DRBD9]" msgstr "" "所有节点都必须安装DRBD9和Linstor。这个过程在 http://docs.linbit.com/doc/users-guide-90/ch-admin-listor/" "[DRBD9用户指南] 中有详细说明" #. type: Plain text #: opennebula-linstor.adoc:119 msgid "" "It is possible to have Front-End and Host nodes act as storage nodes in " "addition to their primary role as long as they the meet all the requirements" " for both roles." msgstr "只要前端和主机节点满足这两个角色的所有要求,它们就可以作为其主要角色之外的存储节点。" #. type: Title ===== #: opennebula-linstor.adoc:121 #, no-wrap msgid "Front-End Configuration" msgstr "前端配置" #. type: Plain text #: opennebula-linstor.adoc:127 msgid "" "Please verify that the control node(s) that you hope to communicate with are" " reachable from the Front-End node. `linstor node list` for locally running " "Linstor controllers and `linstor --controllers \"\" node list` for " "remotely running Linstor Controllers is a handy way to test this." msgstr "" "请验证您希望与之通信的控制节点是否可以从前端节点访问。 `linstor node list` 用于本地运行linstor控制器,而 `linstor --" "controllers \"\" node list` 用于远程运行linstor控制器,这是一种方便的测试方法。" #. type: Title ===== #: opennebula-linstor.adoc:128 #, no-wrap msgid "Host Configuration" msgstr "主机配置" #. type: Plain text #: opennebula-linstor.adoc:134 msgid "" "Host nodes must have Linstor satellite processes running on them and be " "members of the same Linstor cluster as the Front-End and Storage nodes, and " "may optionally have storage locally. If the `oneadmin` user is able to " "passwordlessly ssh between hosts then live migration may be used with the " "even with the ssh system datastore." msgstr "" "主机节点上必须运行Linstor satellite进程,并且与前端和存储节点属于同一Linstor集群,并且可以选择在本地存储。如果 `oneadmin` 用户能够在主机之间无密码地使用ssh,那么即使使用ssh系统数据存储,也可以使用实时迁移。" #. type: Title ===== #: opennebula-linstor.adoc:135 #, no-wrap msgid "Storage Node Configuration" msgstr "存储节点配置" #. type: Plain text #: opennebula-linstor.adoc:141 msgid "" "Only the Front-End and Host nodes require OpenNebula to be installed, but " "the oneadmin user must be able to passwordlessly access storage nodes. Refer" " to the OpenNebula install guide for your distribution on how to manually " "configure the oneadmin user account." msgstr "" "只有前端和主机节点需要安装OpenNebula,但oneadmin用户必须能够无密码访问存储节点。有关如何在发行版中手动配置oneadmin用户帐户,请参阅OpenNebula安装指南。" #. type: Plain text #: opennebula-linstor.adoc:144 msgid "" "The Storage nodes must use storage pools created with a driver that's " "capable of making snapshots, such as the thin LVM plugin." msgstr "存储节点必须使用由能够生成快照的驱动程序(如精简LVM插件)创建的存储池。" #. type: Plain text #: opennebula-linstor.adoc:147 msgid "" "In this example preparation of thinly-provisioned storage using LVM for " "Linstor, you must create a volume group and thinLV using LVM on each storage" " node." msgstr "在这个使用LVM for Linstor准备精简配置存储的示例中,必须在每个存储节点上创建卷组并使用LVM创建精简配置存储。" #. type: Plain text #: opennebula-linstor.adoc:151 msgid "" "Example of this process using two physical volumes (/dev/sdX and /dev/sdY) " "and generic names for the volume group and thinpool. Make sure to set the " "thinLV's metadata volume to a reasonable size, once it becomes full it can " "be difficult to resize:" msgstr "" "此过程的示例使用两个物理卷(/dev/sdX和/dev/sdY)以及卷组和thinpool的通用名称。请确保将thinLV的元数据卷设置为合理的大小,一旦它满了,就很难调整大小:" #. type: delimited block - #: opennebula-linstor.adoc:156 #, no-wrap msgid "" "pvcreate /dev/sdX /dev/sdY\n" "vgcreate drbdpool /dev/sdX /dev/sdY\n" "lvcreate -l 95%VG --poolmetadatasize 8g -T /dev/drbdpool/drbdthinpool\n" msgstr "" "pvcreate /dev/sdX /dev/sdY\n" "vgcreate drbdpool /dev/sdX /dev/sdY\n" "lvcreate -l 95%VG --poolmetadatasize 8g -T /dev/drbdpool/drbdthinpool\n" #. type: Plain text #: opennebula-linstor.adoc:159 msgid "" "Then you'll create storage pool(s) on Linstor using this as the backing " "storage." msgstr "然后在Linstor上创建存储池,并将其用作备份存储。" #. type: Title ==== #: opennebula-linstor.adoc:160 #, no-wrap msgid "Permissions for Oneadmin" msgstr "Oneadmin的权限" #. type: Plain text #: opennebula-linstor.adoc:164 msgid "" "The oneadmin user must have passwordless sudo access to the `mkfs` command " "on the Storage nodes" msgstr "oneadmin用户必须具有对存储节点上的 `mkfs` 命令的无密码sudo访问权限" #. type: delimited block - #: opennebula-linstor.adoc:167 #, no-wrap msgid "oneadmin ALL=(root) NOPASSWD: /sbin/mkfs\n" msgstr "oneadmin ALL=(root) NOPASSWD: /sbin/mkfs\n" #. type: Title ===== #: opennebula-linstor.adoc:169 #, no-wrap msgid "Groups" msgstr "组" #. type: Plain text #: opennebula-linstor.adoc:175 msgid "" "Be sure to consider the groups that oneadmin should be added to in order to " "gain access to the devices and programs needed to access storage and " "instantiate VMs. For this addon, the oneadmin user must belong to the `disk`" " group on all nodes in order to access the DRBD devices where images are " "held." msgstr "" "请确保考虑应该添加oneadmin的组,以便访问访问存储和实例化vm所需的设备和程序。对于此加载项,oneadmin用户必须属于所有节点上的 `disk` 组,才能访问保存镜像的DRBD设备。" #. type: delimited block - #: opennebula-linstor.adoc:178 #, no-wrap msgid "usermod -a -G disk oneadmin\n" msgstr "usermod -a -G disk oneadmin\n" #. type: Title ==== #: opennebula-linstor.adoc:180 #, no-wrap msgid "Creating a New Linstor Datastore" msgstr "创建新的Linstor数据存储" #. type: Plain text #: opennebula-linstor.adoc:188 msgid "" "Create a datastore configuration file named ds.conf and use the " "`onedatastore` tool to create a new datastore based on that configuration. " "There are two mutually exclusive deployment options: LINSTOR_AUTO_PLACE and " "LINSTOR_DEPLOYMENT_NODES. If both are configured, LINSTOR_AUTO_PLACE is " "ignored. For both of these options, BRIDGE_LIST must be a space separated " "list of all storage nodes in the Linstor cluster." msgstr "" "创建一个名为ds.conf的数据存储配置文件,并使用 `onedatastore` 工具基于该配置创建一个新的数据存储。有两个相互排斥的部署选项:LINSTOR_AUTO_PLACE和LINSTOR_deployment_NODES。如果两者都已配置,则忽略LINSTOR_AUTO_PLACE。对于这两个选项,BRIDGE_LIST必须是Linstor集群中所有存储节点的空间分隔列表。" #. type: Title ==== #: opennebula-linstor.adoc:190 #, no-wrap msgid "OpenNebula resource group" msgstr "OpenNebula资源组" #. type: Plain text #: opennebula-linstor.adoc:195 msgid "" "Since version 1.0.0 LINSTOR supports resource groups. A resource group is a " "centralized point for settings that all resources linked to that resource " "group share." msgstr "因为1.0.0版LINSTOR支持资源组。资源组是所有链接到该资源组的资源共享的设置的集中点。" #. type: Plain text #: opennebula-linstor.adoc:199 msgid "" "Create a resource group and volume group for your datastore, it is mandatory" " to specify a storage-pool within the resource group, otherwise monitoring " "space for opennebula will not work. Here we create one with 2 node " "redundency and use a created `opennebula-storagepool`:" msgstr "" "为数据存储创建资源组和卷组,必须在资源组中指定存储池,否则opennebula的监视空间将不起作用。在这里,我们创建一个具有2个节点的redundency,并使用创建好的 `opennebula-storagepool` " #. type: delimited block - #: opennebula-linstor.adoc:203 #, no-wrap msgid "" "linstor resource-group create OneRscGrp --place-count 2 --storage-pool opennebula-storagepool\n" "linstor volume-group create\n" msgstr "" "linstor resource-group create OneRscGrp --place-count 2 --storage-pool opennebula-storagepool\n" "linstor volume-group create\n" #. type: Plain text #: opennebula-linstor.adoc:206 msgid "Now add a OpenNebula datastore using the LINSTOR plugin:" msgstr "现在使用LINSTOR插件添加OpenNebula数据存储:" #. type: delimited block - #: opennebula-linstor.adoc:218 #, no-wrap msgid "" "cat >ds.conf <ds.conf <system_ds.conf <system_ds.conf <