Share via


Azure OpInsights Troubleshooting: Capacity Planning Data Aggregation in Progress

Introduction

There are many interesting developments around Azure Operational Insights (OpInsights) service, ranging from new Intelligence packs to search data syntax improvements. This article focuses on the Capacity Planning intelligence pack, and how to get up and running with it.

The Capacity Planning intelligence pack is one that garners a lot of attention and enthusiasm during demos. What’s not to love about a tool that gives us greater control over our data center capacity, and that enables us to better project and plan for our future compute and storage needs? That’s the sort of insight that makes this service live up to its name.

We get the gist, it’s awesome. That is… whilst it's working. Should we fail to see any data some days after adding the intelligence pack to our workspace, or the Capacity Planning tile stops displaying data.

This article will provide some practical tips on how to hit the ground running with the OpInsights Capacity Planning intelligence pack.  We will also cover how to handle some common issues we may encounter.

After we add the Capacity Planning intelligence pack to our workspace in Azure Operational Insights, the common issues we are likely to encounter are of 2 types.

  1. Getting the Capacity Planning tile to display data in our overview page or dashboard after adding the intelligence pack (Scenario #1)
  2. Getting the Capacity Planning tile to display data after it stops displaying data (Scenario #2)

NOTE: The steps below will assume that we are using Operational Insights as an Operations Manager service that consists of one or more management groups with agents in our management group(s).

Scenarios

1. Where is my Capacity data?

Back to top

http://i2.wp.com/www.mrchiyo.com/wp-content/uploads/2015/03/clip_image001_thumb1.png?zoom=1.5&resize=600%2C278

The first thing to do here is to review the steps for configuring the OpsMgr-to-VMM connector, and ensure it’s working. This is necessary for data aggregation to succeed. Kevin Holman also wrote a detailed guide on the subject.

The next step is to confirm that the OpsMgr-to-VMM connection is configured and working. In the VMM console, navigate to Settings |System Center settings | right-click Operations Manager Server and select Properties. Connection status of “OK.” is self-explanatory. More about this later.

http://i2.wp.com/www.mrchiyo.com/wp-content/uploads/2015/03/clip_image003_thumb1.png?zoom=1.5&resize=600%2C447

After we add the Capacity Planning Intelligence pack in our OpInsights workspace, a couple of things happen under the hood. Several management packs will get installed in our OpsMgr management group. These intelligence packs include

  • Microsoft System Center Advisor Capacity Storage Data
  • Microsoft System Center Advisor Capacity intelligence pack
  • Microsoft System Center Advisor Capacity intelligence pack ( another one )

Note that although two of the three listed management packs have the same name, they have different internal Ids and all three need to be imported into OpsMgr. These management packs collect operational data for storage analytics,  collect operational data for cloud attachment and storage data analysis, and collect operational data for cloud attachment respectively.

Review our management packs to confirm that they got imported into our OpsMgr management group

http://i1.wp.com/www.mrchiyo.com/wp-content/uploads/2015/03/clip_image005_thumb1.png?zoom=1.5&resize=600%2C132

Very importantly, a couple of object discoveries will run, but we want to pay particular attention to the Microsoft System Center Advisor Windows Server Discovery in the Microsoft System Center Advisor Capacity Intelligence Pack. If we do not see this discovery in OpsMgr under Authoring | Management Pack Objects | Object Discoveries after adding the intelligence pack in OpInsights, it’s usually an indication that one of the Microsoft System Center Advisor Capacity intelligence packs listed above did not get imported. Remove the management packs, and wait for about 10 minutes for the management packs to get imported into OpsMgr again.

The referenced discovery targets our Hyper-V hosts that are managed in VMM, and so it’s worth reiterating that at the time of writing this article, the Capacity Planning intelligence pack requires we to have VMM and at least 1 Hyper-V host. If we are missing either of these, we will not get any capacity data in OpInsights. Onwards…

http://i0.wp.com/www.mrchiyo.com/wp-content/uploads/2015/03/clip_image007_thumb2.png?zoom=1.5&resize=600%2C105

After the discovery runs navigate to Monitoring | Discovered Inventory in the OpsMgr console and set the target type to Microsoft System Center Advisor Windows Server. After about 5/10 minutes, we  will start to see the discovered Hyper-V servers in our console.

http://i1.wp.com/www.mrchiyo.com/wp-content/uploads/2015/03/image_thumb20.png?zoom=1.5&resize=600%2C300

After the Hyper-V servers get discovered capacity data should get sent up to the OpInsights service. The data will then get aggregated and then displayed in the Capacity Planning tile in our workspace. In my experience it has taken between 24 – 30 hours for capacity planning data to show up in the Capacity Planning tile as seen in Figure A below. It will however, take at least 7 days of data to build out projections, after which the tile will be updated to show our future growth projections and capacity growth as seen in Figure B below.

http://i1.wp.com/www.mrchiyo.com/wp-content/uploads/2015/03/image_thumb21.png?zoom=1.5&resize=600%2C309

Figure A: Shows the Capacity planning Intelligence pack tile showing capacity planning data

http://i1.wp.com/www.mrchiyo.com/wp-content/uploads/2015/03/image_thumb22.png?zoom=1.5&resize=600%2C301

Figure B: Shows the Capacity Planning Intelligence pack tile displaying capacity growth and projection data

2. Capacity Planning Tile is no longer displaying data

Back to top

While the first scenario focuses on tips for getting started with the Azure Operational Insights Capacity Planning Intelligence Pack, this scenario will focus on suggested remediation steps to take when the Capacity Planning tile stops displaying data.

http://i1.wp.com/www.mrchiyo.com/wp-content/uploads/2015/03/image_thumb23.png?zoom=1.5&resize=600%2C278

If we’ve successfully got the Capacity Planning tile to display data in our workspace but it later stops displaying data, there are a couple of configurations to double check.

  • Check our OpsMgr-to-VMM connection. I’ve found this to be the cause of 90% of the issues that cause the Capacity Planning tile to no longer display data
  • Confirm that data is being sent up to the OpInsights service from our management servers
  • Check for errors in the Operations Manager event logs on our management servers

Check your OpsMgr-to-VMM Connection

Back to top

When we look up the System Center Settings in our VMM console under

 Settings | System Center Settings | Operations Manager Server | Properties, review the connection status.

We’ve seen 3 possible connection status for the Operations Manager Server. The status below is an error status that indicates that the connection from VMM to OpsMgr has been severed. This could be caused by any number of issues such as:

http://i2.wp.com/www.mrchiyo.com/wp-content/uploads/2015/03/image_thumb24.png?zoom=1.5&resize=594%2C445

Resolution

Back to top

Remedy this error by removing the Operations Manager Server: Settings | System Center Settings| Operations Manager Server | right-click and select Remove, and then add the server again by right-clicking on Operations Manager Server, and selecting properties.

After performing the following step, we should see one of two connection state which are acceptable depending on our environment.

A connection status as shown below indicates that the OpsMgr to VMM connection was successful with no errors

http://i0.wp.com/www.mrchiyo.com/wp-content/uploads/2015/03/image_thumb25.png?zoom=1.5&resize=600%2C446

A “Warning” connection status, indicates that the error no longer persists, but that some other issue needs to be addressed. Review the error details to learn more about any identified issues affecting the OpsMgr connection to VMM.

http://i0.wp.com/www.mrchiyo.com/wp-content/uploads/2015/03/image_thumb26.png?zoom=1.5&resize=600%2C446

If we’ve updated our Hyper-V configuration in VMM such as by adding/removing a Hyper-V cluster etc., confirm that the Hyper-V servers are agent managed, or deploy SCOM agents to the servers, and confirm that the server get discovered in OpsMgr by looking  under Monitoring | Discovered Inventory in the OpsMgr console, and setting the target type to Microsoft System Center Advisor Windows Server to display the discovered Hyper-V servers.

http://i1.wp.com/www.mrchiyo.com/wp-content/uploads/2015/03/image_thumb27.png?zoom=1.5&resize=600%2C300

After addressing the issues with the OpsMgr-to-VMM connection, It could take up to 24 hours for the Capacity Planning tile in Azure Operational Insights to start displaying data again.

Other Troubleshooting Steps

Back to top

The Microsoft Operations Manager Team has an excellent article on other Azure Operational Insights troubleshooting Steps. Review procedure 3 and procedure 4 under the section “Verifying if things are working post completing the configuration wizard” for more practical troubleshooting steps.