Event 31551 error appearing on management servers

Guys - i think this is a long standing issue, one which i thought i'd resolved. 

I want to say that it's a performance issue and that I could investigate management packs to identify if any are flooding the management servers, however, I believe it's an access issue. 

The event log says:

Failed to store data in the Data Warehouse. The operation will be retried.
Exception 'SqlException': Management Group with id ''xxxx'' is not allowed to access Data Warehouse under login ''sv-scom-dw'' 

One or more workflows were affected by this.  

Workflow name: Microsoft.SystemCenter.DataWarehouse.CollectPerformanceData 
Instance name: SCOM-MS1.domain 
Instance ID: {xxxxxxx} 
Management group: Groupname

After reading that error, you'd think it would be as simple as to check the Data warehouse DB and ensure that the account listed has access!? Well.. the twist in the plot is... it does have access. I'm able to load SQL management studio, access the database and browse tables. I've checked almost everything i can think of, and now i'm just lost. I could do with a fresh pair of eyes looking over it. 

My SCOM environment is 2012 R2, all running on Windows 2012 R2 servers, SQL is also 2012. 

January 21st, 2015 3:30pm

Hi,

I would like to suggest you check below runas account:

Data Warehouse Report Deployment Account

You may use a domain account and check the result.

In addition, did you also recieve event 2115 and 8000, this may also related with communication between the management server and data warehouse server.

And here is a similar thread for your reference:

https://social.technet.microsoft.com/forums/systemcenter/en-US/e04ab8ef-3de5-4b1f-b224-c0c196c8d4a5/scom-r2-upgrade-failed-to-store-data-in-the-data-warehouse

Regards,

Yan Li

Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2015 5:56am

Hi Yan.

I can confirm that I am using a domain account for the run as account 'Data Warehouse Report Deployment Account'. This is a different account to the one listed in my original post.

I can also confirm that I am seeing events 2115 and 8000.

I had a look at the website you suggested, it appears that they're having a slightly different issue to myself. Also they're using SCOM 2007 whereas I'm using 2012.

I'm not entirely sure what communication issues the management server & data warehouse would be having, there isn't a firewall between the two..

Thanks, David.

January 22nd, 2015 12:51pm