| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2020-03-02 15:09+0000\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=CHARSET\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: Title == |
| 20 |
#: proxmox.adoc:2 |
| 21 |
#, no-wrap |
| 22 |
msgid "DRBD Volumes in Proxmox VE" |
| 23 |
msgstr "Proxmox VE中的DRBD卷" |
| 24 |
|
| 25 |
#. type: Plain text |
| 26 |
#: proxmox.adoc:6 |
| 27 |
msgid "" |
| 28 |
"indexterm:[Proxmox]This chapter describes DRBD in Proxmox VE via the " |
| 29 |
"http://git.linbit.com/drbdmanage-proxmox.git[DRBD Manage Proxmox Plugin]." |
| 30 |
msgstr "" |
| 31 |
"indexterm:[Proxmox]本章通过 " |
| 32 |
"http://git.linbit.com/drbdmanage-proxmox.git[DRBD " |
| 33 |
"Manage Proxmox Plugin]描述Proxmox VE中的DRBD。" |
| 34 |
|
| 35 |
#. type: Title === |
| 36 |
#: proxmox.adoc:8 |
| 37 |
#, no-wrap |
| 38 |
msgid "Proxmox VE Overview" |
| 39 |
msgstr "Proxmox VE概述" |
| 40 |
|
| 41 |
#. type: Plain text |
| 42 |
#: proxmox.adoc:12 |
| 43 |
msgid "" |
| 44 |
"http://www.proxmox.com/en/[Proxmox VE] is an easy to use, complete server " |
| 45 |
"virtualization environment with KVM, Linux Containers and HA." |
| 46 |
msgstr "" |
| 47 |
"http://www.proxmox.com/en/[proxmox VE] 是一个易于使用的、完整的服务器虚拟化环境,具有KVM、Linux容器和HA。" |
| 48 |
|
| 49 |
#. (LVM volumes on DRBD) |
| 50 |
#. type: Plain text |
| 51 |
#: proxmox.adoc:18 |
| 52 |
msgid "" |
| 53 |
"'drbdmanage-proxmox' is a Perl plugin for Proxmox that, in combination with " |
| 54 |
"DRBD Manage, allows to replicate VM disks on several Proxmox VE nodes. This " |
| 55 |
"allows to live-migrate active VMs within a few seconds and with no downtime " |
| 56 |
"without needing a central SAN, as the data is already replicated to multiple" |
| 57 |
" nodes." |
| 58 |
msgstr "" |
| 59 |
"`drbdmanage-proxmox` 是proxmox的一个Perl插件,它与DRBD Manage结合,允许在多个proxmox " |
| 60 |
"VE节点上复制VM磁盘。这允许在几秒钟内实时迁移活动vm,而且不需要中央SAN,因为数据已经复制到多个节点。" |
| 61 |
|
| 62 |
#. type: Title === |
| 63 |
#: proxmox.adoc:20 |
| 64 |
#, no-wrap |
| 65 |
msgid "Proxmox Plugin Installation" |
| 66 |
msgstr "Proxmox插件安装" |
| 67 |
|
| 68 |
#. type: Plain text |
| 69 |
#: proxmox.adoc:25 |
| 70 |
msgid "" |
| 71 |
"LINBIT provides a dedicated public repository for Proxmox VE users. This " |
| 72 |
"repository not only contains the Proxmox plugin, but the whole DRBD SDS " |
| 73 |
"stack including a customized version of DRBD Manage, DRBD SDS kernel module " |
| 74 |
"and user space utilities, and of course the Proxmox Perl plugin itself." |
| 75 |
msgstr "" |
| 76 |
"LINBIT为Proxmox VE用户提供了一个专用的公共存储库。这个存储库不仅包含Proxmox插件,还包含整个DRBD " |
| 77 |
"SDS堆栈,包括一个自定义版本的DRBD Manage、DRBD SDS内核模块和用户空间实用程序,当然还有Proxmox Perl插件本身。" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: proxmox.adoc:32 |
| 81 |
msgid "" |
| 82 |
"The DRBD9 kernel module gets installed as a `dkms` package (i.e., `drbd-" |
| 83 |
"dkms`), therefore you want to install `pve-headers` before you set " |
| 84 |
"up/install software from LINBIT's repositories. Following that order ensures" |
| 85 |
" that the kernel module is built for your kernel. If you do not follow the " |
| 86 |
"latest Proxmox kernel, you have to install kernel headers matching your " |
| 87 |
"current kernel (e.g., `pve-headers-$(uname -r)`). If you did not follow that" |
| 88 |
" advice and you need to rebuild the dkms package against your current kernel" |
| 89 |
" (headers have to be installed), you can issue `apt install --reinstall " |
| 90 |
"drbd-dkms`." |
| 91 |
msgstr "" |
| 92 |
"DRBD9内核模块作为 `dkms` 包(即 `drbd-dkms` )安装,因此在从LINBIT的存储库设置/安装软件之前,需要安装 `pve-" |
| 93 |
"headers` 。遵循这个顺序可以确保为您的内核构建内核模块。如果不遵循最新的Proxmox内核,则必须安装与当前内核匹配的内核头(例如,`pve-" |
| 94 |
"headers-(uname-r)` )。如果您没有遵循这个建议,并且需要根据当前内核重新构建dkms包(必须安装头),那么可以输入 `apt " |
| 95 |
"install --reinstall drbd-dkms` 。" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
#: proxmox.adoc:35 |
| 99 |
msgid "" |
| 100 |
"LINBIT's repository can be enabled as follows, where \"$PVERS\" should be " |
| 101 |
"set to your Proxmox VE *major version* (e.g., \"5\", not \"5.2\"):" |
| 102 |
msgstr "LINBIT的存储库可以如下启用,其中 \"$PVERS\" 应该设置为Proxmox VE *主版本*(例如,\"5\",而不是 \"5.2\"):" |
| 103 |
|
| 104 |
#. type: delimited block - |
| 105 |
#: proxmox.adoc:42 |
| 106 |
#, no-wrap |
| 107 |
msgid "" |
| 108 |
"# wget -O- https://packages.linbit.com/package-signing-pubkey.asc | apt-key add -\n" |
| 109 |
"# PVERS=5 && echo \"deb http://packages.linbit.com/proxmox/ proxmox-$PVERS drbd-9.0\" > \\\n" |
| 110 |
"\t/etc/apt/sources.list.d/linbit.list\n" |
| 111 |
"# apt purge drbdmanage\n" |
| 112 |
"# apt update && apt install drbdmanage-proxmox\n" |
| 113 |
msgstr "" |
| 114 |
"# wget -O- https://packages.linbit.com/package-signing-pubkey.asc | apt-key add -\n" |
| 115 |
"# PVERS=5 && echo \"deb http://packages.linbit.com/proxmox/ proxmox-$PVERS drbd-9.0\" > \\\n" |
| 116 |
"\t/etc/apt/sources.list.d/linbit.list\n" |
| 117 |
"# apt purge drbdmanage\n" |
| 118 |
"# apt update && apt install drbdmanage-proxmox\n" |
| 119 |
|
| 120 |
#. type: Plain text |
| 121 |
#: proxmox.adoc:46 |
| 122 |
msgid "" |
| 123 |
"If you are already (or have been) using Proxmox's version of DRBD Manage, " |
| 124 |
"you can simply enable the repository and install `drbdmanage-proxmox`; you " |
| 125 |
"don't have to change the existing configuration." |
| 126 |
msgstr "" |
| 127 |
"如果您已经(或已经)使用了Proxmox版本的DRBD Manage,那么您只需启用存储库并安装 `drbdmanage-proxmox` " |
| 128 |
";不必更改现有配置。" |
| 129 |
|
| 130 |
#. type: Title === |
| 131 |
#: proxmox.adoc:48 |
| 132 |
#, no-wrap |
| 133 |
msgid "Proxmox Plugin Configuration" |
| 134 |
msgstr "ProxBox插件配置" |
| 135 |
|
| 136 |
#. type: Plain text |
| 137 |
#: proxmox.adoc:52 |
| 138 |
msgid "" |
| 139 |
"The first step is to set up a static IP address for DRBD traffic. As Proxmox" |
| 140 |
" is Debian GNU/Linux based, this is configured via " |
| 141 |
"`/etc/network/interfaces`." |
| 142 |
msgstr "" |
| 143 |
"第一步是为DRBD流量设置一个静态IP地址。由于Proxmox是基于Debian " |
| 144 |
"GNU/Linux的,所以它是通过 `/etc/network/interfaces` 配置的。" |
| 145 |
|
| 146 |
#. type: Plain text |
| 147 |
#: proxmox.adoc:54 |
| 148 |
msgid "" |
| 149 |
"The second step is to configure DRBD Manage as described in <<s-dm-init-" |
| 150 |
"cluster>>." |
| 151 |
msgstr "第二步是配置DRBD Manage,如<<s-dm-init-cluster>>中所述。" |
| 152 |
|
| 153 |
#. type: Plain text |
| 154 |
#: proxmox.adoc:57 |
| 155 |
msgid "" |
| 156 |
"The third and last step is to provide a configuration for Proxmox itself. " |
| 157 |
"This is done by adding an entry to `/etc/pve/storage.cfg` with the following" |
| 158 |
" content, assuming a three node cluster in this example:" |
| 159 |
msgstr "" |
| 160 |
"第三步也是最后一步是为Proxmox本身提供配置。这是通过在 `/etc/pve/storage.cfg` 中添加一个包含以下内容的条目来完成的,假设在本例中是一个三节点集群:" |
| 161 |
|
| 162 |
#. type: delimited block - |
| 163 |
#: proxmox.adoc:62 |
| 164 |
#, no-wrap |
| 165 |
msgid "" |
| 166 |
"drbd: drbdstorage\n" |
| 167 |
" content images,rootdir\n" |
| 168 |
" redundancy 3\n" |
| 169 |
msgstr "" |
| 170 |
"drbd: drbdstorage\n" |
| 171 |
" content images,rootdir\n" |
| 172 |
" redundancy 3\n" |
| 173 |
|
| 174 |
#. type: Plain text |
| 175 |
#: proxmox.adoc:65 |
| 176 |
msgid "" |
| 177 |
"After that you can create VMs via Proxmox's web GUI by selecting " |
| 178 |
"\"__drbdstorage__\" as storage location." |
| 179 |
msgstr "之后,您可以通过Proxmox的web GUI创建vm,方法是选择 \"__drbdstorage__\" 作为存储位置。" |
| 180 |
|
| 181 |
#. type: Block title |
| 182 |
#: proxmox.adoc:66 |
| 183 |
#, no-wrap |
| 184 |
msgid "NOTE: DRBD supports only the **raw** disk format at the moment." |
| 185 |
msgstr "注意:目前DRBD只支持 **raw** 磁盘格式。" |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: proxmox.adoc:70 |
| 189 |
msgid "" |
| 190 |
"At this point you can try to live migrate the VM - as all data is available " |
| 191 |
"on both nodes it will take just a few seconds. The overall process might " |
| 192 |
"take a bit longer if the VM is under load and if there is a lot of RAM being" |
| 193 |
" dirtied all the time. But in any case, the downtime is minimal and you will" |
| 194 |
" see no interruption at all." |
| 195 |
msgstr "" |
| 196 |
"此时,您可以尝试实时迁移虚拟机—因为两个节点上的所有数据都可用,只需几秒钟。如果VM负载不足,并且有很多RAM一直被污染,那么整个过程可能需要更长的时间。但是在任何情况下,停机时间都是最少的,而且您不会看到任何中断。" |