Archive | SCOM

Error "No such file or directory" error when you try to install a Unix agent after applying CU6 or CU7 for SCOM 2007

 

KB2882532

To resolve the issue, remove the 1 KB agent installer files from the following folder on the management server under the System Center Operations Manager installation directory:

%ProgramFiles%\System Center Operations Manager 2007 R2\AgentManagement\UnixAgents\

 

Make sure that you have valid installation files from Cumulative Update 7 on the folder that contains the version 318 files.

If you have Cumulative Update 6 applied on the management servers, the Unix agent installation file version is 298.

If the latest Unix agent installation files are unavailable in the following folder, follow these steps to obtain the installation files:

%ProgramFiles%\System Center Operations Manager 2007 R2\AgentManagement\UnixAgents\

  1. Rename the SCXAgent DLL files in the following folder to something like SCXAgent*.dll.old:

    %ProgramFiles%\System Center Operations Manager 2007 R2\AgentManagement\UnixAgents

  2. Reapply Cumulative Update 6 or Cumulative Update 7 on the management server to obtain the latest Unix agents files that were extracted to this folder.
Continue Reading

SCOM 2012 SP1 UR2 agents not showing up in Pending Management

 

Recently I ran into an issue of agents not showing up in Pending Management after installing SP1 UR2 at a customer.  I had installed the files using and elevated command prompt and the files on the Management Servers were updated to the correct version. The installer didn’t return any errors on the screen.

image

 

I tried rebooting the MS servers and that didn’t help.  So I tried the update again and no change.

 

Looking through the event logs I ran across this error.

 

Log Name:      Operations Manager
Source:        DataAccessLayer
Date:          5/31/2013 10:42:34 AM
Event ID:      33334
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      ms04.scom2k7.com.com
Description:
Data Access Layer hit the maximum number of retries on SqlError:
Request: SqlConnection.Open
Class: 14
Number: 229
Message: The EXECUTE permission was denied on the object ‘fn_ManagedTypeId_MicrosoftSystemCenterHealthServiceCommunication’, database ‘OperationsManager’, schema ‘dbo’.

image

 

Resolution:

The user doing the install was an admin on the Server and the SQL server but didn’t have SA rights to the DB. When installing SP1 UR2 make sure the user has SA rights to SQL.

Continue Reading

Dashboards in SCOM 2012

 

Here are some great links to building dashboards in SCOM 2012 from Basic to Advanced

 

 

Basics

 

Introducing Operations Manager 2012 Dashboards

Operations Manager 2012 Dashboards – The Performance Widget

Creating SCOM 2012 Dashboards using Visio 2010 or Visio 2013

How to view SCOM 2012 Dashboards in SharePoint 2010

Installing SCOM 2012 Visio Dashboards in SharePoint 2013

How to Configure 360 .NET Application Monitoring Dashboards in System Center 2012 SP1

Microsoft Virtual Academy: System Center 2012 SP1 Extensibility: Operations Manager: Dashboards – Part 1

Microsoft Virtual Academy: System Center 2012 SP1 Extensibility: Operations Manager: Dashboards – Part 2

 

 

Product Specific

 

Windows Server OS – Task Pane Dashboard

System Center Virtual Machine Manager

SharePoint 2010 Dashboard Views for OpsMgr 2012

Exchange 2010 Dashboard Views for OpsMgr 2012

Active Directory 2008 Health Dashboard View for OpsMgr 2012

 

 

Advanced

 

How to boost the performance widget performance

Creating a map with server locations in OpsMgr 2012

Creating Dashboards with Excel Power View

Extend the OpsMgr 2012 Dashboarding capabilities

StatePlus Sample Widget for System Center 2012 Operations Manager

Creating a Widget for Operations Manager Dashboard – Walkthrough #1 – Custom UI Control

Continue Reading

Performance Reporting with Power View

Hello, my name is Mark Drewfs.  I am a Premier Field Engineer for Microsoft with a focus on Systems Center Operations Manager.  I started building data models of the SCOM Data Warehouse to use for interactive reports, and I would like to share some techniques.  Tim McFadden graciously offered to edit the work and host this blog post.  Thank you, Tim!

The data SCOM collects and Business Intelligence tools fit well together, but there can be a significant barrier to combining them.  Power View lowers that barrier a lot.  Users can move quickly between performance counters and go from an enterprise view down to a single server without much effort. 

