This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Red Hat OpenShiftへの接続(Preview)
「接続とリソースの作成と管理」では接続を作成するためのウィザードについて説明しています。 以下の情報は、Red Hat OpenShiftに固有の詳細について説明しています。
注:
Red Hat OpenShiftへの接続を作成する前に、まずRed Hat OpenShiftの設定を完了する必要があります。 「Red Hat OpenShift仮想化環境」を参照してください
接続の作成
以下を使用してRed Hat OpenShiftクラスターへの接続を作成できます:
Web Studioで接続を作成する
- Web Studioで、[ホスティング]>[接続およびリソースの追加]を開きます。
-
[接続]ページで、次の手順を実行して接続を構成します:
- [新しい接続を作成する]をクリックします。
- 接続の種類としてRed Hat OpenShiftを選択します。
- [接続アドレス]フィールドに、OpenShiftサーバーのIPアドレス、ホスト名、またはFQDNを入力します。
- サービスアカウントトークンとわかりやすい接続名を入力します。
- [ゾーン]設定はデフォルトのままにします。
-
[次へ] をクリックします。 接続のセットアップが開始されます。
自己署名証明書が検出されると、証明書の拇印を含む警告ページが表示されます。 続行するには、以下の手順を実行します:
- 拇印をサーバーの拇印と比較して、証明書の有効性を検証します。
-
有効な場合は、[証明書を信頼する]を選択し、[OK]をクリックして接続のセットアップを完了します。
証明書は信頼できるものとしてマークされ、以降の検証のために拇印が保存されます。
PowerShellコマンドを使用して接続を作成する
PowerShellコマンドを使用して接続を作成する場合は、次の情報を指定します:
- ホスト接続名
- クラスターAPIアドレス
- ユーザー名
- パスワード(サービスアカウントトークン)
- SSLThumbprint:これはCA証明書の拇印であり、APIサーバーの拇印ではありません。 拇印を指定せずにホスト接続を作成しようとすると、サーバーはCA証明書の拇印を提供します。
- ゾーンUID
- PowerShellウィンドウを開きます。
-
add-pssnapin citrix*を実行します。 -
以下のコマンドを実行して、ホスト接続を作成します。
拇印を指定せずにホスト接続を作成しようとすると、サーバーはCA証明書の拇印を提供します。 次に例を示します:
$newItemParameters = @{ ConnectionType= "Custom" PluginId= "OpenShiftPluginFactory" HypervisorAddress = "https://api.myopenshiftclusteraddress.mydomain.local:6443" Path= "XDHyp:\Connections\OpenShiftConnectionName" Persist= $true UserName= "__ServiceAccount__" Password= "<service account token>" ErrorVariable= "connectionError" } & New-Item @newItemParameters $newItemParameters["SSLThumbprint"] = $connectionError[0].ErrorData.Thumbprint $connection = & New-Item @newItemParameters $brokerConnection = New-BrokerHypervisorConnection -HypHypervisorConnectionUid $connection.HypervisorConnectionUid <!--NeedCopy-->
ホスティングユニットを作成する
ホスティングユニットは、仮想マシンが作成される環境を表します。 ホスティングユニットを作成するには、OpenShiftからの次の入力が必要です:
- 名前空間
- ストレージクラス
- ネットワークアタッチメントの定義
ホスティングユニットは名前空間にバインドされています。 つまり、1つのホスティングユニットは1つの名前空間にのみアクセスでき、その名前空間の下の仮想マシンを管理します。
現在、ホスティングユニットはPowerShellのみを使用して作成できます:
PowerShellコマンドを使用してホスティングユニットを作成する場合は、次の情報を指定します:
- ホスト接続名
- ホスティングユニット名
- ターゲットの名前空間名
- StorageClasses名
- NetworkAttachmentDefinition名
- PowerShellウィンドウを開きます。
-
add-pssnapin citrix*を実行します。 -
PowerShellコマンドを実行してホスティングユニットを作成します。 次に例を示します:
$HostingConnectionName = "OpenShiftConnectionName" $HostingUnitName = "HostingUnitName" $TargetNamespace = "TargetNamespaceName" $StorageClassToUse = "YourStorageClassesName" $NetworkAttachmentDefinition = "YourNetworkAttachmentDefinitionName" New-HypStorage ` -StoragePath @("XDHyp:\Connections\$HostingConnectionName\$TargetNamespace.namespace\$StorageClassToUse.storage") ` -StorageType "TemporaryStorage" New-Item ` -CustomProperties "" ` -HypervisorConnectionName $HostingConnectionName ` -NetworkPath @("XDHyp:\Connections\$HostingConnectionName\$TargetNamespace.namespace\$NetworkAttachmentDefinition.network") ` -Path @("XDHyp:\HostingUnits\$HostingUnitName") -RootPath "XDHyp:\Connections\$HostingConnectionName\$TargetNamespace.namespace" ` -StoragePath @("XDHyp:\Connections\$HostingConnectionName\$TargetNamespace.namespace\$StorageClassToUse.storage") <!--NeedCopy-->
次の手順
- 初期展開プロセスを行っている場合は、「マシンカタログの作成」を参照してください
- Red Hat OpenShift固有の情報については、「Red Hat OpenShiftカタログを作成する」を参照してください
追加情報
共有
共有
この記事の概要
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.