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

Migration of vCenter is stuck at Exporting VCDB in Stage 2 (78684)

Last Updated: 7/1/2020Categories: TroubleshootingTotal Views: 7159Language:
English

1 like this article

Subscribe to get an email
newsletter with new updates

1 people found this helpful Please provide article feedback:

Symptoms

Migration from Windows vCenter to VCSA is Stuck at "Exporting VCDB" in Stage 2 and never fails, after 60 minutes, it will give an option to continue the export, however it will still not complete and be stuck at "Exporting VCDB"..

In the Windows vCenter in the Export Folder, we noticed that the export of VCDB file Size did not increase.

upgrade-export.log:

2020-04-13T13:05:35.109Z INFO __main__ Executing EXPORT phase: export
2020-04-13T13:05:35.598Z INFO upgrade_commands Start exporting data from vcenter1.komodo.ch
2020-04-13T13:05:36.798Z INFO upgrade_commands Export hasn't begun. Waiting..
2020-04-13T13:05:42.846Z INFO upgrade_commands Export hasn't begun. Waiting..
2020-04-13T13:41:08.512Z INFO status_reporter Question was asked from remote target: {'reply_file': 'c:\\users\\admin\\appdata\\local\\temp\\2\\6dc6ccde7d8c11ea9222005056812b6c.json', 'id': '6dc6ccde7d8c11ea9222005056812b6c', 'text': {'id': 'vcdb.wait.jobs.complete.question', 'translatable': 'Database job(s) did not complete for 2000 seconds.\nContinue to wait?\nClick Yes to wait, no to cancel upgrade.', 'localized': 'Database job(s) did not complete for 2000 seconds.\nContinue to wait?\nClick Yes to wait, no to cancel upgrade.'}, 'type': 'YES_NO', 'default': 0}

Export_com.vmware.vcdb_2020_04_13_14_29.log:

2020-04-13T12:31:11.974Z INFO service_manager Service vpxd reported status stopped. Expected status stopped
2020-04-13T12:31:11.974Z INFO service_manager Service vpxd: STOPPED
2020-04-13T12:31:11.983Z INFO vcdb.const Retrieving DB type...
2020-04-13T12:31:11.992Z INFO vcdb.const Retrived DB type: mssql
2020-04-13T12:31:11.993Z INFO vcdb.const User option to migrate tables: core
2020-04-13T12:31:12.5Z INFO vcdb.const VCDB: external
2020-04-13T12:31:12.5Z INFO vcdb.const Database is external. Migrate to VCSA 6.6.
2020-04-13T12:31:12.5Z INFO vcdb.const Retrieving DB type...
2020-04-13T12:31:12.9Z INFO vcdb.const Retrieved DB type: mssql
2020-04-13T12:31:12.16Z INFO vcdb.const Getting vCenter Server DSN...
2020-04-13T12:31:12.20Z INFO vcdb.const vCenter Server uses DSN: vCenter
2020-04-13T12:31:12.20Z INFO vcdb.const Retrieving DB user...
2020-04-13T12:31:12.25Z INFO vcdb.const DB user retrieved: vpxuser
2020-04-13T12:31:12.36Z INFO vcdb.const Retrieving DB password...
2020-04-13T12:31:12.112Z INFO vcdb.const DB password retrieved: ****
2020-04-13T12:31:12.121Z INFO vcdb.const Disabling jobs...

From the above Logs we can see that the upgrade process will be stuck at "Disabling Jobs."

Process to isolate the Migration of vCenter being Stuck at "Exporting VCDB":

Running below SQL query in the VCDB using vpxuser credentials fails with error "SQLSERVERAGENT is not currently running so it cannot be notified of this action"

DECLARE @SQL AS VARCHAR(MAX);

SELECT @SQL = COALESCE(@SQL + CHAR(13), '') +

'EXEC msdb..sp_update_job @job_name = '''+ CAST(name AS VARCHAR(100)) + ''', @enabled = 0;'

FROM msdb.dbo.sysjobs

where job_id in (select job_id

from MSDB.dbo.sysjobsteps

where database_name=db_name());

EXEC (@SQL);

Instructions to Run Above SQL Query:

1st Test:

Login to SQL management studio using the vpxuser account.

Navigate to Databases -> System Databases -> Select msdb -> Right Click -> New Query.

Execute above query.

Share the output.

2nd Test:

Login to SQL management studio using the SA account.

Navigate to Databases -> System Databases -> Select msdb -> Right Click -> New Query.

Execute above query.

Share the output.

Purpose

This KB helps to isolate the Migration of vCenter being Stuck at "Exporting VCDB".

Cause

The cause of the issue is that the "SQL Server Agent" service on the SQL DB machine was Stopped.

Resolution

Start the SQL Server Agent service on the SQL Server.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

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

KB
•
[解決済み] FCA-192295：Workspace ONE UEM - [デバイス リスト表示] 下の検索フィルタと [エクスポート] ボタンのユーザビリティ (78455)

KB
•
Download and Install VMware Fusion (2014097)

KB
•
[解決済み] FCA-192747： Workspace ONE UEM - [加入設定] 下の [利用規約] 画面が読み込まれない (78453)

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 vCenter Server

Related Versions:

VMware vCenter Server 6.7.x

VMware vCenter Server 6.5.x

VMware vCenter Server 6.0.x

Take Our Survey

Support Assistant