| 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 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: \n" |
| 9 |
"POT-Creation-Date: 2021-09-24 15:36+0900\n" |
| 10 |
"PO-Revision-Date: 2021-07-05 08:21+0900\n" |
| 11 |
"Last-Translator: 黒木 博 <[email protected]>\n" |
| 12 |
"Language-Team: \n" |
| 13 |
"Language: ja\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"X-Generator: Poedit 3.0\n" |
| 18 |
|
| 19 |
#. type: Title == |
| 20 |
#, no-wrap |
| 21 |
msgid "LINSTOR Volumes in Nomad" |
| 22 |
msgstr "NomadのLINSTORボリューム" |
| 23 |
|
| 24 |
#. type: Plain text |
| 25 |
msgid "indexterm:[Nomad]" |
| 26 |
msgstr "indexterm:[Nomad]" |
| 27 |
|
| 28 |
#. type: Plain text |
| 29 |
msgid "" |
| 30 |
"This chapter describes using LINSTOR and DRBD to provision volumes in Nomad." |
| 31 |
msgstr "" |
| 32 |
"この章では、LINSTORとDRBDを使用してNomadでボリュームをプロビジョニングする方" |
| 33 |
"法について説明します。" |
| 34 |
|
| 35 |
#. type: Title === |
| 36 |
#, no-wrap |
| 37 |
msgid "Nomad Overview" |
| 38 |
msgstr "Nomadの概要" |
| 39 |
|
| 40 |
#. type: Plain text |
| 41 |
msgid "" |
| 42 |
"https://www.nomadproject.io/[Nomad] is a simple and flexible workload " |
| 43 |
"orchestrator to deploy and manage containers and non-containerized " |
| 44 |
"applications across on-prem and clouds." |
| 45 |
msgstr "" |
| 46 |
"https://www.nomadproject.io/[Nomad] は、コンテナとコンテナ化されていないアプ" |
| 47 |
"リケーションをオンプレミスとクラウド上にデプロイして管理するための、シンプル" |
| 48 |
"で柔軟性のあるワークロードオーケストレーターです。" |
| 49 |
|
| 50 |
#. type: Plain text |
| 51 |
msgid "" |
| 52 |
"Nomad supports provisioning storage volumes via https://www.nomadproject.io/" |
| 53 |
"docs/internals/plugins/csi[plugins] conforming to the https://github.com/" |
| 54 |
"container-storage-interface/spec[Container Storage Interface (CSI)]." |
| 55 |
msgstr "" |
| 56 |
"Nomadは https://github.com/containerストレージインタフェース/仕様[Container " |
| 57 |
"Storage Interface(CSI)] に準拠した https://www.nomadproject.io/docs/" |
| 58 |
"internals/plugins/csi[plugins] 経由のストレージボリュームのプロビジョニングを" |
| 59 |
"サポートします。" |
| 60 |
|
| 61 |
#. type: Plain text |
| 62 |
msgid "" |
| 63 |
"LINBIT distributes a CSI plugin in the form of container images from http://" |
| 64 |
"drbd.io[drbd.io]. The plugin can be configured to work with a LINSTOR " |
| 65 |
"cluster that is deployed along or inside a Nomad cluster." |
| 66 |
msgstr "" |
| 67 |
"LINBITは、CSIプラグインを http://drbd.io[drbd.io] のコンテナイメージの形で配" |
| 68 |
"布しています。このプラグインは、Nomadクラスタに沿って、またはその内部にデプロ" |
| 69 |
"イされたLINSTORクラスタと連携するように構成できます。" |
| 70 |
|
| 71 |
#. type: Title === |
| 72 |
#, no-wrap |
| 73 |
msgid "Deploying LINSTOR on Nomad" |
| 74 |
msgstr "NomadにLINSTORの展開" |
| 75 |
|
| 76 |
#. type: Plain text |
| 77 |
msgid "" |
| 78 |
"This section describes how you can deploy and configure a new LINSTOR " |
| 79 |
"cluster in Nomad." |
| 80 |
msgstr "" |
| 81 |
"この項では、Nomadで新しいLINSTORクラスタを展開および設定する方法について説明" |
| 82 |
"します。" |
| 83 |
|
| 84 |
#. type: Plain text |
| 85 |
msgid "" |
| 86 |
"If you want to install LINSTOR directly on your nodes, check out the <<s-" |
| 87 |
"installation, guide on installing LINSTOR>>. You can skip this section and " |
| 88 |
"jump directly to <<s-nomad-linstor-csi-deployment, deploying the CSI " |
| 89 |
"driver>>." |
| 90 |
msgstr "" |
| 91 |
"LINSTORをノードに直接インストールする場合は、 <<s-installation, LINSTOR のイ" |
| 92 |
"ンストール>> を参照してください。このセクションをスキップして、 <<s-nomad-" |
| 93 |
"linstor-csi-deployment, CSI ドライバのデプロイ>> に直接移動できます。" |
| 94 |
|
| 95 |
#. type: Title ==== |
| 96 |
#, no-wrap |
| 97 |
msgid "Preparing Nomad" |
| 98 |
msgstr "Nomadを準備する" |
| 99 |
|
| 100 |
#. type: Plain text |
| 101 |
msgid "In order to run LINSTOR, every Nomad agent needs to be configured to:" |
| 102 |
msgstr "" |
| 103 |
"LINSTORを実行するには、すべてのNomadエージェントを次のように設定する必要があ" |
| 104 |
"ります。" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
msgid "" |
| 108 |
"Support the https://www.nomadproject.io/docs/drivers/docker[docker driver] " |
| 109 |
"and allow executing privileged containers" |
| 110 |
msgstr "" |
| 111 |
"https://www.nomadproject.io/docs/drivers/docker[docker driver]をサポートし、" |
| 112 |
"特権コンテナの実行を許可します。" |
| 113 |
|
| 114 |
#. type: Plain text |
| 115 |
msgid "" |
| 116 |
"To allow running privileged containers, add the following snippet to your " |
| 117 |
"Nomad agent configuration and restart Nomad" |
| 118 |
msgstr "" |
| 119 |
"特権コンテナーの実行を許可するには、以下のスニペットをNomadエージェント構成に" |
| 120 |
"追加して、Nomadを再起動します。" |
| 121 |
|
| 122 |
#. type: Block title |
| 123 |
#, no-wrap |
| 124 |
msgid "/etc/nomad.d/docker-privileged.hcl" |
| 125 |
msgstr "/etc/nomad.d/docker-privileged.hcl" |
| 126 |
|
| 127 |
#. type: delimited block - |
| 128 |
#, no-wrap |
| 129 |
msgid "" |
| 130 |
"plugin \"docker\" {\n" |
| 131 |
" config {\n" |
| 132 |
" allow_privileged = true\n" |
| 133 |
" }\n" |
| 134 |
"}\n" |
| 135 |
msgstr "" |
| 136 |
"plugin \"docker\" {\n" |
| 137 |
" config {\n" |
| 138 |
" allow_privileged = true\n" |
| 139 |
" }\n" |
| 140 |
"}\n" |
| 141 |
|
| 142 |
#. type: Plain text |
| 143 |
msgid "" |
| 144 |
"Support for container networking. If you don't have the https://www.cni.dev/" |
| 145 |
"[Container Network Interface] plugins installed, you will only be able to " |
| 146 |
"use `mode = \"host\"` in your job networks. For most production setups, we " |
| 147 |
"recommend installing the default plugins:" |
| 148 |
msgstr "" |
| 149 |
"コンテナネットワークのサポート。 https://www.cni.dev/[Container Network " |
| 150 |
"Interface] プラグインがインストールされていない場合は、ジョブネットワークで " |
| 151 |
"`mode = \"host\"` のみを使用できます。ほとんどの本番環境のセットアップでは、" |
| 152 |
"デフォルトのプラグインをインストールすることをお勧めします。" |
| 153 |
|
| 154 |
#. type: Plain text |
| 155 |
msgid "" |
| 156 |
"Head to the https://github.com/containernetworking/plugins/releases/[plugin " |
| 157 |
"release page], select the release archive appropriate for your distribution " |
| 158 |
"and unpack them in `/opt/cni/bin`. You might need to create the directory " |
| 159 |
"before unpacking." |
| 160 |
msgstr "" |
| 161 |
"https://github.com/containernetworking/plugins/releases/[plugin release " |
| 162 |
"page] に移動し、ディストリビューションに適したリリースアーカイブを選択して、/" |
| 163 |
"opt/cni/bin に解凍します。解凍する前にディレクトリを作成する必要があるかもし" |
| 164 |
"れません。" |
| 165 |
|
| 166 |
#. type: Plain text |
| 167 |
msgid "" |
| 168 |
"Provide a host volume, allowing a container access to the hosts `/dev` " |
| 169 |
"directory" |
| 170 |
msgstr "" |
| 171 |
"ホストボリュームを提供して、ホストの `/dev` ディレクトリへのコンテナアクセス" |
| 172 |
"を許可する" |
| 173 |
|
| 174 |
#. type: Plain text |
| 175 |
msgid "" |
| 176 |
"To create a host volume, add the following snippet to your Nomad agent " |
| 177 |
"configuration and restart Nomad" |
| 178 |
msgstr "" |
| 179 |
"ホストボリュームを作成するには、以下のスニペットをNomadエージェント構成に追加" |
| 180 |
"し、Nomadを再起動します。" |
| 181 |
|
| 182 |
#. type: Block title |
| 183 |
#, no-wrap |
| 184 |
msgid "/etc/nomad.d/host-volume-dev.hcl" |
| 185 |
msgstr "/etc/nomad.d/host-volume-dev.hcl" |
| 186 |
|
| 187 |
#. type: delimited block - |
| 188 |
#, no-wrap |
| 189 |
msgid "" |
| 190 |
"client {\n" |
| 191 |
" host_volume \"dev\" {\n" |
| 192 |
" path = \"/dev\"\n" |
| 193 |
" }\n" |
| 194 |
"}\n" |
| 195 |
msgstr "" |
| 196 |
"client {\n" |
| 197 |
" host_volume \"dev\" {\n" |
| 198 |
" path = \"/dev\"\n" |
| 199 |
" }\n" |
| 200 |
"}\n" |
| 201 |
|
| 202 |
#. type: Title ==== |
| 203 |
#, no-wrap |
| 204 |
msgid "Create a LINSTOR Controller Job" |
| 205 |
msgstr "LINSTORコントローラジョブを作成する" |
| 206 |
|
| 207 |
#. type: Plain text |
| 208 |
msgid "" |
| 209 |
"The LINSTOR Controller is deployed as a service with no replicas. At any " |
| 210 |
"point in time, there can only be one LINSTOR Controller running in a " |
| 211 |
"cluster. It is possible to restart the controller on a new node, provided it " |
| 212 |
"still has access to the database. See <<s-linstor_ha>> for more information." |
| 213 |
msgstr "" |
| 214 |
"LINSTOR コントローラは、レプリカのないサービスとして導入されます。どの時点に" |
| 215 |
"おいても、1つのクラスタ内で実行可能なLINSTOR コントローラは1つのみです。デー" |
| 216 |
"タベースへのアクセス権がある場合は、新しいノードでコントローラを再起動できま" |
| 217 |
"す。詳細は <<s-linstor_ha>> を参照してください。" |
| 218 |
|
| 219 |
#. type: Plain text |
| 220 |
msgid "" |
| 221 |
"The following example will create a Nomad job starting a single LINSTOR " |
| 222 |
"Controller in datacenter `dc1` and connect to an external database." |
| 223 |
msgstr "" |
| 224 |
"次の例では、データセンター `dc1` で単一のLINSTORコントローラを起動するNomad" |
| 225 |
"ジョブを作成し、外部データベースに接続します。" |
| 226 |
|
| 227 |
#. type: Block title |
| 228 |
#, no-wrap |
| 229 |
msgid "linstor-controller.hcl" |
| 230 |
msgstr "linstor-controller.hcl" |
| 231 |
|
| 232 |
#. type: delimited block - |
| 233 |
#, no-wrap |
| 234 |
msgid "" |
| 235 |
"job \"linstor-controller\" {\n" |
| 236 |
" datacenters = [\"dc1\"] <1>\n" |
| 237 |
" type = \"service\"\n" |
| 238 |
msgstr "" |
| 239 |
"job \"linstor-controller\" {\n" |
| 240 |
" datacenters = [\"dc1\"] <1>\n" |
| 241 |
" type = \"service\"\n" |
| 242 |
|
| 243 |
#. type: delimited block - |
| 244 |
#, no-wrap |
| 245 |
msgid "" |
| 246 |
" group \"linstor-controller\" {\n" |
| 247 |
" network {\n" |
| 248 |
" mode = \"bridge\"\n" |
| 249 |
" # port \"linstor-api\" { <2>\n" |
| 250 |
" # static = 3370\n" |
| 251 |
" # to = 3370\n" |
| 252 |
" # }\n" |
| 253 |
" }\n" |
| 254 |
msgstr "" |
| 255 |
" group \"linstor-controller\" {\n" |
| 256 |
" network {\n" |
| 257 |
" mode = \"bridge\"\n" |
| 258 |
" # port \"linstor-api\" { <2>\n" |
| 259 |
" # static = 3370\n" |
| 260 |
" # to = 3370\n" |
| 261 |
" # }\n" |
| 262 |
" }\n" |
| 263 |
|
| 264 |
#. type: delimited block - |
| 265 |
#, no-wrap |
| 266 |
msgid "" |
| 267 |
" service { <3>\n" |
| 268 |
" name = \"linstor-api\"\n" |
| 269 |
" port = \"3370\"\n" |
| 270 |
msgstr "" |
| 271 |
" service { <3>\n" |
| 272 |
" name = \"linstor-api\"\n" |
| 273 |
" port = \"3370\"\n" |
| 274 |
|
| 275 |
#. type: delimited block - |
| 276 |
#, no-wrap |
| 277 |
msgid "" |
| 278 |
" connect {\n" |
| 279 |
" sidecar_service {}\n" |
| 280 |
" }\n" |
| 281 |
msgstr "" |
| 282 |
" connect {\n" |
| 283 |
" sidecar_service {}\n" |
| 284 |
" }\n" |
| 285 |
|
| 286 |
#. type: delimited block - |
| 287 |
#, no-wrap |
| 288 |
msgid "" |
| 289 |
" check {\n" |
| 290 |
" expose = true\n" |
| 291 |
" type = \"http\"\n" |
| 292 |
" name = \"api-health\"\n" |
| 293 |
" path = \"/health\"\n" |
| 294 |
" interval = \"30s\"\n" |
| 295 |
" timeout = \"5s\"\n" |
| 296 |
" }\n" |
| 297 |
" }\n" |
| 298 |
msgstr "" |
| 299 |
" check {\n" |
| 300 |
" expose = true\n" |
| 301 |
" type = \"http\"\n" |
| 302 |
" name = \"api-health\"\n" |
| 303 |
" path = \"/health\"\n" |
| 304 |
" interval = \"30s\"\n" |
| 305 |
" timeout = \"5s\"\n" |
| 306 |
" }\n" |
| 307 |
" }\n" |
| 308 |
|
| 309 |
#. type: delimited block - |
| 310 |
#, no-wrap |
| 311 |
msgid "" |
| 312 |
" task \"linstor-controller\" {\n" |
| 313 |
" driver = \"docker\"\n" |
| 314 |
" config {\n" |
| 315 |
" image = \"drbd.io/linstor-controller:v1.13.0\" <4>\n" |
| 316 |
msgstr "" |
| 317 |
" task \"linstor-controller\" {\n" |
| 318 |
" driver = \"docker\"\n" |
| 319 |
" config {\n" |
| 320 |
" image = \"drbd.io/linstor-controller:v1.13.0\" <4>\n" |
| 321 |
|
| 322 |
#. type: delimited block - |
| 323 |
#, no-wrap |
| 324 |
msgid "" |
| 325 |
" auth { <5>\n" |
| 326 |
" username = \"example\"\n" |
| 327 |
" password = \"example\"\n" |
| 328 |
" server_address = \"drbd.io\"\n" |
| 329 |
" }\n" |
| 330 |
msgstr "" |
| 331 |
" auth { <5>\n" |
| 332 |
" username = \"example\"\n" |
| 333 |
" password = \"example\"\n" |
| 334 |
" server_address = \"drbd.io\"\n" |
| 335 |
" }\n" |
| 336 |
|
| 337 |
#. type: delimited block - |
| 338 |
#, no-wrap |
| 339 |
msgid "" |
| 340 |
" mount {\n" |
| 341 |
" type = \"bind\"\n" |
| 342 |
" source = \"local\"\n" |
| 343 |
" target = \"/etc/linstor\"\n" |
| 344 |
" }\n" |
| 345 |
" }\n" |
| 346 |
msgstr "" |
| 347 |
" mount {\n" |
| 348 |
" type = \"bind\"\n" |
| 349 |
" source = \"local\"\n" |
| 350 |
" target = \"/etc/linstor\"\n" |
| 351 |
" }\n" |
| 352 |
" }\n" |
| 353 |
|
| 354 |
#. type: delimited block - |
| 355 |
#, no-wrap |
| 356 |
msgid "" |
| 357 |
" # template { <6>\n" |
| 358 |
" # destination = \"local/linstor.toml\"\n" |
| 359 |
" # data = <<EOH\n" |
| 360 |
" # [db]\n" |
| 361 |
" # user = \"example\"\n" |
| 362 |
" # password = \"example\"\n" |
| 363 |
" # connection_url = \"jdbc:postgresql://postgres.internal.example.com/linstor\"\n" |
| 364 |
" # EOH\n" |
| 365 |
" # }\n" |
| 366 |
msgstr "" |
| 367 |
" # template { <6>\n" |
| 368 |
" # destination = \"local/linstor.toml\"\n" |
| 369 |
" # data = <<EOH\n" |
| 370 |
" # [db]\n" |
| 371 |
" # user = \"example\"\n" |
| 372 |
" # password = \"example\"\n" |
| 373 |
" # connection_url = \"jdbc:postgresql://postgres.internal.example.com/linstor\"\n" |
| 374 |
" # EOH\n" |
| 375 |
" # }\n" |
| 376 |
|
| 377 |
#. type: delimited block - |
| 378 |
#, no-wrap |
| 379 |
msgid "" |
| 380 |
" resources {\n" |
| 381 |
" cpu = 500 # 500 MHz\n" |
| 382 |
" memory = 700 # 700MB\n" |
| 383 |
" }\n" |
| 384 |
" }\n" |
| 385 |
" }\n" |
| 386 |
"}\n" |
| 387 |
msgstr "" |
| 388 |
" resources {\n" |
| 389 |
" cpu = 500 # 500 MHz\n" |
| 390 |
" memory = 700 # 700MB\n" |
| 391 |
" }\n" |
| 392 |
" }\n" |
| 393 |
" }\n" |
| 394 |
"}\n" |
| 395 |
|
| 396 |
#. type: Plain text |
| 397 |
msgid "Replace `dc1` with your own datacenter name" |
| 398 |
msgstr "`dc1` はデータセンタ名に置き換えてください" |
| 399 |
|
| 400 |
#. type: Plain text |
| 401 |
msgid "This exposes the LINSTOR API on the host on port `3370`." |
| 402 |
msgstr "これにより、ホストでポート `3370` の LINSTOR API が公開されます。" |
| 403 |
|
| 404 |
#. type: Plain text |
| 405 |
msgid "" |
| 406 |
"Uncomment this section if your cluster is not configured with {consul-" |
| 407 |
"connect}[Consul Connect]." |
| 408 |
msgstr "" |
| 409 |
"クラスタが {consul-connect}[Consul Connect] で構成されていない場合は、このセ" |
| 410 |
"クションのコメントを削除してください。" |
| 411 |
|
| 412 |
#. type: Plain text |
| 413 |
msgid "" |
| 414 |
"The `service` block is used to expose the LINSTOR API to other jobs via the " |
| 415 |
"service mesh." |
| 416 |
msgstr "" |
| 417 |
"`service` ブロックは、サービスメッシュを介してL INSTOR API を他のジョブに公開" |
| 418 |
"するために使用されます。" |
| 419 |
|
| 420 |
#. type: Plain text |
| 421 |
msgid "" |
| 422 |
"If your cluster is not configured for {consul-connect}[Consul Connect] you " |
| 423 |
"can remove this section." |
| 424 |
msgstr "" |
| 425 |
"クラスタが {consul-connect}[Consul Connect] で構成されていない場合は、このセ" |
| 426 |
"クションを削除してください。" |
| 427 |
|
| 428 |
#. type: Plain text |
| 429 |
msgid "" |
| 430 |
"This sets the LINSTOR Controller image to run. The latest images are " |
| 431 |
"available from http://drbd.io[drbd.io]." |
| 432 |
msgstr "" |
| 433 |
"これにより、LINSTORコントローライメージが実行されるように設定されます。最新の" |
| 434 |
"イメージは http://drbd.io[drbd.io] から入手できます。" |
| 435 |
|
| 436 |
#. type: Plain text |
| 437 |
msgid "" |
| 438 |
"The use of the `:latest` tag is strongly discouraged, as it can quickly lead " |
| 439 |
"to version mismatches and unintended upgrades." |
| 440 |
msgstr "" |
| 441 |
"`:latest` タグの使用は、バージョンの不一致や意図しないアップグレードにすぐに" |
| 442 |
"つながる可能性があるため、お勧めしません。" |
| 443 |
|
| 444 |
#. type: Plain text |
| 445 |
msgid "" |
| 446 |
"Sets the authentication to use when pulling the image. If pulling from `drbd." |
| 447 |
"io`, you need to use your LINBIT customer login here. Read more about " |
| 448 |
"pulling from a private repo https://www.nomadproject.io/docs/drivers/" |
| 449 |
"docker#authentication[here]." |
| 450 |
msgstr "" |
| 451 |
"イメージを pull するときに使用する認証を設定します。 `drbd.io` から pull する" |
| 452 |
"場合は、ここでLINBITの顧客ログインを使用する必要があります。プライベートレポ" |
| 453 |
"ジトリからの pull に関しては https://www.nomadproject.io/docs/drivers/" |
| 454 |
"docker#authentication[こちら] を参照ください。 " |
| 455 |
|
| 456 |
#. type: Plain text |
| 457 |
msgid "" |
| 458 |
"This template can be used to set arbitrary configuration options for " |
| 459 |
"LINSTOR. This example configures an external database for LINSTOR. You can " |
| 460 |
"find a more detailed explanation of LINSTORs database options <<s-linstor-" |
| 461 |
"external-database,here>> and more on Nomad templates https://www." |
| 462 |
"nomadproject.io/docs/job-specification/template#template-examples[here]." |
| 463 |
msgstr "" |
| 464 |
"このテンプレートは、LINSTORの任意の構成オプションを設定するために使用できま" |
| 465 |
"す。この例では、LINSTORの外部データベースを構成します。詳細は LINSTOR データ" |
| 466 |
"ベースオプション <<s-linstor-external-database,こちら>> およびNomadテンプレー" |
| 467 |
"ト https://www.nomadproject.io/docs/job-specification/template#template-" |
| 468 |
"examples#template-examples[こちら] を参照ください。" |
| 469 |
|
| 470 |
#. type: Plain text |
| 471 |
msgid "Apply the job by running:" |
| 472 |
msgstr "次のコマンドを実行して、ジョブを適用します。" |
| 473 |
|
| 474 |
#. type: delimited block - |
| 475 |
#, no-wrap |
| 476 |
msgid "" |
| 477 |
"$ nomad job run linstor-controller.hcl\n" |
| 478 |
"==> Monitoring evaluation \"7d8911a7\"\n" |
| 479 |
" Evaluation triggered by job \"linstor-controller\"\n" |
| 480 |
"==> Monitoring evaluation \"7d8911a7\"\n" |
| 481 |
" Evaluation within deployment: \"436f4b2d\"\n" |
| 482 |
" Allocation \"0b564c73\" created: node \"07754224\", group \"controller\"\n" |
| 483 |
" Evaluation status changed: \"pending\" -> \"complete\"\n" |
| 484 |
"==> Evaluation \"7d8911a7\" finished with status \"complete\"\n" |
| 485 |
msgstr "" |
| 486 |
"$ nomad job run linstor-controller.hcl\n" |
| 487 |
"==> Monitoring evaluation \"7d8911a7\"\n" |
| 488 |
" Evaluation triggered by job \"linstor-controller\"\n" |
| 489 |
"==> Monitoring evaluation \"7d8911a7\"\n" |
| 490 |
" Evaluation within deployment: \"436f4b2d\"\n" |
| 491 |
" Allocation \"0b564c73\" created: node \"07754224\", group \"controller\"\n" |
| 492 |
" Evaluation status changed: \"pending\" -> \"complete\"\n" |
| 493 |
"==> Evaluation \"7d8911a7\" finished with status \"complete\"\n" |
| 494 |
|
| 495 |
#. type: Title ===== |
| 496 |
#, no-wrap |
| 497 |
msgid "Using a host volume for Linstors database" |
| 498 |
msgstr "Linstorsデータベースにホストボリュームを使用する" |
| 499 |
|
| 500 |
#. type: Plain text |
| 501 |
msgid "" |
| 502 |
"If you want to try LINSTOR without setting up an external database, you can " |
| 503 |
"make use of Linstors built-in filesystem based database. To make the " |
| 504 |
"database persistent, you need to ensure it is placed on a host volume." |
| 505 |
msgstr "" |
| 506 |
"外部データベースを設定せずにLINSTORを試したい場合は、Linstors組み込みのファイ" |
| 507 |
"ルシステムベースのデータベースを利用できます。データベースを永続的にするに" |
| 508 |
"は、データベースがホストボリュームに配置されていることを確認する必要がありま" |
| 509 |
"す。" |
| 510 |
|
| 511 |
#. type: Plain text |
| 512 |
msgid "" |
| 513 |
"Using a host volume means that only a single node is able to run the LINSTOR " |
| 514 |
"Controller. If the node is unavailable, the LINSTOR Cluster will also be " |
| 515 |
"unavailable. For alternatives, use an external (highly available) database " |
| 516 |
"or deploy the <<s-linstor_ha,LINSTOR cluster directly on the hosts>>." |
| 517 |
msgstr "" |
| 518 |
"ホストボリュームを使用すると、1つのノードのみでLINSTOR コントローラを実行でき" |
| 519 |
"ます。ノードが使用不可の場合は、LINSTOR クラスタも使用不可になります。代替策" |
| 520 |
"として、外部(高可用性)データベースを使用するか、 <<s-linstor_ha,LINSTORクラス" |
| 521 |
"タをホストに直接導入>> します。" |
| 522 |
|
| 523 |
#. type: Plain text |
| 524 |
msgid "" |
| 525 |
"To create a host volume for the LINSTOR database, first create the directory " |
| 526 |
"on the host with the expected permissions" |
| 527 |
msgstr "" |
| 528 |
"LINSTOR データベース用のホストボリュームを作成するには、まず、必要な権限を持" |
| 529 |
"つディレクトリをホスト上に作成します。" |
| 530 |
|
| 531 |
#. type: delimited block - |
| 532 |
#, no-wrap |
| 533 |
msgid "" |
| 534 |
"$ mkdir -p /var/lib/linstor\n" |
| 535 |
"$ chown -R 1000:0 /var/lib/linstor\n" |
| 536 |
msgstr "" |
| 537 |
"$ mkdir -p /var/lib/linstor\n" |
| 538 |
"$ chown -R 1000:0 /var/lib/linstor\n" |
| 539 |
|
| 540 |
#. type: Plain text |
| 541 |
msgid "" |
| 542 |
"Then add the following snippet to your Nomad agent configuration and restart " |
| 543 |
"Nomad" |
| 544 |
msgstr "" |
| 545 |
"次に、以下のスニペットをNomadエージェント構成に追加し、Nomadを再起動します。" |
| 546 |
|
| 547 |
#. type: Block title |
| 548 |
#, no-wrap |
| 549 |
msgid "/etc/nomad.d/host-volume-linstor-db.hcl" |
| 550 |
msgstr "/etc/nomad.d/host-volume-linstor-db.hcl" |
| 551 |
|
| 552 |
#. type: delimited block - |
| 553 |
#, no-wrap |
| 554 |
msgid "" |
| 555 |
"client {\n" |
| 556 |
" host_volume \"linstor-db\" {\n" |
| 557 |
" path = \"/var/lib/linstor\"\n" |
| 558 |
" }\n" |
| 559 |
"}\n" |
| 560 |
msgstr "" |
| 561 |
"client {\n" |
| 562 |
" host_volume \"linstor-db\" {\n" |
| 563 |
" path = \"/var/lib/linstor\"\n" |
| 564 |
" }\n" |
| 565 |
"}\n" |
| 566 |
|
| 567 |
#. type: Plain text |
| 568 |
msgid "" |
| 569 |
"Then, add the following snippets to the `linstor-controller.hcl` example " |
| 570 |
"from above and adapt the `connection_url` option from the configuration " |
| 571 |
"template." |
| 572 |
msgstr "" |
| 573 |
"次に、上記の例の `linstor-controller.hcl` に次のスニペットを追加し、構成テン" |
| 574 |
"プレートの `connection_url` オプションを変更します。" |
| 575 |
|
| 576 |
#. type: Block title |
| 577 |
#, no-wrap |
| 578 |
msgid "`job > group`" |
| 579 |
msgstr "`job > group`" |
| 580 |
|
| 581 |
#. type: delimited block - |
| 582 |
#, no-wrap |
| 583 |
msgid "" |
| 584 |
"volume \"linstor-db\" {\n" |
| 585 |
" type = \"host\"\n" |
| 586 |
" source = \"linstor-db\"\n" |
| 587 |
"}\n" |
| 588 |
msgstr "" |
| 589 |
"volume \"linstor-db\" {\n" |
| 590 |
" type = \"host\"\n" |
| 591 |
" source = \"linstor-db\"\n" |
| 592 |
"}\n" |
| 593 |
|
| 594 |
#. type: Block title |
| 595 |
#, no-wrap |
| 596 |
msgid "`job > group > task`" |
| 597 |
msgstr "`job > group > task`" |
| 598 |
|
| 599 |
#. type: delimited block - |
| 600 |
#, no-wrap |
| 601 |
msgid "" |
| 602 |
"volume_mount {\n" |
| 603 |
" volume = \"linstor-db\"\n" |
| 604 |
" destination = \"/var/lib/linstor\"\n" |
| 605 |
"}\n" |
| 606 |
msgstr "" |
| 607 |
"volume_mount {\n" |
| 608 |
" volume = \"linstor-db\"\n" |
| 609 |
" destination = \"/var/lib/linstor\"\n" |
| 610 |
"}\n" |
| 611 |
|
| 612 |
#. type: delimited block - |
| 613 |
#, no-wrap |
| 614 |
msgid "" |
| 615 |
"template {\n" |
| 616 |
" destination = \"local/linstor.toml\"\n" |
| 617 |
" data = <<EOH\n" |
| 618 |
" [db]\n" |
| 619 |
" user = \"linstor\"\n" |
| 620 |
" password = \"linstor\"\n" |
| 621 |
" connection_url = \"jdbc:h2:/var/lib/linstor/linstordb\"\n" |
| 622 |
" EOH\n" |
| 623 |
"}\n" |
| 624 |
msgstr "" |
| 625 |
"template {\n" |
| 626 |
" destination = \"local/linstor.toml\"\n" |
| 627 |
" data = <<EOH\n" |
| 628 |
" [db]\n" |
| 629 |
" user = \"linstor\"\n" |
| 630 |
" password = \"linstor\"\n" |
| 631 |
" connection_url = \"jdbc:h2:/var/lib/linstor/linstordb\"\n" |
| 632 |
" EOH\n" |
| 633 |
"}\n" |
| 634 |
|
| 635 |
#. type: Title ==== |
| 636 |
#, no-wrap |
| 637 |
msgid "Create a LINSTOR Satellite job" |
| 638 |
msgstr "LINSTORサテライトジョブを作成する" |
| 639 |
|
| 640 |
#. type: Plain text |
| 641 |
msgid "" |
| 642 |
"The LINSTOR Satellites are deployed as a system job in Nomad, running in a " |
| 643 |
"privileged container. In addition to the satellites, the job will also load " |
| 644 |
"the DRBD module along with other kernel modules used by LINSTOR." |
| 645 |
msgstr "" |
| 646 |
"LINSTORサテライトは、Nomadのシステムジョブとしてデプロイされ、特権コンテナー" |
| 647 |
"内で実行されます。サテライトに加えて、このジョブはLINSTORで使用される他のカー" |
| 648 |
"ネルモジュールとともにDRBDモジュールもロードします。" |
| 649 |
|
| 650 |
#. type: Plain text |
| 651 |
msgid "" |
| 652 |
"The following example will create a Nomad job starting a LINSTOR satellite " |
| 653 |
"on every node in datacenter `dc1`." |
| 654 |
msgstr "" |
| 655 |
"次の例では、Nomadジョブを作成して、データセンター `dc1` のすべてのノードで" |
| 656 |
"LINSTORサテライトを開始します。" |
| 657 |
|
| 658 |
#. type: Block title |
| 659 |
#, no-wrap |
| 660 |
msgid "linstor-satellite.hcl" |
| 661 |
msgstr "linstor-satellite.hcl" |
| 662 |
|
| 663 |
#. type: delimited block - |
| 664 |
#, no-wrap |
| 665 |
msgid "" |
| 666 |
"job \"linstor-satellite\" {\n" |
| 667 |
" datacenters = [\"dc1\"] <1>\n" |
| 668 |
" type = \"system\"\n" |
| 669 |
msgstr "" |
| 670 |
"job \"linstor-satellite\" {\n" |
| 671 |
" datacenters = [\"dc1\"] <1>\n" |
| 672 |
" type = \"system\"\n" |
| 673 |
|
| 674 |
#. type: delimited block - |
| 675 |
#, no-wrap |
| 676 |
msgid "" |
| 677 |
" group \"satellite\" {\n" |
| 678 |
" network {\n" |
| 679 |
" mode = \"host\"\n" |
| 680 |
" }\n" |
| 681 |
msgstr "" |
| 682 |
" group \"satellite\" {\n" |
| 683 |
" network {\n" |
| 684 |
" mode = \"host\"\n" |
| 685 |
" }\n" |
| 686 |
|
| 687 |
#. type: delimited block - |
| 688 |
#, no-wrap |
| 689 |
msgid "" |
| 690 |
" volume \"dev\" { <2>\n" |
| 691 |
" type = \"host\"\n" |
| 692 |
" source = \"dev\"\n" |
| 693 |
" }\n" |
| 694 |
msgstr "" |
| 695 |
" volume \"dev\" { <2>\n" |
| 696 |
" type = \"host\"\n" |
| 697 |
" source = \"dev\"\n" |
| 698 |
" }\n" |
| 699 |
|
| 700 |
#. type: delimited block - |
| 701 |
#, no-wrap |
| 702 |
msgid "" |
| 703 |
" task \"linstor-satellite\" {\n" |
| 704 |
" driver = \"docker\"\n" |
| 705 |
msgstr "" |
| 706 |
" task \"linstor-satellite\" {\n" |
| 707 |
" driver = \"docker\"\n" |
| 708 |
|
| 709 |
#. type: delimited block - |
| 710 |
#, no-wrap |
| 711 |
msgid "" |
| 712 |
" config {\n" |
| 713 |
" image = \"drbd.io/linstor-satellite:v1.13.0\" <3>\n" |
| 714 |
msgstr "" |
| 715 |
" config {\n" |
| 716 |
" image = \"drbd.io/linstor-satellite:v1.13.0\" <3>\n" |
| 717 |
|
| 718 |
#. type: delimited block - |
| 719 |
#, no-wrap |
| 720 |
msgid "" |
| 721 |
" auth { <4>\n" |
| 722 |
" username = \"example\"\n" |
| 723 |
" password = \"example\"\n" |
| 724 |
" server_address = \"drbd.io\"\n" |
| 725 |
" }\n" |
| 726 |
msgstr "" |
| 727 |
" auth { <4>\n" |
| 728 |
" username = \"example\"\n" |
| 729 |
" password = \"example\"\n" |
| 730 |
" server_address = \"drbd.io\"\n" |
| 731 |
" }\n" |
| 732 |
|
| 733 |
#. type: delimited block - |
| 734 |
#, no-wrap |
| 735 |
msgid "" |
| 736 |
" privileged = true <5>\n" |
| 737 |
" network_mode = \"host\" <6>\n" |
| 738 |
" }\n" |
| 739 |
msgstr "" |
| 740 |
" privileged = true <5>\n" |
| 741 |
" network_mode = \"host\" <6>\n" |
| 742 |
" }\n" |
| 743 |
|
| 744 |
#. type: delimited block - |
| 745 |
#, no-wrap |
| 746 |
msgid "" |
| 747 |
" volume_mount { <2>\n" |
| 748 |
" volume = \"dev\"\n" |
| 749 |
" destination = \"/dev\"\n" |
| 750 |
" }\n" |
| 751 |
msgstr "" |
| 752 |
" volume_mount { <2>\n" |
| 753 |
" volume = \"dev\"\n" |
| 754 |
" destination = \"/dev\"\n" |
| 755 |
" }\n" |
| 756 |
|
| 757 |
#. type: delimited block - |
| 758 |
#, no-wrap |
| 759 |
msgid "" |
| 760 |
" resources {\n" |
| 761 |
" cpu = 500 # 500 MHz\n" |
| 762 |
" memory = 500 # 500MB\n" |
| 763 |
" }\n" |
| 764 |
" }\n" |
| 765 |
msgstr "" |
| 766 |
" resources {\n" |
| 767 |
" cpu = 500 # 500 MHz\n" |
| 768 |
" memory = 500 # 500MB\n" |
| 769 |
" }\n" |
| 770 |
" }\n" |
| 771 |
|
| 772 |
#. type: delimited block - |
| 773 |
#, no-wrap |
| 774 |
msgid "" |
| 775 |
" task \"drbd-loader\" {\n" |
| 776 |
" driver = \"docker\"\n" |
| 777 |
" lifecycle {\n" |
| 778 |
" hook = \"prestart\" <7>\n" |
| 779 |
" }\n" |
| 780 |
msgstr "" |
| 781 |
" task \"drbd-loader\" {\n" |
| 782 |
" driver = \"docker\"\n" |
| 783 |
" lifecycle {\n" |
| 784 |
" hook = \"prestart\" <7>\n" |
| 785 |
" }\n" |
| 786 |
|
| 787 |
#. type: delimited block - |
| 788 |
#, no-wrap |
| 789 |
msgid "" |
| 790 |
" config {\n" |
| 791 |
" image = \"drbd.io/drbd9-rhel8:v9.0.29\" <8>\n" |
| 792 |
msgstr "" |
| 793 |
" config {\n" |
| 794 |
" image = \"drbd.io/drbd9-rhel8:v9.0.29\" <8>\n" |
| 795 |
|
| 796 |
#. type: delimited block - |
| 797 |
#, no-wrap |
| 798 |
msgid "" |
| 799 |
" privileged = true <5>\n" |
| 800 |
" auth { <4>\n" |
| 801 |
" username = \"example\"\n" |
| 802 |
" password = \"example\"\n" |
| 803 |
" server_address = \"drbd.io\"\n" |
| 804 |
" }\n" |
| 805 |
" }\n" |
| 806 |
msgstr "" |
| 807 |
" privileged = true <5>\n" |
| 808 |
" auth { <4>\n" |
| 809 |
" username = \"example\"\n" |
| 810 |
" password = \"example\"\n" |
| 811 |
" server_address = \"drbd.io\"\n" |
| 812 |
" }\n" |
| 813 |
" }\n" |
| 814 |
|
| 815 |
#. type: delimited block - |
| 816 |
#, no-wrap |
| 817 |
msgid "" |
| 818 |
" env {\n" |
| 819 |
" LB_HOW = \"shipped_modules\" <9>\n" |
| 820 |
" }\n" |
| 821 |
msgstr "" |
| 822 |
" env {\n" |
| 823 |
" LB_HOW = \"shipped_modules\" <9>\n" |
| 824 |
" }\n" |
| 825 |
|
| 826 |
#. type: delimited block - |
| 827 |
#, no-wrap |
| 828 |
msgid "" |
| 829 |
" volume_mount { <10>\n" |
| 830 |
" volume = \"kernel-src\"\n" |
| 831 |
" destination = \"/usr/src\"\n" |
| 832 |
" }\n" |
| 833 |
" volume_mount { <10>\n" |
| 834 |
" volume = \"modules\"\n" |
| 835 |
" destination = \"/lib/modules\"\n" |
| 836 |
" }\n" |
| 837 |
" }\n" |
| 838 |
msgstr "" |
| 839 |
" volume_mount { <10>\n" |
| 840 |
" volume = \"kernel-src\"\n" |
| 841 |
" destination = \"/usr/src\"\n" |
| 842 |
" }\n" |
| 843 |
" volume_mount { <10>\n" |
| 844 |
" volume = \"modules\"\n" |
| 845 |
" destination = \"/lib/modules\"\n" |
| 846 |
" }\n" |
| 847 |
" }\n" |
| 848 |
|
| 849 |
#. type: delimited block - |
| 850 |
#, no-wrap |
| 851 |
msgid "" |
| 852 |
" volume \"modules\" { <10>\n" |
| 853 |
" type = \"host\"\n" |
| 854 |
" source = \"modules\"\n" |
| 855 |
" read_only = true\n" |
| 856 |
" }\n" |
| 857 |
msgstr "" |
| 858 |
" volume \"modules\" { <10>\n" |
| 859 |
" type = \"host\"\n" |
| 860 |
" source = \"modules\"\n" |
| 861 |
" read_only = true\n" |
| 862 |
" }\n" |
| 863 |
|
| 864 |
#. type: delimited block - |
| 865 |
#, no-wrap |
| 866 |
msgid "" |
| 867 |
" volume \"kernel-src\" { <10>\n" |
| 868 |
" type = \"host\"\n" |
| 869 |
" source = \"kernel-src\"\n" |
| 870 |
" read_only = true\n" |
| 871 |
" }\n" |
| 872 |
" }\n" |
| 873 |
"}\n" |
| 874 |
msgstr "" |
| 875 |
" volume \"kernel-src\" { <10>\n" |
| 876 |
" type = \"host\"\n" |
| 877 |
" source = \"kernel-src\"\n" |
| 878 |
" read_only = true\n" |
| 879 |
" }\n" |
| 880 |
" }\n" |
| 881 |
"}\n" |
| 882 |
|
| 883 |
#. type: Plain text |
| 884 |
msgid "" |
| 885 |
"The `dev` host volume is the volume created in <<s-nomad-prepare>>, which " |
| 886 |
"allows the satellite to manage the hosts block devices." |
| 887 |
msgstr "" |
| 888 |
"`dev` ホストボリュームは <<s-nomad-prepare>> で作成されたボリュームであり、サ" |
| 889 |
"テライトがホストブロックデバイスを管理できるようにします。" |
| 890 |
|
| 891 |
#. type: Plain text |
| 892 |
msgid "" |
| 893 |
"This sets the LINSTOR Satellite image to run. The latest images are " |
| 894 |
"available from http://drbd.io[drbd.io]. The satellite image version has to " |
| 895 |
"match the version of the controller image." |
| 896 |
msgstr "" |
| 897 |
"LINSTORのサテライトイメージを実行するように設定します。最新のコンテナイメージ" |
| 898 |
"は http://drbd.io[drbd.io] から入手できます。サテライトイメージのバージョン" |
| 899 |
"は、コントローライメージのバージョンと一致している必要があります。" |
| 900 |
|
| 901 |
#. type: Plain text |
| 902 |
msgid "" |
| 903 |
"In order to configure storage devices, DRBD and load kernel modules, the " |
| 904 |
"containers need to be running in privileged mode." |
| 905 |
msgstr "" |
| 906 |
"ストレージデバイスやDRBDを構成し、カーネルモジュールをロードするためには、コ" |
| 907 |
"ンテナーを特権モードで実行する必要があります。" |
| 908 |
|
| 909 |
#. type: Plain text |
| 910 |
msgid "" |
| 911 |
"The satellite needs to communicate with DRBD, which requires access to the " |
| 912 |
"netlink interface running in the hosts network." |
| 913 |
msgstr "" |
| 914 |
"サテライトはDRBDと通信する必要があるため、ホストネットワークで実行されている" |
| 915 |
"netlinkインターフェースにアクセスする必要があります。" |
| 916 |
|
| 917 |
#. type: Plain text |
| 918 |
msgid "" |
| 919 |
"The `drbd-loader` task will be executed once at the start of the satellite " |
| 920 |
"and load DRBD and other useful kernel modules." |
| 921 |
msgstr "" |
| 922 |
"`drbd-loader` タスクはサテライトの開始時に1回実行され、DRBDやその他の有用な" |
| 923 |
"カーネルモジュールをロードします。" |
| 924 |
|
| 925 |
#. type: Plain text |
| 926 |
msgid "" |
| 927 |
"The `drbd-loader` is specific to the distribution you are using. Available " |
| 928 |
"options are:" |
| 929 |
msgstr "" |
| 930 |
"`drbd-loader` は、使用しているディストリビューションに固有のものです。使用可" |
| 931 |
"能なオプションは次のとおりです。" |
| 932 |
|
| 933 |
#. type: Plain text |
| 934 |
msgid "`drbd.io/drbd9-bionic` for Ubuntu 18.04 (Bionic Beaver)" |
| 935 |
msgstr "Ubuntu18.04(Bionic Beaver) 用の `drbd.io/drbd9-bionic`" |
| 936 |
|
| 937 |
#. type: Plain text |
| 938 |
msgid "`drbd.io/drbd9-focal` for Ubuntu 20.04 (Focal Fossa)" |
| 939 |
msgstr "Ubuntu20.04(Focal Fossa) 用の `drbd.io/drbd9-focal`" |
| 940 |
|
| 941 |
#. type: Plain text |
| 942 |
msgid "`drbd.io/drbd9-rhel8` for RHEL 8" |
| 943 |
msgstr "RHEL8 用の `drbd.io/drbd9-rhel8`" |
| 944 |
|
| 945 |
#. type: Plain text |
| 946 |
msgid "`drbd.io/drbd9-rhel7` for RHEL 7" |
| 947 |
msgstr "RHEL7 用の `drbd.io/drbd9-rhel7`" |
| 948 |
|
| 949 |
#. type: Plain text |
| 950 |
msgid "" |
| 951 |
"The `drbd-loader` container can be configured via environment variables. " |
| 952 |
"`LB_HOW` tells the container how to insert the DRBD kernel module. Available " |
| 953 |
"options are:" |
| 954 |
msgstr "" |
| 955 |
"`drbd-loader` コンテナは環境変数で設定できます。 `LB_HOW` はコンテナにDRBD" |
| 956 |
"カーネルモジュールの挿入方法を指示します。使用可能なオプションは次のとおりで" |
| 957 |
"す。" |
| 958 |
|
| 959 |
#. type: Labeled list |
| 960 |
#, no-wrap |
| 961 |
msgid "`shipped_modules`" |
| 962 |
msgstr "`shipped_modules`" |
| 963 |
|
| 964 |
#. type: Plain text |
| 965 |
msgid "uses the prepackaged RPMs or DEBs delivered with the container." |
| 966 |
msgstr "コンテナに同梱されているパッケージ済みのRPMまたはDEBを使用します。" |
| 967 |
|
| 968 |
#. type: Labeled list |
| 969 |
#, no-wrap |
| 970 |
msgid "`compile`" |
| 971 |
msgstr "`コンパイル`" |
| 972 |
|
| 973 |
#. type: Plain text |
| 974 |
msgid "" |
| 975 |
"Compile DRBD from source. Requires access to the kernel headers (see below)." |
| 976 |
msgstr "" |
| 977 |
"ソースからDRBDをコンパイルします。カーネルヘッダーへのアクセスが必要です(下記" |
| 978 |
"参照)。" |
| 979 |
|
| 980 |
#. type: Labeled list |
| 981 |
#, no-wrap |
| 982 |
msgid "`deps_only`" |
| 983 |
msgstr "`deps_only`" |
| 984 |
|
| 985 |
#. type: Plain text |
| 986 |
msgid "" |
| 987 |
"Only try to load existing modules used by the LINSTOR satellite (for example " |
| 988 |
"`dm_thin_pool` and `dm_cache`)." |
| 989 |
msgstr "" |
| 990 |
"LINSTOR サテライトで使用される既存のモジュール(例えば `dm_thin_pool` や " |
| 991 |
"`dm_cache` など)のみをロードするようにします。" |
| 992 |
|
| 993 |
#. type: Plain text |
| 994 |
msgid "" |
| 995 |
"In order for the `drbd-loader` container to build DRBD or load existing " |
| 996 |
"modules, it needs access to a hosts `/usr/src` and `/lib/modules` " |
| 997 |
"respectively." |
| 998 |
msgstr "" |
| 999 |
"`drbd-loader` コンテナがDRBDを構築したり、既存のモジュールをロードしたりする" |
| 1000 |
"ためには、ホストの `/usr/src` と `/lib/modules` にアクセスできる必要がありま" |
| 1001 |
"す。" |
| 1002 |
|
| 1003 |
#. type: Plain text |
| 1004 |
msgid "" |
| 1005 |
"This requires setting up additional host volumes on every node. The " |
| 1006 |
"following snippet needs to be added to every Nomad agent confiration, then " |
| 1007 |
"Nomad needs to be restarted." |
| 1008 |
msgstr "" |
| 1009 |
"これには、すべてのノードに追加のホストボリュームを設定する必要があります。次" |
| 1010 |
"のスニペットをすべての Nomad エージェント構成に追加してから、Nomad を再起動す" |
| 1011 |
"る必要があります。" |
| 1012 |
|
| 1013 |
#. type: Block title |
| 1014 |
#, no-wrap |
| 1015 |
msgid "/etc/nomad.d/drbd-loader-volumes.hcl" |
| 1016 |
msgstr "/etc/nomad.d/drbd-loader-volumes.hcl" |
| 1017 |
|
| 1018 |
#. type: delimited block - |
| 1019 |
#, no-wrap |
| 1020 |
msgid "" |
| 1021 |
"client {\n" |
| 1022 |
" host_volume \"modules\" {\n" |
| 1023 |
" path = \"/lib/modules\"\n" |
| 1024 |
" read_only = true\n" |
| 1025 |
" }\n" |
| 1026 |
" host_volume \"kernel-src\" {\n" |
| 1027 |
" path = \"/usr/src\"\n" |
| 1028 |
" read_only = true\n" |
| 1029 |
" }\n" |
| 1030 |
"}\n" |
| 1031 |
msgstr "" |
| 1032 |
"client {\n" |
| 1033 |
" host_volume \"modules\" {\n" |
| 1034 |
" path = \"/lib/modules\"\n" |
| 1035 |
" read_only = true\n" |
| 1036 |
" }\n" |
| 1037 |
" host_volume \"kernel-src\" {\n" |
| 1038 |
" path = \"/usr/src\"\n" |
| 1039 |
" read_only = true\n" |
| 1040 |
" }\n" |
| 1041 |
"}\n" |
| 1042 |
|
| 1043 |
#. type: delimited block - |
| 1044 |
#, no-wrap |
| 1045 |
msgid "" |
| 1046 |
"$ nomad job run linstor-satellite.hcl\n" |
| 1047 |
"==> Monitoring evaluation \"0c07469d\"\n" |
| 1048 |
" Evaluation triggered by job \"linstor-satellite\"\n" |
| 1049 |
"==> Monitoring evaluation \"0c07469d\"\n" |
| 1050 |
" Evaluation status changed: \"pending\" -> \"complete\"\n" |
| 1051 |
"==> Evaluation \"0c07469d\" finished with status \"complete\"\n" |
| 1052 |
msgstr "" |
| 1053 |
"$ nomad job run linstor-satellite.hcl\n" |
| 1054 |
"==> Monitoring evaluation \"0c07469d\"\n" |
| 1055 |
" Evaluation triggered by job \"linstor-satellite\"\n" |
| 1056 |
"==> Monitoring evaluation \"0c07469d\"\n" |
| 1057 |
" Evaluation status changed: \"pending\" -> \"complete\"\n" |
| 1058 |
"==> Evaluation \"0c07469d\" finished with status \"complete\"\n" |
| 1059 |
|
| 1060 |
#. type: Title ==== |
| 1061 |
#, no-wrap |
| 1062 |
msgid "Configuring LINSTOR in Nomad" |
| 1063 |
msgstr "NomadでのLINSTORの設定" |
| 1064 |
|
| 1065 |
#. type: Plain text |
| 1066 |
msgid "" |
| 1067 |
"Once the `linstor-controller` and `linstor-satellite` jobs are running, you " |
| 1068 |
"can start configuring the cluster using the `linstor` command line tool." |
| 1069 |
msgstr "" |
| 1070 |
"`linstor-controller` および `linstor-satellite` ジョブが実行されたら、 " |
| 1071 |
"`linstor` コマンドラインツールを使用してクラスタの設定を開始できます。" |
| 1072 |
|
| 1073 |
#. type: Plain text |
| 1074 |
msgid "This can done:" |
| 1075 |
msgstr "これは次のように実行できます。" |
| 1076 |
|
| 1077 |
#. type: Plain text |
| 1078 |
msgid "directly by `nomad exec`-ing into the `linstor-controller` container" |
| 1079 |
msgstr "`nomad exec` で直接 `linstor-controller` コンテナに入って" |
| 1080 |
|
| 1081 |
#. type: Plain text |
| 1082 |
msgid "" |
| 1083 |
"using the `drbd.io/linstor-client` container on the host running the " |
| 1084 |
"`linstor-controller`" |
| 1085 |
msgstr "" |
| 1086 |
"`linstor-controller` を実行しているホスト上で `drbd.io/linstor-client` コンテ" |
| 1087 |
"ナを使用します。" |
| 1088 |
|
| 1089 |
#. type: delimited block - |
| 1090 |
#, no-wrap |
| 1091 |
msgid "docker run -it --rm --net=host drbd.io/linstor-client node create\n" |
| 1092 |
msgstr "docker run -it --rm --net=host drbd.io/linstor-client node create\n" |
| 1093 |
|
| 1094 |
#. type: Plain text |
| 1095 |
msgid "" |
| 1096 |
"by installing the `linstor-client` package on the host running the `linstor-" |
| 1097 |
"controller`." |
| 1098 |
msgstr "" |
| 1099 |
"`linstor-client` パッケージを `linstor-controller` を実行しているホストにイン" |
| 1100 |
"ストールします。" |
| 1101 |
|
| 1102 |
#. type: Plain text |
| 1103 |
msgid "" |
| 1104 |
"In all cases, you need to <<s-adding_nodes_to_your_cluster,add the " |
| 1105 |
"satellites to your cluster>> and <<s-storage_pools,create some storage " |
| 1106 |
"pools>>. For example, to add the node `nomad-01.example.com` and configure a " |
| 1107 |
"LVM Thin storage pool, you would run:" |
| 1108 |
msgstr "" |
| 1109 |
"いずれの場合も、 <<s-adding_nodes_to_your_cluster,サテライトをクラスタに追加 " |
| 1110 |
">> および <<s-storage_pools,ストレージプールを作成>> を実行する必要がありま" |
| 1111 |
"す。たとえば、ノード `nomad-01.example.com` を追加してLVMシンストレージプール" |
| 1112 |
"を構成するには、次のコマンドを実行します。" |
| 1113 |
|
| 1114 |
#. type: delimited block - |
| 1115 |
#, no-wrap |
| 1116 |
msgid "" |
| 1117 |
"$ linstor node create nomad-01.example.com\n" |
| 1118 |
"$ linstor storage-pool create lvmthin nomad-01.example.com thinpool linstor_vg/thinpool\n" |
| 1119 |
msgstr "" |
| 1120 |
"$ linstor node create nomad-01.example.com\n" |
| 1121 |
"$ linstor storage-pool create lvmthin nomad-01.example.com thinpool linstor_vg/thinpool\n" |
| 1122 |
|
| 1123 |
#. type: Plain text |
| 1124 |
msgid "" |
| 1125 |
"The CSI driver requires your satellites to be named after their hostname. To " |
| 1126 |
"be precise, the satellite name needs to match Nomads `attr.unique.hostname` " |
| 1127 |
"attribute on the node." |
| 1128 |
msgstr "" |
| 1129 |
"CSIドライバでは、サテライトにホスト名に基づいた名前を付ける必要があります。正" |
| 1130 |
"確に言うと、サテライト名はノードのNomads `attr.unique.hostname` 属性と一致す" |
| 1131 |
"る必要があります。" |
| 1132 |
|
| 1133 |
#. type: Title === |
| 1134 |
#, no-wrap |
| 1135 |
msgid "Deploying the LINSTOR CSI Driver on Nomad" |
| 1136 |
msgstr "LINSTOR CSIドライバのNomadへの配備" |
| 1137 |
|
| 1138 |
#. type: Plain text |
| 1139 |
msgid "" |
| 1140 |
"The CSI driver is deployed as a system job, meaning it runs on every node in " |
| 1141 |
"the cluster." |
| 1142 |
msgstr "" |
| 1143 |
"CSIドライバはシステムジョブとしてデプロイされます。つまり、クラスタ内のすべて" |
| 1144 |
"のノードで実行されます。" |
| 1145 |
|
| 1146 |
#. type: Plain text |
| 1147 |
msgid "" |
| 1148 |
"The following example will create a Nomad job starting a LINSTOR CSI Driver " |
| 1149 |
"on every node in datacenter `dc1`." |
| 1150 |
msgstr "" |
| 1151 |
"次の例では、データセンター `dc1` 内のすべてのノードでLINSTOR CSIドライバを起" |
| 1152 |
"動するNomadジョブを作成します。" |
| 1153 |
|
| 1154 |
#. type: Block title |
| 1155 |
#, no-wrap |
| 1156 |
msgid "linstor-csi.hcl" |
| 1157 |
msgstr "linstor-csi.hcl" |
| 1158 |
|
| 1159 |
#. type: delimited block - |
| 1160 |
#, no-wrap |
| 1161 |
msgid "" |
| 1162 |
"job \"linstor-csi\" {\n" |
| 1163 |
" datacenters = [\"dc1\"] <1>\n" |
| 1164 |
" type = \"system\"\n" |
| 1165 |
msgstr "" |
| 1166 |
"job \"linstor-csi\" {\n" |
| 1167 |
" datacenters = [\"dc1\"] <1>\n" |
| 1168 |
" type = \"system\"\n" |
| 1169 |
|
| 1170 |
#. type: delimited block - |
| 1171 |
#, no-wrap |
| 1172 |
msgid "" |
| 1173 |
" group \"csi\" {\n" |
| 1174 |
" network {\n" |
| 1175 |
" mode = \"bridge\"\n" |
| 1176 |
" }\n" |
| 1177 |
msgstr "" |
| 1178 |
" group \"csi\" {\n" |
| 1179 |
" network {\n" |
| 1180 |
" mode = \"bridge\"\n" |
| 1181 |
" }\n" |
| 1182 |
|
| 1183 |
#. type: delimited block - |
| 1184 |
#, no-wrap |
| 1185 |
msgid "" |
| 1186 |
" service {\n" |
| 1187 |
" connect {\n" |
| 1188 |
" sidecar_service { <2>\n" |
| 1189 |
" proxy {\n" |
| 1190 |
" upstreams {\n" |
| 1191 |
" destination_name = \"linstor-api\"\n" |
| 1192 |
" local_bind_port = 8080\n" |
| 1193 |
" }\n" |
| 1194 |
" }\n" |
| 1195 |
" }\n" |
| 1196 |
" }\n" |
| 1197 |
" }\n" |
| 1198 |
msgstr "" |
| 1199 |
" service {\n" |
| 1200 |
" connect {\n" |
| 1201 |
" sidecar_service { <2>\n" |
| 1202 |
" proxy {\n" |
| 1203 |
" upstreams {\n" |
| 1204 |
" destination_name = \"linstor-api\"\n" |
| 1205 |
" local_bind_port = 8080\n" |
| 1206 |
" }\n" |
| 1207 |
" }\n" |
| 1208 |
" }\n" |
| 1209 |
" }\n" |
| 1210 |
" }\n" |
| 1211 |
|
| 1212 |
#. type: delimited block - |
| 1213 |
#, no-wrap |
| 1214 |
msgid "" |
| 1215 |
" task \"csi-plugin\" {\n" |
| 1216 |
" driver = \"docker\"\n" |
| 1217 |
" config {\n" |
| 1218 |
" image = \"drbd.io/linstor-csi:v0.13.1\" <3>\n" |
| 1219 |
msgstr "" |
| 1220 |
" task \"csi-plugin\" {\n" |
| 1221 |
" driver = \"docker\"\n" |
| 1222 |
" config {\n" |
| 1223 |
" image = \"drbd.io/linstor-csi:v0.13.1\" <3>\n" |
| 1224 |
|
| 1225 |
#. type: delimited block - |
| 1226 |
#, no-wrap |
| 1227 |
msgid "" |
| 1228 |
" args = [\n" |
| 1229 |
" \"--csi-endpoint=unix://csi/csi.sock\",\n" |
| 1230 |
" \"--node=${attr.unique.hostname}\", <5>\n" |
| 1231 |
" \"--linstor-endpoint=http://${NOMAD_UPSTREAM_ADDR_linstor_api}\", <6>\n" |
| 1232 |
" \"--log-level=info\"\n" |
| 1233 |
" ]\n" |
| 1234 |
msgstr "" |
| 1235 |
" args = [\n" |
| 1236 |
" \"--csi-endpoint=unix://csi/csi.sock\",\n" |
| 1237 |
" \"--node=${attr.unique.hostname}\", <5>\n" |
| 1238 |
" \"--linstor-endpoint=http://${NOMAD_UPSTREAM_ADDR_linstor_api}\", <6>\n" |
| 1239 |
" \"--log-level=info\"\n" |
| 1240 |
" ]\n" |
| 1241 |
|
| 1242 |
#. type: delimited block - |
| 1243 |
#, no-wrap |
| 1244 |
msgid "" |
| 1245 |
" privileged = true <7>\n" |
| 1246 |
" }\n" |
| 1247 |
msgstr "" |
| 1248 |
" privileged = true <7>\n" |
| 1249 |
" }\n" |
| 1250 |
|
| 1251 |
#. type: delimited block - |
| 1252 |
#, no-wrap |
| 1253 |
msgid "" |
| 1254 |
" csi_plugin { <8>\n" |
| 1255 |
" id = \"linstor.csi.linbit.com\"\n" |
| 1256 |
" type = \"monolith\"\n" |
| 1257 |
" mount_dir = \"/csi\"\n" |
| 1258 |
" }\n" |
| 1259 |
msgstr "" |
| 1260 |
" csi_plugin { <8>\n" |
| 1261 |
" id = \"linstor.csi.linbit.com\"\n" |
| 1262 |
" type = \"monolith\"\n" |
| 1263 |
" mount_dir = \"/csi\"\n" |
| 1264 |
" }\n" |
| 1265 |
|
| 1266 |
#. type: delimited block - |
| 1267 |
#, no-wrap |
| 1268 |
msgid "" |
| 1269 |
" resources {\n" |
| 1270 |
" cpu = 100 # 100 MHz\n" |
| 1271 |
" memory = 200 # 200MB\n" |
| 1272 |
" }\n" |
| 1273 |
" }\n" |
| 1274 |
" }\n" |
| 1275 |
"}\n" |
| 1276 |
msgstr "" |
| 1277 |
" resources {\n" |
| 1278 |
" cpu = 100 # 100 MHz\n" |
| 1279 |
" memory = 200 # 200MB\n" |
| 1280 |
" }\n" |
| 1281 |
" }\n" |
| 1282 |
" }\n" |
| 1283 |
"}\n" |
| 1284 |
|
| 1285 |
#. type: Plain text |
| 1286 |
msgid "" |
| 1287 |
"The `sidecar_service` stanza enables use of the service mesh generated by " |
| 1288 |
"using {consul-connect}[Consul Connect]. If you have not configured this " |
| 1289 |
"feature in Nomad, or you are using an external LINSTOR Controller, you can " |
| 1290 |
"skip this configuration." |
| 1291 |
msgstr "" |
| 1292 |
"`sidecar_service` スタンザは、 {consul-connect}[Consul Connect] を使用して生" |
| 1293 |
"成されたサービスメッシュの使用を可能にします。Nomadでこの機能を構成していない" |
| 1294 |
"場合、または外部 LINSTOR コントローラーを使用している場合は、この構成をスキッ" |
| 1295 |
"プできます。" |
| 1296 |
|
| 1297 |
#. type: Plain text |
| 1298 |
msgid "" |
| 1299 |
"This sets the LINSTOR CSI Driver image to run. The latest images are " |
| 1300 |
"available from http://drbd.io[drbd.io]." |
| 1301 |
msgstr "" |
| 1302 |
"LINSTOR CSIドライバイメージを実行するように設定します。最新のイメージは " |
| 1303 |
"http://drbd.io[drbd.io] から入手できます。" |
| 1304 |
|
| 1305 |
#. type: Plain text |
| 1306 |
msgid "" |
| 1307 |
"This argument sets the node name used by the CSI driver to identify itself " |
| 1308 |
"in the LINSTOR API. By default, this is set to the nodes hostname." |
| 1309 |
msgstr "" |
| 1310 |
"この引数は、CSIドライバがLINSTOR APIで自身を識別するために使用するノード名を" |
| 1311 |
"設定します。デフォルトでは、これはノードのホスト名に設定されます。" |
| 1312 |
|
| 1313 |
#. type: Plain text |
| 1314 |
msgid "" |
| 1315 |
"This argument sets the LINSTOR API endpoint. If you are not using the consul " |
| 1316 |
"service mesh (see Nr. 2 above), this needs to be set to the Controllers API " |
| 1317 |
"endpoint. The endpoint needs to be reachable from every node this is " |
| 1318 |
"deployed on." |
| 1319 |
msgstr "" |
| 1320 |
"この引数は、LINSTOR APIエンドポイントを設定します。consulサービスメッシュ(前" |
| 1321 |
"述のNr.2を参照)を使用していない場合は、これをControllers APIエンドポイントに" |
| 1322 |
"設定する必要があります。エンドポイントは、デプロイされているすべてのノードか" |
| 1323 |
"ら到達可能である必要があります。" |
| 1324 |
|
| 1325 |
#. type: Plain text |
| 1326 |
msgid "" |
| 1327 |
"The CSI driver needs to execute mount commands, requiring privileged " |
| 1328 |
"containers." |
| 1329 |
msgstr "" |
| 1330 |
"CSIドライバはマウントコマンドを実行する必要があるため、特権付きコンテナが必要" |
| 1331 |
"です。" |
| 1332 |
|
| 1333 |
#. type: Plain text |
| 1334 |
msgid "" |
| 1335 |
"The `csi_plugin` stanza informs Nomad that this task is a CSI plugin. The " |
| 1336 |
"Nomad agent will forward requests for volumes to one of the jobs containers." |
| 1337 |
msgstr "" |
| 1338 |
"`csi_plugin` スタンザは、このタスクがCSIプラグインであることをNomadに通知しま" |
| 1339 |
"す。Nomadエージェントは、ボリュームに対する要求をジョブコンテナーの1つに転送" |
| 1340 |
"します。" |
| 1341 |
|
| 1342 |
#. type: delimited block - |
| 1343 |
#, no-wrap |
| 1344 |
msgid "" |
| 1345 |
"$ nomad job run linstor-csi.hcl\n" |
| 1346 |
"==> Monitoring evaluation \"0119f19c\"\n" |
| 1347 |
" Evaluation triggered by job \"linstor-csi\"\n" |
| 1348 |
"==> Monitoring evaluation \"0119f19c\"\n" |
| 1349 |
" Evaluation status changed: \"pending\" -> \"complete\"\n" |
| 1350 |
"==> Evaluation \"0119f19c\" finished with status \"complete\"\n" |
| 1351 |
msgstr "" |
| 1352 |
"$ nomad job run linstor-csi.hcl\n" |
| 1353 |
"==> Monitoring evaluation \"0119f19c\"\n" |
| 1354 |
" Evaluation triggered by job \"linstor-csi\"\n" |
| 1355 |
"==> Monitoring evaluation \"0119f19c\"\n" |
| 1356 |
" Evaluation status changed: \"pending\" -> \"complete\"\n" |
| 1357 |
"==> Evaluation \"0119f19c\" finished with status \"complete\"\n" |
| 1358 |
|
| 1359 |
#. type: Title === |
| 1360 |
#, no-wrap |
| 1361 |
msgid "Using LINSTOR volumes in Nomad" |
| 1362 |
msgstr "NomadでのLINSTORボリュームの使用" |
| 1363 |
|
| 1364 |
#. type: Plain text |
| 1365 |
msgid "" |
| 1366 |
"Volumes in Nomad are created using a https://www.nomadproject.io/docs/" |
| 1367 |
"commands/volume/create#volume-specification[volume-specification]." |
| 1368 |
msgstr "" |
| 1369 |
"Nomadのボリュームは、 https://www.nomadproject.io/docs/commands/volume/" |
| 1370 |
"create#volume-specification[volume仕様] を使用して作成されます。" |
| 1371 |
|
| 1372 |
#. type: Plain text |
| 1373 |
msgid "" |
| 1374 |
"As an example, the following specification requests a 1GiB volume with 2 " |
| 1375 |
"replicas from the LINSTOR storage pool `thinpool`." |
| 1376 |
msgstr "" |
| 1377 |
"例として、次の指定では、2つのレプリカを持つ1GiBボリュームがLINSTORストレージ" |
| 1378 |
"プール `thinpool` から要求されます。" |
| 1379 |
|
| 1380 |
#. type: Block title |
| 1381 |
#, no-wrap |
| 1382 |
msgid "vol1.hcl" |
| 1383 |
msgstr "vol1.hcl" |
| 1384 |
|
| 1385 |
#. type: delimited block - |
| 1386 |
#, no-wrap |
| 1387 |
msgid "" |
| 1388 |
"id = \"vol1\" <1>\n" |
| 1389 |
"name = \"vol1\" <2>\n" |
| 1390 |
msgstr "" |
| 1391 |
"id = \"vol1\" <1>\n" |
| 1392 |
"name = \"vol1\" <2>\n" |
| 1393 |
|
| 1394 |
#. type: delimited block - |
| 1395 |
#, no-wrap |
| 1396 |
msgid "" |
| 1397 |
"type = \"csi\"\n" |
| 1398 |
"plugin_id = \"linstor.csi.linbit.com\"\n" |
| 1399 |
msgstr "" |
| 1400 |
"type = \"csi\"\n" |
| 1401 |
"plugin_id = \"linstor.csi.linbit.com\"\n" |
| 1402 |
|
| 1403 |
#. type: delimited block - |
| 1404 |
#, no-wrap |
| 1405 |
msgid "" |
| 1406 |
"capacity_min = \"1GiB\"\n" |
| 1407 |
"capacity_max = \"1GiB\"\n" |
| 1408 |
msgstr "" |
| 1409 |
"capacity_min = \"1GiB\"\n" |
| 1410 |
"capacity_max = \"1GiB\"\n" |
| 1411 |
|
| 1412 |
#. type: delimited block - |
| 1413 |
#, no-wrap |
| 1414 |
msgid "" |
| 1415 |
"capability {\n" |
| 1416 |
" access_mode = \"single-node-writer\" <3>\n" |
| 1417 |
" attachment_mode = \"file-system\" <4>\n" |
| 1418 |
"}\n" |
| 1419 |
msgstr "" |
| 1420 |
"capability {\n" |
| 1421 |
" access_mode = \"single-node-writer\" <3>\n" |
| 1422 |
" attachment_mode = \"file-system\" <4>\n" |
| 1423 |
"}\n" |
| 1424 |
|
| 1425 |
#. type: delimited block - |
| 1426 |
#, no-wrap |
| 1427 |
msgid "" |
| 1428 |
"mount_options {\n" |
| 1429 |
" fs_type = \"ext4\" <5>\n" |
| 1430 |
"}\n" |
| 1431 |
msgstr "" |
| 1432 |
"mount_options {\n" |
| 1433 |
" fs_type = \"ext4\" <5>\n" |
| 1434 |
"}\n" |
| 1435 |
|
| 1436 |
#. type: delimited block - |
| 1437 |
#, no-wrap |
| 1438 |
msgid "" |
| 1439 |
"parameters { <6>\n" |
| 1440 |
" \"resourceGroup\" = \"default-resource\",\n" |
| 1441 |
" \"storagePool\" = \"thinpool\",\n" |
| 1442 |
" \"autoPlace\" = \"2\"\n" |
| 1443 |
"}\n" |
| 1444 |
msgstr "" |
| 1445 |
"parameters { <6>\n" |
| 1446 |
" \"resourceGroup\" = \"default-resource\",\n" |
| 1447 |
" \"storagePool\" = \"thinpool\",\n" |
| 1448 |
" \"autoPlace\" = \"2\"\n" |
| 1449 |
"}\n" |
| 1450 |
|
| 1451 |
#. type: Plain text |
| 1452 |
msgid "" |
| 1453 |
"The `id` is used to reference this volume in Nomad. Used in the `volume." |
| 1454 |
"source` field of a job specification." |
| 1455 |
msgstr "" |
| 1456 |
"`id` は、Nomad でこのボリュームを参照するために使用されます。ジョブ指定の " |
| 1457 |
"`volume.source` フィールドで使用されます。" |
| 1458 |
|
| 1459 |
#. type: Plain text |
| 1460 |
msgid "" |
| 1461 |
"The `name` is used when creating the volume in the backend (i.e. LINSTOR). " |
| 1462 |
"Ideally this matches the `id` and is a valid LINSTOR resource name. If the " |
| 1463 |
"name would not be valid, LINSTOR CSI will generate a random compatible name." |
| 1464 |
msgstr "" |
| 1465 |
"`name` は、バックエンド(LINSTORなど)でボリュームを作成するときに使用されま" |
| 1466 |
"す。理想的には、これは `id` と一致し、有効なLINSTORリソース名です。名前が有効" |
| 1467 |
"でない場合は、LINSTOR CSIによって互換性のあるランダムな名前が生成されます。" |
| 1468 |
|
| 1469 |
#. type: Plain text |
| 1470 |
msgid "" |
| 1471 |
"What kind of access the volume should support. LINSTOR CSI supports: `single-" |
| 1472 |
"node-reader-only`::Allow read only access on one node at a time" |
| 1473 |
msgstr "" |
| 1474 |
"ボリュームがサポートする必要があるアクセスの種類。LINSTOR CSIは次のものをサ" |
| 1475 |
"ポートします。 `single-node-reader-only` ::一度に 1 つのノードに対してのみ読" |
| 1476 |
"み取り専用アクセスを許可する。" |
| 1477 |
|
| 1478 |
#. type: Labeled list |
| 1479 |
#, no-wrap |
| 1480 |
msgid "`single-node-writer`" |
| 1481 |
msgstr "`single-node-writer`" |
| 1482 |
|
| 1483 |
#. type: Plain text |
| 1484 |
msgid "Allow read and write access on one node at a time" |
| 1485 |
msgstr "一度に 1 つのノードに対してのみ読み取り/書き込みアクセスを許可する" |
| 1486 |
|
| 1487 |
#. type: Labeled list |
| 1488 |
#, no-wrap |
| 1489 |
msgid "`multi-node-reader-only`" |
| 1490 |
msgstr "`multi-node-reader-only`" |
| 1491 |
|
| 1492 |
#. type: Plain text |
| 1493 |
msgid "Allow read only access from multiple nodes." |
| 1494 |
msgstr "複数のノードからの読み取り専用アクセスを許可する" |
| 1495 |
|
| 1496 |
#. type: Plain text |
| 1497 |
msgid "Can be `file-system` or `block-device`." |
| 1498 |
msgstr "`file-system` または `block-device` のいずれかです。" |
| 1499 |
|
| 1500 |
#. type: Plain text |
| 1501 |
msgid "Specify the file system to use. LINSTOR CSI supports `ext4` and `xfs`." |
| 1502 |
msgstr "" |
| 1503 |
"使用するファイルシステムを指定します。LINSTOR CSI は `ext4` と `xfs` をサポー" |
| 1504 |
"トします。" |
| 1505 |
|
| 1506 |
#. type: Plain text |
| 1507 |
msgid "" |
| 1508 |
"Additional parameters to pass to LINSTOR CSI. The example above requests the " |
| 1509 |
"resource be part of the `default-resource` <<s-linstor-resource-groups," |
| 1510 |
"resource group>> and should deploy 2 replicas." |
| 1511 |
msgstr "" |
| 1512 |
"LINSTOR CSI に渡す追加パラメータ。上記の例では、リソースが `default-" |
| 1513 |
"resource` <<s-linstor-resource-groups,resource group>> の一部であることを要求" |
| 1514 |
"しており、2つのレプリカをデプロイする必要があります。" |
| 1515 |
|
| 1516 |
#. type: Plain text |
| 1517 |
msgid "" |
| 1518 |
"For a complete list of available parameters, you can check out the <<s-" |
| 1519 |
"kubernetes-sc-parameters,guide on Kubernetes storage classes>>. Kubernetes, " |
| 1520 |
"like Nomad, makes use of the CSI plugin." |
| 1521 |
msgstr "" |
| 1522 |
"使用可能なパラメータの完全なリストについては、 <<s-kubernetes-sc-parameters," |
| 1523 |
"ストレージクラスで使用可能なパラメータ>> を参照ください。Kubernetes は Nomad " |
| 1524 |
"と同様に CSI プラグインを使用します。" |
| 1525 |
|
| 1526 |
#. type: Plain text |
| 1527 |
msgid "To create the volume, run the following command:" |
| 1528 |
msgstr "ボリュームを作成するには、次のコマンドを実行します。" |
| 1529 |
|
| 1530 |
#. type: delimited block - |
| 1531 |
#, no-wrap |
| 1532 |
msgid "" |
| 1533 |
"$ nomad volume create vol1.hcl\n" |
| 1534 |
"Created external volume vol1 with ID vol1\n" |
| 1535 |
"$ nomad volume status\n" |
| 1536 |
"Container Storage Interface\n" |
| 1537 |
"ID Name Plugin ID Schedulable Access Mode\n" |
| 1538 |
"vol1 vol1 linstor.csi.linbit.com true <none>\n" |
| 1539 |
"$ linstor resource list\n" |
| 1540 |
"╭──────────────────────────────────────────────────────────────────────────────────────────────╮\n" |
| 1541 |
"┊ ResourceName ┊ Node ┊ Port ┊ Usage ┊ Conns ┊ State ┊ CreatedOn ┊\n" |
| 1542 |
"╞══════════════════════════════════════════════════════════════════════════════════════════════╡\n" |
| 1543 |
"┊ vol1 ┊ nomad-01.example.com ┊ 7000 ┊ Unused ┊ Ok ┊ UpToDate ┊ 2021-06-15 14:56:32 ┊\n" |
| 1544 |
"┊ vol1 ┊ nomad-02.example.com ┊ 7000 ┊ Unused ┊ Ok ┊ UpToDate ┊ 2021-06-15 14:56:32 ┊\n" |
| 1545 |
"╰──────────────────────────────────────────────────────────────────────────────────────────────╯\n" |
| 1546 |
msgstr "" |
| 1547 |
"$ nomad volume create vol1.hcl\n" |
| 1548 |
"Created external volume vol1 with ID vol1\n" |
| 1549 |
"$ nomad volume status\n" |
| 1550 |
"Container Storage Interface\n" |
| 1551 |
"ID Name Plugin ID Schedulable Access Mode\n" |
| 1552 |
"vol1 vol1 linstor.csi.linbit.com true <none>\n" |
| 1553 |
"$ linstor resource list\n" |
| 1554 |
"╭──────────────────────────────────────────────────────────────────────────────────────────────╮\n" |
| 1555 |
"┊ ResourceName ┊ Node ┊ Port ┊ Usage ┊ Conns ┊ State ┊ CreatedOn ┊\n" |
| 1556 |
"╞══════════════════════════════════════════════════════════════════════════════════════════════╡\n" |
| 1557 |
"┊ vol1 ┊ nomad-01.example.com ┊ 7000 ┊ Unused ┊ Ok ┊ UpToDate ┊ 2021-06-15 14:56:32 ┊\n" |
| 1558 |
"┊ vol1 ┊ nomad-02.example.com ┊ 7000 ┊ Unused ┊ Ok ┊ UpToDate ┊ 2021-06-15 14:56:32 ┊\n" |
| 1559 |
"╰──────────────────────────────────────────────────────────────────────────────────────────────╯\n" |
| 1560 |
|
| 1561 |
#. type: Title ==== |
| 1562 |
#, no-wrap |
| 1563 |
msgid "Using volumes in jobs" |
| 1564 |
msgstr "ジョブでのボリュームの使用" |
| 1565 |
|
| 1566 |
#. type: Plain text |
| 1567 |
msgid "" |
| 1568 |
"To use the volume in a job, add the `volume` and `volume_mount` stanzas to " |
| 1569 |
"the job specification:" |
| 1570 |
msgstr "" |
| 1571 |
"ジョブでボリュームを使用するには、ジョブ指定に `volume` および " |
| 1572 |
"`volume_mount` スタンザを追加します。" |
| 1573 |
|
| 1574 |
#. type: delimited block - |
| 1575 |
#, no-wrap |
| 1576 |
msgid "" |
| 1577 |
"job \"example\" {\n" |
| 1578 |
" ...\n" |
| 1579 |
msgstr "" |
| 1580 |
"job \"example\" {\n" |
| 1581 |
" ...\n" |
| 1582 |
|
| 1583 |
#. type: delimited block - |
| 1584 |
#, no-wrap |
| 1585 |
msgid "" |
| 1586 |
" group \"example\" {\n" |
| 1587 |
" volume \"example-vol\" {\n" |
| 1588 |
" type = \"csi\"\n" |
| 1589 |
" source = \"vol1\"\n" |
| 1590 |
" attachment_mode = \"file-system\"\n" |
| 1591 |
" access_mode = \"single-node-writer\"\n" |
| 1592 |
" }\n" |
| 1593 |
msgstr "" |
| 1594 |
" group \"example\" {\n" |
| 1595 |
" volume \"example-vol\" {\n" |
| 1596 |
" type = \"csi\"\n" |
| 1597 |
" source = \"vol1\"\n" |
| 1598 |
" attachment_mode = \"file-system\"\n" |
| 1599 |
" access_mode = \"single-node-writer\"\n" |
| 1600 |
" }\n" |
| 1601 |
|
| 1602 |
#. type: delimited block - |
| 1603 |
#, no-wrap |
| 1604 |
msgid "" |
| 1605 |
" task \"mount-example\" {\n" |
| 1606 |
" volume_mount {\n" |
| 1607 |
" volume = \"example-vol\"\n" |
| 1608 |
" destination = \"/data\"\n" |
| 1609 |
" }\n" |
| 1610 |
msgstr "" |
| 1611 |
" task \"mount-example\" {\n" |
| 1612 |
" volume_mount {\n" |
| 1613 |
" volume = \"example-vol\"\n" |
| 1614 |
" destination = \"/data\"\n" |
| 1615 |
" }\n" |
| 1616 |
|
| 1617 |
#. type: delimited block - |
| 1618 |
#, no-wrap |
| 1619 |
msgid "" |
| 1620 |
" ...\n" |
| 1621 |
" }\n" |
| 1622 |
" }\n" |
| 1623 |
"}\n" |
| 1624 |
msgstr "" |
| 1625 |
" ...\n" |
| 1626 |
" }\n" |
| 1627 |
" }\n" |
| 1628 |
"}\n" |
| 1629 |
|
| 1630 |
#. type: Title ==== |
| 1631 |
#, no-wrap |
| 1632 |
msgid "Creating snapshots of volumes" |
| 1633 |
msgstr "ボリュームのスナップショットの作成" |
| 1634 |
|
| 1635 |
#. type: Plain text |
| 1636 |
msgid "" |
| 1637 |
"LINSTOR can create snapshots of existing volumes, provided the underlying " |
| 1638 |
"storage pool driver supports snapshots." |
| 1639 |
msgstr "" |
| 1640 |
"基礎となるストレージプールドライバがスナップショットをサポートしていれば、" |
| 1641 |
"LINSTORは既存のボリュームのスナップショットを作成できます。" |
| 1642 |
|
| 1643 |
#. type: Plain text |
| 1644 |
msgid "" |
| 1645 |
"The following command creates a snapshot named `snap1` of the volume `vol1`." |
| 1646 |
msgstr "" |
| 1647 |
"次のコマンドは、ボリューム `vol1` の `snap1` という名前のスナップショットを作" |
| 1648 |
"成します。" |
| 1649 |
|
| 1650 |
#. type: delimited block - |
| 1651 |
#, no-wrap |
| 1652 |
msgid "" |
| 1653 |
"$ nomad volume snapshot create vol1 snap1\n" |
| 1654 |
"Snapshot ID Volume ID Size Create Time Ready?\n" |
| 1655 |
"snap1 vol1 1.0 GiB None true\n" |
| 1656 |
"$ linstor s l\n" |
| 1657 |
"╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮\n" |
| 1658 |
"┊ ResourceName ┊ SnapshotName ┊ NodeNames ┊ Volumes ┊ CreatedOn ┊ State ┊\n" |
| 1659 |
"╞════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡\n" |
| 1660 |
"┊ vol1 ┊ snap1 ┊ nomad-01.example.com, nomad-02.example.com ┊ 0: 1 GiB ┊ 2021-06-15 15:04:10 ┊ Successful ┊\n" |
| 1661 |
"╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n" |
| 1662 |
msgstr "" |
| 1663 |
"$ nomad volume snapshot create vol1 snap1\n" |
| 1664 |
"Snapshot ID Volume ID Size Create Time Ready?\n" |
| 1665 |
"snap1 vol1 1.0 GiB None true\n" |
| 1666 |
"$ linstor s l\n" |
| 1667 |
"╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮\n" |
| 1668 |
"┊ ResourceName ┊ SnapshotName ┊ NodeNames ┊ Volumes ┊ CreatedOn ┊ State ┊\n" |
| 1669 |
"╞════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡\n" |
| 1670 |
"┊ vol1 ┊ snap1 ┊ nomad-01.example.com, nomad-02.example.com ┊ 0: 1 GiB ┊ 2021-06-15 15:04:10 ┊ Successful ┊\n" |
| 1671 |
"╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n" |
| 1672 |
|
| 1673 |
#. type: Plain text |
| 1674 |
msgid "" |
| 1675 |
"You can use a snapshot to pre-populate an existing volume with data from the " |
| 1676 |
"snapshot" |
| 1677 |
msgstr "" |
| 1678 |
"スナップショットを使用して、既存のボリュームにスナップショットのデータを事前" |
| 1679 |
"に設定できます。" |
| 1680 |
|
| 1681 |
#. type: delimited block - |
| 1682 |
#, no-wrap |
| 1683 |
msgid "" |
| 1684 |
"$ cat vol2.hcl\n" |
| 1685 |
"id = \"vol2\"\n" |
| 1686 |
"name = \"vol2\"\n" |
| 1687 |
"snapshot_id = \"snap1\"\n" |
| 1688 |
msgstr "" |
| 1689 |
"$ cat vol2.hcl\n" |
| 1690 |
"id = \"vol2\"\n" |
| 1691 |
"name = \"vol2\"\n" |
| 1692 |
"snapshot_id = \"snap1\"\n" |
| 1693 |
|
| 1694 |
#. type: delimited block - |
| 1695 |
#, no-wrap |
| 1696 |
msgid "" |
| 1697 |
"type = \"csi\"\n" |
| 1698 |
"plugin_id = \"linstor.csi.linbit.com\"\n" |
| 1699 |
"...\n" |
| 1700 |
msgstr "" |
| 1701 |
"type = \"csi\"\n" |
| 1702 |
"plugin_id = \"linstor.csi.linbit.com\"\n" |
| 1703 |
"...\n" |
| 1704 |
|
| 1705 |
#. type: delimited block - |
| 1706 |
#, no-wrap |
| 1707 |
msgid "" |
| 1708 |
"$ nomad volume create vol2.hcl\n" |
| 1709 |
"Created external volume vol2 with ID vol2\n" |
| 1710 |
msgstr "" |
| 1711 |
"$ nomad volume create vol2.hcl\n" |
| 1712 |
"Created external volume vol2 with ID vol2\n" |