Place a Server in Maintenance Mode in SCOM

Launch System Center operations Manager.

scomm1

scomm2

  • On the left hand side click on “Windows Computers”.
  • The computers will show on the right side.

scomm3

  • Step 1 -> Right Click on a server.
  • Step 2 -> Click on “Maintenance Mode” and then click on “Start Maintenance Mode”

scomm4

  • Select where this is planned or unplanned (Step 1)
  • Select the category (Step 2)
  • Enter in a comment (optional)
  • Select the time (Step 4)
  • Click on OK (Step 5)

scomm5

  • As shown above the server is now in maintenance mode.
  • Give it a few minutes before you start working on the server.

Install SNMP Windows Feature and Configure SNMP in System Center Operations Manager 2012 (SCOM)

Steps:

  • Install Windows Features.
  • Configure SNMP Services.
  • Configure SCOM.

Install Windows Features

Open up server manager.

snmp1

  • Once the Server Manager has initialized click on “Add roles and features”

snmp2

  • Leave Role-based or feature-based installation as default and click Next.

snmp3

  • Leave the default and then click Next.

snmp4

  • Click Next on the roles section.

snmp5

  • Scroll down on the features section until you find SNMP. Press the arrow on the left to expand it. Click both checkboxes.

snmp6

  • Once you have clicked the checkboxes in the previous screen then this window will come up. Click the “Add Features” button.

snmp7

  • Now that both are selected the Next button enables, click Next to continue.

snmp8

  • Click the Install button.

snmp9

  • Installation starting.

snmp10

  • Feature installation busy. You can click the Close button and monitor the install from Server Manager.

snmp11

  • Once the installation has completed click the close button.

Configure SNMP Services

Open up Services (you can click start -> Run -> Services.msc)

snmp12

  • Disable the SNMP Trap Service.
  • Make sure the SNMP Service is started and set to Automatic.

snmp13

  • Right Click on SNMP Service and select properties.

snmp14

  • Click on the Security Tab.
  • Click on the “Add” button.

snmp15

  • Select the Community Rights.
  • Type in the Community Name.
  • Click the Add button.

snmp16

  • The details will now show under the “Accepted Community Names” Section.
  • Click OK.

Configure SCOM.

Open up the SCOM console.

snmp17

  • Step 1 -> Click on the Authoring Tab.
  • Step 2 -> once the menus have refreshed click on the Rules line.

snmp18

  • Step 1 -> Right Click Rules.
  • Step 2 -> Click on “Create a new rule”

snmp19

  • The “Create Rule Wizard” screen will come up as shown above.

snmp20

  • Expand Collection Rules -> Event Based.
  • Click on SNMP Trap (Event).
  • We are going to create a new management pack for rules. Click the New button as shown above.

snmp21

  • Step 1 -> Enter in the Name.
  • Step 2 -> Click Next.

snmp22

  • If you want to add in a knowledge Article click the “Edit” button.
  • Click on Create.
  • Click Next on the following screen.

snmp23

  • Now we are going to create a new Rule. Step 1 -> Give the rule a name.
  • Step 2 -> Click on the Select button.

snmp24

  • Step 1 -> In the box type in “Node” and then click on “View all Targets”. Press Enter.
  • Click on “Node and then Step 2 -> Click the OK button.

snmp25

  • Once you have selected Node in the previous screen it will now show under the “Rule Target”
  • Click the Next button.

snmp26

  • We cannot leave this screen blank so enter in 1.2.3.4.0.
  • Click on the create button.

snmp27

  • Make sure you are on the Authoring Tab, have selected Rules.
  • In the Look For: button type in Node.
  • Scroll down till you find the type: Node and the name of the rule we just created.

snmp28

  • Right click on the name (Step 1)
  • Click on Properties. (Step 2)

snmp29

  • Step 1 -> Click the Configuration Tab.
  • Step 2 -> Click on the Edit button.

snmp30

  • Double click the object identifier we created earlier and delete the information.
  • Click OK.

Discover SNMP Devices

snmp31

  • Step 1 -> Click the Administration tab.
  • Step 2 -> Click on Discovery Rules.

snmp32

  • Step 1 -> Right click Discovery Rules.
  • Step 2 -> Click on the Discovery Wizard option.

snmp33

  • Step 1 -> Click on Network Devices.
  • Step 2 -> Click the Next button.

snmp34

  • Step 1 -> Enter in a name.
  • Step 2 -> Select your management server.
  • Step 3 -> Click on the “Create Resource Pool” button.

snmp35

  • Step 1a -> Enter in the Name for the New Resource Pool.
  • Optional – > give a description.
  • Step 2b -> Click Next.

snmp36

  • Click the “Add” Button.

snmp37

  • Step 1 -> Click the Search button.
  • Step 2 -> Click the name of your management server.
  • Step 3 -> Click the “Add” button.
  • After you have completed step 3 your management server will show under the “Selected Items” section.
  • Click OK.

snmp38

  • After adding in the info it will show in the box (as shown above). Click Next.

snmp39

  • Confirm the settings. Click the Create Button.

snmp40

  • Once it’s complete click the “Close” button.

