Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

VMware Cloud Foundation SDDC Manager Recovery Scripts (79004)

Last Updated: 10/30/2023Categories: InformationalTotal Views: 8844Language:
English

3 like this article

Subscribe to get an email
newsletter with new updates

3 people found this helpful Please provide article feedback:

Details

As part of recovering from a failure in a VMware Cloud Foundation system, one of the following actions was performed:

The NSX-V manager VM was redeployed.

One, two, or three nodes of a NSX-T manager cluster was redeployed.

A vCenter Server was redeployed using a file-based backup.

The VxRail Manager VM was redeployed from a backup on a VMware Cloud Foundation on VxRail environment.

The Management Domain was rebuilt, a Workload Domain was rebuilt, or a ESXi host was replaced without decommissioning it.

If one of the above action were performed, the following outcomes behaviour may occur.

The SDDC Manager dashboard is missing information.

A SDDC Manager workflow fails because SDDC Manager cannot communicate with a host or application.

The host selection wizard either is not showing a warning/error it should be showing, the warning/error it is showing is incorrect, or the info icon reports incorrect information on a host.

Solution

There are two procedures that resolve the above noted outcomes. One or both should be run, depending on the action you took.

If you replaced an appliance or a host, follow the Refresh SDDC Manager SSH Keys procedure.

If you replaced a host, in addition, follow the the Refresh SDDC Manager Host Attributes procedure.

Note: These procedures are supported for VMware Cloud Foundation 3.8 and 4.x.

Refresh SDDC Manager SSH Keys

Download the correct script zip file for the VMware Cloud Foundation version currently deployed. See Script Versions note below for more information.

Copy the zip file into the SDDC Manager virtual appliance by using a secure file copy utility. Ensure to use the vcf account to authenticate and upload..

SSH to the SDDC Manager VM as the vcf user and switch to root:

su -

Create a temporary directory, such as /tmp/scripts, and unzip the files into it

run the following command. It validates the all SSH Keys that are there in the SDDC Manager and, if there are any discrepancies, asks the user to approve updating SDDC Manager's store.

python refreshsshkeys.pyc

Refresh Host Attributes

If not already completed, do steps 1 to 4 in the above section.

Use one of the following command variants to update the attributes of specific hosts

To refresh Host Attributes for all hosts in the system: python refreshhostattributes.pyc --all

To refresh Host Attributes of hosts that are part of a give domain: python refreshhostattributes.pyc --domain=<domain-name>

To refresh Host Attributes of a list of given hosts: python refreshhostattributes.pyc --hosts=<comma-seperated-host-FQDNs>

Note: The host FQDN and domain names are reported in the SDDC Manager UI. You can also retrieve them using the SDDC Manager /v1/hosts and /v1/domains APIs. SDDC Manager APIs are documented at https://code.vmware.com/apis/685/vmware-cloud-foundation.

.

Note about Script Versions

The zip files contain compiled python scripts. You must run the python script that is compatible with your VCF version.

VMware Cloud Foundation versions 3.8.0 to 3.9.0 inclusive should use the zip file recovery_tools_python_2_7_15.zip.

VMware Cloud Foundation versions 3.9.1 to 5.0 inclusive should use the zip file recovery_tools_python_3_7_5.zip.

VMware Cloud Foundation versions 5.1 to latest should use the zip file recovery_tools_python_3_10_11.zip.

Related Information

Note: This script can be used on newer versions of VCF as well.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

recovery_tools_python_3_7_5

recovery_tools_python_3_10_11

recovery_tools_python_2_7_15

Additional Resources

KB
•
Workspace ONE Intelligence for Consumer Apps 2020/05/06 リリースのお知らせ (78963)

KB
•
VMware AirWatch Relay Service 4.3 for Android リリースのお知らせ (79016)

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
VMware Workspace ONE Intelligent Hub 20.04 for Android リリースのお知らせ (78888)

Results 1-4 of 4

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Cloud Foundation

Related Versions:

Take Our Survey

Support Assistant