2022年5月14日土曜日

Azure Arc Resource Bridgeを展開する その2 カスタムロケーションを作ってAzure Arc Resource Bridgeを展開

Azure Arc Resource Bridgeを展開する その1 準備 の続きです。

本稿は、Deploy Azure Arc Resource Bridge using command line の

Create a custom location by installing Azure Arc Resource Bridge 項を確認します。

1.Provide inputs for the following, using the parameters described below.

のパートです。変数設定します。

2.Log in to your Azure subscription and get the extension and providers for Azure Arc Resource Bridge:

のパートです。Azureへのログインから順次コマンドを実行していきます。


3.Run the following cmdlets:

のパートです。$resource_nameを設定し、CSV配下にフォルダーを作成します。がすでに作成済みだった。
New-ArcHciConfigFilesを実行します。
※仮想スイッチなどの変数は、再定義してます。
az arcappliance deploy hciを実行します。
上図の赤枠にあるアプライアンスのIPアドレスは、DHCPからリースされたものが使われていますね。でもタイムアウトしてます。。。
リトライしたところ、成功しました。。。
az arcappliance create hciを実行します。

4.Verify that the Arc appliance is running. Keep running the following cmdlets until the appliance provisioning state is Succeeded and the status is Running. This operation can take up to five minutes.

のパートです。statusが、Runningになるまで待ちました。

5.Add the required extensions for VM management capabilities to be enabled via the newly deployed Arc Resource Bridge:
のパートです。

6.Verify that the extensions are installed. Keep running the following cmdlet until the extension provisioning state is Succeeded. This operation can take up to five
 minutes.
のパートです。

7.Create a custom location for the Azure Stack HCI cluster, where customloc_name is the name of the custom location, such as "HCICluster -cl":
のパートです。カスタムロケーション名は、とりあえずそのまま使ってます。
ということで、汎用サービス、Resource Bridgeの仮想マシンが出来てます。

0 件のコメント:

コメントを投稿