vCenter Server MSSQL DB upgrade from vCenter Server 4.x to 5.x fails

Details

When upgrading a vCenter Server Microsoft SQL Server (MSSQL) database from vCenter Server 4.x to 5.x, the upgrade fails with the following error messages:
 
Failed to execute command: create unique clustered index VPXI_DEVICE_COUNTER_INDEX on VPXV_DEVICE_COUNTER(entity_id, device_name, stat_id)
 
Got exception: ERROR [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]CREATE INDEX failed because the following SET options have incorrect settings: 'ARITHABORT'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations.
 
Error while upgrading: ERROR [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]CREATE INDEX failed because the following SET options have incorrect settings: 'ARITHABORT'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations.
 

Solution

This issue occurs when the compatibility level of the 4.x database is set to an MSSQL version earlier than the actual MSSQL version. Before upgrading the database, set the compatibility level of the database to the current version.
 
This issue can also occur when upgrading the database from vCenter Server 4.0 to 4.1 update. In this case, you must set the database compatibility to MSSQL 2005 or later.

Based on VMware KB 2001748
  • 0 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

Hardware and firmware requirements for 64-bit guest operating systems

PurposeThis article explains the host machine hardware and firmware requirements for installing...

Logging in to the vCenter Server 5.0 Web Client fails with the error: unable to connect to vCenter Inventory Service

DetailsAfter upgrading from vCenter Server 4.1 to 5.0, you experience these symptoms:Cannot log...

Multiple network entries in vCenter Server 5.0.x after migrating virtual machines from a virtual switch to a virtual distributed switch

SymptomsAfter migrating virtual machines from a virtual switch to a virtual Distributed...

Minimum requirements for the VMware vCenter Server 5.x Appliance

PurposeIf you are using the VMware vCenter Server Appliance, beginning with vSphere 5.0 you can...