VCSA – vCenter server appliance.
FQDN – Fully qualified domain name
While deploying VCSA appliances, if you get “First script execution error” as shown in the screenshot below, what could be the issue? how do you resolve?
Its’ always best to analyze the logs, you can find the path in the same error screenshot to get the log file.
After you navigate to the respective log file path and open the log file, try searing “First boot error” in the same log file.
Immediately above the error line, you will find information like “If the supplied system name is a FQDN, then make sure the DNS forward lookup results in at least one valid IP address in the system”
So, as per the information fetched from the log, it clearly indicates that the issue is because of Fully qualified domain name specified while installation the VCSA appliance.
To conclude this cause, this particular issue occurs when FQDN is not resolving during first boot of an appliance.
To resolve this,
-> you have to create DNS host record of VCSA appliance FQDN name.
-> You have to verify the host record created is working fine or not using following command
‘nslookup <FQDN of an appliance> ‘
‘nslookup <IP address of an appliance>’
-> ping the FQDN to check the reachability
Once all DNS/FQDN related issues are resolved and all looks good, then redeploy the VCSA appliance.
Its always recommended to create DNS host records, test those records, before you deploy VCSA appliance to avoid issues.