Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 17778

SCVMM 2012 SP1 Capacity Utilization Report Missing Data

$
0
0

When you finish integrating SCOM 2012 SP1 with SCVMM 2012 SP1, you will find Capacity Utilization Report contains no data in two of the views.

After investigation, I found it was related the the following two stored procedures.

Dbo.Microsoft_SystemCenter_VirtualMachineManager_Report_PIFDiskNetTransferReportDataGet

Dbo.Microsoft_SystemCenter_VirtualMachineManager_Report_PIFHostsResourcesCapacityUtilizationReportDataGet

The problem is “!= NULL”, we must use “is not NULL” instead of “!= NULL”. 

I found in technet that ANSI_NULLS will be always set to on in SQL server 2012 and later versions.

http://technet.microsoft.com/en-us/library/ms188048.aspx

Maybe our DEV uses SQL server 2008 for developing and testing.

 

So we have two options to fix the problem if you are using SQL Server 2012 or later version.

Modify in the SPs and either of the two methods will work.

1. From SET ANSI_NULLS ON to OFF

2. Or, from != NULL to is not NULL



Viewing all articles
Browse latest Browse all 17778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>