You can add ESXi hosts to an existing Trusted Cluster using the command line.

After you have initially configured a Trusted Cluster, you might want to add more ESXi hosts. However, when you add the host to a Trusted Cluster, you must take the additional step of remediation. When you remediate the Trusted Cluster, you ensure that its desired configuration state matches its applied configuration.

In the first version of vSphere Trust Authority released in vSphere 7.0, you run scripts to add a host to an existing Trusted Cluster. In vSphere 7.0 Update 1 and later, you use the remediate functionality to add a Trusted Host. In vSphere 7.0 Update 1 and later, you still must use scripts to add a host to an existing Trust Authority Cluster. See Adding and Removing vSphere Trust Authority Hosts.

Prerequisites

Procedure

  1. Use whatever steps you normally do to add the ESXi host to the Trusted Cluster.
  2. In a PowerCLI session, run the Connect-VIServer cmdlet to connect as the Trust Authority administrator to the vCenter Server of the Trusted Cluster.
    Connect-VIServer -server TrustedCluster_VC_ip_address -User trust_admin_user -Password 'password'
  3. To check the Trusted Cluster's status, run the Get-TrustedClusterAppliedStatus PowerCLI cmdlet.
    Get-TrustedClusterAppliedStatus -TrustedCluster 'TrustedCluster'
  4. If the Trusted Cluster is not healthy, run the Set-TrustedCluster cmdlet with the -Remediate parameter.
    Set-TrustedCluster -TrustedCluster 'TrustedCluster' -Remediate
  5. To verify that the Trusted Cluster is healthy, rerun the Get-TrustedClusterAppliedStatus cmdlet.
    Get-TrustedClusterAppliedStatus -TrustedCluster 'TrustedCluster'