Invoke-VMScript Errors | Teradata VantageCore VMware - Invoke-VMScript Error - Teradata VantageCore VMware

Teradata® VantageCore VMware - Base, Advanced, Enterprise Tiers Getting Started Guide

Deployment
VantageCore
Edition
VMware
Product
Teradata VantageCore VMware
Release Number
Deployer 4.0
Published
October 2023
ft:locale
en-US
ft:lastEdition
2023-10-31
dita:mapPath
gwx1617319441704.ditamap
dita:ditavalPath
nxb1617391283297.ditaval
dita:id
hrd1467245928404
Product Category
Cloud

When Invoke-VMscript is called, a connection to the vCenter is made and then a direct connection is made to the ESXi host, where the VM resides.

In most cases, only the vCenter has a valid SSL/TLS Certifcate (signed by a Certification Authority) and the ESXi host has the default configuration with just a self-signed certificate. Therefore, the connection to the vCenter is allowed but the connection attempt to the host is rejected by PowerCli.

This error results:
An error occurred while sending the request.

To avoid this error, do one of the following:

  • Install a valid TLS certificate on all ESXi hosts.
  • Set the Invalid Certificate Action to a level that allows establishing a connection to the host.

Then run ./Disable-CertsCheck.psl to trust all certificates.