snmp41

  • Now that we have created a new resource pool it will list under the “Available Pools” section.
  • Click Next.

snmp42

  • We going to use “Recursive Directory” click the radio button.
  • Click the next button.

snmp43

  • On Default Accounts page we need to create an account. Step 1 -> Click on the “Create Account” button.

snmp44

  • Step 1 -> Type in a display name.
  • Step 2 -> Click Next.

snmp45

  • Step 1 -> Enter in the community string.
  • Step 2 -> Click the “Create” button.

snmp46

  • The account we just created will be selected.
  • Click Next.

snmp47

  • On this screen click the “Add” button.

snmp48

  • Enter in the name or IP address. Make your other selections.
  • Click OK.

snmp49

  • The information created in the previous screen will now show under “Devices”.
  • Click Next.

snmp50

  • Leave the default selected.
  • Click Next.

snmp51

  • If you want to exclude any IP’s then click the “Add” button, else Click Next.

snmp52

  • Make your selection.
  • Click the Next button.

snmp53

  • On the summary screen confirm your settings.
  • Click the Create button.

snmp54

  • When the following Warning comes up, make your selection. I click Yes.

snmp55

  • Progress screen.

snmp56

  • Once it finishes we can run the discovery wizard. Leave the checkbox selected and then click the close button.

snmp57

  • Once you have clicked close the page above shows the progress circle.

snmp58

  • As seen above we now see a status of Pending.
  • If you click on Network Devices Pending Management you will see any errors.

Hope it helps.

Import Management Pack in System Center Operations Manager (SCOM)

Brief Description:

Management packs typically contain monitoring settings for applications and services. After a management pack is imported into an Operations Manager management group, Operations Manager immediately begins monitoring objects based on default configurations and thresholds that are set by the management pack.

Steps for importing the management pack:

scom1

  • Open up System Center Operations Manager.
  • Wait for the system to initialize and connect to the DB.

scom2

  • Once initialized you will be shown this screen.
  • Click on Administration on the bottom left hand side.

scom3

  • Step 1 -> Right click on Administration.
  • Step 2 -> click on “Import Management Packs”

scom4

  • On this screen make the following selections:
    • Step 1 -> Click on the Add button.
    • Step 2 -> Click on “Add from catalog”

scom5

  • The following window will show. Don’t click anything, wait for the catalog page to show.

scom6

  • There are a couple of steps to complete here.
    • Step 1 -> Type in what you want to find, I used office.
    • Step 2 -> We searching for all management packs but if you click the drop down you can select updates.
    • Step 3 -> Click the search button.
    • Step 4 -> Once the search is complete it will show a range of items. Select the one you want, you will notice the status is showing as “Not Installed”
    • Step 5 -> Click the Add button, once you do that it adds the item you just selected to the bottom.
    • Click OK.

scom7

  • Click the install button.

scom8

  • Management Pack downloading.

scom9

  • Management Pack importing.

scom10

  • The management pack has been imported successfully.
  • Click the close button.

scom11

  • Click on Management packs and on the right hand side you will see the Management Pack we just imported.

Hope it helps.

Deploy Agents with System Center Operations Manager R2 (SCOM)

scom1

  • Open up System Center Operations Manager.
  • Wait for the system to initialize and connect to the DB.

scom2

  • Once initialized you will be shown this screen.

scom3

  • Step 1 -> Click on Administration.
  • Once the menus refresh then Step 2 -> Right click on Administration.
  • Step 3 -> Click on “Discovery Wizard”.

scom4

  • On the Discovery Type section click on Windows Computers.
  • Click Next.

scom5

  • Click on “Advanced Discovery”, if you have multiple management servers then select one from the drop down or leave the defaults and click Next.

scom6

  • Click on Browse for, or type-in computer names.
  • I typed in the machine in this example. You can also click browse to select a machine.
  • You can type in multiple computer names one below the other. Don’t forget to use the FQDN of the machine.
  • Click Next.

scom7

  • If you have an Action Account that has access to deploy the Agent then leave the default selected or enter in other credentials by click the radio button “Other user account”
  • Click on the Discover button.

scom8

  • The progress screen.

scom9

  • Once the machine has been discovered it will show in the box above (computer name removed), click on the check box to select the machine and then click Next.

scom10

  • The summary screen will show, leave it as is and click Finish.

scom11

  • A task Window will show with the status. You can leave it open or close it and then in Administrator go and click Pending Management to see if the installation failed.

Hope it helps.

System Center Operations Manager 2012 R2 Installation with local SQL 2012

SCOM is quite a big installation and I thought I would put something together to help the community out, here is the guide:

Active Directory Setup:

Create the following accounts/Groups in Active Directory.

  • DOMAIN\OMAction           (Action account)
  • DOMAIN\OMData              (Data Access service account)
  • DOMAIN\SQLUser              (SQL service account)
  • DOMAIN\OMAdmins          (Operations Manager Administrators security group)

Add the “OMData” and Action account to the “OMAdmins” Group.
Add your account or any other member that is going to administer SCOM to the “OMAdmins” group.

