# 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. # msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: 2020-03-02 15:09+0000\n" "PO-Revision-Date: 2020-03-05 15:33+0800\n" "Language: zh\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Last-Translator: \n" "Language-Team: \n" "X-Generator: Poedit 2.0.6\n" #. type: Title == #: administration-linstor.adoc:3 #, no-wrap msgid "Basic administrative tasks / Setup" msgstr "基本管理任务/设置" #. type: Plain text #: administration-linstor.adoc:10 msgid "" "LINSTOR is a configuration management system for storage on Linux systems. It manages LVM logical volumes and/or ZFS ZVOLs on a cluster of nodes. It leverages DRBD for " "replication between different nodes and to provide block storage devices to users and applications. It manages snapshots, encryption and caching of HDD backed data in SSDs via " "bcache." msgstr "" "LINSTOR是一个用于Linux系统上存储的配置管理系统。它管理节点集群上的LVM逻辑卷和/或ZFS ZVOLs。它利用DRBD在不同节点之间进行复制,并为用户和应用程序提供块存储设备。它通过bcache管理" "SSD中HDD备份数据的快照、加密和缓存。" #. Troubleshooting for LINSTOR guide? #. This chapter outlines typical administrative tasks encountered during #. day-to-day operations. It does not cover troubleshooting tasks, these #. are covered in detail in <>. #. type: Title === #: administration-linstor.adoc:20 #, no-wrap msgid "Concepts and Terms" msgstr "概念和术语" #. type: Plain text #: administration-linstor.adoc:24 msgid "" "This section goes over core concepts and terms that you will need to familiarize yourself with to understand how LINSTOR works and deploys storage. The section is laid out in a " "\"ground up\" approach." msgstr "本节将介绍一些核心概念和术语,您需要熟悉这些概念和术语才能理解LINSTOR是如何工作和部署存储的。这一部分是以 \"ground up\" 的方式布置的。" #. type: Title ==== #: administration-linstor.adoc:26 #, no-wrap msgid "Installable Components" msgstr "可安装组件" #. type: Title ===== #: administration-linstor.adoc:27 #, no-wrap msgid "linstor-controller" msgstr "linstor-controller" #. type: Plain text #: administration-linstor.adoc:29 msgid "A LINSTOR setup requires at least one active controller and one or more satellites." msgstr "LINSTOR设置至少需要一个活动的controller和一个或多个satellites。" #. Once the chapter on making your controller HA is done we need to link that #. here #. type: Plain text #: administration-linstor.adoc:37 msgid "" "The _linstor-controller_ contains the database that holds all configuration information for the whole cluster. It makes all decisions that need to have a view of the whole " "cluster. The controller is typically deployed as a HA service using Pacemaker and DRBD as it is a crucial part of the system. Multiple controllers can be used for LINSTOR but " "only one can be active." msgstr "" "_linstor-controller_ 包含保存整个集群的所有配置信息的数据库。它做出所有需要查看整个集群的决策。由于控制器是系统的关键部分,因此通常使用Pacemaker和DRBD将其部署为HA服务。多个控制" "器可用于LINSTOR,但只能有一个处于活动状态。" #. type: Title ===== #: administration-linstor.adoc:38 #, no-wrap msgid "linstor-satellite" msgstr "linstor-satellite" #. type: Plain text #: administration-linstor.adoc:43 msgid "" "The _linstor-satellite_ runs on each node where LINSTOR consumes local storage or provides storage to services. It is stateless; it receives all the information it needs from " "the controller. It runs programs like `lvcreate` and `drbdadm`. It acts like a node agent." msgstr "" "_linstor-satellite_ 运行在每个LINSTOR使用本地存储或为服务提供存储的节点上。它是无状态的;它从控制器接收所需的所有信息。它运行 `lvcreate` 和 `drbdadm` 等程序。它行为方式就像一个" "节点代理。" #. type: Title ===== #: administration-linstor.adoc:44 #, no-wrap msgid "linstor-client" msgstr "linstor-client" #. type: Plain text #: administration-linstor.adoc:47 msgid "The _linstor-client_ is a command line utility that you use to issue commands to the system and to investigate the status of the system." msgstr "_linstor-client_ 是一个命令行实用程序,用于向系统发送命令并检查系统的状态。" #. type: Title ==== #: administration-linstor.adoc:48 #, no-wrap msgid "Objects" msgstr "对象" #. type: Plain text #: administration-linstor.adoc:51 msgid "Objects are the end result which LINSTOR presents to the end-user or application, such as; Kubernetes/OpenShift, a replicated block device (DRBD), NVMeOF target, etc." msgstr "对象是LINSTOR呈现给最终用户或应用程序的最终结果,例如Kubernetes/OpenShift、复制块设备(DRBD)、NVMeOF目标等。" #. type: Plain text #: administration-linstor.adoc:52 administration-linstor.adoc:792 #, no-wrap msgid "Node" msgstr "节点" #. type: Plain text #: administration-linstor.adoc:55 msgid "Node's are a server or container that participate in a LINSTOR cluster. The _Node_ attribute defines:" msgstr "节点是参与LINSTOR集群的服务器或容器。 _Node_ 属性定义如下:" #. type: Plain text #: administration-linstor.adoc:57 msgid "Determines which LINSTOR cluster the node participates in" msgstr "确定节点参与哪个LINSTOR集群" #. type: Plain text #: administration-linstor.adoc:58 msgid "Sets the role of the node: Controller, Satellite, Auxiliary" msgstr "设置节点的角色:Controller, Satellite, Auxiliary" #. type: Plain text #: administration-linstor.adoc:59 #, no-wrap msgid "*NetInterface* objects define the node's connectivity\n" msgstr "*网络接口* 对象定义了节点的网络连接\n" #. type: Title ===== #: administration-linstor.adoc:60 #, no-wrap msgid "NetInterface" msgstr "网络接口" #. type: Plain text #: administration-linstor.adoc:62 msgid "As the name implies, this is how you define the interface/address of a node's network interface." msgstr "顾名思义,这就是定义节点网络接口的接口/地址的方式。" #. type: Title ===== #: administration-linstor.adoc:63 #, no-wrap msgid "Definitions" msgstr "Definitions" #. type: Plain text #: administration-linstor.adoc:69 msgid "" "Definitions define attributes of an object, they can be thought of as profile or template. Objects created will inherit the configuration defined in the definitions. A " "definition must be defined prior to creating the associated object. For example; you must create a _ResourceDefinition_ prior to creating the _Resource_" msgstr "" "Definitions定义了一个对象的属性,它们可以被看作是概要文件或模板。创建的对象将继承definitions中定义的配置。必须在创建关联对象之前定义definitions。例如,在创建 _Resource_ 之前,必" "须先创建 _ResourceDefinition__" #. type: Labeled list #: administration-linstor.adoc:70 #, no-wrap msgid "StoragePoolDefinition :" msgstr "StoragePoolDefinition :" #. type: Plain text #: administration-linstor.adoc:72 msgid "Defines the name of a storage pool" msgstr "定义存储池的名称" #. type: Labeled list #: administration-linstor.adoc:73 #, no-wrap msgid "ResourceDefinition :" msgstr "ResourceDefinition :" #. type: Plain text #: administration-linstor.adoc:75 msgid "Resource definitions define the following attributes of a resource:" msgstr "资源 definitions定义资源的以下属性:" #. type: Plain text #: administration-linstor.adoc:76 msgid "The name of a DRBD resource" msgstr "DRBD资源的名称" #. type: Plain text #: administration-linstor.adoc:77 msgid "The TCP port for DRBD to use for the resource's connection" msgstr "用于资源连接的DRBD的TCP端口" #. type: Labeled list #: administration-linstor.adoc:78 #, no-wrap msgid "VolumeDefinition :" msgstr "VolumeDefinition :" #. type: Plain text #: administration-linstor.adoc:80 msgid "Volume definitions define the following:" msgstr "Volume definitions 定义如下:" #. type: Plain text #: administration-linstor.adoc:82 msgid "A volume of a DRBD resource" msgstr "DRBD资源的卷" #. type: Plain text #: administration-linstor.adoc:83 msgid "The size of the volume" msgstr "卷的大小" #. type: Plain text #: administration-linstor.adoc:84 msgid "The volume number of the DRBD resource's volume" msgstr "DRBD资源卷的卷号" #. type: Plain text #: administration-linstor.adoc:85 msgid "The meta data properties of the volume" msgstr "卷的元数据属性" #. type: Plain text #: administration-linstor.adoc:86 msgid "The minor number to use for the DRBD device associated with the DRBD volume" msgstr "用于与DRBD卷关联的DRBD设备的次要编号" #. type: Title ===== #: administration-linstor.adoc:87 #, no-wrap msgid "StoragePool" msgstr "StoragePool" #. type: Plain text #: administration-linstor.adoc:89 msgid "The _StoragePool_ identifies storage in the context of LINSTOR. It defines:" msgstr "_StoragePool_ 用于标识LINSTOR上下文中的存储。它定义了:" #. type: Plain text #: administration-linstor.adoc:91 msgid "The configuration of a storage pool on a specific node" msgstr "特定节点上存储池的配置" #. type: Plain text #: administration-linstor.adoc:92 msgid "The storage back-end driver to use for the storage pool on the cluster node (LVM, ZFS, etc)" msgstr "用于群集节点上的存储池的存储后端驱动程序(LVM、ZFS等)" #. type: Plain text #: administration-linstor.adoc:93 msgid "The parameters and configuration to pass to the storage backed driver" msgstr "要传递给存储备份驱动程序的参数和配置" #. type: Plain text #: administration-linstor.adoc:94 administration-linstor.adoc:790 #, no-wrap msgid "Resource" msgstr "Resource" #. type: Plain text #: administration-linstor.adoc:97 msgid "LINSTOR has now has expanded its capabilities to manage a broader set of storage technologies outside of just DRBD. A _Resource_:" msgstr "LINSTOR现在已经扩展了它的能力,在DRBD之外管理更广泛的存储技术。 _Resource_ 包括:" #. type: Plain text #: administration-linstor.adoc:99 msgid "Represents the placement of a DRBD resource, as defined within the _ResourceDefinition_" msgstr "表示在 _ResourceDefinition_ 中定义的DRBD资源的位置" #. type: Plain text #: administration-linstor.adoc:100 msgid "Places a resource on a node in the cluster" msgstr "在群集中的节点上放置资源" #. type: Plain text #: administration-linstor.adoc:101 msgid "Defines the placement of a _ResourceDefinition_ on a node" msgstr "定义节点上 _ResourceDefinition_ 的位置" #. type: Title ===== #: administration-linstor.adoc:102 #, no-wrap msgid "Volume" msgstr "Volume" #. type: Plain text #: administration-linstor.adoc:107 msgid "" "Volumes are a subset of a _Resource_. A _Resource_ could have multiple volumes, for example you may wish to have your database stored on slower storage than your logs in your " "MySQL cluster. By keeping the _volumes_ under a single _resource_ you are essentially creating a consistency group. The _Volume_ attribute can define also define attributes " "on a more granular level." msgstr "" "Volumes是 _Resource_ 的子集。一个 _Resource_ 可能有多个volumes,例如,您可能希望将数据库存储在比MySQL集群中的日志慢的存储上。通过将 _volumes_ 保持在单个 _resource_ 下,实际上就" "是在创建一致性组。 _Volume_ 属性还可以定义更细粒度级别的属性。" #. type: Title === #: administration-linstor.adoc:109 #, no-wrap msgid "Broader Context" msgstr "更广泛的背景" #. type: Plain text #: administration-linstor.adoc:116 msgid "" "While LINSTOR might be used to make the management of DRBD more convenient, it is often integrated with software stacks higher up. Such integration exist already for " "Kubernetes, OpenStack, OpenNebula and Proxmox. Chapters specific to deploying LINSTOR in these environments are included in this guide." msgstr "" "虽然LINSTOR可以用来使DRBD的管理更加方便,但它通常与更高层次的软件栈集成。这种集成已经存在于Kubernetes、OpenStack、OpenNebula和Proxmox中。本指南中包含了在这些环境中部署LINSTOR的" "特定章节。" #. type: Plain text #: administration-linstor.adoc:118 msgid "The southbound drivers used by LINSTOR are LVM, thinLVM and ZFS." msgstr "LINSTOR使用的南向驱动程序是LVM、thinLVM和ZFS。" #. type: Title === #: administration-linstor.adoc:120 #, no-wrap msgid "Packages" msgstr "包" #. type: Plain text #: administration-linstor.adoc:123 msgid "LINSTOR is packaged in both the .rpm and the .deb variants:" msgstr "LINSTOR以.rpm和.deb两种包分发:" #. type: Plain text #: administration-linstor.adoc:127 msgid "_linstor-client_ contains the command line client program. It depends on python which is usually already installed. In RHEL 8 systems you will need to symlink python" msgstr "_linstor-client_ 包含命令行客户端程序。这取决于通常已经安装的python。在RHEL8系统中,需要创建python符号链接" #. type: Plain text #: administration-linstor.adoc:130 msgid "" "_linstor-controller_ and _linstor-satellite_ Both contain systemd unit files for the services. They depend on Java runtime environment (JRE) version 1.8 (headless) or higher." msgstr "_linstor-controller_ 和 _linstor-satellite_ 都包含服务的系统单元文件。它们依赖于Java runtime environment(JRE)1.8版(headless)或更高版本。" #. type: Plain text #: administration-linstor.adoc:133 msgid "For further detail about these packages see the <> section above." msgstr "有关这些软件包的更多详细信息,请参见上面的<>部分。" #. type: Plain text #: administration-linstor.adoc:136 msgid "If you have a support subscription to LINBIT, you will have access to our certified binaries via our repositories." msgstr "如果您订阅了LINBIT的支持,那么您将可以通过我们的官方仓库访问我们经过认证的二进制文件。" #. type: Title === #: administration-linstor.adoc:138 #, no-wrap msgid "Installation" msgstr "安装" #. type: Plain text #: administration-linstor.adoc:141 msgid "If you want to use LINSTOR in containers skip this Topic and use the \"Containers\" section below for the installation." msgstr "如果要在容器中使用LINSTOR,请跳过此主题并使用下面的 \"容器\" 部分进行安装。" #. type: Title ==== #: administration-linstor.adoc:145 #, no-wrap msgid "Ubuntu Linux" msgstr "Ubuntu Linux" #. type: Plain text #: administration-linstor.adoc:149 msgid "" "If you want to have the option of creating replicated storage using DRBD, you will need to install _drbd-dkms_ and _drbd-utils_. These packages will need to be installed on all " "nodes. You will also need to choose a volume manager, either ZFS or LVM, in this instance we're using LVM." msgstr "如果您想选择使用DRBD创建复制存储,则需要安装 _drbd-dkms_ 和 _drbd-utils_ 。这些包需要安装在所有节点上。您还需要选择一个卷管理器,ZFS或LVM,在本例中我们使用的是LVM。" #. type: delimited block - #: administration-linstor.adoc:152 #, no-wrap msgid "# apt install -y drbd-dkms drbd-utils lvm2\n" msgstr "# apt install -y drbd-dkms drbd-utils lvm2\n" #. type: Plain text #: administration-linstor.adoc:155 administration-linstor.adoc:189 administration-linstor.adoc:219 msgid "" "Depending on whether your node is a LINSTOR controller, satellite, or both (Combined) will determine what packages are required on that node. For combined type nodes, we'll " "need both the controller and satellite LINSTOR package." msgstr "根据节点是LINSTOR controller、satellite还是两者(组合)将确定该节点上需要哪些包。对于组合型节点,我们需要controller和satellite 的LINSTOR包。" #. type: Plain text #: administration-linstor.adoc:157 administration-linstor.adoc:191 administration-linstor.adoc:223 msgid "Combined node:" msgstr "组合节点:" #. type: delimited block - #: administration-linstor.adoc:160 #, no-wrap msgid "# apt install linstor-controller linstor-satellite linstor-client\n" msgstr "# apt install linstor-controller linstor-satellite linstor-client\n" #. type: Plain text #: administration-linstor.adoc:163 administration-linstor.adoc:197 administration-linstor.adoc:229 msgid "That will make our remaining nodes our Satellites, so we'll need to install the following packages on them:" msgstr "这将使我们剩余的节点成为我们的Satellites,因此我们需要在它们上安装以下软件包:" #. type: delimited block - #: administration-linstor.adoc:166 #, no-wrap msgid "# apt install linstor-satellite linstor-client\n" msgstr "# apt install linstor-satellite linstor-client\n" #. type: Title ==== #: administration-linstor.adoc:170 #, no-wrap msgid "SUSE Linux Enterprise Server" msgstr "SUSE Linux企业服务器" #. type: Plain text #: administration-linstor.adoc:174 msgid "SLES High Availability Extension (HAE) includes DRBD." msgstr "SLES高可用性扩展(HAE)包括DRBD。" #. type: Plain text #: administration-linstor.adoc:177 msgid "On SLES, DRBD is normally installed via the software installation component of YaST2. It comes bundled with the High Availabilty package selection." msgstr "在SLES上,DRBD通常通过YaST2的软件安装组件安装。它与高可用性软件包捆绑在一起。" #. type: Plain text #: administration-linstor.adoc:180 msgid "" "As we download DRBD's newest module we can check if the LVM-tools are up to date as well. User who prefer a command line install may simply issue the following command to get " "the newest DRBD and LVM version:" msgstr "当我们下载DRBD的最新模块时,我们可以检查LVM工具是否也是最新的。喜欢命令行安装的用户可用以下命令获得最新的DRBD和LVM版本:" #. type: delimited block - #: administration-linstor.adoc:183 #, no-wrap msgid "# zypper install drbd lvm2\n" msgstr "# zypper install drbd lvm2\n" #. type: delimited block - #: administration-linstor.adoc:194 #, no-wrap msgid "# zypper install linstor-controller linstor-satellite linstor-client\n" msgstr "# zypper install linstor-controller linstor-satellite linstor-client\n" #. type: delimited block - #: administration-linstor.adoc:200 #, no-wrap msgid "# zypper install linstor-satellite linstor-client\n" msgstr "# zypper install linstor-satellite linstor-client\n" #. type: Title ==== #: administration-linstor.adoc:204 #, no-wrap msgid "CentOS" msgstr "CentOS" #. type: Plain text #: administration-linstor.adoc:209 msgid "" "CentOS has had DRBD 8 since release 5. For DRBD 9 you'll need to look at EPEL and similar sources. Alternatively, if you have an active support contract with LINBIT you can " "utilize our RHEL 8 repositories. DRBD can be installed using `yum`. We can also check for the newest version of the LVM-tools as well." msgstr "" "CentOS从第5版开始就有了DRBD 8。对于DRBD 9,您需要查看EPEL和类似的源代码。或者,如果您与LINBIT有签订支持合同,您可以利用我们的RHEL 8存储库。可以使用 `yum` 安装DRBD。我们也可以检" "查最新版本的LVM工具。" #. type: Plain text #: administration-linstor.adoc:212 msgid "LINSTOR *requires* DRBD 9 if you wish to have replicated storage. This requires an external repository to be configured, either LINBIT's or a 3rd parties." msgstr "如果要复制存储,LINSTOR *需要* DRBD 9。这需要配置外部存储库,可以是LINBIT的,也可以是第三方的。" #. type: delimited block - #: administration-linstor.adoc:215 #, no-wrap msgid "# yum install drbd kmod-drbd lvm2\n" msgstr "# yum install drbd kmod-drbd lvm2\n" #. type: Plain text #: administration-linstor.adoc:221 msgid "On RHEL 8 systems you will need to install python2 for the linstor-client to work." msgstr "在RHEL8系统上,需要安装python2才能让linstor客户端工作。" #. type: delimited block - #: administration-linstor.adoc:226 #, no-wrap msgid "# yum install linstor-controller linstor-satellite linstor-client\n" msgstr "# yum install linstor-controller linstor-satellite linstor-client\n" #. type: delimited block - #: administration-linstor.adoc:232 #, no-wrap msgid "# yum install linstor-satellite linstor-client\n" msgstr "# yum install linstor-satellite linstor-client\n" #. type: Title === #: administration-linstor.adoc:236 #, no-wrap msgid "Upgrading" msgstr "升级" #. type: Plain text #: administration-linstor.adoc:242 msgid "" "LINSTOR doesn't support rolling upgrade, controller and satellites must have the same version, otherwise the controller with discard the satellite with a `VERSION_MISMATCH`. " "But this isn't a problem, as the satellite won't do any actions as long it isn't connected to a controller and DRBD will not be disrupted by any means." msgstr "" "LINSTOR不支持滚动升级,controller和satellites必须具有相同的版本,否则controller将丢弃具有 `版本不匹配` 的satellite。但这不是问题,因为satellite不会做任何动作,只要它没有连接到" "controller,DRBD就不会被任何方式中断。" #. type: Plain text #: administration-linstor.adoc:248 msgid "" "If you are using the embedded default H2 database and the linstor-controller package is upgraded an automatic backup file of the database will be created in the default `/var/" "lib/linstor` directory. This file is a good restore point if for any reason a linstor-controller database migration should fail, than it is recommended to report the error to " "Linbit and restore the old database file and downgrade to your previous controller version." msgstr "" "如果您使用的是嵌入的H2数据库,并且升级了linstor-controller包,那么将在默认的 `/var/lib/linstor` 目录中创建数据库的自动备份文件。如果由于任何原因linstor-controller数据库迁移失" "败,则此文件是一个很好的还原点,建议将错误报告给Linbit并还原旧的数据库文件并降级到以前的controller版本。" #. type: Plain text #: administration-linstor.adoc:251 msgid "If you use any external database or etcd, it is recommended to do a manually backup of your current database to have a restore point." msgstr "如果使用任何外部数据库或etcd,建议手动备份当前数据库以获得还原点。" #. type: Plain text #: administration-linstor.adoc:256 msgid "" "So first upgrade the `linstor-controller`, `linstor-client` package on you controller host and restart the `linstor-controller`, the controller should start and all of it's " "client should show `OFFLINE(VERSION_MISMATCH)`. After that you can continue upgrading `linstor-satellite` on all satellite nodes and restart them, after a short reconnection " "time they should all show `ONLINE` again and your upgrade is finished." msgstr "" "因此,首先升级controller主机上的 `linstor-controller` 和 `linstor-client` 包,然后重新启动 `linstor-controler`, controller应启动,其所有客户端应显示 `OFFLINE(VERSION_MISMATCH)" "`。之后,您可以继续升级所有卫星节点上的`linstor-satellite`, 并重新启动它们,在短时间重新连接后,它们都应再次显示 `ONLINE`,并且您的升级已完成。" #. type: Title === #: administration-linstor.adoc:259 #, no-wrap msgid "Containers" msgstr "容器" #. type: Plain text #: administration-linstor.adoc:263 msgid "LINSTOR is also available as containers. The base images are available in LINBIT's container registry, `drbd.io`." msgstr "LINSTOR也可用容器运行。基础镜像可以在LINBIT的容器registry仓库 `drbd.io` 中找到。" #. type: Plain text #: administration-linstor.adoc:266 msgid "In order to access the images, you first have to login to the registry (reach out to sales@linbit.com for credentials):" msgstr "要访问这些镜像,首先必须登录registry(访问sales@linbit.com获取凭据):" #. type: delimited block - #: administration-linstor.adoc:269 #, no-wrap msgid "# docker login drbd.io\n" msgstr "# docker login drbd.io\n" #. type: Plain text #: administration-linstor.adoc:272 msgid "The containers available in this repo are:" msgstr "此repo中可用的容器包括:" #. type: Plain text #: administration-linstor.adoc:274 msgid "drbd.io/drbd9:rhel8" msgstr "drbd.io/drbd9:rhel8" #. type: Plain text #: administration-linstor.adoc:275 msgid "drbd.io/drbd9:rhel7" msgstr "drbd.io/drbd9:rhel7" #. type: Plain text #: administration-linstor.adoc:276 msgid "drbd.io/drbd9:bionic" msgstr "drbd.io/drbd9:bionic" #. type: Plain text #: administration-linstor.adoc:277 msgid "drbd.io/linstor-csi" msgstr "drbd.io/linstor-csi" #. type: Plain text #: administration-linstor.adoc:278 msgid "drbd.io/linstor-controller" msgstr "drbd.io/linstor-controller" #. type: Plain text #: administration-linstor.adoc:279 msgid "drbd.io/linstor-satellite" msgstr "drbd.io/linstor-satellite" #. type: Plain text #: administration-linstor.adoc:280 msgid "drbd.io/linstor-client" msgstr "drbd.io/linstor-client" #. type: Plain text #: administration-linstor.adoc:283 msgid "" "An up to date list of available images with versions can be retrieved by opening http://drbd.io in your browser. Make sure to access the host via \"http\", as the registry's " "images themselves are served via \"https\"." msgstr "通过在浏览器中打开http://drbd.io,可以可用image的最新列表。确保通过 \"http\"访问主机,因为registry的image本身通过 \"https\"提供服务。" #. type: Plain text #: administration-linstor.adoc:289 msgid "" "To load the kernel module, needed only for LINSTOR satellites, you'll need to run a `drbd9` container in privileged mode. The kernel module containers either retrieve an " "official LINBIT package from a customer repository, or they try to build the kernel modules from source. If you intend to build from source, you need to have the according " "kernel headers (e.g., `kernel-devel`) installed on the host. There are 3 ways to execute such a module load container:" msgstr "" "要加载仅用于LINSTOR satellites 的内核模块,需要在特权模式下运行 `drbd9` 容器。内核模块容器要么从客户存储库中检索正式的LINBIT包,要么尝试从源代码构建内核模块。如果要从源代码构" "建,则需要在主机上安装相应的内核头文件(例如, `kernel-devel`) 。执行这样的模块加载容器有三种方法:" #. type: Plain text #: administration-linstor.adoc:291 msgid "Specifying a LINBIT node hash and a distribution." msgstr "指定LINBIT节点哈希和容器版本。" #. type: Plain text #: administration-linstor.adoc:292 msgid "Bind-mounting an existing repository configuration." msgstr "绑定装入现有仓库配置。" #. type: Plain text #: administration-linstor.adoc:293 msgid "Not doing one of the above to trigger a build from source." msgstr "不执行上述操作之一, 直接从源代码触发生成。" #. type: Plain text #: administration-linstor.adoc:295 msgid "Example using a hash and a distribution:" msgstr "使用哈希和容器版本的示例:" #. type: delimited block - #: administration-linstor.adoc:300 #, no-wrap msgid "" "# docker run -it --rm --privileged -v /lib/modules:/lib/modules \\\n" " -e LB_DIST=rhel7.7 -e LB_HASH=ThisIsMyNodeHash \\\n" " drbd.io/drbd9:rhel7\n" msgstr "" "# docker run -it --rm --privileged -v /lib/modules:/lib/modules \\\n" " -e LB_DIST=rhel7.7 -e LB_HASH=ThisIsMyNodeHash \\\n" " drbd.io/drbd9:rhel7\n" #. type: Plain text #: administration-linstor.adoc:303 msgid "Example using an existing repo config." msgstr "使用现有repo配置的示例。" #. type: delimited block - #: administration-linstor.adoc:308 #, no-wrap msgid "" "# docker run -it --rm --privileged -v /lib/modules:/lib/modules \\\n" " -v /etc/yum.repos.d/linbit.repo:/etc/yum.repos.d/linbit.repo:ro \\\n" " drbd.io/drbd9:rhel7\n" msgstr "" "# docker run -it --rm --privileged -v /lib/modules:/lib/modules \\\n" " -v /etc/yum.repos.d/linbit.repo:/etc/yum.repos.d/linbit.repo:ro \\\n" " drbd.io/drbd9:rhel7\n" #. type: Plain text #: administration-linstor.adoc:312 msgid "" "In both cases (hash + distribution, as well as bind-mounting) the hash or config has to be from a node that has a special property set. Feel free to contact our support, and we " "set this property." msgstr "在这两种情况下(哈系+版本以及绑定挂载),哈系或配置必须来自具有特殊属性集的节点。请随时与我们的支持联系,我们将设置此属性。" #. type: Plain text #: administration-linstor.adoc:314 msgid "Example building from shipped source (RHEL based):" msgstr "从已分发代码生成的示例(基于RHEL):" #. type: delimited block - #: administration-linstor.adoc:319 #, no-wrap msgid "" "# docker run -it --rm --privileged -v /lib/modules:/lib/modules \\\n" " -v /usr/src:/usr/src:ro \\\n" " drbd.io/drbd9:rhel7\n" msgstr "" "# docker run -it --rm --privileged -v /lib/modules:/lib/modules \\\n" " -v /usr/src:/usr/src:ro \\\n" " drbd.io/drbd9:rhel7\n" #. type: Plain text #: administration-linstor.adoc:322 msgid "Example building from shipped source (Debian based):" msgstr "从已发代码构建的示例(基于Debian):" #. type: delimited block - #: administration-linstor.adoc:327 #, no-wrap msgid "" "# docker run -it --rm --privileged -v /lib/modules:/lib/modules \\\n" " -v /usr/src:/usr/src:ro -v /usr/lib:/usr/lib:ro \\\n" " drbd.io/drbd9:bionic\n" msgstr "" "# docker run -it --rm --privileged -v /lib/modules:/lib/modules \\\n" " -v /usr/src:/usr/src:ro -v /usr/lib:/usr/lib:ro \\\n" " drbd.io/drbd9:bionic\n" #. type: Plain text #: administration-linstor.adoc:331 msgid "Do *not* bind-mount `/usr/lib` on RHEL based systems! And do *not* forget to bind-mount it on Debian based ones." msgstr "*不要* bind-mount `/usr/lib` 到基于RHEL的系统上!也不要把它bind-mount到基于Debian的系统上。" #. type: Plain text #: administration-linstor.adoc:338 msgid "" "For now (i.e., pre DRBD 9 version \"9.0.17\"), you must use the containerized DRBD kernel module, as opposed to loading a kernel module onto the host system. If you intend to " "use the containers you should not install the DRBD kernel module on your host systems. For DRBD version 9.0.17 or greater, you can install the kernel module as usual on the " "host system, but you need to make sure to load the module with the `usermode_helper=disabled` parameter (e.g., `modprobe drbd usermode_helper=disabled`)." msgstr "" "到现在为止(即,DRBD 9之前的版本 \\9.0.17\"),您必须使用容器化DRBD内核模块,而不是将内核模块加载到主机系统上。如果要使用容器,则不应在主机系统上安装DRBD内核模块。对于DRBD版本" "9.0.17或更高版本,可以像往常一样在主机系统上安装内核模块,但需要确保使用 `usermode_helper=disabled`参数(例如, `modprobe drbd usermode_helper=disabled` )加载模块。" #. type: Plain text #: administration-linstor.adoc:340 msgid "Then run the LINSTOR satellite container, also privileged, as a daemon:" msgstr "然后以守护进程的身份运行LINSTOR satellite容器, 也需具有特权:" #. type: delimited block - #: administration-linstor.adoc:343 #, no-wrap msgid "# docker run -d --name=linstor-satellite --net=host -v /dev:/dev --privileged drbd.io/linstor-satellite\n" msgstr "# docker run -d --name=linstor-satellite --net=host -v /dev:/dev --privileged drbd.io/linstor-satellite\n" #. type: Plain text #: administration-linstor.adoc:347 msgid "`net=host` is required for the containerized `drbd-utils` to be able to communicate with the host-kernel via netlink." msgstr "`net=host` 是容器化的 `drbd-utils` 通过netlink与主机内核通信所必需的。" #. type: Plain text #: administration-linstor.adoc:350 msgid "To run the LINSTOR controller container as a daemon, mapping ports `3370`, `3376` and `3377` on the host to the container:" msgstr "要将LINSTOR控制器容器作为守护进程运行,请将主机上的端口 `3370` 、 `3376` 和 `3377` 映射到该容器:" #. type: delimited block - #: administration-linstor.adoc:353 #, no-wrap msgid "# docker run -d --name=linstor-controller -p 3370:3370 -p 3376:3376 -p 3377:3377 drbd.io/linstor-controller\n" msgstr "# docker run -d --name=linstor-controller -p 3370:3370 -p 3376:3376 -p 3377:3377 drbd.io/linstor-controller\n" #. type: Plain text #: administration-linstor.adoc:358 msgid "" "To interact with the containerized LINSTOR cluster, you can either use a LINSTOR client installed on a system via packages, or via the containerized LINSTOR client. To use the " "LINSTOR client container:" msgstr "要与容器化LINSTOR集群交互,可以使用通过包安装在系统上的LINSTOR客户端,也可以通过容器化LINSTOR客户端。要使用LINSTOR客户端容器,请执行以下操作:" #. type: delimited block - #: administration-linstor.adoc:361 #, no-wrap msgid "# docker run -it --rm -e LS_CONTROLLERS= drbd.io/linstor-client node list\n" msgstr "# docker run -it --rm -e LS_CONTROLLERS= drbd.io/linstor-client node list\n" #. type: Plain text #: administration-linstor.adoc:366 msgid "From this point you would use the LINSTOR client to initialize your cluster and begin creating resources using the typical LINSTOR patterns." msgstr "从这里开始,您可以使用LINSTOR客户端初始化集群,并开始使用典型的LINSTOR模式创建资源。" #. type: Plain text #: administration-linstor.adoc:368 msgid "To stop and remove a daemonized container and image:" msgstr "要停止并删除守护的容器和映像,请执行以下操作:" #. type: delimited block - #: administration-linstor.adoc:372 #, no-wrap msgid "" "# docker stop linstor-controller\n" "# docker rm linstor-controller\n" msgstr "" "# docker stop linstor-controller\n" "# docker rm linstor-controller\n" #. type: Title === #: administration-linstor.adoc:375 #, no-wrap msgid "Initializing your cluster" msgstr "初始化集群" #. type: Plain text #: administration-linstor.adoc:377 msgid "We assume that the following steps are accomplished on *all* cluster nodes:" msgstr "我们假设在 *所有* 集群节点上已完成以下步骤:" #. type: Plain text #: administration-linstor.adoc:379 msgid "The DRBD9 kernel module is installed and loaded" msgstr "DRBD9内核模块已安装并加载" #. type: Plain text #: administration-linstor.adoc:380 msgid "`drbd-utils` are installed" msgstr "已安装 `drbd-utils`" #. type: Plain text #: administration-linstor.adoc:381 msgid "`LVM` tools are installed" msgstr "`LVM` 工具已安装" #. type: Plain text #: administration-linstor.adoc:382 msgid "`linstor-controller` and/or `linstor-satellite` its dependencies are installed" msgstr "`linstor-controller` 和/或 `linstor-satellite` 的依赖项已安装" #. type: Plain text #: administration-linstor.adoc:383 msgid "The `linstor-client` is installed on the `linstor-controller` node" msgstr "`linstor-client` 已安装在 `linstor-controller` 节点上" #. type: Plain text #: administration-linstor.adoc:385 msgid "Start and enable the linstor-controller service on the host where it has been installed:" msgstr "在已安装linstor-controller的主机上启动并启用该服务:" #. type: delimited block - #: administration-linstor.adoc:388 #, no-wrap msgid "# systemctl enable --now linstor-controller\n" msgstr "# systemctl enable --now linstor-controller\n" #. type: Plain text #: administration-linstor.adoc:392 msgid "If you are sure the linstor-controller service gets automatically enabled on installation you can use the following command as well:" msgstr "如果您确定linstor控制器服务在安装时自动启用,则还可以使用以下命令:" #. type: delimited block - #: administration-linstor.adoc:395 #, no-wrap msgid "# systemctl start linstor-controller\n" msgstr "# systemctl start linstor-controller\n" #. type: Title === #: administration-linstor.adoc:398 #, no-wrap msgid "Using the LINSTOR client" msgstr "使用LINSTOR客户端" #. type: Plain text #: administration-linstor.adoc:403 msgid "" "Whenever you run the LINSTOR command line client, it needs to know where your linstor-controller runs. If you do not specify it, it will try to reach a locally running linstor-" "controller listening on IP `127.0.0.1` port `3376`. Therefore we will use the `linstor-client` on the same host as the `linstor-controller`." msgstr "" "无论何时运行LINSTOR命令行客户端,它都需要知道listor-controller的运行位置。如果不指定它,它将尝试访问本地运行的linstor-controller,该控制器侦听IP `127.0.0.1` 端口是 `3376` 。这" "样,我们可以在与 `linstor-controller` 相同的主机上使用 `linstor-client` 。" #. type: Plain text #: administration-linstor.adoc:406 msgid "The `linstor-satellite` requires ports 3366 and 3367. The `linstor-controller` requires ports 3376 and 3377. Make sure you have these ports allowed on your firewall." msgstr "`linstor-satellite` 需要端口3366和3367。 `linstor-controller` 需要端口3376和3377。确保防火墙上允许这些端口。" #. type: delimited block - #: administration-linstor.adoc:409 #, no-wrap msgid "# linstor node list\n" msgstr "# linstor node list\n" #. type: Plain text #: administration-linstor.adoc:411 msgid "should give you an empty list and not an error message." msgstr "应该输出一个空列表,而不是一条错误信息。" #. type: Plain text #: administration-linstor.adoc:416 msgid "" "You can use the `linstor` command on any other machine, but then you need to tell the client how to find the linstor-controller. As shown, this can be specified as a command " "line option, an environment variable, or in a global file:" msgstr "您可以在任何其他机器上使用 `linstor` 命令,但随后您需要告诉客户端如何找到linstor-controller。如下所示,可以将其指定为命令行选项、环境变量或全局文件:" #. type: delimited block - #: administration-linstor.adoc:420 #, no-wrap msgid "" "# linstor --controllers=alice node list\n" "# LS_CONTROLLERS=alice linstor node list\n" msgstr "" "# linstor --controllers=alice node list\n" "# LS_CONTROLLERS=alice linstor node list\n" #. type: Plain text #: administration-linstor.adoc:424 msgid "Alternatively you can create the `/etc/linstor/linstor-client.conf` file and populate it like below." msgstr "或者,您可以创建 `/etc/linstor/linstor-client.conf` 文件,并按如下方式填充它。" #. type: delimited block - #: administration-linstor.adoc:429 #, no-wrap msgid "" "[global]\n" "controllers=alice\n" msgstr "" "[global]\n" "controllers=alice\n" #. type: Plain text #: administration-linstor.adoc:434 msgid "If you have multiple linstor-controllers configured you can simply specify them all in a comma separated list. The linstor-client will simply try them in the order listed." msgstr "如果配置了多个linstor控制器,只需在逗号分隔的列表中指定它们即可。linstor客户机会按照列出的顺序进行尝试。" #. type: Plain text #: administration-linstor.adoc:439 msgid "" "The linstor-client commands can also be used in a much faster and convenient way by only writing the starting letters of the parameters e.g.: `linstor node list` -> `linstor n " "l`" msgstr "linstor-client命令也可以通过只写参数的起始字母来快速方便地使用,例如: `linstor node list` -> `linstor n l`" #. type: Title === #: administration-linstor.adoc:441 #, no-wrap msgid "Adding nodes to your cluster" msgstr "向集群添加节点" #. type: Plain text #: administration-linstor.adoc:444 msgid "The next step is to add nodes to your LINSTOR cluster. You need to provide:" msgstr "下一步是将节点添加到LINSTOR集群。您需要提供:" #. type: Plain text #: administration-linstor.adoc:446 msgid "A node name which *must* match the output of `uname -n`" msgstr "一个节点名,*必须* 匹配 `uname -n` 的输出`" #. type: Plain text #: administration-linstor.adoc:447 msgid "The IP address of the node." msgstr "节点的IP地址。" #. type: delimited block - #: administration-linstor.adoc:450 #, no-wrap msgid "# linstor node create bravo 10.43.70.3\n" msgstr "# linstor node create bravo 10.43.70.3\n" #. type: Plain text #: administration-linstor.adoc:455 msgid "" "When you use `linstor node list` you will see that the new node is marked as offline. Now start and enable the linstor-satellite on that node so that the service comes up on " "reboot as well:" msgstr "使用 `linstor node list`时,将看到新节点标记为脱机。现在启动并启用该节点上的 linstor-satellite,以便服务在重新启动时也启动:" #. type: delimited block - #: administration-linstor.adoc:457 #, no-wrap msgid "# systemctl enable --now linstor-satellite\n" msgstr "# systemctl enable --now linstor-satellite\n" #. type: Plain text #: administration-linstor.adoc:462 msgid "You can also use `systemctl start linstor-satellite` if you are sure that the service is already enabled as default and comes up on reboot." msgstr "如果您确定该服务已默认启用并在重新启动时启动,则还可以使用 `systemctl start linstor-satellite` 。" #. type: Plain text #: administration-linstor.adoc:466 msgid "" "About 10 seconds later you will see the status in `linstor node list` becoming online. Of course the satellite process may be started before the controller knows about the " "existence of the satellite node." msgstr "大约10秒后,您将看到 `linstor node list` 中的状态变为联机。当然,在controller知道satellite节点的存在之前,satellite进程已经启动完毕。" #. type: Plain text #: administration-linstor.adoc:470 msgid "In case the node which hosts your controller should also contribute storage to the LINSTOR cluster, you have to add it as a node and start the linstor-satellite as well." msgstr "如果承载controller的节点也应该为LINSTOR集群提供存储空间,则必须将其添加为节点并启动linstor-satellite。" #. type: Title === #: administration-linstor.adoc:472 #, no-wrap msgid "Storage pools" msgstr "存储池" #. type: Plain text #: administration-linstor.adoc:479 msgid "" "<> identify storage in the context of LINSTOR. To group storage pools from multiple nodes, simply use the same name on each node. For example, one " "valid approach is to give all SSDs one name and all HDDs another." msgstr "" "<>在LINSTOR上下文中用于标识存储。要对多个节点的存储池进行分组,只需在每个节点上使用相同的名称。例如,一种有效的方法是给所有的ssd取一个名字,给所有的hdd" "取另一个名字。" #. type: Plain text #: administration-linstor.adoc:485 msgid "" "On each host contributing storage, you need to create either an LVM VG or a ZFS zPool. The VGs and zPools identified with one LINSTOR storage pool name may have different VG or " "zPool names on the hosts, but do yourself a favor and use the same VG or zPool name on all nodes." msgstr "" "在每个提供存储的主机上,您需要创建LVM VG或ZFS zPool。使用一个LINSTOR存储池名称标识的VG和zPool在主机上可能有不同的VG或zPool名称,但请您自己考虑,是否在所有节点上使用相同的VG或" "zPool名称。" #. type: delimited block - #: administration-linstor.adoc:488 #, no-wrap msgid "# vgcreate vg_ssd /dev/nvme0n1 /dev/nvme1n1 [...]\n" msgstr "# vgcreate vg_ssd /dev/nvme0n1 /dev/nvme1n1 [...]\n" #. type: Plain text #: administration-linstor.adoc:491 msgid "These then need to be registered with LINSTOR:" msgstr "然后需要向LINSTOR注册:" #. type: delimited block - #: administration-linstor.adoc:495 #, no-wrap msgid "" "# linstor storage-pool create lvm alpha pool_ssd vg_ssd\n" "# linstor storage-pool create lvm bravo pool_ssd vg_ssd\n" msgstr "" "# linstor storage-pool create lvm alpha pool_ssd vg_ssd\n" "# linstor storage-pool create lvm bravo pool_ssd vg_ssd\n" #. type: Plain text #: administration-linstor.adoc:503 msgid "" "The storage pool name and common metadata is referred to as a _storage pool definition_. The listed commands create a storage pool definition implicitly. You can see that by " "using `linstor storage-pool-definition list`. Creating storage pool definitions explicitly is possible but not necessary." msgstr "" "存储池名称和公共元数据称为 _存储池定义_ 。上面列出的命令隐式创建了存储池定义。使用 `linstor storage-pool-definition list` 可以看到这一点。也可以显式创建存储池定义,但不是必需" "的。" #. type: Plain text #: administration-linstor.adoc:505 msgid "To list your storage-pools you can use:" msgstr "要列出您可以使用的存储池,请执行以下操作:" #. type: delimited block - #: administration-linstor.adoc:508 #, no-wrap msgid "# linstor storage-pool list\n" msgstr "# linstor storage-pool list\n" #. type: Plain text #: administration-linstor.adoc:511 administration-linstor.adoc:526 msgid "or using the short version" msgstr "或者使用短版本" #. type: delimited block - #: administration-linstor.adoc:514 #, no-wrap msgid "# linstor sp l\n" msgstr "# linstor sp l\n" #. type: Plain text #: administration-linstor.adoc:520 msgid "" "In case anything goes wrong with the storage pool's VG/zPool, e.g. the VG having been renamed or somehow became invalid you can delete the storage pool in LINSTOR with the " "following command, given that only resources with all their volumes in the so-called 'lost' storage pool are attached. This feature is available since LINSTOR v0.9.13." msgstr "" "如果存储池的VG/zPool出现任何问题,例如VG已被重命名或以某种方式变得无效,您可以使用以下命令删除LINSTOR中的存储池,前提是只有资源及其所有卷都位于所谓的 `lost` 存储池中。此功能自" "LINSTOR v0.9.13起可用。" #. type: delimited block - #: administration-linstor.adoc:523 #, no-wrap msgid "# linstor storage-pool lost alpha pool_ssd\n" msgstr "# linstor storage-pool lost alpha pool_ssd\n" #. type: delimited block - #: administration-linstor.adoc:529 #, no-wrap msgid "# linstor sp lo alpha pool_ssd\n" msgstr "# linstor sp lo alpha pool_ssd\n" #. type: Plain text #: administration-linstor.adoc:536 msgid "" "Should the deletion of the storage pool be prevented due to attached resources or snapshots with some of its volumes in another still functional storage pool, hints will be " "given in the 'status' column of the corresponding list-command (e.g. `linstor resource list`). After deleting the LINSTOR-objects in the lost storage pool manually, the lost-" "command can be executed again to ensure a complete deletion of the storage pool and its remaining objects." msgstr "" "如果由于附加的资源或快照(其中一些卷位于另一个仍在运行的存储池中)而阻止删除存储池,则会在相应list命令的 `status` 列中给出提示(例如 `linstor resource list` ) 手动删除丢失的存" "储池中的LINSTOR对象后,可以再次执行lost命令,以确保完全删除了存储池及其剩余对象。" #. type: Title ==== #: administration-linstor.adoc:538 #, no-wrap msgid "A storage pool per backend device" msgstr "每个后端设备的存储池" #. type: Plain text #: administration-linstor.adoc:544 msgid "" "In clusters where you have only one kind of storage and the capability to hot-repair storage devices, you may choose a model where you create one storage pool per physical " "backing device. The advantage of this model is to confine failure domains to a single storage device." msgstr "在仅只有一种存储和热修复存储设备功能的集群中,可以选择一种模型,在该模型中为每个物理备份设备创建一个存储池。此模型的优点是将故障域限制在单个存储设备上。" #. type: Title === #: administration-linstor.adoc:546 #, no-wrap msgid "Resource groups" msgstr "资源组" #. type: Plain text #: administration-linstor.adoc:553 msgid "" "A resource group is a parent object of a resource definition where all property changes made on a resource group will be inherited by it's resource definition children. The " "resource group also stores settings for automatic placement rules and can spawn a resource definition depending on the stored rules." msgstr "资源组是资源定义的父对象,其中对资源组所做的所有属性更改都将由其资源定义的子级继承。资源组还存储自动放置规则的设置,并可以根据存储的规则生成资源定义。" #. type: Plain text #: administration-linstor.adoc:558 msgid "" "In simpler terms, resource groups are like templates that define characteristics of resources created from them. Changes to these pseudo templates will be applied to all " "resources that were created from the resource group, retroactively." msgstr "简单地说,资源组就像模板,定义从它们创建的资源的特性。对这些伪模板的更改将应用于从资源组中创建的所有资源,并具有追溯性。" #. type: Plain text #: administration-linstor.adoc:564 msgid "" "Using resource groups to define how you'd like your resources provisioned should be considered the de facto method for deploying volumes provisioned by LINSTOR. Chapters that " "follow which describe creating each _resource_ from a _resource-definition_ and _volume-definition_ should only be used in special scenarios." msgstr "使用资源组定义资源配置方式应被视为部署由LINSTOR配置的卷的典型方法。后面描述从 _资源定义_ 和 _卷定义_ 创建每个 _资源_ 的章节应仅在特殊情况下使用。" #. type: Plain text #: administration-linstor.adoc:569 msgid "" "Even if you choose not to create and use _resource-groups_ in your LINSTOR cluster, all resources created from _resource-definitions_ and _volume-definitions_ will exist in the " "'DfltRscGrp' _resource-group_." msgstr "即使您选择不在LINSTOR集群中创建和使用 _资源组_ ,从 _资源定义_ 和 _卷定义_ 创建的所有资源都将存在于 `DfltRscGrp` _资源组_ 中。" #. type: Plain text #: administration-linstor.adoc:572 msgid "A simple pattern for deploying resources using resource groups would look like this:" msgstr "使用资源组部署资源的简单模式如下:" #. type: delimited block - #: administration-linstor.adoc:577 #, no-wrap msgid "" "# linstor resource-group create my_ssd_group --storage-pool pool_ssd --place-count 2\n" "# linstor volume-group create my_ssd_group\n" "# linstor resource-group spawn-resources my_ssd_group my_ssd_res 20G\n" msgstr "" "# linstor resource-group create my_ssd_group --storage-pool pool_ssd --place-count 2\n" "# linstor volume-group create my_ssd_group\n" "# linstor resource-group spawn-resources my_ssd_group my_ssd_res 20G\n" #. type: Plain text #: administration-linstor.adoc:582 msgid "" "The commands above would result in a resource named 'my_ssd_res' with a 20GB volume replicated twice being automatically provisioned from nodes who participate in the storage " "pool named 'pool_ssd'." msgstr "上述命令创建出一个名为 `my_ssd_res` 的资源,其中一个定义了双副本数的20GB卷将从名为 `pool_ssd` 的存储池的节点自动配置。" #. type: Plain text #: administration-linstor.adoc:589 msgid "" "A more useful pattern could be to create a resource group with settings you've determined are optimal for your use case. Perhaps you have to run nightly online verifications of " "your volumes' consistency, in that case, you could create a resource group with the 'verify-alg' of your choice already set so that resources spawned from the group are pre-" "configured with 'verify-alg' set:" msgstr "" "一个更有用的模式可能是创建一个资源组,其中的设置是您确定的最适合您的用例的。也许您必须对卷的一致性进行夜间联机验证,在这种情况下,您可以创建一个资源组,其中已经设置了您选择的 " "`verify-alg` ,以便从该组生成的资源预先配置为 `verify-alg` 集:" #. type: delimited block - #: administration-linstor.adoc:597 #, no-wrap msgid "" "# linstor resource-group create my_verify_group --storage-pool pool_ssd --place-count 2\n" "# linstor resource-group drbd-options --verify-alg crc32c my_verify_group\n" "# linstor volume-group create my_verify_group\n" "# for i in {00..19}; do\n" " linstor resource-group spawn-resources my_verify_group res$i 10G\n" " done\n" msgstr "" "# linstor resource-group create my_verify_group --storage-pool pool_ssd --place-count 2\n" "# linstor resource-group drbd-options --verify-alg crc32c my_verify_group\n" "# linstor volume-group create my_verify_group\n" "# for i in {00..19}; do\n" " linstor resource-group spawn-resources my_verify_group res$i 10G\n" " done\n" #. type: Plain text #: administration-linstor.adoc:601 msgid "The commands above result in twenty 10GiB resources being created each with the 'crc32c' 'verify-alg' pre-configured." msgstr "上述命令创建出20个10GiB资源,每个资源都预先配置了 `crc32c` 和 `verify alg`。" #. type: Plain text #: administration-linstor.adoc:608 msgid "" "You can tune the settings of individual resources or volumes spawned from resource groups by setting options on the respective _resource-definition_ or _volume-definition_. For " "example, if 'res11' from the example above is used by a very active database receiving lots of small random writes, you might want to increase the 'al-extents' for that " "specific resource:" msgstr "" "您可以通过在相应的 _资源定义_ 或 _卷定义_ 上设置选项来优化从资源组派生的单个资源或卷的设置。例如,如果上面示例中的 `res11` 被一个接收大量小的随机写入的、非常活跃的数据库使用,则" "可能需要增加该特定资源的 `al-extents` :" #. type: delimited block - #: administration-linstor.adoc:611 #, no-wrap msgid "# linstor resource-definition drbd-options --al-extents 6007 res11\n" msgstr "# linstor resource-definition drbd-options --al-extents 6007 res11\n" #. type: Plain text #: administration-linstor.adoc:620 msgid "" "If you configure a setting in a _resource-definition_ that is already configured on the _resource-group_ it was spawned from, the value set in the _resource-definition_ will " "override the value set on the parent _resource-group_. For example, if the same 'res11' was required to use the slower but more secure 'sha256' hash algorithm in it's " "verifications, setting the 'verify-alg' on the _resource-definition_ for 'res11' would override the value set on the _resource-group_:" msgstr "" "如果在 _资源定义_ 中配置的设置已在其派生的 _资源组_ 上配置,则 _资源定义_ 中设置的值将覆盖父 _资源组_ 上设置的值。例如,如果要求相同的 `res11` 在其验证中使用较慢但更安全的 " "`sha256` 哈希算法,则在 `res11` 的 _资源定义_ 上设置的 `verify-alg` 值将覆盖其在 _资源组_ 中设置的值:" #. type: delimited block - #: administration-linstor.adoc:623 #, no-wrap msgid "# linstor resource-definition drbd-options --verify-alg sha256 res11\n" msgstr "# linstor resource-definition drbd-options --verify-alg sha256 res11\n" #. type: Plain text #: administration-linstor.adoc:630 msgid "" "A rule of thumb for the hierarchy in which settings are inherited is the value \"closer\" to the resource or volume wins: _volume-definition_ settings take precedence over " "_volume-group_ settings, and _resource-definition_ settings take precedence over _resource-group_ settings." msgstr "继承设置的层次结构的一个经验法则是 \"更接近\" 资源或卷的值: _卷定义_ 设置优先于 _卷组_ 设置, _资源定义_ 设置优先于 _资源组_ 设置。" #. type: Title === #: administration-linstor.adoc:633 #, no-wrap msgid "Cluster configuration" msgstr "集群配置" #. type: Title ==== #: administration-linstor.adoc:636 #, no-wrap msgid "Available storage plugins" msgstr "可用的存储插件" #. type: Plain text #: administration-linstor.adoc:639 msgid "indexterm:[linstor, storage plugins]" msgstr "indexterm:[linstor, storage plugins]" #. type: Plain text #: administration-linstor.adoc:641 msgid "LINSTOR has the following supported storage plugins as of writing:" msgstr "LINSTOR支持如下的存储插件:" #. type: Plain text #: administration-linstor.adoc:643 msgid "Thick LVM" msgstr "Thick LVM" #. type: Plain text #: administration-linstor.adoc:645 msgid "Thin LVM with a single thin pool" msgstr "Thin LVM with a single thin pool" #. type: Plain text #: administration-linstor.adoc:647 msgid "Thick ZFS" msgstr "Thick ZFS" #. type: Plain text #: administration-linstor.adoc:649 msgid "Thin ZFS" msgstr "Thin ZFS" #. type: Title === #: administration-linstor.adoc:651 #, no-wrap msgid "Creating and deploying resources/volumes" msgstr "创建和部署资源/卷" #. type: Plain text #: administration-linstor.adoc:654 msgid "In the following scenario we assume that the goal is to create a resource 'backups' with a size of '500 GB' that is replicated among three cluster nodes." msgstr "在下面的场景中,我们假设目标是创建一个大小为 `500 GB` 的资源 `备份`,该资源在三个集群节点之间复制。" #. type: Plain text #: administration-linstor.adoc:656 msgid "First, we create a new resource definition:" msgstr "首先,我们创建一个新的资源定义:" #. type: delimited block - #: administration-linstor.adoc:659 #, no-wrap msgid "# linstor resource-definition create backups\n" msgstr "# linstor resource-definition create backups\n" #. type: Plain text #: administration-linstor.adoc:662 msgid "Second, we create a new volume definition within that resource definition:" msgstr "其次,我们在该资源定义中创建一个新的卷定义:" #. type: delimited block - #: administration-linstor.adoc:665 #, no-wrap msgid "# linstor volume-definition create backups 500G\n" msgstr "# linstor volume-definition create backups 500G\n" #. type: Plain text #: administration-linstor.adoc:668 msgid "If you want to change the size of the volume-definition you can simply do that by:" msgstr "如果要更改卷定义的大小,只需执行以下操作:" #. type: delimited block - #: administration-linstor.adoc:671 #, no-wrap msgid "# linstor volume-definition set-size backups 0 100G\n" msgstr "# linstor volume-definition set-size backups 0 100G\n" #. type: Plain text #: administration-linstor.adoc:676 msgid "" "The parameter `0` is the number of the volume in the resource `backups`. You have to provide this parameter , because resources can have multiple volumes and they are " "identified by a so called volume-number. This number can be found by listing the volume-definitions." msgstr "参数 `0` 是资源 `backups` 中的卷数。必须提供此参数,因为资源可以有多个卷,并且它们由所谓的卷号标识。这个数字可以通过列出卷定义来找到。" #. type: Plain text #: administration-linstor.adoc:679 msgid "The size of a volume-definition can only be decreased if it has no resource. Despite of that the size can be increased even with an deployed resource." msgstr "只有在没有资源的情况下,才能减小卷定义的大小。尽管如此,即使部署了资源,也可以增加大小。" #. type: Plain text #: administration-linstor.adoc:683 msgid "" "So far we have only created objects in LINSTOR's database, not a single LV was created on the storage nodes. Now you have the choice of delegating the task of placement to " "LINSTOR or doing it yourself." msgstr "到目前为止,我们只在LINSTOR的数据库中创建了对象,没有在存储节点上创建一个LV。现在你可以选择将安置任务派发给LINSTOR,或者自己做。" #. type: Title ==== #: administration-linstor.adoc:685 #, no-wrap msgid "Manual placement" msgstr "手动放置" #. type: Plain text #: administration-linstor.adoc:689 msgid "With the `resource create` command you may assign a resource definition to named nodes explicitly." msgstr "使用 `resource create` 命令,可以将资源定义显式分配给命名节点。" #. type: delimited block - #: administration-linstor.adoc:694 #, no-wrap msgid "" "# linstor resource create alpha backups --storage-pool pool_hdd\n" "# linstor resource create bravo backups --storage-pool pool_hdd\n" "# linstor resource create charlie backups --storage-pool pool_hdd\n" msgstr "" "# linstor resource create alpha backups --storage-pool pool_hdd\n" "# linstor resource create bravo backups --storage-pool pool_hdd\n" "# linstor resource create charlie backups --storage-pool pool_hdd\n" #. type: Title ==== #: administration-linstor.adoc:697 #, no-wrap msgid "Autoplace" msgstr "自动放置" #. type: Plain text #: administration-linstor.adoc:701 msgid "The value after autoplace tells LINSTOR how many replicas you want to have. The storage-pool option should be obvious." msgstr "autoplace之后的值告诉LINSTOR您想要多少个副本。storage-pool 选项应该很明显。" #. type: delimited block - #: administration-linstor.adoc:703 #, no-wrap msgid "# linstor resource create backups --auto-place 3 --storage-pool pool_hdd\n" msgstr "# linstor resource create backups --auto-place 3 --storage-pool pool_hdd\n" #. type: Plain text #: administration-linstor.adoc:706 msgid "Maybe not so obvious is that you may omit the `--storage-pool` option, then LINSTOR may select a storage pool on its own. The selection follows these rules:" msgstr "可能不太明显的是,您可以省略 `--storage-pool` 选项,然后LINSTOR可以自己选择一个存储池。选择遵循以下规则:" #. type: Plain text #: administration-linstor.adoc:708 msgid "Ignore all nodes and storage pools the current user has no access to" msgstr "忽略当前用户无权访问的所有节点和存储池" #. type: Plain text #: administration-linstor.adoc:709 msgid "Ignore all diskless storage pools" msgstr "忽略所有无磁盘存储池" #. type: Plain text #: administration-linstor.adoc:710 msgid "Ignore all storage pools not having enough free space" msgstr "忽略没有足够可用空间的所有存储池" #. type: Plain text #: administration-linstor.adoc:713 msgid "From the remaining storage pools, LINSTOR currently chooses the one with the most available free space." msgstr "从剩余的存储池中,LINSTOR会选择可用空间最多的存储池。" #. type: Plain text #: administration-linstor.adoc:717 msgid "" "If everything went right the DRBD-resource has now been created by LINSTOR. This can be checked by looking for the DRBD block device with the `lsblk` command which should look " "like `drbd0000` or similar." msgstr "如果一切顺利,DRBD资源现在已经由LINSTOR创建。这时可以通过使用 `lsblk` 命令查找DRBD块设备来检查,设备名应该类似于 `drbd0000` 。" #. type: Plain text #: administration-linstor.adoc:721 msgid "Now we should be able to mount the block device of our resource and start using LINSTOR." msgstr "现在我们应该可以加载我们资源的块设备并开始使用LINSTOR。" #. type: Title == #: administration-linstor.adoc:723 #, no-wrap msgid "Further LINSTOR tasks" msgstr "高阶LINSTOR任务" #. type: Title === #: administration-linstor.adoc:726 #, no-wrap msgid "DRBD clients" msgstr "DRBD客户端" #. type: Plain text #: administration-linstor.adoc:733 msgid "" "By using the `--drbd-diskless` option instead of `--storage-pool` you can have a permanently diskless DRBD device on a node. This means that the resource will appear as block " "device and can be mounted to the filesystem without an existing storage-device. The data of the resource is accessed over the network on another nodes with the same resource." msgstr "" "通过使用 `--drbd-diskless` 选项而不是 `--storage-pool` ,可以在节点上拥有永久无盘drbd设备。这意味着资源将显示为块设备,并且可以在没有现有存储设备的情况下装载到文件系统。资源的数" "据通过网络在具有相同资源的其他节点上访问。" #. type: delimited block - #: administration-linstor.adoc:736 #, no-wrap msgid "# linstor resource create delta backups --drbd-diskless\n" msgstr "# linstor resource create delta backups --drbd-diskless\n" #. type: Plain text #: administration-linstor.adoc:740 msgid "The option `--diskless` was deprecated. Please use `--drbd-diskless` or `--nvme-initiator` instead." msgstr "不推荐使用选项 `--diskless`, 因为已过时。请改用 `--drbd-diskless` 或 `--nvme-initiator` 。" #. type: Title === #: administration-linstor.adoc:742 #, no-wrap msgid "LINSTOR - DRBD consistency group/multiple volumes" msgstr "LINSTOR - DRBD一致性组/多个卷" #. type: Plain text #: administration-linstor.adoc:747 msgid "" "The so called consistency group is a feature from DRBD. It is mentioned in this user-guide, due to the fact that one of LINSTOR's main functions is to manage storage-clusters " "with DRBD. Multiple volumes in one resource are a consistency group." msgstr "所谓的一致性组是DRBD的一个特性。由于LINSTOR的主要功能之一是使用DRBD管理存储集群,因此本用户指南中提到了这一点。 单个资源中的多个卷是一个一致性组。" #. type: Plain text #: administration-linstor.adoc:750 msgid "This means that changes on different volumes from one resource are getting replicated in the same chronological order on the other Satellites." msgstr "这意味着一个资源的不同卷上的更改在其他Satellites上以相同的时间顺序复制。" #. type: Plain text #: administration-linstor.adoc:753 msgid "Therefore you don't have to worry about the timing if you have interdependent data on different volumes in a resource." msgstr "因此,如果资源中的不同卷上有相互依赖的数据,也不必担心时间问题。" #. type: Plain text #: administration-linstor.adoc:755 msgid "To deploy more than one volume in a LINSTOR-resource you have to create two volume-definitions with the same name." msgstr "要在LINSTOR资源中部署多个卷,必须创建两个同名的卷定义。" #. type: delimited block - #: administration-linstor.adoc:759 #, no-wrap msgid "" "# linstor volume-definition create backups 500G\n" "# linstor volume-definition create backups 100G\n" msgstr "" "# linstor volume-definition create backups 500G\n" "# linstor volume-definition create backups 100G\n" #. type: Title === #: administration-linstor.adoc:763 #, no-wrap msgid "Volumes of one resource to different Storage-Pools" msgstr "一个资源到不同存储池的卷" #. type: Plain text #: administration-linstor.adoc:766 msgid "This can be achieved by setting the `StorPoolName` property to the volume definitions before the resource is deployed to the nodes:" msgstr "这可以通过在将资源部署到节点之前将 `StorPoolName` 属性设置为卷定义来实现:" #. type: delimited block - #: administration-linstor.adoc:777 #, no-wrap msgid "" "# linstor resource-definition create backups\n" "# linstor volume-definition create backups 500G\n" "# linstor volume-definition create backups 100G\n" "# linstor volume-definition set-property backups 0 StorPoolName pool_hdd\n" "# linstor volume-definition set-property backups 1 StorPoolName pool_ssd\n" "# linstor resource create alpha backups\n" "# linstor resource create bravo backups\n" "# linstor resource create charlie backups\n" msgstr "" "# linstor resource-definition create backups\n" "# linstor volume-definition create backups 500G\n" "# linstor volume-definition create backups 100G\n" "# linstor volume-definition set-property backups 0 StorPoolName pool_hdd\n" "# linstor volume-definition set-property backups 1 StorPoolName pool_ssd\n" "# linstor resource create alpha backups\n" "# linstor resource create bravo backups\n" "# linstor resource create charlie backups\n" #. type: Plain text #: administration-linstor.adoc:782 msgid "" "Since the `volume-definition create` command is used without the `--vlmnr` option LINSTOR assigned the volume numbers starting at 0. In the following two lines the 0 and 1 " "refer to these automatically assigned volume numbers." msgstr "由于使用 `volume-definition create` 命令时没有使用 `--vlmnr` 选项,因此LINSTOR将从0开始分配卷号。在以下两行中,0和1表示这些自动分配的卷号。" #. type: Plain text #: administration-linstor.adoc:787 msgid "" "Here the 'resource create' commands do not need a `--storage-pool` option. In this case LINSTOR uses a 'fallback' storage pool. Finding that storage pool, LINSTOR queries the " "properties of the following objects in the following order:" msgstr "这里的 `resource create` 命令不需要 `--storage-pool` 选项。在这种情况下,LINSTOR使用 `fallback` 存储池。找到该存储池后,LINSTOR按以下顺序查询以下对象的属性:" #. type: Plain text #: administration-linstor.adoc:789 msgid "Volume definition" msgstr "卷定义" #. type: Plain text #: administration-linstor.adoc:791 msgid "Resource definition" msgstr "资源定义" #. type: Plain text #: administration-linstor.adoc:795 msgid "If none of those objects contain a `StorPoolName` property, the controller falls back to a hard-coded 'DfltStorPool' string as a storage pool." msgstr "如果这些对象都不包含 `StorPoolName` 属性,则controller将返回硬编码的 `DfltStorPool` 字符串作为存储池。" #. type: Plain text #: administration-linstor.adoc:799 msgid "" "This also means that if you forgot to define a storage pool prior deploying a resource, you will get an error message that LINSTOR could not find the storage pool named " "'DfltStorPool'." msgstr "这还意味着,如果在部署资源之前忘记定义存储池,则会收到一条错误消息,即LINSTOR找不到名为 `DfltStorPool` 的存储池。" #. type: Title === #: administration-linstor.adoc:802 #, no-wrap msgid "LINSTOR without DRBD" msgstr "无DRBD的LINSTOR" #. type: Plain text #: administration-linstor.adoc:807 msgid "" "LINSTOR can be used without DRBD as well. Without DRBD, LINSTOR is able to provision volumes from LVM and ZFS backed storage pools, and create those volumes on individual nodes " "in your LINSTOR cluster." msgstr "LINSTOR也可以在没有DRBD的情况下使用。没有DRBD,LINSTOR能够从LVM和ZFS支持的存储池中配置卷,并在LINSTOR集群中的各个节点上创建这些卷。" #. type: Plain text #: administration-linstor.adoc:811 msgid "" "Currently LINSTOR supports the creation of LVM and ZFS volumes with the option of layering some combinations of LUKS, DRBD, and/or NVMe-oF/NVMe-TCP on top of those volumes." msgstr "目前,LINSTOR支持创建LVM和ZFS卷,可以选择在这些卷上分层luk、DRBD和/或/NVMe-TCP的NVMe的某些组合。" #. type: Plain text #: administration-linstor.adoc:814 msgid "For example, assume we have a Thin LVM backed storage pool defined in our LINSTOR cluster named, `thin-lvm`:" msgstr "例如,我们在LINSTOR集群中定义了一个Thin LVM支持的存储池,名为 `thin-lvm`:" #. type: delimited block - #: administration-linstor.adoc:825 #, no-wrap msgid "" "# linstor --no-utf8 storage-pool list\n" "+--------------------------------------------------------------+\n" "| StoragePool | Node | Driver | PoolName | ... |\n" "|--------------------------------------------------------------|\n" "| thin-lvm | linstor-a | LVM_THIN | drbdpool/thinpool | ... |\n" "| thin-lvm | linstor-b | LVM_THIN | drbdpool/thinpool | ... |\n" "| thin-lvm | linstor-c | LVM_THIN | drbdpool/thinpool | ... |\n" "| thin-lvm | linstor-d | LVM_THIN | drbdpool/thinpool | ... |\n" "+--------------------------------------------------------------+\n" msgstr "" "# linstor --no-utf8 storage-pool list\n" "+--------------------------------------------------------------+\n" "| StoragePool | Node | Driver | PoolName | ... |\n" "|--------------------------------------------------------------|\n" "| thin-lvm | linstor-a | LVM_THIN | drbdpool/thinpool | ... |\n" "| thin-lvm | linstor-b | LVM_THIN | drbdpool/thinpool | ... |\n" "| thin-lvm | linstor-c | LVM_THIN | drbdpool/thinpool | ... |\n" "| thin-lvm | linstor-d | LVM_THIN | drbdpool/thinpool | ... |\n" "+--------------------------------------------------------------+\n" #. type: Plain text #: administration-linstor.adoc:829 msgid "We could use LINSTOR to create a Thin LVM on `linstor-d` that's 100GiB in size using the following commands:" msgstr "我们可以使用LINSTOR在 `linstor-d` 上创建一个100GiB大小的精简LVM,使用以下命令:" #. type: delimited block - #: administration-linstor.adoc:835 #, no-wrap msgid "" "# linstor resource-definition create rsc-1\n" "# linstor volume-definition create rsc-1 100GiB\n" "# linstor resource create --layer-list storage \\\n" " --storage-pool thin-lvm linstor-d rsc-1\n" msgstr "" "# linstor resource-definition create rsc-1\n" "# linstor volume-definition create rsc-1 100GiB\n" "# linstor resource create --layer-list storage \\\n" " --storage-pool thin-lvm linstor-d rsc-1\n" #. type: Plain text #: administration-linstor.adoc:840 msgid "" "You should then see you have a new Thin LVM on `linstor-d`. You can extract the device path from LINSTOR by listing your linstor resources with the `--machine-readable` flag " "set:" msgstr "你应该看到 `linstor-d` 上有一个新的瘦LVM。通过使用 `--machine-readable` 标志集列出LINSTOR资源,可以从LINSTOR提取设备路径:" #. type: delimited block - #: administration-linstor.adoc:844 #, no-wrap msgid "" "# linstor --machine-readable resource list | grep device_path\n" " \"device_path\": \"/dev/drbdpool/rsc-1_00000\",\n" msgstr "" "# linstor --machine-readable resource list | grep device_path\n" " \"device_path\": \"/dev/drbdpool/rsc-1_00000\",\n" #. type: Plain text #: administration-linstor.adoc:849 msgid "" "If you wanted to layer DRBD on top of this volume, which is the default `--layer-list` option in LINSTOR for ZFS or LVM backed volumes, you would use the following resource " "creation pattern instead:" msgstr "如果要将DRBD放置在此卷上(这是LINSTOR中ZFS或LVM支持的卷的默认 `--layer-list` 选项),可以使用以下资源创建模式:" #. type: delimited block - #: administration-linstor.adoc:855 #, no-wrap msgid "" "# linstor resource-definition create rsc-1\n" "# linstor volume-definition create rsc-1 100GiB\n" "# linstor resource create --layer-list drbd,storage \\\n" " --storage-pool thin-lvm linstor-d rsc-1\n" msgstr "" "# linstor resource-definition create rsc-1\n" "# linstor volume-definition create rsc-1 100GiB\n" "# linstor resource create --layer-list drbd,storage \\\n" " --storage-pool thin-lvm linstor-d rsc-1\n" #. type: Plain text #: administration-linstor.adoc:859 msgid "You would then see that you have a new Thin LVM backing a DRBD volume on `linstor-d`:" msgstr "然后,您将看到有一个新的 Thin LVM被创建出来用于支撑 `linstor-d` 上的DRBD卷:" #. type: delimited block - #: administration-linstor.adoc:864 #, no-wrap msgid "" "# linstor --machine-readable resource list | grep -e device_path -e backing_disk\n" " \"device_path\": \"/dev/drbd1000\",\n" " \"backing_disk\": \"/dev/drbdpool/rsc-1_00000\",\n" msgstr "" "# linstor --machine-readable resource list | grep -e device_path -e backing_disk\n" " \"device_path\": \"/dev/drbd1000\",\n" " \"backing_disk\": \"/dev/drbdpool/rsc-1_00000\",\n" #. type: Plain text #: administration-linstor.adoc:867 msgid "The following table shows which layer can be followed by which child-layer:" msgstr "下表显示了哪个层可以后跟哪个子层:" #. type: Table #: administration-linstor.adoc:877 #, no-wrap msgid "" "| Layer | Child layer\n" "\n" "| DRBD | WRITECACHE, NVME, LUKS, STORAGE\n" "| WRITECACHE | NVME, LUKS, STORAGE\n" "| NVME | WRITACACHE, LUKS, STORAGE\n" "| LUKS | STORAGE\n" "| STORAGE | -\n" msgstr "" "| Layer | Child layer\n" "\n" "| DRBD | WRITECACHE, NVME, LUKS, STORAGE\n" "| WRITECACHE | NVME, LUKS, STORAGE\n" "| NVME | WRITACACHE, LUKS, STORAGE\n" "| LUKS | STORAGE\n" "| STORAGE | -\n" #. type: Plain text #: administration-linstor.adoc:880 msgid "One layer can only occur once in the layer-list" msgstr "一个层只能在层列表中出现一次" #. type: Plain text #: administration-linstor.adoc:883 msgid "For information about the prerequisites for the `luks` layer, refer to the Encrypted Volumes section of this User's Guide." msgstr "有关 `luks`层的先决条件的信息,请参阅本用户指南的加密卷部分。" #. type: Title ==== #: administration-linstor.adoc:884 #, no-wrap msgid "NVMe-oF/NVMe-TCP LINSTOR Layer" msgstr "NVME-OF/NVME-TCP Linstor Layer" #. type: Plain text #: administration-linstor.adoc:893 msgid "" "NVMe-oF/NVMe-TCP allows LINSTOR to connect diskless resources to a node with the same resource where the data is stored over NVMe fabrics. This leads to the advantage that " "resources can be mounted without using local storage by accessing the data over the network. LINSTOR is not using DRBD in this case, and therefore NVMe resources provisioned " "by LINSTOR are not replicated, the data is stored on one node." msgstr "" "NVMe-oF/NVMe-TCP允许LINSTOR将无盘资源连接到具有相同资源的节点,数据存储在NVMe结构上。这就带来了这样一个优势:通过网络访问数据,无需使用本地存储就可以装载资源。在这种情况下," "LINSTOR不使用DRBD,因此不会复制LINSTOR提供的NVMe资源,数据存储在一个节点上。" #. type: Plain text #: administration-linstor.adoc:899 msgid "" "NVMe-oF only works on RDMA-capable networks and NVMe-TCP on every network that can carry IP traffic. If you want to know more about NVMe-oF/NVMe-TCP visit https://www.linbit." "com/en/nvme-linstor-swordfish/ for more information." msgstr "" "NVMe-oF仅在支持RDMA的网络上工作,NVMe-TCP在每个可以承载IP流量的网络上工作。如果您想了解有关NVMe-oF/NVMe-TCP的NVMe的更多信息,请访问https://www.linbit.com/en/nvme-linstor-" "swordfish/。" #. type: Plain text #: administration-linstor.adoc:903 msgid "To use NVMe-oF/NVMe-TCP with LINSTOR the package `nvme-cli` needs to be installed on every Node which acts as a Satellite and will use NVMe-oF/NVMe-TCP for a resource:" msgstr "要将NVMe-oF/NVMe-TCP与LINSTOR一起使用,需要在充当Satellite的每个节点上安装包 `nvme-cli`,并将NVMe-oF/NVMe-TCP用于资源:" #. type: Plain text #: administration-linstor.adoc:906 msgid "If you are not using Ubuntu use the suitable command for installing packages on your OS - SLES: zypper - CentOS: yum" msgstr "如果不使用Ubuntu,请使用合适的命令在OS安装软件包 - SLES: zypper - CentOS: yum" #. type: delimited block - #: administration-linstor.adoc:909 #, no-wrap msgid "# apt install nvme-cli\n" msgstr "# apt install nvme-cli\n" #. type: Plain text #: administration-linstor.adoc:913 msgid "To make a resource which uses NVMe-oF/NVMe-TCP an additional parameter has to be given as you create the resource-definition:" msgstr "要使资源使用NVMe-oF/NVMe-TCP,必须在创建资源定义时提供一个附加参数:" #. type: delimited block - #: administration-linstor.adoc:916 #, no-wrap msgid "# linstor resource-definition create nvmedata -l nvme,storage\n" msgstr "# linstor resource-definition create nvmedata -l nvme,storage\n" #. type: Plain text #: administration-linstor.adoc:922 msgid "" "As default the -l (layer-stack) parameter is set to `drbd, storage` when DRBD is used. If you want to create LINSTOR resources with neither NVMe nor DRBD you have to set the `-" "l` parameter to only `storage`." msgstr "默认情况下,使用DRBD时-l(layer-stack)参数设置为 `drbd, storage`。如果要创建既不使用NVMe也不使用DRBD的LINSTOR资源,则必须将 `-l` 参数设置为仅使用 `storage`。" #. type: Plain text #: administration-linstor.adoc:924 msgid "Create the volume-definition for our resource:" msgstr "为我们的资源创建卷定义:" #. type: delimited block - #: administration-linstor.adoc:927 #, no-wrap msgid "# linstor volume-definition create nvmedata 500G\n" msgstr "# linstor volume-definition create nvmedata 500G\n" #. type: Plain text #: administration-linstor.adoc:932 msgid "Before you create the resource on your nodes you have to know where the data will be stored locally and which node accesses it over the network." msgstr "在节点上创建资源之前,必须知道数据将在本地存储在哪里,以及哪个节点通过网络访问它。" #. type: Plain text #: administration-linstor.adoc:934 msgid "First we create the resource on the node where our data will be stored:" msgstr "首先,我们在存储数据的节点上创建资源:" #. type: delimited block - #: administration-linstor.adoc:937 #, no-wrap msgid "# linstor resource create alpha nvmedata --storage-pool pool_ssd\n" msgstr "# linstor resource create alpha nvmedata --storage-pool pool_ssd\n" #. type: Plain text #: administration-linstor.adoc:941 msgid "On the nodes where the resource-data will be accessed over the network, the resource has to be defined as diskless:" msgstr "在将通过网络访问资源数据的节点上,必须将资源定义为无盘:" #. type: delimited block - #: administration-linstor.adoc:944 #, no-wrap msgid "# linstor resource create beta nvmedata -d\n" msgstr "# linstor resource create beta nvmedata -d\n" #. type: Plain text #: administration-linstor.adoc:947 msgid "The `-d` parameter creates the resource on this node as diskless." msgstr "`-d` 参数将此节点上的资源创建为无盘。" #. type: Plain text #: administration-linstor.adoc:950 msgid "Now you can mount the resource `nvmedata` on one of your nodes." msgstr "现在,您可以在一个节点上装载资源 `nvmedata`。" #. type: Plain text #: administration-linstor.adoc:954 msgid "If your nodes have more than one NIC you should force the route between them for NVMe-of/NVME-TCP, otherwise multiple NIC's could cause troubles." msgstr "如果您的节点有多个NIC,您应该为NVMe-of/NVME-TCP指定它们之间的路由,否则多个NIC可能会导致问题。" #. type: Title ==== #: administration-linstor.adoc:956 #, no-wrap msgid "Writecache Layer" msgstr "写入缓存层" #. type: Plain text #: administration-linstor.adoc:962 msgid "" "A https://www.kernel.org/doc/html/latest/admin-guide/device-mapper/writecache.html[DM-Writecache] device is composed by two devices, one storage device and one cache device. " "LINSTOR can setup such a writecache device, but needs some additional information, like the storage pool and the size of the cache device." msgstr "" "一个 https://www.kernel.org/doc/html/latest/admin-guide/device-mapper/writecache.html[DM writecache] 设备由两个设备、即一个存储设备和一个缓存设备组成。LINSTOR可以设置这样一个" "writecache设备,但是需要一些额外的信息,比如存储池和缓存设备的大小。" #. type: delimited block - #: administration-linstor.adoc:966 #, no-wrap msgid "" "# linstor storage-pool create lvm node1 lvmpool drbdpool\n" "# linstor storage-pool create lvm node1 pmempool pmempool\n" msgstr "" "# linstor storage-pool create lvm node1 lvmpool drbdpool\n" "# linstor storage-pool create lvm node1 pmempool pmempool\n" #. type: delimited block - #: administration-linstor.adoc:969 #, no-wrap msgid "" "# linstor resource-definition create r1\n" "# linstor volume-definition create r1 100G\n" msgstr "" "# linstor resource-definition create r1\n" "# linstor volume-definition create r1 100G\n" #. type: delimited block - #: administration-linstor.adoc:972 #, no-wrap msgid "" "# linstor volume-definition set-property r1 0 Writecache/PoolName pmempool\n" "# linstor volume-definition set-property r1 0 Writecache/Size 1%\n" msgstr "" "# linstor volume-definition set-property r1 0 Writecache/PoolName pmempool\n" "# linstor volume-definition set-property r1 0 Writecache/Size 1%\n" #. type: delimited block - #: administration-linstor.adoc:974 #, no-wrap msgid "# linstor resource create node1 r1 --storage-pool lvmpool --layer-list WRITECACHE,STORAGE\n" msgstr "# linstor resource create node1 r1 --storage-pool lvmpool --layer-list WRITECACHE,STORAGE\n" #. type: Plain text #: administration-linstor.adoc:981 msgid "" "The two properties set in the examples are mandatory, but can also be set on controller level which would act as a default for all resources with `WRITECACHE` in their `--layer-" "list`. However, please note that the `Writecache/PoolName` referes to the corresponding node. If the node does not have a storge-pool named `pmempool` you will get an error " "message." msgstr "" "示例中设置的两个属性是必需的,但也可以在controller级别上设置,这将作为其 `层列表` 中包含 `WRITECACHE` 的所有资源的默认值。但是,请注意, `Writecache/PoolName` 指的是相应的节点。" "如果节点没有名为 `pmempool` 的存储池,则会收到错误消息。" #. type: Plain text #: administration-linstor.adoc:988 msgid "" "The 4 mandatory parameters required by https://www.kernel.org/doc/html/latest/admin-guide/device-mapper/writecache.html[DM-Writecache] are either configured via property or " "figured out by LINSTOR. The optional properties listed in the mentioned link can also be set via property. Please see `linstor controller set-property --help` for a list of " "`Writecache/*` property-keys." msgstr "" "在 https://www.kernel.org/doc/html/latest/admin-guide/device-mapper/writecache.html[DM writecache] 中所需的4个必需参数要么通过属性配置,要么由LINSTOR计算。上述链接中列出的可选属" "性也可以通过属性进行设置。有关 `Writecache/*` 属性键的列表,请参见 `linstor controller set property--help` 。" #. type: Plain text #: administration-linstor.adoc:992 msgid "" "Using `--layer-list DRBD,WRITECACHE,STORAGE` while having DRBD configured to use external metadata, only the backing device will use a writecache, not the device holding the " "external metadata." msgstr "使用 `--layer-list DRBD,WRITECACHE,STORAGE` 将DRBD配置为使用外部元数据时,只有备份设备将使用writecache,而不是保存外部元数据的设备。" #. type: Title === #: administration-linstor.adoc:994 #, no-wrap msgid "Managing Network Interface Cards" msgstr "管理网络接口卡" #. type: Plain text #: administration-linstor.adoc:998 msgid "LINSTOR can deal with multiple network interface cards (NICs) in a machine, they are called `netif` in LINSTOR speak." msgstr "LINSTOR可以在一台机器上处理多个网络接口卡(NICs),在LINSTOR中称为 `netif`。" #. type: Plain text #: administration-linstor.adoc:1002 msgid "" "When a satellite node is created a first `netif` gets created implicitly with the name `default`. Using the `--interface-name` option of the `node create` command you can give " "it a different name." msgstr "创建附属节点时,将隐式创建第一个名为 `default` 的 `netif` 。使用 `node create` 命令的 `--interface name` 选项,可以给它一个不同的名称。" #. type: Plain text #: administration-linstor.adoc:1004 msgid "Additional NICs are created like this:" msgstr "其他NIC的创建方式如下:" #. type: delimited block - #: administration-linstor.adoc:1007 #, no-wrap msgid "" "# linstor node interface create alpha 100G_nic 192.168.43.221\n" "# linstor node interface create alpha 10G_nic 192.168.43.231\n" msgstr "" "# linstor node interface create alpha 100G_nic 192.168.43.221\n" "# linstor node interface create alpha 10G_nic 192.168.43.231\n" #. type: Plain text #: administration-linstor.adoc:1013 msgid "" "NICs are identified by the IP address only, the name is arbitrary and is *not* related to the interface name used by Linux. The NICs can be assigned to storage pools so that " "whenever a resource is created in such a storage pool, the DRBD traffic will be routed through the specified NIC." msgstr "NIC仅由IP地址标识,名称是任意的,与Linux使用的接口名称 *无关* 。可以将NIC分配给存储池,以便每当在这样的存储池中创建资源时,DRBD通信通过其指定的NIC路由。" #. type: delimited block - #: administration-linstor.adoc:1017 #, no-wrap msgid "" "# linstor storage-pool set-property alpha pool_hdd PrefNic 10G_nic\n" "# linstor storage-pool set-property alpha pool_ssd PrefNic 100G_nic\n" msgstr "" "# linstor storage-pool set-property alpha pool_hdd PrefNic 10G_nic\n" "# linstor storage-pool set-property alpha pool_ssd PrefNic 100G_nic\n" #. type: Plain text #: administration-linstor.adoc:1021 msgid "FIXME describe how to route the controller +<->+ client communication through a specific `netif`." msgstr "FIXME 描述了如何通过特定的 `netif` 路由controller +<->+ 客户端通信。" #. type: Title === #: administration-linstor.adoc:1023 #, no-wrap msgid "Encrypted volumes" msgstr "加密卷" #. type: Plain text #: administration-linstor.adoc:1026 msgid "LINSTOR can handle transparent encryption of drbd volumes. dm-crypt is used to encrypt the provided storage from the storage device." msgstr "LINSTOR可以处理drbd卷的透明加密。dm-crypt用于对存储设备中提供的存储进行加密。" #. type: Plain text #: administration-linstor.adoc:1028 msgid "Basic steps to use encryption:" msgstr "使用加密的基本步骤:" #. type: Plain text #: administration-linstor.adoc:1030 msgid "Disable user security on the controller (this will be obsolete once authentication works)" msgstr "在控制器上禁用用户安全性(一旦身份验证生效,这将被废弃)" #. type: Plain text #: administration-linstor.adoc:1031 msgid "Create a master passphrase" msgstr "创建主密码" #. type: Plain text #: administration-linstor.adoc:1032 msgid "Add `luks` to the layer-list" msgstr "将 `luks` 添加到层列表" #. type: Plain text #: administration-linstor.adoc:1033 msgid "Don't forget to re-enter the master passphrase after a controller restart." msgstr "不要忘记在controller重新启动后重新输入主密码。" #. type: Title ==== #: administration-linstor.adoc:1035 #, no-wrap msgid "Disable user security" msgstr "禁用用户安全" #. type: Plain text #: administration-linstor.adoc:1038 msgid "Disabling the user security on the `Linstor` controller is a one time operation and is afterwards persisted." msgstr "在 `Linstor` controller上禁用用户安全性是一次操作,之后会被持久化。" #. type: Plain text #: administration-linstor.adoc:1040 msgid "Stop the running linstor-controller via systemd: `systemctl stop linstor-controller`" msgstr "通过 `systemctl stop linstor-controller` 停止正在运行的linstor控制器`" #. type: Plain text #: administration-linstor.adoc:1041 msgid "Start a linstor-controller in debug mode: `/usr/share/linstor-server/bin/Controller -c /etc/linstor -d`" msgstr "在调试模式下启动linstor控制器: `/usr/share/linstor-server/bin/Controller -c /etc/linstor -d`" #. type: Plain text #: administration-linstor.adoc:1042 msgid "In the debug console enter: `setSecLvl secLvl(NO_SECURITY)`" msgstr "在调试控制台中输入:`setSecLvl secLvl(NO_SECURITY)`" #. type: Plain text #: administration-linstor.adoc:1043 msgid "Stop linstor-controller with the debug shutdown command: `shutdown`" msgstr "使用调试关闭命令停止linstor控制器: `shutdown`" #. type: Plain text #: administration-linstor.adoc:1044 msgid "Start the controller again with systemd: `systemctl start linstor-controller`" msgstr "使用systemd重新启动控制器:`systemctl start linstor-controller`" #. type: Title ==== #: administration-linstor.adoc:1046 #, no-wrap msgid "Encrypt commands" msgstr "加密命令" #. type: Plain text #: administration-linstor.adoc:1048 msgid "Below are details about the commands." msgstr "下面是有关命令的详细信息。" #. type: Plain text #: administration-linstor.adoc:1051 msgid "Before LINSTOR can encrypt any volume a master passphrase needs to be created. This can be done with the linstor-client." msgstr "在LINSTOR可以加密任何卷之前,需要创建主密码。这可以通过linstor客户端完成。" #. type: delimited block - #: administration-linstor.adoc:1054 #, no-wrap msgid "# linstor encryption create-passphrase\n" msgstr "# linstor encryption create-passphrase\n" #. type: Plain text #: administration-linstor.adoc:1058 msgid "`crypt-create-passphrase` will wait for the user to input the initial master passphrase (as all other crypt commands will with no arguments)." msgstr "`crypt create-passphrase`将等待用户输入初始主密码(因为所有其他crypt命令都没有参数)。" #. type: Plain text #: administration-linstor.adoc:1060 msgid "If you ever want to change the master passphrase this can be done with:" msgstr "如果您想更改主密码,可以使用以下方法:" #. type: delimited block - #: administration-linstor.adoc:1063 #, no-wrap msgid "# linstor encryption modify-passphrase\n" msgstr "# linstor encryption modify-passphrase\n" #. type: Plain text #: administration-linstor.adoc:1068 msgid "" "The `luks` layer can be added when creating the resource-definition or the resource itself, whereas the former method is recommended since it will be automatically applied to " "all resource created from that resource-definition." msgstr "`luks` 层可以在创建资源定义或资源本身时添加,而建议使用前一种方法,因为它将自动应用于从该资源定义创建的所有资源。" #. type: delimited block - #: administration-linstor.adoc:1071 #, no-wrap msgid "# linstor resource-definition create crypt_rsc --layer-list luks,storage\n" msgstr "# linstor resource-definition create crypt_rsc --layer-list luks,storage\n" #. type: Plain text #: administration-linstor.adoc:1074 msgid "To enter the master passphrase (after controller restart) use the following command:" msgstr "要输入主密码(在controller重新启动后),请使用以下命令:" #. type: delimited block - #: administration-linstor.adoc:1077 #, no-wrap msgid "# linstor encryption enter-passphrase\n" msgstr "# linstor encryption enter-passphrase\n" #. type: Plain text #: administration-linstor.adoc:1082 msgid "" "Whenever the linstor-controller is restarted, the user has to send the master passphrase to the controller, otherwise LINSTOR is unable to reopen or create encrypted volumes." msgstr "无论何时重新启动linstor controller,用户都必须向控制器发送主密码,否则linstor无法重新打开或创建加密卷。" #. type: Title === #: administration-linstor.adoc:1084 #, no-wrap msgid "Checking the state of your cluster" msgstr "检查集群状态" #. type: Plain text #: administration-linstor.adoc:1089 msgid "" "LINSTOR provides various commands to check the state of your cluster. These commands start with a 'list-' prefix and provide various filtering and sorting options. The '--" "groupby' option can be used to group and sort the output in multiple dimensions." msgstr "LINSTOR提供各种命令来检查集群的状态。这些命令以 `list-` 前缀开头,并提供各种筛选和排序选项。`--groupby` 选项可用于按多个维度对输出进行分组和排序。" #. type: delimited block - #: administration-linstor.adoc:1093 #, no-wrap msgid "" "# linstor node list\n" "# linstor storage-pool list --groupby Size\n" msgstr "" "# linstor node list\n" "# linstor storage-pool list --groupby Size\n" #. type: Title === #: administration-linstor.adoc:1096 #, no-wrap msgid "Managing snapshots" msgstr "管理快照" #. type: Plain text #: administration-linstor.adoc:1098 msgid "Snapshots are supported with thin LVM and ZFS storage pools." msgstr "精简LVM和ZFS存储池支持快照。" #. type: Title ==== #: administration-linstor.adoc:1100 #, no-wrap msgid "Creating a snapshot" msgstr "创建快照" #. type: Plain text #: administration-linstor.adoc:1103 msgid "Assuming a resource definition named 'resource1' which has been placed on some nodes, a snapshot can be created as follows:" msgstr "假设在某些节点上放置了名为 `resource1` 的资源定义,则可以按如下方式创建快照:" #. type: delimited block - #: administration-linstor.adoc:1106 #, no-wrap msgid "# linstor snapshot create resource1 snap1\n" msgstr "# linstor snapshot create resource1 snap1\n" #. type: Plain text #: administration-linstor.adoc:1111 msgid "This will create snapshots on all nodes where the resource is present. LINSTOR will ensure that consistent snapshots are taken even when the resource is in active use." msgstr "这将在资源所在的所有节点上创建快照。LINSTOR将确保即使在资源处于活动使用状态时也创建一致的快照。" #. type: Title ==== #: administration-linstor.adoc:1113 #, no-wrap msgid "Restoring a snapshot" msgstr "还原快照" #. type: Plain text #: administration-linstor.adoc:1117 msgid "The following steps restore a snapshot to a new resource. This is possible even when the original resource has been removed from the nodes where the snapshots were taken." msgstr "以下步骤将快照还原到新资源。即使原始资源已从创建快照的节点中删除,也可能发生这种情况。" #. type: Plain text #: administration-linstor.adoc:1119 msgid "First define the new resource with volumes matching those from the snapshot:" msgstr "首先使用与快照中的卷匹配的卷定义新资源:" #. type: delimited block - #: administration-linstor.adoc:1123 #, no-wrap msgid "" "# linstor resource-definition create resource2\n" "# linstor snapshot volume-definition restore --from-resource resource1 --from-snapshot snap1 --to-resource resource2\n" msgstr "" "# linstor resource-definition create resource2\n" "# linstor snapshot volume-definition restore --from-resource resource1 --from-snapshot snap1 --to-resource resource2\n" #. type: Plain text #: administration-linstor.adoc:1127 msgid "At this point, additional configuration can be applied if necessary. Then, when ready, create resources based on the snapshots:" msgstr "此时,如果需要,可以应用其他配置。然后,准备好后,根据快照创建资源:" #. type: delimited block - #: administration-linstor.adoc:1130 #, no-wrap msgid "# linstor snapshot resource restore --from-resource resource1 --from-snapshot snap1 --to-resource resource2\n" msgstr "# linstor snapshot resource restore --from-resource resource1 --from-snapshot snap1 --to-resource resource2\n" #. type: Plain text #: administration-linstor.adoc:1135 msgid "" "This will place the new resource on all nodes where the snapshot is present. The nodes on which to place the resource can also be selected explicitly; see the help (`linstor " "snapshot resource restore -h`)." msgstr "这将在快照所在的所有节点上放置新资源。也可以显式选择放置资源的节点;请参阅帮助( `linstor snapshot resource restore -h` )." #. type: Title ==== #: administration-linstor.adoc:1137 #, no-wrap msgid "Rolling back to a snapshot" msgstr "回滚快照" #. type: Plain text #: administration-linstor.adoc:1143 msgid "" "LINSTOR can roll a resource back to a snapshot state. The resource must not be in use. That is, it may not be mounted on any nodes. If the resource is in use, consider " "whether you can achieve your goal by <> instead." msgstr "" "LINSTOR可以将资源回滚到快照状态。回滚时资源不能被使用。也就是说,它不能安装在任何节点上。如果资源正在使用中,请考虑是否可以通过<>来实现您的目标。" #. type: Plain text #: administration-linstor.adoc:1145 msgid "Rollback is performed as follows:" msgstr "回滚执行如下:" #. type: delimited block - #: administration-linstor.adoc:1148 #, no-wrap msgid "# linstor snapshot rollback resource1 snap1\n" msgstr "# linstor snapshot rollback resource1 snap1\n" #. type: Plain text #: administration-linstor.adoc:1152 msgid "A resource can only be rolled back to the most recent snapshot. To roll back to an older snapshot, first delete the intermediate snapshots." msgstr "资源只能回滚到最近的快照。要回滚到旧快照,请首先删除中间快照。" #. type: Title ==== #: administration-linstor.adoc:1154 #, no-wrap msgid "Removing a snapshot" msgstr "删除快照" #. type: Plain text #: administration-linstor.adoc:1156 msgid "An existing snapshot can be removed as follows:" msgstr "可以按如下方式删除现有快照:" #. type: delimited block - #: administration-linstor.adoc:1159 #, no-wrap msgid "# linstor snapshot delete resource1 snap1\n" msgstr "# linstor snapshot delete resource1 snap1\n" #. type: Title === #: administration-linstor.adoc:1162 #, no-wrap msgid "Setting options for resources" msgstr "设置资源选项" #. type: Plain text #: administration-linstor.adoc:1168 msgid "" "DRBD options are set using LINSTOR commands. Configuration in files such as `/etc/drbd.d/global_common.conf` that are not managed by LINSTOR will be ignored. The following " "commands show the usage and available options:" msgstr "DRBD选项是使用LINSTOR命令设置的。将忽略诸如 `/etc/drbd.d/global_common.conf` 文件中未由LINSTOR管理的配置。以下命令显示用法和可用选项:" #. type: delimited block - #: administration-linstor.adoc:1174 #, no-wrap msgid "" "# linstor controller drbd-options -h\n" "# linstor resource-definition drbd-options -h\n" "# linstor volume-definition drbd-options -h\n" "# linstor resource drbd-peer-options -h\n" msgstr "" "# linstor controller drbd-options -h\n" "# linstor resource-definition drbd-options -h\n" "# linstor volume-definition drbd-options -h\n" "# linstor resource drbd-peer-options -h\n" #. type: Plain text #: administration-linstor.adoc:1178 msgid "For instance, it is easy to set the DRBD protocol for a resource named `backups`:" msgstr "例如,很容易为名为 `backups` 的资源设置DRBD协议:" #. type: delimited block - #: administration-linstor.adoc:1181 #, no-wrap msgid "# linstor resource-definition drbd-options --protocol C backups\n" msgstr "# linstor resource-definition drbd-options --protocol C backups\n" #. type: Title === #: administration-linstor.adoc:1184 #, no-wrap msgid "Adding and removing disks" msgstr "添加和删除磁盘" #. type: Plain text #: administration-linstor.adoc:1188 msgid "LINSTOR can convert resources between diskless and having a disk. This is achieved with the `resource toggle-disk` command, which has syntax similar to `resource create`." msgstr "LINSTOR可以在无盘和有盘之间转换资源。这是通过 `resource toggle disk` 命令实现的,该命令的语法类似于 `resource create` 。" #. type: Plain text #: administration-linstor.adoc:1190 msgid "For instance, add a disk to the diskless resource `backups` on 'alpha':" msgstr "例如,将磁盘添加到 `alpha` 上的无盘资源 `backups`:" #. type: delimited block - #: administration-linstor.adoc:1193 #, no-wrap msgid "# linstor resource toggle-disk alpha backups --storage-pool pool_ssd\n" msgstr "# linstor resource toggle-disk alpha backups --storage-pool pool_ssd\n" #. type: Plain text #: administration-linstor.adoc:1196 msgid "Remove this disk again:" msgstr "再次删除此磁盘:" #. type: delimited block - #: administration-linstor.adoc:1199 #, no-wrap msgid "# linstor resource toggle-disk alpha backups --diskless\n" msgstr "# linstor resource toggle-disk alpha backups --diskless\n" #. type: Title ==== #: administration-linstor.adoc:1202 #, no-wrap msgid "Migrating disks" msgstr "迁移磁盘" #. type: Plain text #: administration-linstor.adoc:1209 msgid "" "In order to move a resource between nodes without reducing redundancy at any point, LINSTOR's disk migrate feature can be used. First create a diskless resource on the target " "node, and then add a disk using the `--migrate-from` option. This will wait until the data has been synced to the new disk and then remove the source disk." msgstr "" "为了在节点之间移动资源而不减少任何点的冗余,可以使用LINSTOR的磁盘迁移功能。首先在目标节点上创建一个无盘资源,然后使用 `--migrate from` 选项添加一个磁盘。这将等到数据已同步到新磁" "盘,然后删除源磁盘。" #. type: Plain text #: administration-linstor.adoc:1211 msgid "For example, to migrate a resource `backups` from 'alpha' to 'bravo':" msgstr "例如,要将资源 `backups` 从 `alpha` 迁移到 `bravo` :" #. type: delimited block - #: administration-linstor.adoc:1215 #, no-wrap msgid "" "# linstor resource create bravo backups --drbd-diskless\n" "# linstor resource toggle-disk bravo backups --storage-pool pool_ssd --migrate-from alpha\n" msgstr "" "# linstor resource create bravo backups --drbd-diskless\n" "# linstor resource toggle-disk bravo backups --storage-pool pool_ssd --migrate-from alpha\n" #. type: Title === #: administration-linstor.adoc:1218 #, no-wrap msgid "DRBD Proxy with LINSTOR" msgstr "LINSTOR的DRBD代理" #. type: Plain text #: administration-linstor.adoc:1223 msgid "" "LINSTOR expects DRBD Proxy to be running on the nodes which are involved in the relevant connections. It does not currently support connections via DRBD Proxy on a separate " "node." msgstr "LINSTOR希望DRBD代理在相关连接所涉及的节点上运行。它目前不支持通过单独节点上的DRBD代理进行连接。" #. type: Plain text #: administration-linstor.adoc:1228 msgid "" "Suppose our cluster consists of nodes 'alpha' and 'bravo' in a local network and 'charlie' at a remote site, with a resource definition named `backups` deployed to each of the " "nodes. Then DRBD Proxy can be enabled for the connections to 'charlie' as follows:" msgstr "" "假设我们的集群由本地网络中的节点 `alpha` 和 `bravo` 以及远程站点上的节点 `charlie` 组成,每个节点都部署了名为 `backups` 的资源定义。然后,可以为 `charlie` 的连接启用DRBD Proxy," "如下所示:" #. type: delimited block - #: administration-linstor.adoc:1232 #, no-wrap msgid "" "# linstor drbd-proxy enable alpha charlie backups\n" "# linstor drbd-proxy enable bravo charlie backups\n" msgstr "" "# linstor drbd-proxy enable alpha charlie backups\n" "# linstor drbd-proxy enable bravo charlie backups\n" #. type: Plain text #: administration-linstor.adoc:1235 msgid "The DRBD Proxy configuration can be tailored with commands such as:" msgstr "DRBD代理配置可以通过以下命令定制:" #. type: delimited block - #: administration-linstor.adoc:1239 #, no-wrap msgid "" "# linstor drbd-proxy options backups --memlimit 100000000\n" "# linstor drbd-proxy compression zlib backups --level 9\n" msgstr "" "# linstor drbd-proxy options backups --memlimit 100000000\n" "# linstor drbd-proxy compression zlib backups --level 9\n" #. type: Plain text #: administration-linstor.adoc:1244 msgid "" "LINSTOR does not automatically optimize the DRBD configuration for long-distance replication, so you will probably want to set some configuration options such as the protocol:" msgstr "LINSTOR不会自动优化远程复制的DRBD配置,因此您可能需要设置一些配置选项,例如协议:" #. type: delimited block - #: administration-linstor.adoc:1248 #, no-wrap msgid "" "# linstor resource-connection drbd-options alpha charlie backups --protocol A\n" "# linstor resource-connection drbd-options bravo charlie backups --protocol A\n" msgstr "" "# linstor resource-connection drbd-options alpha charlie backups --protocol A\n" "# linstor resource-connection drbd-options bravo charlie backups --protocol A\n" #. type: Plain text #: administration-linstor.adoc:1251 msgid "Please contact LINBIT for assistance optimizing your configuration." msgstr "请与LINBIT联系以获得优化配置的帮助。" #. type: Title === #: administration-linstor.adoc:1253 #, no-wrap msgid "External database" msgstr "外部数据库" #. type: Plain text #: administration-linstor.adoc:1257 msgid "It is possible to have LINSTOR working with an external database provider like Postgresql, MariaDB and since version 1.1.0 even ETCD key value store is supported." msgstr "可以让LINSTOR与外部数据库提供程序(如Postgresql、MariaDB)一起工作,从版本1.1.0开始支持ETCD键值存储。" #. type: Plain text #: administration-linstor.adoc:1261 msgid "" "To use an external database there are a few additional steps to configure. External-SQL database need to download their JDBC-driver and copy it to the lib folder, ETCD just " "needs to correctly configure the LINSTOR." msgstr "要使用外部数据库,还有几个额外的配置步骤。外部SQL数据库需要下载其JDBC驱动程序并将其复制到lib文件夹,ETCD只需要正确配置LINSTOR即可。" #. type: Title ==== #: administration-linstor.adoc:1264 #, no-wrap msgid "Postgresql" msgstr "Postgresql" #. type: Plain text #: administration-linstor.adoc:1267 msgid "Postgresql JDBC driver can be downloaded here:" msgstr "Postgresql JDBC驱动程序可以下载到:" #. type: Plain text #: administration-linstor.adoc:1269 msgid "https://jdbc.postgresql.org/download.html" msgstr "https://jdbc.postgresql.org/download.html" #. type: Plain text #: administration-linstor.adoc:1272 administration-linstor.adoc:1291 msgid "And afterwards copied to: `/usr/share/linstor-server/lib/`" msgstr "然后复制到: `/usr/share/linstor server/lib/`" #. type: Plain text #: administration-linstor.adoc:1274 msgid "A sample Postgresql `linstor.toml` looks like this:" msgstr "Postgresql `linstor.toml` 示例如下:" #. type: delimited block - #: administration-linstor.adoc:1280 #, no-wrap msgid "" "[db]\n" "user = \"linstor\"\n" "password = \"linstor\"\n" "connection_url = \"jdbc:postgresql://localhost/linstor\"\n" msgstr "" "[db]\n" "user = \"linstor\"\n" "password = \"linstor\"\n" "connection_url = \"jdbc:postgresql://localhost/linstor\"\n" #. type: Title ==== #: administration-linstor.adoc:1283 #, no-wrap msgid "MariaDB/Mysql" msgstr "MariaDB/Mysql" #. type: Plain text #: administration-linstor.adoc:1286 msgid "MariaDB JDBC driver can be downloaded here:" msgstr "MariaDB JDBC驱动程序可在以下位置下载:" #. type: Plain text #: administration-linstor.adoc:1288 msgid "https://downloads.mariadb.org/connector-java/" msgstr "https://downloads.mariadb.org/connector-java/" #. type: Plain text #: administration-linstor.adoc:1293 msgid "A sample MariaDB `linstor.toml` looks like this:" msgstr "MariaDB `linstor.toml` 示例如下:" #. type: delimited block - #: administration-linstor.adoc:1299 #, no-wrap msgid "" "[db]\n" "user = \"linstor\"\n" "password = \"linstor\"\n" "connection_url = \"jdbc:mariadb://localhost/LINSTOR?createDatabaseIfNotExist=true\"\n" msgstr "" "[db]\n" "user = \"linstor\"\n" "password = \"linstor\"\n" "connection_url = \"jdbc:mariadb://localhost/LINSTOR?createDatabaseIfNotExist=true\"\n" #. type: Plain text #: administration-linstor.adoc:1303 msgid "The LINSTOR schema/database is created as `LINSTOR` so make sure the mariadb connection string refers to the `LINSTOR` schema, as in the example above." msgstr "LINSTOR schema/数据库被创建为 `LINSTOR`,因此请确保mariadb连接字符串引用了 `LINSTOR` schema,如上面的示例所示。" #. type: Title ==== #: administration-linstor.adoc:1306 #, no-wrap msgid "ETCD" msgstr "ETCD" #. type: Plain text #: administration-linstor.adoc:1310 msgid "" "ETCD is a distributed key-value store that makes it easy to keep your LINSTOR database distributed in a HA-setup. The ETCD driver is already included in the LINSTOR-controller " "package and only needs to be configured in the `linstor.toml`." msgstr "ETCD是一个分布式键值存储,它使得在HA设置中保持LINSTOR数据库的分布式变得容易。ETCD驱动程序已经包含在LINSTOR控制器包中,只需要在 `LINSTOR.toml` 中进行配置。" #. type: Plain text #: administration-linstor.adoc:1312 msgid "More information on how to install and configure ETCD can be found here: https://etcd.io/docs[ETCD docs]" msgstr "有关如何安装和配置ETCD的更多信息,请访问:https://etcd.io/docs[ETCD docs]" #. type: Plain text #: administration-linstor.adoc:1314 msgid "And here is a sample [db] section from the `linstor.toml`:" msgstr "下面是 `linstor.toml` 中的[db]部分示例:" #. type: delimited block - #: administration-linstor.adoc:1320 #, no-wrap msgid "" "[db]\n" "## only set user/password if you want to use authentication, only since LINSTOR 1.2.1\n" "# user = \"linstor\"\n" "# password = \"linstor\"\n" msgstr "" "[db]\n" "## only set user/password if you want to use authentication, only since LINSTOR 1.2.1\n" "# user = \"linstor\"\n" "# password = \"linstor\"\n" #. type: delimited block - #: administration-linstor.adoc:1324 #, no-wrap msgid "" "## for etcd\n" "## do not set user field if no authentication required\n" "connection_url = \"etcd://etcdhost1:2379,etcdhost2:2379,etcdhost3:2379\"\n" msgstr "" "## for etcd\n" "## do not set user field if no authentication required\n" "connection_url = \"etcd://etcdhost1:2379,etcdhost2:2379,etcdhost3:2379\"\n" #. type: delimited block - #: administration-linstor.adoc:1328 #, no-wrap msgid "" "## if you want to use TLS, only since LINSTOR 1.2.1\n" "# ca_certificate = \"ca.pem\"\n" "# client_certificate = \"client.pem\"\n" msgstr "" "## if you want to use TLS, only since LINSTOR 1.2.1\n" "# ca_certificate = \"ca.pem\"\n" "# client_certificate = \"client.pem\"\n" #. type: delimited block - #: administration-linstor.adoc:1333 #, no-wrap msgid "" "## if you want to use client TLS authentication too, only since LINSTOR 1.2.1\n" "# client_key_pkcs8_pem = \"client-key.pkcs8\"\n" "## set client_key_password if private key has a password\n" "# client_key_password = \"mysecret\"\n" msgstr "" "## if you want to use client TLS authentication too, only since LINSTOR 1.2.1\n" "# client_key_pkcs8_pem = \"client-key.pkcs8\"\n" "## set client_key_password if private key has a password\n" "# client_key_password = \"mysecret\"\n" #. type: Title === #: administration-linstor.adoc:1336 #, no-wrap msgid "LINSTOR REST-API" msgstr "LINSTOR REST-API" #. type: Plain text #: administration-linstor.adoc:1341 msgid "" "To make LINSTOR's administrative tasks more accessible and also available for web-frontends a REST-API has been created. The REST-API is embedded in the linstor-controller and " "since LINSTOR 0.9.13 configured via the the `linstor.toml` configuration file." msgstr "为了使LINSTOR的管理任务更易于访问,并且也可用于web前端,创建了REST-API。REST-API嵌入到linstor controller中,从linstor 0.9.13开始通过 `linstor.toml` 配置文件配置。" #. type: delimited block - #: administration-linstor.adoc:1347 #, no-wrap msgid "" "[http]\n" " enabled = true\n" " port = 3370\n" " listen_addr = 127.0.0.1 # to disable remote access\n" msgstr "" "[http]\n" " enabled = true\n" " port = 3370\n" " listen_addr = 127.0.0.1 # to disable remote access\n" #. type: Plain text #: administration-linstor.adoc:1352 msgid "If you want to use the REST-API the current documentation can be found on the following link: https://app.swaggerhub.com/apis-docs/Linstor/Linstor/" msgstr "如果您想使用REST-API,可以在以下链接中找到当前文档:https://app.swaggerhub.com/apis-docs/Linstor/Linstor/" #. type: Title ==== #: administration-linstor.adoc:1354 #, no-wrap msgid "LINSTOR REST-API HTTPS" msgstr "LINSTOR REST-API HTTPS" #. type: Plain text #: administration-linstor.adoc:1359 msgid "" "The HTTP REST-API can also run secured by HTTPS and is highly recommended if you use any features that require authorization. Todo so you have to create a java keystore file " "with a valid certificate that will be used to encrypt all HTTPS traffic." msgstr "HTTP REST-API也可以通过HTTPS运行,如果您使用任何需要授权的功能,则强烈建议您使用它。所以你必须用一个有效的证书创建一个java密钥库文件,这个证书将用于加密所有的HTTPS通信。" #. type: Plain text #: administration-linstor.adoc:1362 msgid "Here is a simple example on how you can create a self signed certificate with the `keytool` that is included in the java runtime:" msgstr "下面是一个简单的示例,说明如何使用java运行时中包含的 `keytool` 创建自签名证书:" #. type: delimited block - #: administration-linstor.adoc:1367 #, no-wrap msgid "" "keytool -keyalg rsa -keysize 2048 -genkey -keystore ./keystore_linstor.jks\\\n" " -alias linstor_controller\\\n" " -dname \"CN=localhost, OU=SecureUnit, O=ExampleOrg, L=Vienna, ST=Austria, C=AT\"\n" msgstr "" "keytool -keyalg rsa -keysize 2048 -genkey -keystore ./keystore_linstor.jks\\\n" " -alias linstor_controller\\\n" " -dname \"CN=localhost, OU=SecureUnit, O=ExampleOrg, L=Vienna, ST=Austria, C=AT\"\n" #. type: Plain text #: administration-linstor.adoc:1372 msgid "" "`keytool` will ask for a password to secure the generated keystore file and is needed for the LINSTOR-controller configuration. In your `linstor.toml` file you have to add the " "following section:" msgstr "`keytool` 将要求密码来保护生成的密钥库文件,这是LINSTOR controller配置所需的。在 `linstor.toml` 文件中,必须添加以下部分:" #. type: delimited block - #: administration-linstor.adoc:1377 #, no-wrap msgid "" "[https]\n" " keystore = \"/path/to/keystore_linstor.jks\"\n" " keystore_password = \"linstor\"\n" msgstr "" "[https]\n" " keystore = \"/path/to/keystore_linstor.jks\"\n" " keystore_password = \"linstor\"\n" #. type: Plain text #: administration-linstor.adoc:1380 msgid "Now (re)start the `linstor-controller` and the HTTPS REST-API should be available on port 3371." msgstr "现在(重新)启动 `linstor controller` ,端口3371上应该可以使用HTTPS REST-API。" #. type: Plain text #: administration-linstor.adoc:1383 msgid "More information on how to import other certificates can be found here: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html" msgstr "有关如何导入其他证书的更多信息,请访问:https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html" #. type: Plain text #: administration-linstor.adoc:1386 msgid "When HTTPS is enabled, all requests to the HTTP /v1/ REST-API will be redirected to the HTTPS redirect." msgstr "当启用HTTPS时,对HTTP/v1/ REST-API的所有请求都将重定向到HTTPS重定向。" #. type: Title ===== #: administration-linstor.adoc:1389 #, no-wrap msgid "LINSTOR REST-API HTTPS restricted client access" msgstr "LINSTOR REST-API HTTPS受限客户端访问" #. type: Plain text #: administration-linstor.adoc:1394 msgid "" "Client access can be restricted by using a SSL truststore on the Controller. Basically you create a certificate for your client and add it to your truststore and the client " "then uses this certificate for authentication." msgstr "可以通过在控制器上使用SSL信任库来限制客户端访问。基本上,您为您的客户机创建一个证书并将其添加到信任库中,然后客户机使用该证书进行身份验证。" #. type: Plain text #: administration-linstor.adoc:1396 msgid "First create a client certificate:" msgstr "首先创建客户端证书:" #. type: delimited block - #: administration-linstor.adoc:1402 #, no-wrap msgid "" "keytool -keyalg rsa -keysize 2048 -genkey -keystore client.jks\\\n" " -storepass linstor -keypass linstor\\\n" " -alias client1\\\n" " -dname \"CN=Client Cert, OU=client, O=Example, L=Vienna, ST=Austria, C=AT\"\n" msgstr "" "keytool -keyalg rsa -keysize 2048 -genkey -keystore client.jks\\\n" " -storepass linstor -keypass linstor\\\n" " -alias client1\\\n" " -dname \"CN=Client Cert, OU=client, O=Example, L=Vienna, ST=Austria, C=AT\"\n" #. type: Plain text #: administration-linstor.adoc:1405 msgid "Then we import this certificate to our controller truststore:" msgstr "然后我们将此证书导入controller信任库:" #. type: delimited block - #: administration-linstor.adoc:1410 #, no-wrap msgid "" "keytool -importkeystore\\\n" " -srcstorepass linstor -deststorepass linstor -keypass linstor\\\n" " -srckeystore client.jks -destkeystore trustore_client.jks\n" msgstr "" "keytool -importkeystore\\\n" " -srcstorepass linstor -deststorepass linstor -keypass linstor\\\n" " -srckeystore client.jks -destkeystore trustore_client.jks\n" #. type: Plain text #: administration-linstor.adoc:1413 msgid "And enable the truststore in the `linstor.toml` configuration file:" msgstr "并在 `linstor.toml` 配置文件中启用信任库:" #. type: delimited block - #: administration-linstor.adoc:1420 #, no-wrap msgid "" "[https]\n" " keystore = \"/path/to/keystore_linstor.jks\"\n" " keystore_password = \"linstor\"\n" " truststore = \"/path/to/trustore_client.jks\"\n" " truststore_password = \"linstor\"\n" msgstr "" "[https]\n" " keystore = \"/path/to/keystore_linstor.jks\"\n" " keystore_password = \"linstor\"\n" " truststore = \"/path/to/trustore_client.jks\"\n" " truststore_password = \"linstor\"\n" #. type: Plain text #: administration-linstor.adoc:1424 msgid "Now restart the Controller and it will no longer be possible to access the controller API without a correct certificate." msgstr "现在重新启动controller,如果没有正确的证书,将无法再访问控制器API。" #. type: Plain text #: administration-linstor.adoc:1427 msgid "The LINSTOR client needs the certificate in PEM format, so before we can use it we have to convert the java keystore certificate to the PEM format." msgstr "LINSTOR客户机需要PEM格式的证书,因此在使用之前,我们必须将java密钥库证书转换为PEM格式。" #. type: delimited block - #: administration-linstor.adoc:1433 #, no-wrap msgid "" "# Convert to pkcs12\n" "keytool -importkeystore -srckeystore client.jks -destkeystore client.p12\\\n" " -storepass linstor -keypass linstor\\\n" " -srcalias client1 -srcstoretype jks -deststoretype pkcs12\n" msgstr "" "# Convert to pkcs12\n" "keytool -importkeystore -srckeystore client.jks -destkeystore client.p12\\\n" " -storepass linstor -keypass linstor\\\n" " -srcalias client1 -srcstoretype jks -deststoretype pkcs12\n" #. type: delimited block - #: administration-linstor.adoc:1436 #, no-wrap msgid "" "# use openssl to convert to PEM\n" "openssl pkcs12 -in client.p12 -out client_with_pass.pem\n" msgstr "" "# use openssl to convert to PEM\n" "openssl pkcs12 -in client.p12 -out client_with_pass.pem\n" #. type: Plain text #: administration-linstor.adoc:1439 msgid "To avoid entering the PEM file password all the time it might be convenient to remove the password." msgstr "为了避免一直输入PEM文件密码,可以方便地删除密码。" #. type: delimited block - #: administration-linstor.adoc:1443 #, no-wrap msgid "" "openssl rsa -in client_with_pass.pem -out client1.pem\n" "openssl x509 -in client_with_pass.pem >> client1.pem\n" msgstr "" "openssl rsa -in client_with_pass.pem -out client1.pem\n" "openssl x509 -in client_with_pass.pem >> client1.pem\n" #. type: Plain text #: administration-linstor.adoc:1446 msgid "Now this PEM file can easily be used in the client:" msgstr "现在,这个PEM文件可以很容易地在客户端使用:" #. type: delimited block - #: administration-linstor.adoc:1449 #, no-wrap msgid "linstor --certfile client1.pem node list\n" msgstr "linstor --certfile client1.pem node list\n" #. type: Plain text #: administration-linstor.adoc:1454 msgid "The `--certfile` parameter can also added to the client configuration file, see <> for more details." msgstr "`--certfile` 参数也可以添加到客户端配置文件中,有关详细信息,请参见<>。" #. type: Title === #: administration-linstor.adoc:1457 #, no-wrap msgid "Logging" msgstr "Logging" #. type: Plain text #: administration-linstor.adoc:1463 msgid "" "Linstor uses https://www.slf4j.org/[SLF4J] with https://logback.qos.ch/[Logback] as binding. This gives Linstor the possibilty to distinguish between the log levels `ERROR`, " "`WARN`, `INFO`, `DEBUG` and `TRACE` (in order of increasing verbosity). In the current linstor version (1.1.2) the user has the following four methods to control the logging " "level, ordered by priority (first has highest priority):" msgstr "" "Linstor使用 https://www.slf4j.org/[SLF4J] 和 https://logback.qos.ch/[Logback] 作为绑定。这使Linstor能够区分日志级别 `ERROR`、 `WARN` 、 `INFO` 、 `DEBUG` 和 `TRACE` (为了增加详" "细程度)。在当前的linstor版本(1.1.2)中,用户有以下四种方法控制日志记录级别,按优先级排序(第一种方法具有最高优先级):" #. type: Plain text #: administration-linstor.adoc:1466 msgid "`TRACE` mode can be `enabled` or `disabled` using the debug console:" msgstr "`TRACE` mode可以使用调试控制台, 通过 `enabled` 或 `disabled` 分别指明:" #. type: delimited block - #: administration-linstor.adoc:1471 #, no-wrap msgid "" "Command ==> SetTrcMode MODE(enabled)\n" "SetTrcMode Set TRACE level logging mode\n" "New TRACE level logging mode: ENABLED\n" msgstr "" "Command ==> SetTrcMode MODE(enabled)\n" "SetTrcMode Set TRACE level logging mode\n" "New TRACE level logging mode: ENABLED\n" #. type: Plain text #: administration-linstor.adoc:1474 msgid "When starting the controller or satellite a command line argument can be passed:" msgstr "启动controller或satellite时,可以传递命令行参数:" #. type: delimited block - #: administration-linstor.adoc:1478 #, no-wrap msgid "" "java ... com.linbit.linstor.core.Controller ... --log-level INFO\n" "java ... com.linbit.linstor.core.Satellite ... --log-level INFO\n" msgstr "" "java ... com.linbit.linstor.core.Controller ... --log-level INFO\n" "java ... com.linbit.linstor.core.Satellite ... --log-level INFO\n" #. type: Plain text #: administration-linstor.adoc:1481 msgid "The recommended place is the `logging` section in the `/etc/linstor/linstor.toml` file:" msgstr "建议放在 `/etc/linstor/linstor.toml` 文件中的 `logging` 部分:" #. type: delimited block - #: administration-linstor.adoc:1485 #, no-wrap msgid "" "[logging]\n" " level=\"INFO\"\n" msgstr "" "[logging]\n" " level=\"INFO\"\n" #. type: Plain text #: administration-linstor.adoc:1490 msgid "" "As Linstor is using Logback as an implementation, `/usr/share/linstor-server/lib/logback.xml` can also be used. Currently only this approach supports different log levels for " "different components, like shown in the example below:" msgstr "由于Linstor使用Logback作为实现,还可以使用 `/usr/share/Linstor server/lib/Logback.xml` 。目前只有这种方法支持不同组件的不同日志级别,如下例所示:" #. type: delimited block - #: administration-linstor.adoc:1533 #, no-wrap msgid "" "\n" "\n" "\n" " \n" " \n" " \n" " %d{HH:mm:ss.SSS} [%thread] %-5level %logger - %msg%n\n" " \n" " \n" " \n" " ${log.directory}/linstor-${log.module}.log\n" " true\n" " \n" " %d{yyyy_MM_dd HH:mm:ss.SSS} [%thread] %-5level %logger - %msg%n\n" " \n" " \n" " logs/linstor-${log.module}.%i.log.zip\n" " 1\n" " 10\n" " \n" " \n" " 2MB\n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "\n" msgstr "" "\n" "\n" "\n" " \n" " \n" " \n" " %d{HH:mm:ss.SSS} [%thread] %-5level %logger - %msg%n\n" " \n" " \n" " \n" " ${log.directory}/linstor-${log.module}.log\n" " true\n" " \n" " %d{yyyy_MM_dd HH:mm:ss.SSS} [%thread] %-5level %logger - %msg%n\n" " \n" " \n" " logs/linstor-${log.module}.%i.log.zip\n" " 1\n" " 10\n" " \n" " \n" " 2MB\n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "\n" #. type: Plain text #: administration-linstor.adoc:1536 msgid "See the https://logback.qos.ch/manual/index.html[Logback Manual] to find more details about `logback.xml`." msgstr "有关 `logback.xml` 的更多详细信息,请参见https://logback.qos.ch/manual/index.html[Logback Manual]。" #. type: Plain text #: administration-linstor.adoc:1539 msgid "When none of the configuration methods above is used Linstor will default to `INFO` log level." msgstr "如果没有使用上述任何配置方法,Linstor将默认为 `INFO` 日志级别。" #. type: Title === #: administration-linstor.adoc:1542 #, no-wrap msgid "Secure Satellite connections" msgstr "安全Satellite连接" #. type: Plain text #: administration-linstor.adoc:1549 msgid "" "It is possible to have the LINSTOR use SSL secure TCP connection between controller and satellite connections. Without going into further details on how java's SSL engine " "works we will give you command line snippets using the `keytool` from java's runtime environment on how to configure a 3 node setup using secure connections. The node setup " "looks like this:" msgstr "" "可以让LINSTOR在controller和satellites连接之间使用SSL安全TCP连接。在不深入讨论java的SSL引擎如何工作的情况下,我们将向您提供使用java运行时环境中的 `keytool` 的命令行片段,介绍如何" "使用安全连接配置3节点设置。节点设置如下所示:" #. type: Plain text #: administration-linstor.adoc:1552 msgid "Node `alpha` is the just the controller. Node `bravo` and node `charlie` are just satellites." msgstr "节点 `alpha` 只充当controller。节点 `bravo` 和节点 `charlie` 只充当卫星。" #. type: Plain text #: administration-linstor.adoc:1556 msgid "Here are the commands to generate such a keystore setup, values should of course be edited for your environment." msgstr "下面是生成这样一个密钥库设置的命令,当然你应该根据您的环境编辑值。" #. type: delimited block - #: administration-linstor.adoc:1562 #, no-wrap msgid "" "# create directories to hold the key files\n" "mkdir -p /tmp/linstor-ssl\n" "cd /tmp/linstor-ssl\n" "mkdir alpha bravo charlie\n" msgstr "" "# create directories to hold the key files\n" "mkdir -p /tmp/linstor-ssl\n" "cd /tmp/linstor-ssl\n" "mkdir alpha bravo charlie\n" #. type: delimited block - #: administration-linstor.adoc:1569 #, no-wrap msgid "" "# create private keys for all nodes\n" "keytool -keyalg rsa -keysize 2048 -genkey -keystore alpha/keystore.jks\\\n" " -storepass linstor -keypass linstor\\\n" " -alias alpha\\\n" " -dname \"CN=Max Mustermann, OU=alpha, O=Example, L=Vienna, ST=Austria, C=AT\"\n" msgstr "" "# create private keys for all nodes\n" "keytool -keyalg rsa -keysize 2048 -genkey -keystore alpha/keystore.jks\\\n" " -storepass linstor -keypass linstor\\\n" " -alias alpha\\\n" " -dname \"CN=Max Mustermann, OU=alpha, O=Example, L=Vienna, ST=Austria, C=AT\"\n" #. type: delimited block - #: administration-linstor.adoc:1574 #, no-wrap msgid "" "keytool -keyalg rsa -keysize 2048 -genkey -keystore bravo/keystore.jks\\\n" " -storepass linstor -keypass linstor\\\n" " -alias bravo\\\n" " -dname \"CN=Max Mustermann, OU=bravo, O=Example, L=Vienna, ST=Austria, C=AT\"\n" msgstr "" "keytool -keyalg rsa -keysize 2048 -genkey -keystore bravo/keystore.jks\\\n" " -storepass linstor -keypass linstor\\\n" " -alias bravo\\\n" " -dname \"CN=Max Mustermann, OU=bravo, O=Example, L=Vienna, ST=Austria, C=AT\"\n" #. type: delimited block - #: administration-linstor.adoc:1579 #, no-wrap msgid "" "keytool -keyalg rsa -keysize 2048 -genkey -keystore charlie/keystore.jks\\\n" " -storepass linstor -keypass linstor\\\n" " -alias charlie\\\n" " -dname \"CN=Max Mustermann, OU=charlie, O=Example, L=Vienna, ST=Austria, C=AT\"\n" msgstr "" "keytool -keyalg rsa -keysize 2048 -genkey -keystore charlie/keystore.jks\\\n" " -storepass linstor -keypass linstor\\\n" " -alias charlie\\\n" " -dname \"CN=Max Mustermann, OU=charlie, O=Example, L=Vienna, ST=Austria, C=AT\"\n" #. type: delimited block - #: administration-linstor.adoc:1584 #, no-wrap msgid "" "# import truststore certificates for alpha (needs all satellite certificates)\n" "keytool -importkeystore\\\n" " -srcstorepass linstor -deststorepass linstor -keypass linstor\\\n" " -srckeystore bravo/keystore.jks -destkeystore alpha/certificates.jks\n" msgstr "" "# import truststore certificates for alpha (needs all satellite certificates)\n" "keytool -importkeystore\\\n" " -srcstorepass linstor -deststorepass linstor -keypass linstor\\\n" " -srckeystore bravo/keystore.jks -destkeystore alpha/certificates.jks\n" #. type: delimited block - #: administration-linstor.adoc:1588 #, no-wrap msgid "" "keytool -importkeystore\\\n" " -srcstorepass linstor -deststorepass linstor -keypass linstor\\\n" " -srckeystore charlie/keystore.jks -destkeystore alpha/certificates.jks\n" msgstr "" "keytool -importkeystore\\\n" " -srcstorepass linstor -deststorepass linstor -keypass linstor\\\n" " -srckeystore charlie/keystore.jks -destkeystore alpha/certificates.jks\n" #. type: delimited block - #: administration-linstor.adoc:1593 #, no-wrap msgid "" "# import controller certificate into satellite truststores\n" "keytool -importkeystore\\\n" " -srcstorepass linstor -deststorepass linstor -keypass linstor\\\n" " -srckeystore alpha/keystore.jks -destkeystore bravo/certificates.jks\n" msgstr "" "# import controller certificate into satellite truststores\n" "keytool -importkeystore\\\n" " -srcstorepass linstor -deststorepass linstor -keypass linstor\\\n" " -srckeystore alpha/keystore.jks -destkeystore bravo/certificates.jks\n" #. type: delimited block - #: administration-linstor.adoc:1597 #, no-wrap msgid "" "keytool -importkeystore\\\n" " -srcstorepass linstor -deststorepass linstor -keypass linstor\\\n" " -srckeystore alpha/keystore.jks -destkeystore charlie/certificates.jks\n" msgstr "" "keytool -importkeystore\\\n" " -srcstorepass linstor -deststorepass linstor -keypass linstor\\\n" " -srckeystore alpha/keystore.jks -destkeystore charlie/certificates.jks\n" #. type: delimited block - #: administration-linstor.adoc:1605 #, no-wrap msgid "" "# now copy the keystore files to their host destinations\n" "ssh root@alpha mkdir /etc/linstor/ssl\n" "scp alpha/* root@alpha:/etc/linstor/ssl/\n" "ssh root@bravo mkdir /etc/linstor/ssl\n" "scp bravo/* root@bravo:/etc/linstor/ssl/\n" "ssh root@charlie mkdir /etc/linstor/ssl\n" "scp charlie/* root@charlie:/etc/linstor/ssl/\n" msgstr "" "# now copy the keystore files to their host destinations\n" "ssh root@alpha mkdir /etc/linstor/ssl\n" "scp alpha/* root@alpha:/etc/linstor/ssl/\n" "ssh root@bravo mkdir /etc/linstor/ssl\n" "scp bravo/* root@bravo:/etc/linstor/ssl/\n" "ssh root@charlie mkdir /etc/linstor/ssl\n" "scp charlie/* root@charlie:/etc/linstor/ssl/\n" #. type: delimited block - #: administration-linstor.adoc:1617 #, no-wrap msgid "" "# generate the satellite ssl config entry\n" "echo '[netcom]\n" " type=\"ssl\"\n" " port=3367\n" " server_certificate=\"ssl/keystore.jks\"\n" " trusted_certificates=\"ssl/certificates.jks\"\n" " key_password=\"linstor\"\n" " keystore_password=\"linstor\"\n" " truststore_password=\"linstor\"\n" " ssl_protocol=\"TLSv1.2\"\n" "' | ssh root@bravo \"cat > /etc/linstor/linstor_satellite.toml\"\n" msgstr "" "# generate the satellite ssl config entry\n" "echo '[netcom]\n" " type=\"ssl\"\n" " port=3367\n" " server_certificate=\"ssl/keystore.jks\"\n" " trusted_certificates=\"ssl/certificates.jks\"\n" " key_password=\"linstor\"\n" " keystore_password=\"linstor\"\n" " truststore_password=\"linstor\"\n" " ssl_protocol=\"TLSv1.2\"\n" "' | ssh root@bravo \"cat > /etc/linstor/linstor_satellite.toml\"\n" #. type: delimited block - #: administration-linstor.adoc:1628 #, no-wrap msgid "" "echo '[netcom]\n" " type=\"ssl\"\n" " port=3367\n" " server_certificate=\"ssl/keystore.jks\"\n" " trusted_certificates=\"ssl/certificates.jks\"\n" " key_password=\"linstor\"\n" " keystore_password=\"linstor\"\n" " truststore_password=\"linstor\"\n" " ssl_protocol=\"TLSv1.2\"\n" "' | ssh root@charlie \"cat > /etc/linstor/linstor_satellite.toml\"\n" msgstr "" "echo '[netcom]\n" " type=\"ssl\"\n" " port=3367\n" " server_certificate=\"ssl/keystore.jks\"\n" " trusted_certificates=\"ssl/certificates.jks\"\n" " key_password=\"linstor\"\n" " keystore_password=\"linstor\"\n" " truststore_password=\"linstor\"\n" " ssl_protocol=\"TLSv1.2\"\n" "' | ssh root@charlie \"cat > /etc/linstor/linstor_satellite.toml\"\n" #. type: Plain text #: administration-linstor.adoc:1631 msgid "Now just start controller and satellites and add the nodes with `--communication-type SSL`." msgstr "现在只需启动controller和satellites,并添加带有 `--通信类型SSL` 的节点。" #. type: Title === #: administration-linstor.adoc:1633 #, no-wrap msgid "AutoQuorum Policies" msgstr "自动仲裁策略" #. type: Plain text #: administration-linstor.adoc:1640 msgid "" "LINSTOR automatically configures quorum policies on resources *when quorum is achievable*. This means, whenever you have at least two diskful and one or more diskless resource " "assignments, or three or more diskful resource assignments, LINSTOR will enable quorum policies for your resources automatically." msgstr "" "LINSTOR在资源上自动配置仲裁策略 *当仲裁可实现时* 。这意味着,每当您有至少两个磁盘和一个或多个无磁盘资源分配,或三个或多个磁盘资源分配时,LINSTOR将自动为您的资源启用仲裁策略。" #. type: Plain text #: administration-linstor.adoc:1644 msgid "Inversely, LINSTOR will automatically disable quorum policies whenever there are less than the minimum required resource assignments to achieve quorum." msgstr "相反,当达到仲裁所需的资源分配少于最小值时,LINSTOR将自动禁用仲裁策略。" #. type: Plain text #: administration-linstor.adoc:1650 msgid "" "This is controlled via the, `DrbdOptions/auto-quorum`, property which can be applied to the _linstor-controller_, _resource-group_, and _resource-definition_. Accepted values " "for the `DrbdOptions/auto-quorum` property are `disabled`, `suspend-io`, and `io-error`." msgstr "" "这是通过 `DrbdOptions/auto-quorum` 属性控制的,该属性可应用于 `linstor-controller` 、 `resource-group` 和 `resource-definition` 。 `DrbdOptions/auto-quorum`, 属性的接受值为 " "`disabled` 、 `suspend io` 和 `io error` 。" #. type: Plain text #: administration-linstor.adoc:1654 msgid "" "Setting the `DrbdOptions/auto-quorum` property to `disabled` will allow you to manually, or more granularly, control the quorum policies of your resources should you so desire." msgstr "将 `DrbdOptions/auto-quorum` 属性设置为 `disabled` 将允许您手动或更细粒度地控制资源的仲裁策略(如果您愿意)。" #. type: Plain text #: administration-linstor.adoc:1659 msgid "" "The default policies for `DrbdOptions/auto-quorum` are `quorum majority`, and `on-no-quorum io-error`. For more information on DRBD's quorum features and their behavior, please " "refer to the {url-drbd-ug}#s-feature-quorum[quorum section of the DRBD user's guide]." msgstr "" "`DrbdOptions/auto-quorum` 的默认策略是 `quorum-most` 和 `on-no-quorum io-error` 。有关DRBD的仲裁功能及其行为的更多信息,请参阅 {url-drbd-ug}#s-feature-quorum[quorum section of " "the DRBD user's guide]." #. type: Plain text #: administration-linstor.adoc:1662 msgid "The `DrbdOptions/auto-quorum` policies will override any manually configured properties if `DrbdOptions/auto-quorum` is not disabled." msgstr "如果未禁用 `DrbdOptions/auto-quorum` ,则 `DrbdOptions/auto-quorum` 策略将覆盖任何手动配置的属性。" #. type: Plain text #: administration-linstor.adoc:1665 msgid "For example, to manually set the quorum policies of a _resource-group_ named `my_ssd_group`, you would use the following commands:" msgstr "例如,要手动设置名为 `my_ssd_group` 的 _resource-group_ 的仲裁策略,可以使用以下命令:" #. type: delimited block - #: administration-linstor.adoc:1670 #, no-wrap msgid "" "# linstor resource-group set-property my_ssd_group DrbdOptions/auto-quorum disabled\n" "# linstor resource-group set-property my_ssd_group DrbdOptions/Resource/quorum majority\n" "# linstor resource-group set-property my_ssd_group DrbdOptions/Resource/on-no-quorum suspend-io\n" msgstr "" "# linstor resource-group set-property my_ssd_group DrbdOptions/auto-quorum disabled\n" "# linstor resource-group set-property my_ssd_group DrbdOptions/Resource/quorum majority\n" "# linstor resource-group set-property my_ssd_group DrbdOptions/Resource/on-no-quorum suspend-io\n" #. type: Plain text #: administration-linstor.adoc:1677 msgid "" "You may wish to disable DRBD's quorum features completely. To do that, you would need to first disable `DrbdOptions/auto-quorum` on the appropriate LINSTOR object, and then set " "the DRBD quorum features accordingly. For example, use the following commands to disable quorum entirely on the `my_ssd_group` _resource-group_:" msgstr "" "您可能希望完全禁用DRBD的仲裁功能。要做到这一点,首先需要在适当的LINSTOR对象上禁用'DrbdOptions/auto-quorum',然后相应地设置DRBD quorum特性。例如,使用以下命令完全禁用 " "`my_ssd_group` 的 _resource-group_ 上的仲裁:" #. type: delimited block - #: administration-linstor.adoc:1682 #, no-wrap msgid "" "# linstor resource-group set-property my_ssd_group DrbdOptions/auto-quorum disabled\n" "# linstor resource-group set-property my_ssd_group DrbdOptions/Resource/quorum off\n" "# linstor resource-group set-property my_ssd_group DrbdOptions/Resource/on-no-quorum\n" msgstr "" "# linstor resource-group set-property my_ssd_group DrbdOptions/auto-quorum disabled\n" "# linstor resource-group set-property my_ssd_group DrbdOptions/Resource/quorum off\n" "# linstor resource-group set-property my_ssd_group DrbdOptions/Resource/on-no-quorum\n" #. type: Plain text #: administration-linstor.adoc:1686 msgid "Setting `DrbdOptions/Resource/on-no-quorum` to an empty value in the commands above deletes the property from the object entirely." msgstr "在上面的命令中将 `DrbdOptions/Resource/on-no-quorum` 设置为空值将完全从对象中删除该属性。" #. type: Title === #: administration-linstor.adoc:1688 #, no-wrap msgid "QoS Settings" msgstr "QoS设置" #. type: Title ==== #: administration-linstor.adoc:1689 #, no-wrap msgid "Sysfs" msgstr "系统" #. type: Plain text #: administration-linstor.adoc:1692 msgid "LINSTOR is able to set the following Sysfs settings:" msgstr "LINSTOR能够设置以下Sysfs设置:" #. type: Table #: administration-linstor.adoc:1699 #, no-wrap msgid "" "| SysFs | Linstor property\n" "\n" "| `/sys/fs/cgroup/blkio/blkio.throttle.read_bps_device` | `sys/fs/blkio_throttle_read`\n" "| `/sys/fs/cgroup/blkio/blkio.throttle.write_bps_device` | `sys/fs/blkio_throttle_write`\n" msgstr "" "| SysFs | Linstor property\n" "\n" "| `/sys/fs/cgroup/blkio/blkio.throttle.read_bps_device` | `sys/fs/blkio_throttle_read`\n" "| `/sys/fs/cgroup/blkio/blkio.throttle.write_bps_device` | `sys/fs/blkio_throttle_write`\n" #. type: Plain text #: administration-linstor.adoc:1705 msgid "" "If a LINSTOR volume is composed of multiple \"stacked\" volume (for example DRBD with external metadata will have 3 devices: backing (storage) device, metadata device and the " "resulting DRBD device), setting a `sys/fs/\\*` property for a Volume, **all** affected devices will receive the corresponding `/sys/fs/cgroup/...` setting" msgstr "" "如果LINSTOR卷由多个 \"堆叠\" 卷组成(例如带有外部元数据的DRBD将有3个设备:备份(存储)设备、元数据设备和生成的DRBD设备),为卷设置 `sys/fs/\\*` 属性,**所有** 受影响的设备将收到" "相应的 `/sys/fs/cgroup/...` 设置" #. type: Title === #: administration-linstor.adoc:1707 #, no-wrap msgid "Getting help" msgstr "得到帮助" #. type: Title ==== #: administration-linstor.adoc:1708 #, no-wrap msgid "From the command line" msgstr "从命令行" #. type: Plain text #: administration-linstor.adoc:1711 msgid "A quick way to list available commands on the command line is to type `linstor`." msgstr "在命令行中列出可用命令的一种快速方法是键入 `linstor` 。" #. type: Plain text #: administration-linstor.adoc:1714 msgid "Further information on subcommands (e.g., list-nodes) can be retrieved in two ways:" msgstr "有关子命令(例如列表节点)的更多信息可以通过两种方式检索:" #. type: delimited block - #: administration-linstor.adoc:1718 #, no-wrap msgid "" "# linstor node list -h\n" "# linstor help node list\n" msgstr "" "# linstor node list -h\n" "# linstor help node list\n" #. type: Plain text #: administration-linstor.adoc:1722 msgid "Using the 'help' subcommand is especially helpful when LINSTOR is executed in interactive mode (`linstor interactive`)." msgstr "当LINSTOR以交互模式(`LINSTOR interactive`)执行时,使用 `help` 子命令尤其有用。" #. type: Plain text #: administration-linstor.adoc:1727 msgid "" "One of the most helpful features of LINSTOR is its rich tab-completion, which can be used to complete basically every object LINSTOR knows about (e.g., node names, IP " "addresses, resource names, ...). In the following examples, we show some possible completions, and their results:" msgstr "" "LINSTOR最有用的特性之一是它丰富的tab-completion,它基本上可以用来完成LINSTOR所知道的每个对象(例如,节点名、IP地址、资源名等等)。在下面的示例中,我们将展示一些可能的完成及其结" "果:" #. type: delimited block - #: administration-linstor.adoc:1731 #, no-wrap msgid "" "# linstor node create alpha 1 # completes the IP address if hostname can be resolved\n" "# linstor resource create b c # linstor assign-resource backups charlie\n" msgstr "" "# linstor node create alpha 1 # completes the IP address if hostname can be resolved\n" "# linstor resource create b c # linstor assign-resource backups charlie\n" #. type: Plain text #: administration-linstor.adoc:1735 msgid "If tab-completion does not work out of the box, please try to source the appropriate file:" msgstr "如果制表符完成不正常,请尝试获取相应的文件:" #. type: delimited block - #: administration-linstor.adoc:1739 #, no-wrap msgid "" "# source /etc/bash_completion.d/linstor # or\n" "# source /usr/share/bash_completion/completions/linstor\n" msgstr "" "# source /etc/bash_completion.d/linstor # or\n" "# source /usr/share/bash_completion/completions/linstor\n" #. type: Plain text #: administration-linstor.adoc:1743 msgid "For zsh shell users linstor-client can generate a zsh compilation file, that has basic support for command and argument completion." msgstr "对于zsh shell用户,linstor客户机可以生成一个zsh编译文件,该文件基本上支持命令和参数完成。" #. type: delimited block - #: administration-linstor.adoc:1746 #, no-wrap msgid "# linstor gen-zsh-completer > /usr/share/zsh/functions/Completion/Linux/_linstor\n" msgstr "# linstor gen-zsh-completer > /usr/share/zsh/functions/Completion/Linux/_linstor\n" #. type: Title ==== #: administration-linstor.adoc:1748 #, no-wrap msgid "From the community" msgstr "来自社区" #. type: Plain text #: administration-linstor.adoc:1750 msgid "For help from the community please subscribe to our mailing list located here: https://lists.linbit.com/listinfo/drbd-user" msgstr "如需社区帮助,请订阅我们的邮件列表: https://lists.linbit.com/listinfo/drbd-user" #. type: Title ==== #: administration-linstor.adoc:1751 #, no-wrap msgid "GitHub" msgstr "Github" #. type: Plain text #: administration-linstor.adoc:1753 msgid "To file bug or feature request please check out our GitHub page https://github.com/linbit" msgstr "要提交bug或功能请求,请查看我们的GitHub页面 https://GitHub.com/linbit" #. type: Title ==== #: administration-linstor.adoc:1754 #, no-wrap msgid "Paid support and development" msgstr "有偿支持和开发" #. type: Plain text #: administration-linstor.adoc:1755 msgid "" "Alternatively, if you wish to purchase remote installation services, 24/7 support, access to certified repositories, or feature development please contact us: +1-877-454-6248 " "(1-877-4LINBIT) , International: +43-1-8178292-0 | sales@linbit.com" msgstr "或者,如果您希望购买远程安装服务、24/7支持、访问认证存储库或功能开发,请联系我们:+1-877-454-6248(1-877-4LINBIT),国际电话:+43-1-8178292-0 | sales@linbit.com"