How To: Importing the SharePoint 2010 MP for SCOM 2012
There has been a lot of questions surrounding the SharePoint 2010 Management Pack when importing to a System Center Operations Manager 2012 Environment.
The trick is to get all the correct permissions:
- AD Account to associate as SharePoint Run As,
- Run As accounts associated as a SharePoint Full Farm Administrator,
- AD SharePoint Run As account as Local Administrator on all SharePoint Servers including RDBMS,
- SysAdmin permissions (or DBO on all SharePoint DBs) to the SharePoint SQL Server (RDBMS).
A VERY important note, is that the SharePointMP.Config file resides within the x64 directory of:
- C:\Program Files\System Center Management Packs\
NOTE: Another MOST important part of this guide, download the Task (Microsoft.SharePoint.Foundation.2010.SCOM2012.mp) just below in the zip file, then follow the instructions below:
1. Ensure Management Server Resource Pool is Healthy, and SCOM RDBMS is Healthy.
2. Ensure the following MPs are imported and healthy:
• Windows OS – Same version as SharePoint
• IIS – Same version as SharePoint
• SQL – Same version as SharePoint
3. Ensure SharePoint Farm Computers are in good health.
4. Download\Import the SharePoint 2010 Products MP using the Catalog or download site:
Download the MP guides and the MP files from the Catalog:
4-1. From a computer with Internet Access and the Operations Console installed, Open the Operations Console, click on the Administration Wunderbar, and find Management Packs.
4-2. Right Click Management Packs and select Import Management Packs.
4-3. Click the Add button, and then select Add from Catalog.
4-4. In the Find field, search for SharePoint 2010 Products, click the Search button.
4-5. Beneath the Management packs in the catalog area, expand Microsoft Corporation>Office Servers>Office
SharePoint Foundation 2010.
4-6. Ensure Office SharePoint Foundation 2010 is highlighted, then click the Properties button just below the Search button.
4-7. Copy the complete URL shown and paste into a browser to download the SharePoint 2010 Foundations Management Pack guide, and then read the Management Pack guide.
4-8. Beneath the Management packs in the catalog area, expand Microsoft Corporation>Office Servers>SharePoint 2010 Products.
4-9. Ensure SharePoint 2010 Products is highlighted, then click the Properties button just below the Search button.
4-10. Copy the complete URL shown and paste into a browser to download the Management Pack guide, and then read the Management Pack guide.
4-11. Within the Select Management Packs from Catalog window, and under Microsoft Corporation>Office Servers>SharePoint 2010 Products, highlight the Microsoft.SharePoint.Foundation.2010 and Microsoft.SharePoint.Server.2010 Management packs.
4-12. Click the Add button to move them to the Selected Management Packs area, then click OK.
4-13. Back at the Import Management Packs area, click the Install button.
4-14. Ensure Import was successful and close the window.
Manually download the MP guides and MP files from Microsoft:
4-15. Download Microsoft SharePoint 2010 Products OpsMgr 2007 MP en-us.msi from here: http://www.microsoft.com/en-us/download/details.aspx?id=4419
4-16. On the RMS Emulator, open the Microsoft SharePoint 2010 Products OpsMgr 2007 MP en-us.msi.
4-17. At the License Agreement Page click the I accept radio button, and then click Next.
4-18. Note the Folder Path for installation: C:\Program Files (x86)\System Center Management Packs\Microsoft SharePoint 2010 Products OpsMgr 2007 MP en-us\
4-19. Click Next.
4-20. Confirm the Installation, click Install.
4-21. At the Installation Complete screen, click Close.
4-22. Read the Management Pack guides.
4-23. Create a folder if it doesn’t exist within (x64) C:\Program Files\ called “System Center Management Packs” exactly.
4-24. IMPORTANT: Copy the SharePointMP.Config file from C:\Program Files (x86)\System Center Management Packs\Microsoft SharePoint 2010 Products OpsMgr 2007 MP en-us\
4-25. Paste the SharePointMP.Config file into the newly created folder you created: C:\Program Files\System Center Management Packs\
4-26. From a computer with the Operations Console installed, Open the Operations Console, click on the Administration Wunderbar, and find Management Packs.
4-27. Right Click Management Packs and select Import Management Packs.
4-28. Click the Add button, and then select Add from disk.
4-29. If you do not have Internet access click No so that the catalog is not searched for dependencies mentioned in the initial steps.
4-30. Click the Add button, then select the two MP files from the extracted location: C:\Program Files (x86)\System Center Management Packs\Microsoft SharePoint 2010 Products OpsMgr 2007 MP en-us, click Open.
4-31. Once they show in the Selected Management Packs area, then click the Install button.
4-32. Ensure Import was successful and close the window.
5. Download SharePoint configuration Task for SCOM 2012 named, Microsoft.SharePoint.Foundation.2010.SCOM2012.zip from the link above in this blog.
OR from Microsoft Connect if you have an account: https://connect.microsoft.com/site799/Downloads/DownloadDetails.aspx?DownloadID=37367
6. Import the mp file (SharePoint Task) downloaded by using the method for importing Management Packs mentioned earlier.
7. Create a new AD account for use as the “SharePoint Discovery/Monitoring Account”.
• Domain\SCOM_SharePoint_RunAs (or something that matches your naming convention)
8. Ensure the newly created AD account is added as:
• Full Farm Administrator within the SharePoint Farm
• Local Administrator on all SharePoint Computers including RDBMS.
• SysAdmin (role) or DBO (to all SharePoint databases) on the RDBMS Instance of the SharePoint Databases.
9. Associate the new AD Account with Operations Manager Run As Account:
9-1. From a computer with the Operations Console installed, Open the Operations Console, click on the Administration Wunderbar, and Expand Run As Configuration.
9-2. Right click Run As Accounts, and select Create Run As Account.
9-3. Follow the wizard and ensure the Run as Account type is Windows, and enter a Display name of: SharePoint Discovery/Monitoring Account, click Next.
9-4. Enter the proper User name, password, and Domain, click Next.
9-5. At the Distribution Security Page, click the More Secure Radio Button, click Create, and click Close.
9-6. Open the SharePoint Discovery/Monitoring Account just created, and click the Distribution tab, click Add.
9-7. Search for all Computers that show in the SharePoint Farm Central Administration Site to be monitored are Added (Health Service) within the Selected objects window, then click OK. (you may need to talk to the SharePoint Administrator to find out which Computers exactly)
9-8. Ensure the Distribution Tab looks OK, and click OK.
10. After the above configuration, you may need to reboot the RMS Emulator and Management Servers subsequently for the next step to run properly.
11. Ensure the reboots have completed successfully, and ensure Health of the Management Server Resource Pool.
12. IMPORTANT: For the next step to run properly, you must have the SharePointMP.Config file located within: C:\Program Files\System Center Management Packs
12-1. On the RMS Emulator, open the Operations Console, and click the Monitoring Wunderbar.
12-2. Expand the folder structure to Monitoring>SharePoint 2010 Products folder
12-3. Click on the Administration node under the SharePoint 2010 Products folder.
12-4. Within the far right Tasks Pane, locate the Microsoft Sharepoint 2010 Farm Group Tasks area.
12-5. Click the Task named: Configure SharePoint Management Pack (SCOM 2012).
12-6. Ensure the Task Parameters appear OK, most specifically the SharePointMP.Config path. You should have copied the Config file into the following path in a previous step: C:\Program Files\System Center Management Packs.
12-7. Click Run, the task may take a minute or two to run. You may see CPU on the RMS Emulator spike and you may notice a slight increase of CPU on the SCOM RDBMS.
12-8. Note the discovery times within the Task Output, and ensure to check back after about 30 minutes when most Discoveries have run.
12-9. Ensure the various views are populated with the SharePoint Farm Computers.