Although not certain why on several attempts, new VCSA 8.0 does not initialize correctly, and therefore the script cannot connect to the new VCSA 8 to create the cluster, add the nested ESXI 8.0 hosts and proceed to create vSAN 8.0
On running on another vSphere 7, vSAN cluster, the script then still connected to existing VCSA 7.0, started to create a new Datacentre, Cluster, Distributed switch, change MTU and cause a little chaos to existing vSAN configuration!
You can see this in the log here
[10-16-2022_04:56:35] Disconnecting from vcenter.cyrus-consultants.co.uk ...
it states disconnecting from VCSA 7.0 !!!
[10-16-2022_04:56:35] Connecting to the new VCSA ...
[10-16-2022_04:56:36] Creating Datacenter Datacenter ...
Although not certain why on several attempts, new VCSA 8.0 does not initialize correctly, and therefore the script cannot connect to the new VCSA 8 to create the cluster, add the nested ESXI 8.0 hosts and proceed to create vSAN 8.0
On running on another vSphere 7, vSAN cluster, the script then still connected to existing VCSA 7.0, started to create a new Datacentre, Cluster, Distributed switch, change MTU and cause a little chaos to existing vSAN configuration!
You can see this in the log here
[10-16-2022_04:56:35] Disconnecting from vcenter.cyrus-consultants.co.uk ...
it states disconnecting from VCSA 7.0 !!!
[10-16-2022_04:56:35] Connecting to the new VCSA ... [10-16-2022_04:56:36] Creating Datacenter Datacenter ...
Name
Datacenter
[10-16-2022_04:56:36] Creating VSAN Cluster Cluster ...
Name HAEnabled HAFailover DrsEnabled DrsAutomationLevel Level
Cluster True 1 True FullyAutomated
those were created in vcenter.cyrus-consultants.co.uk
Name Value Type Description
das.ignoreRedundant… True ClusterHA
[10-16-2022_04:56:39] Adding ESXi host 192.168.182.181 to Cluster ... [10-16-2022_04:57:10] Adding ESXi host 192.168.182.182 to Cluster ... [10-16-2022_04:57:42] Adding ESXi host 192.168.182.183 to Cluster ..
the above didn't happen, because it could not connect to vcsa-1 (it failed to accept connections) . [10-16-2022_04:57:45] Enabling VSAN & disabling VSAN Health Check ... [10-16-2022_04:57:48] Querying ESXi host disks to create VSAN Diskgroups ... [10-16-2022_04:57:48] Creating VSAN DiskGroup for esxi010.cyrus-consultants.co.uk ... [10-16-2022_04:57:48] Querying ESXi host disks to create VSAN Diskgroups ... [10-16-2022_04:57:48] Creating VSAN DiskGroup for esxi008.cyrus-consultants.co.uk ... [10-16-2022_04:57:49] Querying ESXi host disks to create VSAN Diskgroups ... [10-16-2022_04:57:49] Creating VSAN DiskGroup for esxi006.cyrus-consultants.co.uk ... [10-16-2022_04:57:50] Creating VDS Management Network Portgroup
and all the above executed against vcenter.cyrus-consultants.co.uk