Here is an example where I filtered the view to look at four Windows servers to see general data for the past week.  Each chart is filtered to a specific object and counter:

 

 pic001

 

I can analyze the data, too.  For instance, I popped out the Memory chart and highlighted a server in the legend.  Then I hovered over a low point to get the time and value:

pic002

 

The SQL 2012 reporting services feature, Power View (http://technet.microsoft.com/en-us/library/hh213579.aspx), is included with Excel 2013.  It provides quick and dynamic access to data from the SCOM Data Warehouse.  This post describes how to setup Excel 2013 with a PowerPivot model and Power View reports using SCOM performance data. 

 

Overview

A.      Setup Excel 2013

B.      Create a data source for the SCOM Data Warehouse

C.      Add datasets

D.      Create relationships

E.       Make a view

 

Step by step

A.      Setup Excel 2013

1.       Install Excel 2013.  I use the 64-bit version, because it can make use of more physical memory.  Select File à Account à About Excel to check the bitness.

2.       Load the add-ins for PowerPivot and Power View.  Select File à Options à Add-Ins

3.       Select COM Add-ins from the Manage: pulldown and click Go…

4.       Check the boxes for Microsoft Office PowerPivot for Excel 2013 and Power View then click OK

      pic003

5.       Accept the prompts to install Silverlight if necessary.

 

 

B.      Create a data source for the SCOM Data Warehouse

1.       Click the POWERPIVOT tab

2.       Then click Manage

     pic004

3.       Select From Database  then select From SQL Server from the pulldown

    pic005

4.       Enter a name like SCOM_DW in the Friendly connection name: field

5.       Enter the SCOM Data Warehouse server name (with instance and port, if necessary) in the Server name: field

6.       Select the name of the SCOM DW (OperationsManagerDW by default) from the Database name: pulldown

7.       Click Next

8.       On the How to Import the Data dialog select Write a query that will specify the data to import

9.       Click Next

10.   In the Friendly Query Name field type Perf Data

11.   Copy and Paste in the following query (Simple Perf Queries):

SELECT     PERF.ManagedEntityRowId

,PR.RuleRowId

,PERF.DateTime

,PERF.AverageValue

,PERF.MinValue

,PERF.MaxValue

,PERF.SampleCount

,PR.ObjectName

,PR.CounterName

,PRI.InstanceName

FROM Perf.vPerfHourly PERF

INNER JOIN vPerformanceRuleInstance PRI ON PRI.PerformanceRuleInstanceRowId = PERF.PerformanceRuleInstanceRowId

INNER JOIN vPerformanceRule PR ON PR.RuleRowId = PRI.RuleRowId

WHERE PERF.DateTime > (GETUTCDATE() – 7)

/*WHERE PERF.DateTime > (getutcdate() + 1) — Dummy condition to return no rows*/

pic006

12.   Click Finish

 

C.      Add Additional datasets

1.       Click Existing Connections in the Ribbon

        pic007

2.       Select SCOM_DW from the PowerPivot Data Connections

 pic008

 

3.       Click Open

4.       Select Write a query that will specify the data to import and click Next >

5.       In the Friendly Query Name type Perf Entities and Types

6.       Copy and Paste in the following query:

select distinct

ME.ManagedEntityRowId

,ME.Name

,ME.DisplayName

,ME.Path

,MET.ManagedEntityTypeDefaultName

from Perf.vPerfHourly PERF

inner join vManagedEntity ME on ME.ManagedEntityRowId = PERF.ManagedEntityRowId

inner join vManagedEntityManagementGroup MEMG on MEMG.ManagedEntityRowId = ME.ManagedEntityRowId

inner join vManagedEntityType MET on MET.ManagedEntityTypeRowId = ME.ManagedEntityTypeRowId

where PERF.DateTime > (GETUTCDATE() – 7)

order by MET.ManagedEntityTypeDefaultName

7.       Click Finish

8.       Repeat steps 1-7 to create another dataset

9.       Name it MPs and Rules

10.   Use the following SQL Query:

SELECT distinct RU.RuleRowId

,MP.ManagementPackDefaultName

,MP.ManagementPackSystemName

,RU.RuleDefaultName

FROM vManagementPack MP

inner join vRule RU on RU.ManagementPackRowId = MP.ManagementPackRowId

inner join vPerformanceRule PR on PR.RuleRowId = RU.RuleRowId

where PR.LastReceivedDateTime > (GETUTCDATE() – 7)

 

D.      Create relationships

1.       Click Diagram View in the Ribbon

pic009 

2.       Click ManagedEntityRowID in the Perf Data dataset and drag a line to ManagedEntityRowID in the Perf Entities and Types dataset

        pic010

3.       Click RuleRowID in the Perf Data dataset and drag a line to RuleRowID in the MPs and Rules dataset

        pic011

4.       Close the PowerPivot window

        pic012

 

E.       Make a view

1.       Click the INSERT menu

2.       Click the Power View icon

pic013 

3.       Rename the tab to SCOM Perf

pic014 

4.       Expand the Perf Entities and Types dataset in the Power View Fields pane

        pic015

5.       Drag the ManagedEntityTypeDefaultName to the Filters area

        pic016 

6.       Check the boxes for managed entity types of interest

        pic017 

7.       Expand the Perf Data dataset in the Power View Fields pane

8.       Check the box for ObjectName

        pic019 

9.       Click Slicer in the ribbon

        pic020 

10.   Click in the empty space of the view to deselect the slicer

11.   Check the boxes for AverageValue and DateTime in the Perf Data dataset

      pic021 

 

12.   Select Other Chart à Line
pic022

 

13.   Change the AverageValue field to be averaged instead of summed

        pic023

 

14.   Drag CounterName into the TILE BY field

        pic024

 

Note: The managed entity will determine the values for DisplayName, Name and Path.  For top level entities, the path is null.

 

15.   Select the chart

16.   Drag the Path to the Legend

pic025

 

17.   Save the workbook

  

Here is my example:

  

 pic026

Sample Files: https://www.scom2k7.com/downloads/PowerPivotExample.zip

Continue Reading

Uninstalling AVIcode 5.7 Agent

 

I was recently working with a customer that was trying to install SCOM 2012 and leverage Application Performance Monitoring.  After pushing the SCOM 2012 agent the customer told they had previously installed AVIcode 5.7 on the server.  To install APM, it requires the Avicode 5.7 agent to be removed.  http://technet.microsoft.com/en-us/library/hh543998.aspx

Using Add/Remove programs, we tried to uninstall AVIcode 5.7 and we were presented with the following error.  Intercept Agent is using files that need to be updated by this setup.  Please stop AVIcode Intercept Studio monitoring.

Locked Files:

PerfMon64.dll
StubProfiler64.dll

clip_image002

We removed all monitored applications using the Intercept Management Console, but we still couldn’t uninstall Avicode 5.7 as we kept getting the same error. 

clip_image002[5]

We checked the processes using sysinternals process explorer but it didn’t show the files were in use.

So the simple solution. 

Rename PerfMon64.dll and StubProfiler64.dll to a different name. Now were were able to run the uninstall of AVIcode 5.7.   After that we did a Repair of the Operations Manager 2012 agent which the successfully installed the APM service.

Continue Reading

SQL Server 2012 installation fails in a VMware environment that is running Windows Server 2012 if the default installation directory is changed

If you are installing SQL 2012, on Server 2012 running on a VMware VM.  This is something to watch out for.

http://support.microsoft.com/kb/2799534

 

Assume that you try to install Microsoft SQL Server 2012 in a VMware environment that is running Windows Server 2012. You change the shared features and the instance root directory to be located on a drive other than the default drive C. In this situation, the installation fails, and you receive an error message that resembles the following:

Attempted to perform an unauthorized operation
To work around this issue, use one of the following methods:

 

 

 

 

Continue Reading

Last day for Early-bird pricing to The Microsoft Management Summit (MMS 2013)

Today 2-13  is the last day for Early-bird pricing to MMS 2013.   If you haven’t attended MMS in the past I highly recommend it.

http://www.2013mms.com

 

Here are a few of the many benefits.  http://www.2013mms.com/why

  • 300-400 level training on the System Center Products Suite
  • A chance to get some of your toughest questions answers by the people who created System Center 2012.
  • Network with some of the top System Center experts like Kevin Holman, Marnix Wolf, Pete Zerger,  Cameron Fuller and many more.
  • It’s in Vegas!

 

I just found out that I will be going as well, so hope to see you all there.

 

Continue Reading