VMware Cloud Foundation(VCF)5.2 の VI Workload Domain を、PowerVCF でデプロイしてみます。今回は、NSX ありの VI Workload Domain を展開します。
前回はこちら。
今回の内容です。
前提情報の確認
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 -- ---- ------ 9d869cc9-b880-4507-9035-b4eb171a3c4f vcf-w01-esxi-01.c.go-lab.jp UNASSIGNED_USEABLE 5562be0c-7cd7-4ff1-a441-0ba5855728ce vcf-w01-esxi-02.c.go-lab.jp UNASSIGNED_USEABLE b7f241e3-c43a-4685-a66c-0a317a88bf51 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 : f4f12212-af5d-42fd-a90a-7f80fc413b44 version : 1
JSON ファイルの用意
JSON ファイルは、API リファレンスのサンプルなどを参考に作成します。SDDC Manager の「デベロッパー センター」を開くと、API のリファレンス ガイドが用意されています。
ベースにする JSON のサンプルは、インターネット公開されている下記ページが新しそうです。
JSON ファイルは、下記のように作成しました。
vi-domain_vcf-w01_nsx.json
- L55, L72, L89:ESXi ホストの ID を指定します。
- L49:クラスタ イメージ 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 : a33f7223-30c2-44ce-a0e1-2fb6e92f56e9 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.workflowde scriptions} status : IN_PROGRESS creationTimestamp : 2024/09/29 7:06:31 isCancellable : False isRetryable : False
成功すると、下記のようになります。
PS> Get-VCFTask -id a33f7223-30c2-44ce-a0e1-2fb6e92f56e9 id : a33f7223-30c2-44ce-a0e1-2fb6e92f56e9 name : Creating Workload Domain: vcf-w01 type : DOMAIN_CREATION status : Successful creationTimestamp : 2024/09/29 7:06:33 completionTimestamp : 2024/09/29 9:50:22 subTasks : {@{name=Generate Workload Domain Resources for Allocation Input Data; descript ion=Generate Workload Domain Resources for Allocation Input Data; status=SUCCE SSFUL; creationTimestamp=2024/09/29 7:06:34; completionTimestamp=2024/09/29 7: 06:34; errors=System.Object[]}, @{name=Allocate resources; description=Allocat e resources; status=SUCCESSFUL; creationTimestamp=2024/09/29 7:06:34; completi onTimestamp=2024/09/29 7:06:34; errors=System.Object[]}, @{name=Generate Workl oad Domain Creation Locking Input Data; description=Generate Workload Domain C reation Locking Input Data; status=SUCCESSFUL; creationTimestamp=2024/09/29 7: 06:34; completionTimestamp=2024/09/29 7:06:34; errors=System.Object[]}, @{name =Acquire Resource Locks; description=Acquire Resource Locks; status=SUCCESSFUL ; creationTimestamp=2024/09/29 7:06:34; completionTimestamp=2024/09/29 7:06:34 ; errors=System.Object[]}…} errors : {} resources : {@{resourceId=08f12d88-65ff-4a52-8403-865afb90189d; type=Cluster}, @{resourceI d=9d869cc9-b880-4507-9035-b4eb171a3c4f; type=Esxi}, @{resourceId=f4f4f451-dffb -40c8-84e0-67f0747334d0; type=Domain}, @{resourceId=5562be0c-7cd7-4ff1-a441-0b a5855728ce; type=Esxi}…} resolutionStatus : UNRESOLVED isCancellable : False isRetryable : True
サブ タスクの様子です。
PS> Get-VCFTask -id a33f7223-30c2-44ce-a0e1-2fb6e92f56e9 | Select-Object -ExpandProperty subTasks | Select-Object status,creationTimestamp,completionTimestamp,name status creationTimestamp completionTimestamp name ------ ----------------- ------------------- ---- SUCCESSFUL 2024/09/29 7:06:34 2024/09/29 7:06:34 Generate Workload Domain Resources for Allocation Input Data SUCCESSFUL 2024/09/29 7:06:34 2024/09/29 7:06:34 Allocate resources SUCCESSFUL 2024/09/29 7:06:34 2024/09/29 7:06:34 Generate Workload Domain Creation Locking Input Data SUCCESSFUL 2024/09/29 7:06:34 2024/09/29 7:06:34 Acquire Resource Locks SUCCESSFUL 2024/09/29 7:06:34 2024/09/29 7:06:34 Validate Backup User Password Conforms to Required Password Policy SUCCESSFUL 2024/09/29 7:06:35 2024/09/29 7:06:35 Validate Management Workload Domain has enough Resources for NSX Deployment SUCCESSFUL 2024/09/29 7:06:35 2024/09/29 7:06:35 Automation Helper Action SUCCESSFUL 2024/09/29 7:06:35 2024/09/29 7:06:38 Perform set of validations for current workflow SUCCESSFUL 2024/09/29 7:06:38 2024/09/29 7:06:38 Automation Helper Action SUCCESSFUL 2024/09/29 7:06:38 2024/09/29 7:06:38 Validate NSX Version is Compliant with VMware Cloud Foundation SUCCESSFUL 2024/09/29 7:06:38 2024/09/29 7:07:56 Validate NSX Input Specification SUCCESSFUL 2024/09/29 7:07:56 2024/09/29 7:07:56 Get NSX Version Compliant with VMware Cloud Foundation SUCCESSFUL 2024/09/29 7:07:56 2024/09/29 7:07:56 Validate NSX Install Image is Available SUCCESSFUL 2024/09/29 7:07:57 2024/09/29 7:07:57 Validate NSX Compute Managers Availability SUCCESSFUL 2024/09/29 7:07:57 2024/09/29 7:08:18 Validate ESXi Hosts do not Contain Disallowed NSX vSphere Installation Bundles (VIBs) SUCCESSFUL 2024/09/29 7:08:18 2024/09/29 7:08:18 Automation Helper Action SUCCESSFUL 2024/09/29 7:08:19 2024/09/29 7:08:19 Update the inventory host with MTU and VLAN ID of the ESXI's management network SUCCESSFUL 2024/09/29 7:08:19 2024/09/29 7:08:19 Prevalidate Add Workload Domain SUCCESSFUL 2024/09/29 7:08:19 2024/09/29 7:08:19 Generate Validate vSAN disks for ESXi Hosts Input Data SUCCESSFUL 2024/09/29 7:08:19 2024/09/29 7:08:20 Validate if ESXi Host(s) Do Not Use DHCP for the Management Network SUCCESSFUL 2024/09/29 7:08:20 2024/09/29 7:08:21 Validate vSAN disks for ESXi Host(s) SUCCESSFUL 2024/09/29 7:08:21 2024/09/29 7:08:21 Generate Add Workload Domain Input Data SUCCESSFUL 2024/09/29 7:08:21 2024/09/29 7:08:26 Validate Workload Domain Deployment Specification SUCCESSFUL 2024/09/29 7:08:26 2024/09/29 7:08:27 Obtain ESXi Host(s) Details SUCCESSFUL 2024/09/29 7:08:27 2024/09/29 7:08:27 Update ESXi Host(s) Details in Runtime Data Model for Add Workload Domain SUCCESSFUL 2024/09/29 7:08:27 2024/09/29 7:08:27 Generate Add Workload Domain Input Data SUCCESSFUL 2024/09/29 7:08:27 2024/09/29 7:08:27 Validate Stale vCenter References in PSC Action SUCCESSFUL 2024/09/29 7:08:28 2024/09/29 7:08:28 Retrieve Backup Configuration SUCCESSFUL 2024/09/29 7:08:28 2024/09/29 7:08:28 Validate Backup Location Details SUCCESSFUL 2024/09/29 7:08:28 2024/09/29 7:08:28 Validate Virtual Machine Names Do Not Exist in the vCenter Server Inventory SUCCESSFUL 2024/09/29 7:08:29 2024/09/29 7:08:29 Validate ESXi Host(s) Details SUCCESSFUL 2024/09/29 7:08:29 2024/09/29 7:08:29 Fetch Product Images SUCCESSFUL 2024/09/29 7:08:29 2024/09/29 7:08:29 Allocate ESXi Host(s) IP Addresses SUCCESSFUL 2024/09/29 7:08:29 2024/09/29 7:08:30 Persist Allocated ESXi Hosts IP Addresses in the SDDC Manager Inventory SUCCESSFUL 2024/09/29 7:08:30 2024/09/29 7:08:30 Generate the Workload Domain Details to Populate the SDDC Manager Inventory SUCCESSFUL 2024/09/29 7:08:30 2024/09/29 7:08:30 Update the SDDC Manager Inventory with the Workload Domain Details SUCCESSFUL 2024/09/29 7:08:30 2024/09/29 7:08:31 Create Workload Domain Service Account Credentials SUCCESSFUL 2024/09/29 7:08:31 2024/09/29 7:08:31 Mount the vCenter Server ISO Image SUCCESSFUL 2024/09/29 7:08:31 2024/09/29 7:08:31 Register Current Task SUCCESSFUL 2024/09/29 7:08:31 2024/09/29 7:08:33 Generate Workload Domain Runtime Data Model SUCCESSFUL 2024/09/29 7:08:33 2024/09/29 7:08:33 Generate Workload Domain Workflow Input Data SUCCESSFUL 2024/09/29 7:08:33 2024/09/29 7:08:34 Validate Workload Domain Input Data SUCCESSFUL 2024/09/29 7:08:35 2024/09/29 7:08:35 Generate Validate ESXi Host(s) vMotion Network Connectivity Input Data SUCCESSFUL 2024/09/29 7:08:35 2024/09/29 7:09:42 Validate vMotion Network Connectivity SUCCESSFUL 2024/09/29 7:09:43 2024/09/29 7:10:52 Validate vSAN Network Connectivity SUCCESSFUL 2024/09/29 7:10:52 2024/09/29 7:10:52 Updates join Single Sign-On (SSO) status for vCenter Server SUCCESSFUL 2024/09/29 7:10:52 2024/09/29 7:10:53 Validate the Single Sign-On (SSO) Ring Topology SUCCESSFUL 2024/09/29 7:10:53 2024/09/29 7:10:53 Generate vCenter Server Configuration Data SUCCESSFUL 2024/09/29 7:10:53 2024/09/29 7:56:49 Deploy vCenter Server Virtual Appliance SUCCESSFUL 2024/09/29 7:56:49 2024/09/29 7:56:58 Register Embedded Platform Services Controller with SDDC Manager Trust Store SUCCESSFUL 2024/09/29 7:56:58 2024/09/29 7:57:03 Validate vCenter services are started SUCCESSFUL 2024/09/29 7:57:03 2024/09/29 7:57:05 Install vCenter Server SSH Key SUCCESSFUL 2024/09/29 7:57:05 2024/09/29 7:57:05 Generate vCenter Server Federal Information Processing Standards (FIPS) Configuration Input Data SUCCESSFUL 2024/09/29 7:57:05 2024/09/29 7:57:07 Configure vCenter FIPS SUCCESSFUL 2024/09/29 7:57:07 2024/09/29 7:57:08 Register SDDC Manager as an extension in vCenter Server SUCCESSFUL 2024/09/29 7:57:08 2024/09/29 7:57:42 Join vCenter Server to the Single Sign-On (SSO) Ring Topology SUCCESSFUL 2024/09/29 7:57:43 2024/09/29 7:57:44 Create Datacenter and populate Managed Object ID in the Internal Add Cluster Model SUCCESSFUL 2024/09/29 7:57:44 2024/09/29 7:57:45 Configure Deployment Details SUCCESSFUL 2024/09/29 7:57:45 2024/09/29 7:57:45 Authorize SDDC Admins Group SUCCESSFUL 2024/09/29 7:57:45 2024/09/29 7:57:46 Obtain vCenter Server Object MOIDs SUCCESSFUL 2024/09/29 7:57:46 2024/09/29 7:57:46 Create SDDC Manager to vCenter Server Service Account Credentials SUCCESSFUL 2024/09/29 7:57:46 2024/09/29 7:57:47 Generate vCenter Server Service Accounts Data SUCCESSFUL 2024/09/29 7:57:47 2024/09/29 7:57:47 Automation Helper Action SUCCESSFUL 2024/09/29 7:57:47 2024/09/29 7:57:49 Create vCenter Server Users SUCCESSFUL 2024/09/29 7:57:49 2024/09/29 7:57:49 Create vCenter Server Roles SUCCESSFUL 2024/09/29 7:57:49 2024/09/29 7:57:50 Assign User Roles in vCenter Server SUCCESSFUL 2024/09/29 7:57:50 2024/09/29 7:57:51 Add Disaster Recovery Service Users to Administrator Group in vCenter Server SUCCESSFUL 2024/09/29 7:57:51 2024/09/29 7:57:51 Read Certificate Authority Certificate Chain from File SUCCESSFUL 2024/09/29 7:57:51 2024/09/29 7:57:57 Import Trusted Root Certificates in vCenter Server SUCCESSFUL 2024/09/29 7:57:57 2024/09/29 7:57:59 Update NSX Firewall Exclusion List SUCCESSFUL 2024/09/29 7:57:59 2024/09/29 8:01:40 Prepare ESXi Hosts for vSAN SUCCESSFUL 2024/09/29 8:01:40 2024/09/29 8:01:43 Create vSphere Cluster SUCCESSFUL 2024/09/29 8:01:43 2024/09/29 8:01:59 Initialize vSAN cluster SUCCESSFUL 2024/09/29 8:02:00 2024/09/29 8:02:00 Update the Runtime Data Model with the Cluster's Managed Object ID from vCenter Server SUCCESSFUL 2024/09/29 8:02:00 2024/09/29 8:02:00 Automation Helper Action SUCCESSFUL 2024/09/29 8:02:00 2024/09/29 8:02:01 Disable vSphere Cluster Services SUCCESSFUL 2024/09/29 8:02:01 2024/09/29 8:02:04 Create vSphere Distributed Switch SUCCESSFUL 2024/09/29 8:02:04 2024/09/29 8:02:06 Enable Network I/O Control (NIOC) on vSphere Distributed Switch SUCCESSFUL 2024/09/29 8:02:06 2024/09/29 8:02:14 Create Distributed Port Groups SUCCESSFUL 2024/09/29 8:02:14 2024/09/29 8:02:20 Tag VLAN IDs on Distributed Port Groups SUCCESSFUL 2024/09/29 8:02:21 2024/09/29 8:02:21 Generate Persist Source ID from vCenter Server of vSphere Distributed Switch in SDDC Manager Inventory Input Data SUCCESSFUL 2024/09/29 8:02:21 2024/09/29 8:02:21 Persist Source ID from vCenter Server of vSphere Distributed Switch in SDDC Manager Inventory SUCCESSFUL 2024/09/29 8:02:21 2024/09/29 8:02:21 Generate Persist Source ID from vCenter Server of vSphere Distributed Virtual Port Groups in SDDC Manager Inventory Input Data SUCCESSFUL 2024/09/29 8:02:21 2024/09/29 8:02:22 Persist Source ID from vCenter Server of vSphere Distributed Virtual Port Groups in SDDC Manager Inventory SUCCESSFUL 2024/09/29 8:02:22 2024/09/29 8:02:22 Generate ESXi Lockdown Mode Input Data SUCCESSFUL 2024/09/29 8:02:22 2024/09/29 8:02:22 Retrieve ESXi Host Lockdown Mode Configuration SUCCESSFUL 2024/09/29 8:02:23 2024/09/29 8:02:23 Disable Lockdown Mode on ESXi Hosts SUCCESSFUL 2024/09/29 8:02:23 2024/09/29 8:03:22 Add ESXi Host to vSphere Cluster SUCCESSFUL 2024/09/29 8:03:22 2024/09/29 8:03:22 Generate Enter ESXi Host(s) to Maintenance Mode Input SUCCESSFUL 2024/09/29 8:03:22 2024/09/29 8:03:59 Enter ESXi Host(s) in Maintenance Mode SUCCESSFUL 2024/09/29 8:03:59 2024/09/29 8:04:00 Configure Lockdown Mode on ESXi Hosts SUCCESSFUL 2024/09/29 8:04:00 2024/09/29 8:04:07 Add ESXi Hosts to vSphere Distributed Switch SUCCESSFUL 2024/09/29 8:04:08 2024/09/29 8:04:11 Create vMotion vmknic(s) on ESXi Host SUCCESSFUL 2024/09/29 8:04:11 2024/09/29 8:04:34 Create vSAN vmknic(s) on ESXi Host SUCCESSFUL 2024/09/29 8:04:34 2024/09/29 8:04:41 Migrate ESXi Host Management vmknic(s) to vSphere Distributed Switch SUCCESSFUL 2024/09/29 8:04:41 2024/09/29 8:04:43 Detach vmknic(s) from vSphere Standard Switch SUCCESSFUL 2024/09/29 8:04:43 2024/09/29 8:04:45 Attach vmknic(s) to vSphere Distributed Switch SUCCESSFUL 2024/09/29 8:04:45 2024/09/29 8:04:46 Remove vSphere Standard Switches from ESXi Hosts SUCCESSFUL 2024/09/29 8:04:47 2024/09/29 8:04:47 Generate Configure Power Management Policy on ESXi Host(s) Input Data SUCCESSFUL 2024/09/29 8:04:47 2024/09/29 8:04:47 Configure Power Management Policy on ESXi Host(s) SUCCESSFUL 2024/09/29 8:04:47 2024/09/29 8:04:49 Create vSAN Virtual Machine Storage Policy SUCCESSFUL 2024/09/29 8:04:49 2024/09/29 8:04:50 Associate VM Storage Policy with vSAN Datastore SUCCESSFUL 2024/09/29 8:04:50 2024/09/29 8:05:58 Create vSAN Disk Groups SUCCESSFUL 2024/09/29 8:05:58 2024/09/29 8:06:01 Disable vSAN VUM recommendation SUCCESSFUL 2024/09/29 8:06:01 2024/09/29 8:06:01 Generate Persist Source ID from vCenter Server of Datastore in SDDC Manager Inventory Input Data SUCCESSFUL 2024/09/29 8:06:01 2024/09/29 8:06:02 Persist Source ID from vCenter Server of Datastore in SDDC Manager Inventory SUCCESSFUL 2024/09/29 8:06:02 2024/09/29 8:06:09 Exit ESXi Host(s) in Maintenance Mode SUCCESSFUL 2024/09/29 8:06:09 2024/09/29 8:06:09 Automation Helper Action SUCCESSFUL 2024/09/29 8:06:09 2024/09/29 8:09:21 Enable vSphere Cluster Services SUCCESSFUL 2024/09/29 8:09:21 2024/09/29 8:09:22 Update vSAN Storage Policy SUCCESSFUL 2024/09/29 8:09:22 2024/09/29 8:09:24 Enable DRS on the vSphere Cluster SUCCESSFUL 2024/09/29 8:09:24 2024/09/29 8:10:38 Configure vSphere HA SUCCESSFUL 2024/09/29 8:10:39 2024/09/29 8:10:41 Configure HA Isolation Address Option SUCCESSFUL 2024/09/29 8:10:41 2024/09/29 8:10:43 Checking the datastore availability SUCCESSFUL 2024/09/29 8:10:43 2024/09/29 8:10:43 Generate Inputs for Watermarking newly deployed vCenter SUCCESSFUL 2024/09/29 8:10:43 2024/09/29 8:10:44 Watermark vCenter Server SUCCESSFUL 2024/09/29 8:10:44 2024/09/29 8:10:44 Update SDDC Manager Inventory with Cluster Details SUCCESSFUL 2024/09/29 8:10:44 2024/09/29 8:10:44 Update ESXi Host's Source ID in the SDDC Manager Inventory SUCCESSFUL 2024/09/29 8:10:44 2024/09/29 8:10:44 Add newly deployed vCenter in monitoring framework SUCCESSFUL 2024/09/29 8:10:45 2024/09/29 8:10:45 Generate Migrate VCF Attached Tags to vCenter Server Input Data SUCCESSFUL 2024/09/29 8:10:45 2024/09/29 8:10:45 Migrate VCF Attached Tags to vCenter Server SUCCESSFUL 2024/09/29 8:10:45 2024/09/29 8:10:45 Generate NSX Input Data SUCCESSFUL 2024/09/29 8:10:45 2024/09/29 8:10:45 Update the SDDC Manager Inventory with NSX Details Prior to Deployment SUCCESSFUL 2024/09/29 8:10:46 2024/09/29 8:10:46 Automation Helper Action SUCCESSFUL 2024/09/29 8:10:46 2024/09/29 8:10:47 Create NSX Manager to vCenter Server Service Account Credentials SUCCESSFUL 2024/09/29 8:10:47 2024/09/29 8:10:47 Automation Helper Action SUCCESSFUL 2024/09/29 8:10:47 2024/09/29 8:10:47 Generate vCenter Server Service Accounts Data SUCCESSFUL 2024/09/29 8:10:47 2024/09/29 8:10:47 Automation Helper Action SUCCESSFUL 2024/09/29 8:10:47 2024/09/29 8:10:49 Create vCenter Server Users SUCCESSFUL 2024/09/29 8:10:49 2024/09/29 8:10:49 Create vCenter Server Roles SUCCESSFUL 2024/09/29 8:10:49 2024/09/29 8:10:50 Assign User Roles in vCenter Server SUCCESSFUL 2024/09/29 8:10:50 2024/09/29 8:10:50 Automation Helper Action SUCCESSFUL 2024/09/29 8:10:50 2024/09/29 8:10:51 Create NSX Workload Domain Credentials SUCCESSFUL 2024/09/29 8:10:51 2024/09/29 8:10:52 Automation Helper Action SUCCESSFUL 2024/09/29 8:10:52 2024/09/29 8:13:01 Validate ESXi Host(s) Connectivity to the NSX SUCCESSFUL 2024/09/29 8:13:02 2024/09/29 9:13:08 Deploy NSX Manager SUCCESSFUL 2024/09/29 9:13:08 2024/09/29 9:30:40 Join NSX Managers SUCCESSFUL 2024/09/29 9:30:40 2024/09/29 9:30:41 Automation Helper Action SUCCESSFUL 2024/09/29 9:30:41 2024/09/29 9:36:29 Set VIP For NSX Managers SUCCESSFUL 2024/09/29 9:36:29 2024/09/29 9:37:24 Issue VMCA Certificate for NSX Managers SUCCESSFUL 2024/09/29 9:37:24 2024/09/29 9:38:04 Issue VMCA Certificate for NSX Managers Using Virtual IP SUCCESSFUL 2024/09/29 9:38:04 2024/09/29 9:39:33 Update SDDC Manager's known_hosts file with NSX SSH Key SUCCESSFUL 2024/09/29 9:39:34 2024/09/29 9:39:37 Create NSX Anti Affinity Rule SUCCESSFUL 2024/09/29 9:39:37 2024/09/29 9:39:42 Apply NSX License SUCCESSFUL 2024/09/29 9:39:43 2024/09/29 9:40:03 Configure NSX Backup Schedule SUCCESSFUL 2024/09/29 9:40:03 2024/09/29 9:41:01 Update NSX Manager User Attributes SUCCESSFUL 2024/09/29 9:41:02 2024/09/29 9:41:05 Enable vLCM deployment configuration for VCF in NSX SUCCESSFUL 2024/09/29 9:41:05 2024/09/29 9:41:10 Accept End User License Agreement for NSX SUCCESSFUL 2024/09/29 9:41:10 2024/09/29 9:41:10 Generate Cluster High Availability Virtual Machine Restart Order Data SUCCESSFUL 2024/09/29 9:41:10 2024/09/29 9:41:13 Override HA VM Restart Priority For Clusters SUCCESSFUL 2024/09/29 9:41:14 2024/09/29 9:41:14 Generate Inputs for Watermarking newly deployed NSX Manager SUCCESSFUL 2024/09/29 9:41:14 2024/09/29 9:41:15 Watermark NSX Manager SUCCESSFUL 2024/09/29 9:41:15 2024/09/29 9:41:16 Update the SDDC Manager Inventory with NSX Details SUCCESSFUL 2024/09/29 9:41:16 2024/09/29 9:41:17 Automation Helper Action SUCCESSFUL 2024/09/29 9:41:17 2024/09/29 9:41:17 Generate NSX Input Data SUCCESSFUL 2024/09/29 9:41:17 2024/09/29 9:41:18 Generate Overlay Networking Input Data SUCCESSFUL 2024/09/29 9:41:18 2024/09/29 9:41:18 Validate ESXi Host(s) Connectivity to the NSX SUCCESSFUL 2024/09/29 9:41:19 2024/09/29 9:42:41 Configure NSX Fabric Compute Manager SUCCESSFUL 2024/09/29 9:42:41 2024/09/29 9:42:45 Create NSX Transport Zones SUCCESSFUL 2024/09/29 9:42:45 2024/09/29 9:42:46 Automation Helper Action SUCCESSFUL 2024/09/29 9:42:46 2024/09/29 9:42:50 Create NSX Uplink Profile SUCCESSFUL 2024/09/29 9:42:50 2024/09/29 9:42:50 Prepare Inputs for Sub Transport Node Profile SUCCESSFUL 2024/09/29 9:42:50 2024/09/29 9:42:51 Create or update NSX SubCluster SUCCESSFUL 2024/09/29 9:42:51 2024/09/29 9:42:56 Create NSX Transport Node Profile SUCCESSFUL 2024/09/29 9:42:56 2024/09/29 9:50:05 Create Transport Node Collection SUCCESSFUL 2024/09/29 9:50:05 2024/09/29 9:50:06 Validate ESXi Host(s) Connectivity to the NSX SUCCESSFUL 2024/09/29 9:50:06 2024/09/29 9:50:06 Automation Helper Action SUCCESSFUL 2024/09/29 9:50:06 2024/09/29 9:50:11 Update Firewall Exclusion List SUCCESSFUL 2024/09/29 9:50:11 2024/09/29 9:50:11 Generate Disable SSH On ESXi Host(s) Input Data SUCCESSFUL 2024/09/29 9:50:11 2024/09/29 9:50:12 Disable SSH on ESXi host SUCCESSFUL 2024/09/29 9:50:12 2024/09/29 9:50:15 Clear Alarms on ESXi Hosts SUCCESSFUL 2024/09/29 9:50:15 2024/09/29 9:50:15 Update the SDDC Manager Inventory with new Workload Domain Details SUCCESSFUL 2024/09/29 9:50:16 2024/09/29 9:50:16 Generate input data for unmount vCenter Server ISO Image. SUCCESSFUL 2024/09/29 9:50:16 2024/09/29 9:50:17 Unmount the vCenter Server ISO Image SUCCESSFUL 2024/09/29 9:50:17 2024/09/29 9:50:17 Generate Update ESXi Host(s) Source ID in the SDDC Manager Inventory Data SUCCESSFUL 2024/09/29 9:50:18 2024/09/29 9:50:18 Update ESXi Host's Source ID in the SDDC Manager Inventory SUCCESSFUL 2024/09/29 9:50:18 2024/09/29 9:50:18 Add newly deployed vCenter in monitoring framework SUCCESSFUL 2024/09/29 9:50:18 2024/09/29 9:50:19 Update the NSX switch configuration in the vSphere Distributed Switch inventory SUCCESSFUL 2024/09/29 9:50:19 2024/09/29 9:50:20 Checks whether SDDC Manager is registered as the Relying Party of WS1B SUCCESSFUL 2024/09/29 9:50:20 2024/09/29 9:50:20 Register NSX as the Relying Party of WS1B SUCCESSFUL 2024/09/29 9:50:20 2024/09/29 9:50:20 Release allocated resources SUCCESSFUL 2024/09/29 9:50:21 2024/09/29 9:50:21 Automation Helper Action SUCCESSFUL 2024/09/29 9:50:21 2024/09/29 9:50:21 Build Event data for given input SUCCESSFUL 2024/09/29 9:50:21 2024/09/29 9:50:21 Publish Event in SDDC Manager Inventory SUCCESSFUL 2024/09/29 9:50:22 2024/09/29 9:50:22 Generate Release Resources Lock Data SUCCESSFUL 2024/09/29 9:50:22 2024/09/29 9:50:22 Release Resource Locks
これで、VI Workload Domain が作成されました。ただし、クラスタのライフサイクル管理はなぜかイメージ管理ではなくベースライン管理になってしまいました・・・(lifecycleManagementMode: BASELINES)
PS> Get-VCFWorkloadDomain -name vcf-w01 id : f4f4f451-dffb-40c8-84e0-67f0747334d0 name : vcf-w01 orgName : vcf-w01-org status : ACTIVE upgradeState : AVAILABLE upgradeStatus : @{status=UP_TO_DATE} type : VI owners : {administrator@vsphere.local} vcenters : {@{id=9d7d7fd3-8095-4fba-bf42-764aa02a09ed; fqdn=vcf-w01-vc-01.c.go-lab.jp}} ssoId : 64577a9d-31d8-4582-85a8-206cbeee9dca ssoName : vsphere.local isManagementSsoDomain : True clusters : {@{id=08f12d88-65ff-4a52-8403-865afb90189d}} nsxtCluster : @{id=74bc4503-ae65-419e-a75b-1e1c97f94606; 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 isNetworkSeparationEnabled : False isSecurityEnabled : False isPrimaryDomainForNsx : False
以上、PowerVCF で VI Workload Domain を展開してみる話でした。