[SDP3][bc36449d-7020-4680-b6ba-628f51d56157] Microsoft Azure role-based cache (WAD) diagnostics

Article translations Article translations
Article ID: 2937691 - View products that this article applies to.
Expand all | Collapse all

On This Page

Summary

In-Role Cache in Microsoft Azure Cache applications uses a diagnostic level for diagnostic data collection. This diagnostic level provides a single setting that you can use to configure the level of data collection.

You can obtain Azure In-role cache diagnostics files from the Microsoft Azure Diagnostics (WAD) storage account. For more information about how to enable the collection of In-Role cache diagnostics data, see the following Microsoft Azure website:

In-Role Cache Troubleshooting and Diagnostics (Microsoft Azure Cache)
If the following functions are not called in the role's OnStart override, In-Role cache diagnostics data will not be transferred to WAD storage.

public override bool OnStart()
{
DiagnosticMonitorConfiguration dmConfig =
DiagnosticMonitor.GetDefaultInitialConfiguration();

// Configure the collection of cache diagnostic data.
CacheDiagnostics.ConfigureDiagnostics(dmConfig);

DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString",
dmConfig);

return base.OnStart();
}
Note If the In-Role cache diagnostics is not enabled to be transferred to WAD storage, you may be still able to get the In-Role cache diagnostic data from role-based virtual machines by using the PaaS VM Log SDP package.

More information

To run the In-Role cache diagnostics package, follow these steps.

Step 1: Enter the Microsoft Azure storage account for WAD

Collapse this imageExpand this image
2937679


Step 2: Enter the Microsoft Azure storage account access key.

Note You can obtain the account name and key from Azure Management Portal.

Collapse this imageExpand this image
2937680


Step 3: Enter the deployment ID for the Cache Server role.

Note
 To locate the deployment ID for the Cache Server role, enable In-Role cache on the Dashboard page of the cloud server in Azure Management Portal.

Collapse this imageExpand this image
2937681


Step 4: Enter the name of Cache Server role.

Note For dedicated caching, the Cache Server role name is the same as the Cache Worker role name.

Collapse this imageExpand this image
2937683


Step 5: Enter the instance numbers of the Cache Server role

Note Separate the instance numbers by commas. The input string can be validated.

Collapse this imageExpand this image
2937686


Step 6: Enter the Cache Client role name.

Note For co-located caching, the Cache Client role name is the same as the Cache Server role name.

Collapse this imageExpand this image
2937950


Step 7: Enter the start time of the diagnostic data to be collected.

Note The default start time is 24 hours in the past.

Collapse this imageExpand this image
2937688


Step 8: Enter the end time of the diagnostic data to be collected.

Note The default end time is the current time.

Collapse this imageExpand this image
2937689


After you complete these steps, a report is generated that provides links to the collected files. See the "Information collected" section for the files that are collected.

Collapse this imageExpand this image
2937690

Information collected

Location of cache diagnostic data in WAD storage
Collapse this tableExpand this table
Log TypeStorage TypeContainer/Table Name
ETW tracesBlobwad-custom-logs
Performance CountersTableWADPerformanceCountersTable
Windows Event LogsTableWADWindowsEventLogsTable
Crash DumpsBlobwad-crash-dumps
Client LogsTableWADLogsTable
Diagnostic files collected in the package for Azure In-role cache
Collapse this tableExpand this table
DescriptionFile name
.zip file for all client trace files for In-role cache
accountName_ClientTraces.zip
.zip file for all crash dumps files for In-role cache
accountName_CrashDumps.zip
.zip file for all event log files for In-role cache
accountName_EventLogs.zip
.zip file for all PerfMon logs for In-role cache
accountName_PerfMonLogs.zip
.zip file for all Server logs for In-role cache
accountName_ServerLogs.zip
General Information
Collapse this tableExpand this table
DescriptionFile name
Basic System Information, including computer name, service pack, computer model, and processor name and speed
resultreport.xml

References

For more information about the Microsoft Automated Troubleshooting Services and about the Support Diagnostic Platform, see the following Microsoft Knowledge Base article:

2598970 Information about Microsoft Automated Troubleshooting Services and Support Diagnostic Platform

Properties

Article ID: 2937691 - Last Review: June 20, 2014 - Revision: 2.0
Applies to
  • Microsoft Azure
Keywords: 
kbsurveynew kbexpertiseadvanced KB2937691

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com