For the Trusted Cluster to connect to the vSphere Trust Authority Cluster, you must export the Trust Authority Cluster's service information in the form of a file then import that file to the Trusted Cluster. You must ensure to keep this file confidential and transport it securely.
If you are following these tasks in order, you are still connected to the vCenter Server of the Trust Authority Cluster.
Note: Store the exported service information file in a secure location, in case you must restore the
vSphere Trust Authority configuration.
Prerequisites
Procedure
Results
A file containing the Trust Authority Cluster information is created.
Example: Export the Trust Authority Cluster Information
This example shows how to use PowerCLI to export the Trust Authority Cluster service information. The following table shows the example components and values that are used.
Component | Value |
---|---|
Variable $vTA |
Get-TrustAuthorityCluster 'vTA Cluster' |
vCenter Server for Trust Authority Cluster | 192.168.210.22 |
Trust Authority administrator | [email protected] |
PS C:\Users\Administrator.CORP> Disconnect-VIServer -server * -Confirm:$false PS C:\Users\Administrator.CORP> Connect-VIServer -server 192.168.210.22 -User [email protected] -Password 'VMware1!' PS C:\Users\Administrator.CORP> Export-TrustAuthorityServicesInfo -TrustAuthorityCluster $vTA -FilePath C:\vta\clsettings.json Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 10/16/2019 9:59 PM 8177 clsettings.json
What to do next
Continue with Import the Trust Authority Cluster Information to the Trusted Hosts.