VMware Cloud Foundation(VCF)5.2 の VI Workload Domain を、PowerVCF でデプロイしてみます。今回は、NSX ありの VI Workload Domain を展開します。
※投稿時は VCF 5.2 でしたが、clusterImageId の指定場所が間違っていたので VCF 5.2.1 で再実行して修正しました。
前回はこちら。
今回の内容です。
前提情報の確認
New-VCFWorkloadDomain でのワークロード ドメインの展開では、ESXi ホストの ID と、vLCM のイメージ ID(clusterImageId)の指定が必要です。
PowerVCF は、下記のようにインストールしてあります。
PowerVCF で、SDDC Manager からトークンを取得しておきます。このトークンはわりとすぐ期限切れになるので、必要に応じで再取得します。
PS> Request-VCFToken -fqdn vcf-m01-sddc-01.c.go-lab.jp -username administrator@vsphere.local -password "VMware1!VMware1!" Successfully Requested New API Token From SDDC Manager: vcf-m01-sddc-01.c.go-lab.jp
Get-VCFHost で、前回のコミッショニングで登録された ESXi ホストの ID を確認しておきます。コミッショニングが完了しているホストは、ステータスが UNASSIGNED_USEABLE になっています。
PS> Get-VCFHost -Status UNASSIGNED_USEABLE | Select-Object id,fqdn,status | Sort-Object fqdn | ft -AutoSize id fqdn status -- ---- ------ 4ad3da14-58a0-4e7e-bd32-390df94bb81e vcf-w01-esxi-01.c.go-lab.jp UNASSIGNED_USEABLE 087b4a40-558b-48a8-b6e9-3c240012c894 vcf-w01-esxi-02.c.go-lab.jp UNASSIGNED_USEABLE 9d249e4e-b4a7-451c-9b01-06a39b56f3f5 vcf-w01-esxi-03.c.go-lab.jp UNASSIGNED_USEABLE
クラスタのイメージは、ひとまず Management Domain にデフォルトで作成される Management-Domain-ESXi-Personality というイメージを指定します。
クラスタのイメージは Personality と呼ばれるようで、クラスタ イメージの ID(personalityId)は Get-VCFPersonality で確認できます。
PS> Get-VCFPersonality | Select-Object personalityName,personalityId,version | Format-List personalityName : Management-Domain-ESXi-Personality personalityId : 4f533d57-0a4f-4563-9317-638370ce253a version : 1
JSON ファイルの用意
JSON ファイルは、API リファレンスのサンプルなどを参考に作成します。SDDC Manager の「デベロッパー センター」を開くと、API のリファレンス ガイドが用意されています。
ベースにする JSON のサンプルは、インターネット公開されている下記ページが新しそうです。
JSON ファイルは、下記のように作成しました。
vi-domain_vcf-w01_nsx.json
- L55, L72, L89:ESXi ホストの ID を指定します。
- L52:クラスタ イメージ ID を指定します。
- L36:NSX Manager のサイズは、最小要件の large から medium に下げています。
- vCenter Single Sign-On では、既存の Management Domain の SSO ドメインに参加します。(拡張リンク モードになります。)
JSON ファイルの確認
PowerVCF の New-VCFWorkloadDomain には「-validate」オプションが実装されていないので、JSON ファイルの内容は SDDC Manager の API エクスプローラーなどで確認します。
「デベロッパー センター」→「API エクスプローラー」を開きます。
「Domains」の配下にある、「POST /v1/domains/validations」を開きます。
「body」に JSON ファイルの内容を貼り付けて、「実行」をクリックします。
JSON に問題があると、下記のようにエラー内容が表示されます。 HTTP Error 500 (PUBLIC_INTERNAL_SERVER_ERROR)などが返されてわかりにくいので、頑張って解消します。
チェックが通ると、下記のように「"resultStatus": "SUCCEEDED"」になります。
VI Workload Domain の展開
New-VCFWorkloadDomain で、Workload Domain を展開します。表示されるタスク情報には ID 含まれるので、Get-VCFTask などで進捗確認できます。
PS> New-VCFWorkloadDomain -json (Get-Content -Raw C:\work\json\vi-domain_vcf-w01_nsx.json) Task validation completed successfully. Invoking Workload Domain Creation on SDDC Manager id : f5924f8c-e0be-4d2a-bab4-0e08fc5dac7d name : Creating domain localizableDescriptionPack : @{component=VCF; messageKey=ADD_DOMAIN_WORKFLOW; arguments=System.Object[]; message=Creating Workload Domain: vcf-w01; bundle=com.vmware.vcf.domainmanager.workflow.workflowdescriptions} status : IN_PROGRESS creationTimestamp : 2024/11/23 14:56:21 isCancellable : False isRetryable : False
成功すると、下記のようになります。
PS> Get-VCFTask -id f5924f8c-e0be-4d2a-bab4-0e08fc5dac7d id : f5924f8c-e0be-4d2a-bab4-0e08fc5dac7d name : Creating Workload Domain: vcf-w01 type : DOMAIN_CREATION status : Successful creationTimestamp : 2024/11/23 14:56:23 completionTimestamp : 2024/11/23 18:53:57 subTasks : {@{name=Validate Workload Domain state upon retry and update its s tatus in the SDDC Manager Inventory; description=Validate Workload Domain state upon retry and update its status in the SDDC Manager Inventory; status=SUCCESSFUL; creationTimestamp=2024/11/23 15:10: 54; completionTimestamp=2024/11/23 15:10:54; errors=System.Object[ ]}, @{name=Remount the images if needed for the Workload Domain; d escription=Remount the images if needed for the Workload Domain; s tatus=SUCCESSFUL; creationTimestamp=2024/11/23 15:10:54; completio nTimestamp=2024/11/23 15:10:54; errors=System.Object[]}, @{name=Ge nerate Workload Domain Resources for Allocation Input Data; descri ption=Generate Workload Domain Resources for Allocation Input Data ; status=SUCCESSFUL; creationTimestamp=2024/11/23 15:10:54; comple tionTimestamp=2024/11/23 15:10:54; errors=System.Object[]}, @{name =Allocate resources; description=Allocate resources; status=SUCCES SFUL; creationTimestamp=2024/11/23 15:10:54; completionTimestamp=2 024/11/23 15:10:54; errors=System.Object[]}…} errors : {} resources : {@{resourceId=9d249e4e-b4a7-451c-9b01-06a39b56f3f5; type=Esxi}, @{ resourceId=0bbd215d-a0ee-41c7-9cbf-5b4d150fbe75; type=Domain}, @{r esourceId=087b4a40-558b-48a8-b6e9-3c240012c894; type=Esxi}, @{reso urceId=4ad3da14-58a0-4e7e-bd32-390df94bb81e; type=Esxi}…} resolutionStatus : UNRESOLVED isCancellable : False isRetryable : True
サブ タスクの様子です。
PS> Get-VCFTask -id f5924f8c-e0be-4d2a-bab4-0e08fc5dac7d | Select-Object -ExpandProperty subTasks | Select-Object status,creationTimestamp,completionTimestamp,name status creationTimestamp completionTimestamp name ------ ----------------- ------------------- ---- SUCCESSFUL 2024/11/23 15:10:54 2024/11/23 15:10:54 Validate Workload Domain state upon retry and update its status in the SDDC Manager Inventory SUCCESSFUL 2024/11/23 15:10:54 2024/11/23 15:10:54 Remount the images if needed for the Workload Domain SUCCESSFUL 2024/11/23 15:10:54 2024/11/23 15:10:54 Generate Workload Domain Resources for Allocation Input Data SUCCESSFUL 2024/11/23 15:10:54 2024/11/23 15:10:54 Allocate resources SUCCESSFUL 2024/11/23 15:10:55 2024/11/23 15:10:55 Generate Workload Domain Creation Locking Input Data SUCCESSFUL 2024/11/23 15:10:55 2024/11/23 15:10:55 Acquire Resource Locks SUCCESSFUL 2024/11/23 14:56:26 2024/11/23 14:56:26 Validate Backup User Password Conforms to Required Password Policy SUCCESSFUL 2024/11/23 14:56:26 2024/11/23 14:56:27 Validate Management Workload Domain has enough Resources for NSX Deployment SUCCESSFUL 2024/11/23 14:56:27 2024/11/23 14:56:27 Automation Helper Action SUCCESSFUL 2024/11/23 14:56:28 2024/11/23 14:56:34 Perform set of validations for current workflow SUCCESSFUL 2024/11/23 14:56:34 2024/11/23 14:56:34 Automation Helper Action SUCCESSFUL 2024/11/23 14:56:35 2024/11/23 14:56:35 Validate NSX Version is Compliant with VMware Cloud Foundation SUCCESSFUL 2024/11/23 14:56:35 2024/11/23 14:57:39 Validate NSX Input Specification SUCCESSFUL 2024/11/23 14:57:39 2024/11/23 14:57:39 Get NSX Version Compliant with VMware Cloud Foundation SUCCESSFUL 2024/11/23 14:57:39 2024/11/23 14:57:39 Validate NSX Install Image is Available SUCCESSFUL 2024/11/23 14:57:40 2024/11/23 14:57:40 Validate NSX Compute Managers Availability SUCCESSFUL 2024/11/23 14:57:40 2024/11/23 14:58:01 Validate ESXi Hosts do not Contain Disallowed NSX vSphere Installation Bundles (VIBs) SUCCESSFUL 2024/11/23 14:58:01 2024/11/23 14:58:01 Automation Helper Action SUCCESSFUL 2024/11/23 14:58:02 2024/11/23 14:58:02 Update the inventory host with MTU and VLAN ID of the ESXI's management network SUCCESSFUL 2024/11/23 14:58:02 2024/11/23 14:58:02 Prevalidate Add Workload Domain SUCCESSFUL 2024/11/23 14:58:02 2024/11/23 14:58:03 Generate Validate vSAN disks for ESXi Hosts Input Data SUCCESSFUL 2024/11/23 14:58:03 2024/11/23 14:58:03 Validate if ESXi Host(s) Do Not Use DHCP for the Management Network SUCCESSFUL 2024/11/23 14:58:03 2024/11/23 14:58:07 Validate vSAN disks for ESXi Host(s) SUCCESSFUL 2024/11/23 14:58:07 2024/11/23 14:58:07 Generate Add Workload Domain Input Data SUCCESSFUL 2024/11/23 14:58:07 2024/11/23 14:58:13 Validate Workload Domain Deployment Specification SUCCESSFUL 2024/11/23 14:58:13 2024/11/23 14:58:14 Obtain ESXi Host(s) Details SUCCESSFUL 2024/11/23 14:58:14 2024/11/23 14:58:14 Update ESXi Host(s) Details in Runtime Data Model for Add Workload Domain SUCCESSFUL 2024/11/23 14:58:14 2024/11/23 14:58:14 Generate Add Workload Domain Input Data SUCCESSFUL 2024/11/23 14:58:14 2024/11/23 14:58:15 Validate Stale vCenter References in PSC Action SUCCESSFUL 2024/11/23 14:58:15 2024/11/23 14:58:15 Retrieve Backup Configuration SUCCESSFUL 2024/11/23 15:10:57 2024/11/23 15:10:57 Validate Backup Location Details SUCCESSFUL 2024/11/23 15:10:57 2024/11/23 15:10:58 Validate Virtual Machine Names Do Not Exist in the vCenter Server Inventory SUCCESSFUL 2024/11/23 15:10:58 2024/11/23 15:10:58 Validate ESXi Host(s) Details SUCCESSFUL 2024/11/23 15:10:59 2024/11/23 15:10:59 Fetch Product Images SUCCESSFUL 2024/11/23 15:10:59 2024/11/23 15:10:59 Allocate ESXi Host(s) IP Addresses SUCCESSFUL 2024/11/23 15:10:59 2024/11/23 15:10:59 Persist Allocated ESXi Hosts IP Addresses in the SDDC Manager Inventory SUCCESSFUL 2024/11/23 15:10:59 2024/11/23 15:11:00 Generate the Workload Domain Details to Populate the SDDC Manager Inventory SUCCESSFUL 2024/11/23 15:11:00 2024/11/23 15:11:00 Update the SDDC Manager Inventory with the Workload Domain Details SUCCESSFUL 2024/11/23 15:11:00 2024/11/23 15:11:01 Create Workload Domain Service Account Credentials SUCCESSFUL 2024/11/23 15:11:01 2024/11/23 15:11:01 Mount the vCenter Server ISO Image SUCCESSFUL 2024/11/23 15:11:01 2024/11/23 15:11:01 Register Current Task SUCCESSFUL 2024/11/23 15:11:01 2024/11/23 15:11:02 Obtain vSphere Cluster Image's Details SUCCESSFUL 2024/11/23 15:11:02 2024/11/23 15:11:04 Generate Workload Domain Runtime Data Model SUCCESSFUL 2024/11/23 15:11:04 2024/11/23 15:11:05 Generate Workload Domain Workflow Input Data SUCCESSFUL 2024/11/23 15:11:05 2024/11/23 15:11:07 Validate Workload Domain Input Data SUCCESSFUL 2024/11/23 15:11:07 2024/11/23 15:11:07 Generate Validate ESXi Host(s) vMotion Network Connectivity Input Data SUCCESSFUL 2024/11/23 15:11:07 2024/11/23 15:12:17 Validate vMotion Network Connectivity SUCCESSFUL 2024/11/23 15:12:18 2024/11/23 15:13:27 Validate vSAN Network Connectivity SUCCESSFUL 2024/11/23 15:13:27 2024/11/23 15:13:27 Updates join Single Sign-On (SSO) status for vCenter Server SUCCESSFUL 2024/11/23 15:13:27 2024/11/23 15:13:31 Validate the Single Sign-On (SSO) Ring Topology SUCCESSFUL 2024/11/23 15:13:31 2024/11/23 15:13:31 Generate vCenter Server Configuration Data SUCCESSFUL 2024/11/23 15:13:31 2024/11/23 16:23:22 Deploy vCenter Server Virtual Appliance SUCCESSFUL 2024/11/23 16:23:22 2024/11/23 16:29:53 Register Embedded Platform Services Controller with SDDC Manager Trust Store SUCCESSFUL 2024/11/23 16:29:53 2024/11/23 16:37:14 Validate vCenter services are started SUCCESSFUL 2024/11/23 16:37:14 2024/11/23 16:37:16 Install vCenter Server SSH Key SUCCESSFUL 2024/11/23 16:37:16 2024/11/23 16:37:16 Generate vCenter Server Federal Information Processing Standards (FIPS) Configuration Input Data SUCCESSFUL 2024/11/23 16:37:16 2024/11/23 16:37:18 Configure vCenter FIPS SUCCESSFUL 2024/11/23 16:37:18 2024/11/23 16:37:19 Register SDDC Manager as an extension in vCenter Server SUCCESSFUL 2024/11/23 16:37:19 2024/11/23 16:37:59 Join vCenter Server to the Single Sign-On (SSO) Ring Topology SUCCESSFUL 2024/11/23 16:37:59 2024/11/23 16:38:01 Create Datacenter and populate Managed Object ID in the Internal Add Cluster Model SUCCESSFUL 2024/11/23 16:38:01 2024/11/23 16:38:02 Configure Deployment Details SUCCESSFUL 2024/11/23 16:38:02 2024/11/23 16:38:03 Authorize SDDC Admins Group SUCCESSFUL 2024/11/23 16:38:03 2024/11/23 16:38:03 Obtain vCenter Server Object MOIDs SUCCESSFUL 2024/11/23 16:38:03 2024/11/23 16:38:04 Create SDDC Manager to vCenter Server Service Account Credentials SUCCESSFUL 2024/11/23 16:38:04 2024/11/23 16:38:04 Generate vCenter Server Service Accounts Data SUCCESSFUL 2024/11/23 16:38:04 2024/11/23 16:38:04 Automation Helper Action SUCCESSFUL 2024/11/23 16:38:04 2024/11/23 16:38:09 Create vCenter Server Users SUCCESSFUL 2024/11/23 16:38:09 2024/11/23 16:38:10 Create vCenter Server Roles SUCCESSFUL 2024/11/23 16:38:10 2024/11/23 16:38:11 Assign User Roles in vCenter Server SUCCESSFUL 2024/11/23 16:38:11 2024/11/23 16:38:12 Add Disaster Recovery Service Users to Administrator Group in vCenter Server SUCCESSFUL 2024/11/23 16:38:12 2024/11/23 16:38:12 Read Certificate Authority Certificate Chain from File SUCCESSFUL 2024/11/23 16:38:13 2024/11/23 16:38:18 Import Trusted Root Certificates in vCenter Server SUCCESSFUL 2024/11/23 16:38:18 2024/11/23 16:38:36 Update NSX Firewall Exclusion List SUCCESSFUL 2024/11/23 16:38:36 2024/11/23 16:50:11 Upload vSphere Lifecycle Manager Image to vCenter Server SUCCESSFUL 2024/11/23 16:50:11 2024/11/23 16:53:49 Prepare ESXi Hosts for vSAN SUCCESSFUL 2024/11/23 16:53:49 2024/11/23 16:53:50 Obtain vSphere Lifecycle Manager Cluster Image Version SUCCESSFUL 2024/11/23 16:53:50 2024/11/23 16:55:21 Create vSphere Cluster SUCCESSFUL 2024/11/23 16:55:21 2024/11/23 16:55:40 Initialize vSAN cluster SUCCESSFUL 2024/11/23 16:55:40 2024/11/23 16:55:40 Update the Runtime Data Model with the Cluster's Managed Object ID from vCenter Server SUCCESSFUL 2024/11/23 16:55:41 2024/11/23 16:55:41 Automation Helper Action SUCCESSFUL 2024/11/23 16:55:42 2024/11/23 16:55:42 Disable vSphere Cluster Services SUCCESSFUL 2024/11/23 16:55:42 2024/11/23 16:55:54 Import vSphere Lifecycle Manager Image from Desired Software Specification SUCCESSFUL 2024/11/23 16:55:54 2024/11/23 16:56:05 Commit vSphere Lifecycle Manager Image Draft as Cluster Image SUCCESSFUL 2024/11/23 16:56:05 2024/11/23 16:56:08 Create vSphere Distributed Switch SUCCESSFUL 2024/11/23 16:56:08 2024/11/23 16:56:11 Enable Network I/O Control (NIOC) on vSphere Distributed Switch SUCCESSFUL 2024/11/23 16:56:11 2024/11/23 16:56:18 Create Distributed Port Groups SUCCESSFUL 2024/11/23 16:56:18 2024/11/23 16:56:25 Tag VLAN IDs on Distributed Port Groups SUCCESSFUL 2024/11/23 16:56:25 2024/11/23 16:56:25 Generate Persist Source ID from vCenter Server of vSphere Distributed Switch in SDDC Manager Inventory Input Data SUCCESSFUL 2024/11/23 16:56:25 2024/11/23 16:56:25 Persist Source ID from vCenter Server of vSphere Distributed Switch in SDDC Manager Inventory SUCCESSFUL 2024/11/23 16:56:25 2024/11/23 16:56:26 Generate Persist Source ID from vCenter Server of vSphere Distributed Virtual Port Groups in SDDC Manager Inventory Input Data SUCCESSFUL 2024/11/23 16:56:26 2024/11/23 16:56:26 Persist Source ID from vCenter Server of vSphere Distributed Virtual Port Groups in SDDC Manager Inventory SUCCESSFUL 2024/11/23 16:56:26 2024/11/23 16:56:26 Generate ESXi Lockdown Mode Input Data SUCCESSFUL 2024/11/23 16:56:26 2024/11/23 16:56:27 Retrieve ESXi Host Lockdown Mode Configuration SUCCESSFUL 2024/11/23 16:56:27 2024/11/23 16:56:28 Disable Lockdown Mode on ESXi Hosts SUCCESSFUL 2024/11/23 16:56:28 2024/11/23 16:57:37 Add ESXi Host to vSphere Cluster SUCCESSFUL 2024/11/23 16:57:37 2024/11/23 16:57:37 Generate Enter ESXi Host(s) to Maintenance Mode Input SUCCESSFUL 2024/11/23 16:57:37 2024/11/23 16:58:14 Enter ESXi Host(s) in Maintenance Mode SUCCESSFUL 2024/11/23 16:58:14 2024/11/23 16:58:15 Configure Lockdown Mode on ESXi Hosts SUCCESSFUL 2024/11/23 16:58:15 2024/11/23 16:58:23 Add ESXi Hosts to vSphere Distributed Switch SUCCESSFUL 2024/11/23 16:58:23 2024/11/23 16:58:27 Create vMotion vmknic(s) on ESXi Host SUCCESSFUL 2024/11/23 16:58:28 2024/11/23 16:58:52 Create vSAN vmknic(s) on ESXi Host SUCCESSFUL 2024/11/23 16:58:52 2024/11/23 16:58:59 Migrate ESXi Host Management vmknic(s) to vSphere Distributed Switch SUCCESSFUL 2024/11/23 16:59:00 2024/11/23 16:59:02 Detach vmknic(s) from vSphere Standard Switch SUCCESSFUL 2024/11/23 16:59:02 2024/11/23 16:59:05 Attach vmknic(s) to vSphere Distributed Switch SUCCESSFUL 2024/11/23 16:59:05 2024/11/23 16:59:07 Remove vSphere Standard Switches from ESXi Hosts SUCCESSFUL 2024/11/23 16:59:07 2024/11/23 16:59:07 Generate Configure Power Management Policy on ESXi Host(s) Input Data SUCCESSFUL 2024/11/23 16:59:07 2024/11/23 16:59:08 Configure Power Management Policy on ESXi Host(s) SUCCESSFUL 2024/11/23 16:59:08 2024/11/23 16:59:09 Create vSAN Virtual Machine Storage Policy SUCCESSFUL 2024/11/23 16:59:09 2024/11/23 16:59:10 Associate VM Storage Policy with vSAN Datastore SUCCESSFUL 2024/11/23 16:59:10 2024/11/23 17:00:18 Create vSAN Disk Groups SUCCESSFUL 2024/11/23 17:00:18 2024/11/23 17:00:21 Disable vSAN VUM recommendation SUCCESSFUL 2024/11/23 17:00:21 2024/11/23 17:00:21 Generate Persist Source ID from vCenter Server of Datastore in SDDC Manager Inventory Input Data SUCCESSFUL 2024/11/23 17:00:21 2024/11/23 17:00:21 Persist Source ID from vCenter Server of Datastore in SDDC Manager Inventory SUCCESSFUL 2024/11/23 17:00:21 2024/11/23 17:00:28 Exit ESXi Host(s) in Maintenance Mode SUCCESSFUL 2024/11/23 17:00:28 2024/11/23 17:00:29 Automation Helper Action SUCCESSFUL 2024/11/23 17:00:29 2024/11/23 17:03:41 Enable vSphere Cluster Services SUCCESSFUL 2024/11/23 17:03:41 2024/11/23 17:03:42 Update vSAN Storage Policy SUCCESSFUL 2024/11/23 17:03:42 2024/11/23 17:03:44 Enable DRS on the vSphere Cluster SUCCESSFUL 2024/11/23 17:03:45 2024/11/23 17:05:25 Configure vSphere HA SUCCESSFUL 2024/11/23 17:05:25 2024/11/23 17:05:27 Configure HA Isolation Address Option SUCCESSFUL 2024/11/23 17:05:27 2024/11/23 17:05:28 Checking the datastore availability SUCCESSFUL 2024/11/23 17:05:29 2024/11/23 17:06:40 Remediate ESXi Host(s) to be Compliant with Cluster's Image SUCCESSFUL 2024/11/23 17:06:40 2024/11/23 17:06:41 Generate Inputs for Watermarking newly deployed vCenter SUCCESSFUL 2024/11/23 17:06:41 2024/11/23 17:06:41 Watermark vCenter Server SUCCESSFUL 2024/11/23 17:06:41 2024/11/23 17:06:42 Fetch Remediated ESXi Host Version from the Cluster Image SUCCESSFUL 2024/11/23 17:06:42 2024/11/23 17:06:42 Update Remediated ESXi Host(s) Version in SDDC Manager Inventory SUCCESSFUL 2024/11/23 17:06:43 2024/11/23 17:06:43 Update SDDC Manager Inventory with Cluster Details SUCCESSFUL 2024/11/23 17:06:43 2024/11/23 17:06:43 Update ESXi Host's Source ID in the SDDC Manager Inventory SUCCESSFUL 2024/11/23 17:06:43 2024/11/23 17:06:43 Add newly deployed vCenter in monitoring framework SUCCESSFUL 2024/11/23 17:06:44 2024/11/23 17:06:44 Generate Migrate VCF Attached Tags to vCenter Server Input Data SUCCESSFUL 2024/11/23 17:06:44 2024/11/23 17:06:44 Migrate VCF Attached Tags to vCenter Server SUCCESSFUL 2024/11/23 17:06:44 2024/11/23 17:06:45 Generate NSX Input Data SUCCESSFUL 2024/11/23 17:06:45 2024/11/23 17:06:45 Update the SDDC Manager Inventory with NSX Details Prior to Deployment SUCCESSFUL 2024/11/23 17:06:45 2024/11/23 17:06:45 Automation Helper Action SUCCESSFUL 2024/11/23 17:06:46 2024/11/23 17:06:46 Create NSX Manager to vCenter Server Service Account Credentials SUCCESSFUL 2024/11/23 17:06:47 2024/11/23 17:06:47 Automation Helper Action SUCCESSFUL 2024/11/23 17:06:47 2024/11/23 17:06:47 Generate vCenter Server Service Accounts Data SUCCESSFUL 2024/11/23 17:06:47 2024/11/23 17:06:48 Automation Helper Action SUCCESSFUL 2024/11/23 17:06:48 2024/11/23 17:06:49 Create vCenter Server Users SUCCESSFUL 2024/11/23 17:06:49 2024/11/23 17:06:50 Create vCenter Server Roles SUCCESSFUL 2024/11/23 17:06:50 2024/11/23 17:06:50 Assign User Roles in vCenter Server SUCCESSFUL 2024/11/23 17:06:50 2024/11/23 17:06:51 Automation Helper Action SUCCESSFUL 2024/11/23 17:06:51 2024/11/23 17:06:52 Create NSX Workload Domain Credentials SUCCESSFUL 2024/11/23 17:06:52 2024/11/23 17:06:53 Automation Helper Action SUCCESSFUL 2024/11/23 17:06:53 2024/11/23 17:09:02 Validate ESXi Host(s) Connectivity to the NSX SUCCESSFUL 2024/11/23 17:09:02 2024/11/23 18:00:53 Deploy NSX Manager SUCCESSFUL 2024/11/23 18:00:53 2024/11/23 18:21:27 Join NSX Managers SUCCESSFUL 2024/11/23 18:21:27 2024/11/23 18:21:28 Automation Helper Action SUCCESSFUL 2024/11/23 18:21:28 2024/11/23 18:27:10 Set VIP For NSX Managers SUCCESSFUL 2024/11/23 18:27:11 2024/11/23 18:27:55 Issue VMCA Certificate for NSX Managers SUCCESSFUL 2024/11/23 18:27:55 2024/11/23 18:28:35 Issue VMCA Certificate for NSX Managers Using Virtual IP SUCCESSFUL 2024/11/23 18:28:35 2024/11/23 18:29:55 Update SDDC Manager's known_hosts file with NSX SSH Key SUCCESSFUL 2024/11/23 18:29:55 2024/11/23 18:29:58 Create NSX Anti Affinity Rule SUCCESSFUL 2024/11/23 18:29:59 2024/11/23 18:30:03 Apply NSX License SUCCESSFUL 2024/11/23 18:30:03 2024/11/23 18:30:25 Configure NSX Backup Schedule SUCCESSFUL 2024/11/23 18:30:25 2024/11/23 18:31:00 Update NSX Manager User Attributes SUCCESSFUL 2024/11/23 18:31:00 2024/11/23 18:31:04 Enable vLCM deployment configuration for VCF in NSX SUCCESSFUL 2024/11/23 18:31:04 2024/11/23 18:31:09 Accept End User License Agreement for NSX SUCCESSFUL 2024/11/23 18:31:09 2024/11/23 18:31:09 Generate Cluster High Availability Virtual Machine Restart Order Data SUCCESSFUL 2024/11/23 18:31:09 2024/11/23 18:31:13 Override HA VM Restart Priority For Clusters SUCCESSFUL 2024/11/23 18:31:13 2024/11/23 18:31:13 Generate Inputs for Watermarking newly deployed NSX Manager SUCCESSFUL 2024/11/23 18:31:13 2024/11/23 18:31:14 Watermark NSX Manager SUCCESSFUL 2024/11/23 18:31:14 2024/11/23 18:31:15 Update the SDDC Manager Inventory with NSX Details SUCCESSFUL 2024/11/23 18:31:15 2024/11/23 18:31:15 Automation Helper Action SUCCESSFUL 2024/11/23 18:31:15 2024/11/23 18:31:16 Generate NSX Input Data SUCCESSFUL 2024/11/23 18:31:16 2024/11/23 18:31:16 Generate Overlay Networking Input Data SUCCESSFUL 2024/11/23 18:31:16 2024/11/23 18:31:17 Validate ESXi Host(s) Connectivity to the NSX SUCCESSFUL 2024/11/23 18:31:17 2024/11/23 18:32:36 Configure NSX Fabric Compute Manager SUCCESSFUL 2024/11/23 18:32:36 2024/11/23 18:32:41 Create NSX Transport Zones SUCCESSFUL 2024/11/23 18:32:41 2024/11/23 18:32:41 Automation Helper Action SUCCESSFUL 2024/11/23 18:32:42 2024/11/23 18:32:45 Create NSX Uplink Profile SUCCESSFUL 2024/11/23 18:32:45 2024/11/23 18:32:46 Prepare Inputs for Sub Transport Node Profile SUCCESSFUL 2024/11/23 18:32:46 2024/11/23 18:32:46 Create or update NSX SubCluster SUCCESSFUL 2024/11/23 18:32:46 2024/11/23 18:32:51 Create NSX Transport Node Profile SUCCESSFUL 2024/11/23 18:32:52 2024/11/23 18:53:38 Create Transport Node Collection SUCCESSFUL 2024/11/23 18:53:38 2024/11/23 18:53:38 Validate ESXi Host(s) Connectivity to the NSX SUCCESSFUL 2024/11/23 18:53:38 2024/11/23 18:53:39 Automation Helper Action SUCCESSFUL 2024/11/23 18:53:39 2024/11/23 18:53:43 Update Firewall Exclusion List SUCCESSFUL 2024/11/23 18:53:43 2024/11/23 18:53:43 Generate Disable SSH On ESXi Host(s) Input Data SUCCESSFUL 2024/11/23 18:53:43 2024/11/23 18:53:44 Disable SSH on ESXi host SUCCESSFUL 2024/11/23 18:53:44 2024/11/23 18:53:47 Clear Alarms on ESXi Hosts SUCCESSFUL 2024/11/23 18:53:47 2024/11/23 18:53:48 Update the SDDC Manager Inventory with new Workload Domain Details SUCCESSFUL 2024/11/23 18:53:48 2024/11/23 18:53:48 Generate input data for unmount vCenter Server ISO Image. SUCCESSFUL 2024/11/23 18:53:48 2024/11/23 18:53:50 Unmount the vCenter Server ISO Image SUCCESSFUL 2024/11/23 18:53:50 2024/11/23 18:53:50 Generate Update ESXi Host(s) Source ID in the SDDC Manager Inventory Data SUCCESSFUL 2024/11/23 18:53:50 2024/11/23 18:53:51 Update ESXi Host's Source ID in the SDDC Manager Inventory SUCCESSFUL 2024/11/23 18:53:51 2024/11/23 18:53:51 Add newly deployed vCenter in monitoring framework SUCCESSFUL 2024/11/23 18:53:51 2024/11/23 18:53:51 Update the NSX switch configuration in the vSphere Distributed Switch inventory SUCCESSFUL 2024/11/23 18:53:51 2024/11/23 18:53:54 Checks whether SDDC Manager is registered as the Relying Party of WS1B SUCCESSFUL 2024/11/23 18:53:54 2024/11/23 18:53:54 Register NSX as the Relying Party of WS1B SUCCESSFUL 2024/11/23 18:53:54 2024/11/23 18:53:54 Release allocated resources SUCCESSFUL 2024/11/23 18:53:54 2024/11/23 18:53:55 Automation Helper Action SUCCESSFUL 2024/11/23 18:53:55 2024/11/23 18:53:55 Build Event data for given input SUCCESSFUL 2024/11/23 18:53:55 2024/11/23 18:53:56 Publish Event in SDDC Manager Inventory SUCCESSFUL 2024/11/23 18:53:56 2024/11/23 18:53:56 Generate Release Resources Lock Data SUCCESSFUL 2024/11/23 18:53:56 2024/11/23 18:53:56 Release Resource Locks
これで、VI Workload Domain が作成されました。クラスタのライフサイクル管理がイメージ管理になり、ワークロード ドメインでは「lifecycleManagementMode: BASELINES_AND_IMAGES」となります。
PS> Get-VCFWorkloadDomain -name vcf-w01 id : 0bbd215d-a0ee-41c7-9cbf-5b4d150fbe75 name : vcf-w01 orgName : vcf-w01-org status : ACTIVE upgradeState : AVAILABLE upgradeStatus : @{status=UP_TO_DATE} type : VI owners : {administrator@vsphere.local} vcenters : {@{id=44178b36-97f7-4f57-b493-b3239b820676; fqdn=vcf-w01-vc-01.c.go-lab.jp}} ssoId : efbd9596-9039-4d2e-ab72-e3ba5fd4accc ssoName : vsphere.local isManagementSsoDomain : True clusters : {@{id=fa17b394-f828-49ed-b78d-2167f9d22118}} nsxtCluster : @{id=d35398fa-e053-4b6c-a557-9879f3da1f64; vipFqdn=vcf-w01-nsx.c.go-lab.jp; vip=192.168.70.22} licensingInfo : @{licensingMode=PERPETUAL; subscriptionStatus=UNSUBSCRIBED; isRegistered=False; isSubscribed=False} capacity : @{cpu=; memory=; storage=} lifecycleManagementMode : BASELINES_AND_IMAGES isNetworkSeparationEnabled : False isSecurityEnabled : False isPrimaryDomainForNsx : False
クラスタ(vcf-w01-cl01)では、「isImageBased: True」となっています。
PS> Get-VCFCluster -name vcf-w01-cl01 id : fa17b394-f828-49ed-b78d-2167f9d22118 domain : @{id=0bbd215d-a0ee-41c7-9cbf-5b4d150fbe75} name : vcf-w01-cl01 status : ACTIVE primaryDatastoreName : vcf-w01-cl01-vsan primaryDatastoreType : VSAN hosts : {@{id=9d249e4e-b4a7-451c-9b01-06a39b56f3f5}, @{id=087b4a40-558b-48a8-b6e9-3c240012c894}, @{id=4ad3da14-58a0-4e7e-bd32-390df94bb81e}} isStretched : False isDefault : True failuresToTolerate : 0 isImageBased : True capacity : @{cpu=; memory=; storage=} vcenter : @{id=44178b36-97f7-4f57-b493-b3239b820676; fqdn=vcf-w01-vc-01.c.go-lab.jp; vcInstanceId=51bb7c08-da90-4773-b1db-734013e7c08d} managedObjectReferenceId : domain-c1007 vsanClusterMode : NONE
以上、PowerVCF で VI Workload Domain を展開してみる話でした。