Prerequisites List (SCOM Server):

  • Install Server 2012 OS
  • Join server to the domain
  • Install all windows updates so the server is fully patched.
  • Install SQL 2012.
  • Install Microsoft System CLR Types for SQL Server 2012.
  • Install the Report Viewer controls.
  • Add the “OMAdmins” domain global group to the Local Administrators group.

Download links for Report viewer and System CLR Types:

Windows Features Requirement:

Run the following from Powershell (run as Administrator):

  • Add-WindowsFeature NET-WCF-HTTP-Activation45,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Logging,Web-Request-Monitor,Web-Filtering,Web-Stat-Compression,Web-Mgmt-Console,Web-Metabase,Web-Asp-Net,Web-Windows-Auth -Source D:\sources\sxs –Restart
  • Replace D:\ Above with your servers drive letter that has the Server Media.

Install SQL Server

SQL Server 2012 Setup - SCOM

  • Install the features as selected above, optionally you can install the Management tools.
  • **NB** Make sure you Collation is set correctly or SCOM will not install.
  • Collation: SQL_Latin1_General_CP1_CI_AS
  • Once installed make sure that you set the Maximum Server Memory (you need SQL Management tools), you need need a minimum of 2GB of Ram, Recommended is 4GB or higher.
  • Also ensure that your SQL Server Agent service is started.

Install Microsoft CLR Types for SQL Server 2012 SP1

clr1

 

  • Click Next and then Finish.

Install Report Viewer Controls

report viewer

  • Click Next and then Finish.

Install System Center Operations Manager R2 (SCOM)

SCOM start page

  • Right click the Setup file in the installation directory and choose “Run As Administrator”. A screen as shown above will come up.
  • Make sure that the option “Download the latest updates to the setup program” is ticked and then click Install.

scom online updates

  • Screen comes up when you check for online updates.

operations manager setup

  • Select the top 3 features as shown above, do not install the Reporting Server yet.
  • Click the Next button.

operations manager proceed with setup

  • If any warnings or errors appear they will show under Management Server.
  • Click Next to continue the setup.

operations manager group setup

  • Enter a Management Group name that is Unique. I used SLabTest as my name.

operations manager operational database

  • Enter the Server Name and Instance, the setup will display a green wheel while it’s thinking, once it has found and verified the name click Next. If there is a problem it will give you an error about the instance name.

operations manager web console

  • Choose the web site, I leave it default. If you want SSL then click the checkbox “Enable SSL” and then click Next.

scom authentication mode

  • Choose the authentication mode and then click Next.

scom manager accounts

  • Enter in the accounts you created in beginning with their passwords and click Next.

scom domain account warning

  • You will get the following warning if you used a Domain Administrator Account. This is a lab so I used an account with full access.

scom customer experience

  • Make your choice and click Next.

scom manager setup summary

  • Summary of configuration (some info removed), click the Install button to proceed.

SCOM installation progres

  • Installation in progress. Sit back and relax.
  • When finished all the options will show a green tick. If not you will get a warning/error and you need to review the logs for failure.

After the installation do a reboot.

Make sure that all SQL services are started and all SCOM services.

Launch SCOM you will see this screen:

scom startup splash

Install Reporting Server for SCOM.

scom reporting feature

  • Double click the setup file again and go through the initial steps. Once you get to the Feature section only select Reporting Server and click Next.

scom specify management server

  • Type in Management Server name and click the Next button.

scom sql server instance RS

  • Select an instance from the drop down and click Next.

scom RS accounts

  • Enter the details of the account you created earlier or an account that has access to reporting.

scom RS summary

  • Installation Summary, some information removed but it will display the Management Server, Reporting Server and its instance and the Data Reader Account.

scom RS complete

  • Once the installation is complete you will get this screen above.
  • Next, it is time to configure reporting.

If you open up SQL Reporting Services you can setup the account with access, the reporting URL etc.

Once you click on the Reporting URL you will be shown the following page.

sql reporting services webpage

  • If SQL Reports are working correctly the screen above will show.

If we launch SCOM now and go to the reports console you should see reports.

scom reports console

Hope it helps.

SCOM 2012 R2 and SQL 2014

As with the previous post where I upgraded SCCM SQL from 2008 to 2014, I did the same with System Center Operations Manager.

You need to make sure that SQL 2008 is on SP2 and that SQL 2012 is on SP1 or the upgrade will fail on the checks.

After I upgraded these I proceeded to do the upgrade and received an error about custom security settings within SSRS.

I made a copy of the reportserver.config file and then removed all the authentication and security info in the config file. I then ran the checks again and it passed.

SQL 2008 was upgraded to SQL 2014. After the reboot SCOM opened but I received an error on reporting.

I ran the setup for SCOM, removed the reporting feature and then rebooted. After the reboot I went into SQL Reporting and configured it again, pointing to the correct report DB’s for SCOM.

I then re-ran the SCOM setup and installed the Reporting Feature, after the last reboot I was able to login to SCOM and run reports.

I don’t think that SQL 2014 with SCOM 2012 R2 is really supported yet but I wanted to write about this for anyone who wants to test it.

Hope it helps