Scsm DW
Hi, I know this is not the right place to ask this question, but I will give a try. When we built SCSM we extended classes so we created change request support group and manual activity support group. The are in separate MPs and both are sealed. Our reporting group wants to build some reports based on Manual Activity support group. However they cannot find it in DW. It is easy to locate change support group but not MA support groups.
Answers
I can only assume this has something to do with the Manual Activity class being a child of the parent Activity class
It could be. So is that a new MP available for downloads? I guess I am not the only one who extended Activities.
If you are the least bit leerie or unsure about making this change to your production data warehouse, I would advise against it and suggest you reach out to MSFT for support on this instead.
Could you share a little more detail on the script you proposed?
You want me to write a Powershell script to chance (just edit) MA supportgroup on every single MA in the operational DB or in the SCSM DW?
And to edit in the DW, I would have to modify the tables with direct SQL querys, from Powershell, ofc.
once you have created and imported a new DW management pack you SCSM DW should now contain a new table which will hold your support group data against the manual activity entity ID, so you can join the activity table and this new table using this field to pull reports for MAs with the support group field.
its likely the new custom table wont fill with activities that existed before you imported the DW management pack you will have to update the MAs to get there data into the dw, it doesnt matter what field in the MA you update as long as the "Last updated" field moves, this being the case i normally use "alt contact method" as this is not used in MAs,
this sample script sets all alt contact method to 0, this will change the last mod date/time on all MAs and when the DW next syncs they should then be processed into the new table
Thanks alot, mate.
I know exactly what you mean now!
@David_Morris1
I got the outrigger working, however, I couldn't find the Dim in any cubes, only in the DWDataMart DB.
I would really like if it was a part of the default Service Request Cube or Change-Activity Cube.
I read Conner's very detailed post about making your own cube, which is awesome.
However I think most of my needs would be met if I could just extend the existing Activity/Change Cube with my new Dim&Outrigger, MA Support Group extension.
Is that possible, or do I need to create a new custom Cube?
Link to Conner's post:
https://social.technet.microsoft.com/Forums/en-US/6aaa5cc2-fc9c-4f6a-bc51-d0a2f70b11f1/custom-fields-in-dw-and-cubes?forum=dwreportingdashboards
I highly recommend creating your own cube.
You could do what AddCubeDateSlicers did where they reference existing cubes via [Warehouse > Extensions > CubeExtension] as opposed to creating a new cube via [Warehouse > Extensions > SystemCenterCube] .... However be warned that SCSM tries to limit the amount of Dimensions a Cube can have, despite them violating this constraint themselves with the Microsoft Change Cube. Not to mention I had to end up running the powershell script when the date dimensions disappeared due to needing to rebuild the cubes (I don't believe I've had this problem since I perfected the SSAS Cubes....)
You can export the AddCubeDateSlicers.mp from SCSM Console to get the xml and verify, btw.
Again, I recommend making a new cube only with what you need and seal it with FastSeal.exe.....
Note that when you import your sealed Cube MP you'll need to wait for it to create the cube and the cube job. I recommend that you use SSMS to Perfect the SSAS Cubes because cube jobs have caused me countless issues due to SCSM not syncing everything, I have gone onto each cube and right clicked on them and went to Properties. I then went to Error Configuration:
Thanks for the advice.
I recon the rerunning of the AddCubeDateSlicers.mp's Powershell script, sometimes the date dim's also magically disappear, and the script needs to be rerunned, not a major issue, but it's strange, however since it's pretty fast I haven't really tried to analyze the issue in-depth.
I'll take your advice and create a custom cube.
I've looked a little into the XML code of the MP's you provided in your post on technet.
Doesn't look too bad, but I could use an example on how to include an enum in my custom cube.
Can I just use the outrigger I created?
First question:
Did they solve this bug you mentioned?
Bug causes 100% Data Warehouse MP Corruption
https://connect.microsoft.com/WindowsServer/Feedback/Details/2507482Second question:
What is included in the cube - Is all the properties from the classes you reference to included, like I'd have to refence to my custom extension of the ManualActivity class (hence, the MA SuppportGroup enum property).
Ex.
That's as far as I go with Cube Knowledge, good luck accomplishing your goals, however intuitive the solutions are!
As for the bug I mentioned, Microsoft didn't comment or release a patch, I suspect no one is even looking at the tickets and that the ticket was closed from being inactive for so long and my uploaded files have not become public when I first created the ticket. So I'd assess that as NO meaning they did not solve the 100% Data Warehouse MP Corruption Bug. Makes you think twice about what "Supported Product" really means.
Thanks Conner,
Didn't think of exporting the Cube MP!
It's actually a pretty good idea!
Regarding the bug, well, guess MSFT doesn't really care about SCSM. But we already knew that.