Support > Knowledge Base
Knowledge Base

Search the Knowledge Base: |
Search the Knowledge Base: |
How to create default alarms when upgrading to vSphere 4.0
Details
Some of the default alarms included with vSphere 4.0 are not created on your system when you upgrade from a previous version. SQL scripts that ensure that the default alarms are added to your system are attached to this KB article. Download the script appropriate for your system.
NOTE: This is an issue with upgrading to vSphere 4.0. Fresh installations of vSphere 4.0 are not affected. Running the scripts attached to this knowledge base article on a fresh vSphere 4.0 installation can cause vCenter Server to fail to start.
NOTE: This is an issue with upgrading to vSphere 4.0. Fresh installations of vSphere 4.0 are not affected. Running the scripts attached to this knowledge base article on a fresh vSphere 4.0 installation can cause vCenter Server to fail to start.
Solution
To create the missing default alarms:
- Download the following applicable SQL script:
- For Microsoft SQL Server use create_alarms_mssql.sql.
- For Oracle Database use create_alarms_oracle.sql.
- Back up your database and shut down the vCenter Server.
-
Run the script.
To run the alarm creation script in Microsoft SQL Server:
- Log in to the database using the same user credentials that the vCenter Server uses to connect to the database.
- In Microsoft SQL Server Management Studio, navigate to the folder Databases > VC_database_DSN.
- Click New Query.
- In the query editor, copy and paste the contents of create_alarms_mssql.sql.
- Press F5 to run the script.
To run the alarm creation script in an Oracle database:
-
Using sqlplus, log in to the database with the same user credentials that vCenter Server uses to connect to the database.
-
Type @<path to create_alarms_oracle.sql>\create_alarms_oracle.sql
-
Press enter to run the script.
Keywords
Attachments
Feedback
Actions
- KB Article: 1010399
- Updated: Aug 14, 2009
- Products:
VMware vCenter Server - Product Versions:
VMware ESX 4.0.x
VMware vCenter Server 4.0.x

