VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next 18 Replies Last post: Jul 17, 2009 9:13 AM by dickybird  

Virtual center 2.5 no performance data posted: Jan 29, 2008 12:49 PM

Click to view mlydy's profile Enthusiast 50 posts since
Nov 11, 2005
My virtual center is only showing realtime data after upgrading to 2.5 Everything is grayed out when I try to select a different date. Is anybody seeing this or can you offer any ideas on a resolution for this one? This is a problem with 3.0.1, 3.0.2 and 3.5 hosts.

Re: Virtual center 2.5 no performance data

1. Jan 29, 2008 1:24 PM in response to: mlydy
Click to view mcamp001's profile Novice 30 posts since
May 25, 2006
I had the same issue after the upgrade. I rebooted VC, nothing. I waited 2 days, rebooted again and everything was ok. I can't really give any real explaination to why the stats were missing, but wait a bit a try a reboot.

Re: Virtual center 2.5 no performance data

2. Jan 29, 2008 3:34 PM in response to: mlydy
Click to view Cloneranger's profile Hot Shot 213 posts since
Mar 7, 2007

Did you trash and start clean with your VC database during the upgrade?

Could be there is no historic data for it to display.

What kind of object are you selecting for data anyway? a host, VM, cluster, or is the problem on all objects?

Re: Virtual center 2.5 no performance data

3. Jan 29, 2008 3:48 PM in response to: mlydy
Click to view java_cat33's profile Master 1,202 posts since
Aug 29, 2007
What version of SQL are using to host your DB? Before the upgrade did you have resource pools or aything configured? And if so.... were they present after the upgrade?

Re: Virtual center 2.5 no performance data

6. Jan 31, 2008 12:26 AM in response to: mlydy
Click to view Cloneranger's profile Hot Shot 213 posts since
Mar 7, 2007
Do you get your graphs when you connect your VIC to an individual esx host?

Re: Virtual center 2.5 no performance data

7. Feb 12, 2008 10:28 AM in response to: mlydy
Click to view vic10us's profile Novice 11 posts since
Sep 19, 2005

Did you ever get this fixed? I am having exactly the same problem here. We have a mix of ESX 3.0.2 and 3.5 servers and our VIC was upgraded from 2.0 to 2.5 with the option of keeping stat history.

~ Keith

Re: Virtual center 2.5 no performance data

9. Feb 21, 2008 1:59 AM in response to: mlydy
Click to view Shafti's profile Novice 7 posts since
Mar 29, 2007

I've the same issues with VC 2.5.0 and SQL Server 2000. Please check the existence of categories or jobs for stats rollup in msdb database.
I think the missing or corruption of the jobs are depending on the update history and the miss of dbowner rights on the msdb database during the first VC installation.

Querys to check existence of job and categorie in msdb database
SELECT * FROM msdb.dbo.syscategories WHERE name = N'Stats Rollup';
SELECT * FROM msdb.dbo.sysjobs WHERE name = N'Past Week stats rollup';

My problem or question is an solution to fix this problem without a restore of the database back to a point prior the upgrade to VC 2.5 (db version 3) and rerun the db upgrade (db version 4).

Re: Virtual center 2.5 no performance data

10. Feb 21, 2008 12:06 PM in response to: vic10us
Click to view HyperSprite's profile Enthusiast 28 posts since
Oct 21, 2007

Is your SQL Agent running?

http://kb.vmware.com/kb/1003570 : Missing Performance Data in VirtualCenter 2.5

Re: Virtual center 2.5 no performance data

12. Feb 21, 2008 12:21 PM in response to: mlydy
Click to view RParker's profile Champion 5,288 posts since
Dec 6, 2006
I found this to be the case as well. What I found was we have 2 NICS on the VC. For whatever reason one of the NICS was intermittent between the VC and SQL Database, so when I was clicking on historical rather than real time, I saw "unable to display". I eventually fixed/replaced the NIC and everything is good now. It could be that traffic between the VC and DB server is interrupted somehow.

Re: Virtual center 2.5 no performance data

13. Feb 26, 2008 11:04 AM in response to: mlydy
Click to view HyperSprite's profile Enthusiast 28 posts since
Oct 21, 2007

The msdb is used to create the agent jobs and not much else.

NOTE: before you run any scripts your VC login must have Owner rights on msdb as described in the permissions kb 1003052 for all the same reasons.


Do you have the three agent jobs? There should be:

Past stats Day rollup
Past stats Month rollup
Past stats Year rollup

If not, you can find them in your install dir at "C:\Program Files\VMware\Infrastructure\VirtualCenter Server" as "job_schedule<1,2,3>_mssql.sql"

To run them open SQL Manager (studio) as your VCuser (not SA or Administrator), open query analizer, paste the first script, select your VCDB and execute the script. Do this for the other two scripts.

If you have the jobs, make sure they are running as your VCuser.

If you have the jobs and things still don't work, check your VC stored procedures, I have the following listed under VCDB/Programmability/Stored Procedures:

delete_stats_proc
load_stats_proc
purge_stats1_proc
purge_stats2_proc
purge_stats3_proc
stats_rollup1_proc
stats_rollup2_proc
stats_rollup3_proc

Also, what user context are they running under? they are listed as user.delete_stats_proc.

If you are missing any of them you can find them in the same directory as the job scripts as

delete_stats_proc = delete_stats_proc_mssql.sql
load_stats_proc = load_stats_proc_mssql.sql
purge_stats1_proc = purge_stat1_proc_mssql.sql
purge_stats2_proc = purge_stat2_proc_mssql.sql
purge_stats3_proc = purge_stat3_proc_mssql.sql
stats_rollup1_proc = stats_rollup1_proc_mssql.sql
stats_rollup2_proc = stats_rollup2_proc_mssql.sql
stats_rollup3_proc = stats_rollup3_proc_mssql.sql

Run them in the same way as the jobs described above.

I have two more I think were installed from VC2.0.x because they don't exist in the VC dir.

vpx_rollup_sample_group_by_entity
vpx_stats_rollup_by_entity

Let us know what your investigation finds.

Re: Virtual center 2.5 no performance data

14. Dec 30, 2008 4:05 PM in response to: HyperSprite
Click to view polysulfide's profile Expert 286 posts since
Oct 25, 2006

This was really helpful to me, a repair install wasn't creating the jobs even when my perms were set.

One more step I had to take though was to change the target of the steps to be my VC database. They were attempting to target master.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities