In preparation for upgrading our OM 2007 R2 to OM 2012 we have run the below SQL query to check there will not be any issues with custom MPs following upgrade. This particular query checks if any MPs have displays strings targeted to element not existed
which is apparently not supported in OM2012.
The SQL query has come back with 70 rows an example of which I have given under the query they all appear to be linked to the notifications MP. What do I need to do with these prior to upgrade?
SELECT M.MPName, M.MPFriendlyName, D.ElementName
FROM ManagementPack AS M WITH(NOLOCK)
INNER JOIN DisplayStringView AS D WITH(NOLOCK)
ON M.ManagementPackId = D.ManagementPackId
WHERE
D.MPElementId <> M.ManagementPackId
AND D.MPElementId NOT IN (
SELECT MPElementId
FROM MPElementView
)
AND M.MPName NOT IN (
'System.Health.Internal',
'System.BaseliningTasks.Library',
'Microsoft.SystemCenter.ClientMonitoring.Internal',
'Microsoft.SystemCenter.Notifications.Internal'
)
ORDER BY M.MPName, D.ElementName
Example Output
MP Name: Microsoft.SystemCenter.Notifications.Internal
MP Friendly Name: Microsoft System Center Notifications Library
Element Name: Subscriptiona3792245_dfa3_4d12_9h33_4abc22e1y1e3