12.1.0 for vCenter Server 7.0.1: Add-TrustedHost should be used only for
7.0.0, use 'Set-TrustedCluster -Remediate' for 7.0.1 for
TrustedCluster adding a new host
1.4 KiB
1.4 KiB
Prerequisites/Steps to use this module:
- You must be a Trust Authority Administrator, a part of the TrustedAdmins group and also have the "Host.Inventory.Add Host To Cluster" privilege on vCenter system.
- The ESXi host must be wiped from existing Trusted Infrastructure configuration. If the ESXi host has been previously configured as part of vSphere Trust Authority (part of a vCenter configured for vSphere Trust Authority, a Trust Authority Cluster or Trusted Cluster), you must use the decommission script first.
- TrustAuthorityCluster and TrustedCluster should be in a healthy state (check all vSphere Trust Authority APIs which return Health field).
- The ESXi host must be removed from vCenter.
- You must know the ESXi host root credentials (username and password).
- You must have purchased sufficient license for vSphere Trust Authority.
- You must have PowerCLI 12.1.0 and above.
- Following PowerCLI module is required to be imported: VMware.VimAutomation.Security.
- Run the command Get-Command -Module VMware.TrustedInfrastructure.Helper. This should inform the following functions are available:
- Add-TrustAuthorityVMHost
- Add-TrustedVMHost If you do not see these functions listed, the PowerCLI module is not loaded correctly.
- Run Get-Help Add-TrustAuthorityVMHost -full and Get-Help Add-TrustedVMHost -full to see how to use these two functions.
- Others, please refer vSphere documentation.