URL For furtner information:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1026688
VMware VirtualCenter Server service fails after upgrading to vCenter Server 4.1Symptoms
- The VirtualCenter Server service fails after upgrading to vCenter Server 4.1.
- You see this error in the vpxd logs:
Panic: Win32 exception: Access Violation (0xc0000005)
Read (0) at address 0000000000000098
rip: 000000014071edcc rsp: 000000000419c700 rbp: 000000000419e160
rax: 000000000419c7a8 rbx: 0000000000000018 rcx: 0000000000000020
rdx: 000000000419c798 rdi: 0000000000000000 rsi: 000000000e8667b0
r8: 000000000419c7a8 r9: 000000000cab1eea r10: 0000000002d27fd0
r11: 000000000419c750 r12: 0000000007279700 r13: 0000000007279740
r14: 00000000032edeb0 r15: 0000000000000004
Note: For more information about the vpxd logs, see vpxd log directory path when vCenter Server 4.0 is installed on Windows Server 2008 (1011938).
- In vCenter Server 4.0, operations such as Inventory > Search fails. The vws.log file truncates with a Chunked stream ended unexpected error
- In vCenter Server 4.1, vCenter 4.1 fails immediately after it is started and the vpxd-*.log shows an ASSERT fails at one of the following:
- ASSERT d:/build/ob/bora-258902/bora/vpx/vpxd/util/vpxdDbLoad.cpp:1059
- ASSERT d:/build/ob/bora-258902/bora/vpx/vpxd/util/vpxdDbLoad.cpp:1066
Resolution
This issue is caused by corrupt entries for the virtual machine in the vCenter database.
Caution: This article deals with SQL database operations. Before proceeding, ensure that you are familiar with database concepts and that you have adequate backups.
To avoid encountering this issue:
- Download the appropriate script for your environment. The scripts are attached to this article (located in the Attachments section at the bottom of this article).
- Unzip the scripts.
- Run the scripts on vCenter Server 4.0 database.
Note: The SQL query must be run with fully qualified database table names. If you have multiple database instances, there may be a need to qualify the tables with the db-instance name and the db-owner name. For example, VPX_VM_CONFIG_INFO in the query should be changed to <DB_NAME>.<DB_OWNER>.VPX_VM_CONFIG_INFO.
- If no result are returned, you can continue with the upgrade
If any virtual machines are reported with inconsistent data, remove and re-register the affected virtual machines.- Power off the virtual machine.
- Right-click the virtual machine and choose Remove from inventory.
- Click Yes to remove the virtual machine.
- Browse to the datastore where the virtual machine is stored.
- Right-click the .vmx file for the virtual machine, choose Add to inventory, and follow the on-screen wizard.
- Continue with the upgrade.
- Roll back to vCenter Server 4.0. Connect vCenter Server 4.0 to the backup database.
- Run the downloaded scripts on the vCenter Server 4.0 database.
Note: The SQL query must be run with fully qualified database table names. If you have multiple database instances, there may be a need to qualify the tables with the db-instance name and the db-owner name. For example, VPX_VM_CONFIG_INFO in the query should be changed to <DB_NAME>.<DB_OWNER>.VPX_VM_CONFIG_INFO.
- Find out if virtual machines are reported with inconsistent data.
- Install vCenter Server 4.0 against the database backup.
- Through the vSphere Client, remove and re-register the virtual machine.
- Power off the virtual machine.
- Right-click the virtual machine and choose Remove from inventory.
- Click Yes to remove the virtual machine.
- Browse to the datastore where the virtual machine is stored.
- Right-click the .vmx file for the virtual machine, choose Add to inventory, and follow the on-screen wizard.
- Re-try the upgrade.
Additional Information
- VMware VirtualCenter Server service fails after upgrading to vCenter Server 4.1 in an environment configured with Nexus 1000v (1026009)
- Cannot cold migrate a Virtual machine - vCenter service dump - Win32 exception: Access Violation (0xc0000005) (1014778)
- Virtual Center service crashes frequently (1016837)
No comments:
Post a Comment