Since 1996 Identify Software has been leading the software industry for supporting applications and optimizing the support chain process throughout the organization.
Every person can identify the potential of the recorded information, after seeing the first traced log from AppSight, for troubleshooting problems faster and in more efficient methods, but it is extremely important to understand how this powerful Black Box technology should be used in order to exploit its full potential in the most efficient way for your organization.
This book attempts to bridge that gap in knowledge by providing solid advice, backed up with experience. This advice is what we at Identify like to call “best practices”.
3. What is an Application?
The term application is a shorter form of application program.
An application program is a program designed to perform a
specific function directly for the user or, in some cases, for
another application program.
Applications use the services of the computer's operating
system and other supporting applications.
The formal requests and means of communicating with other
programs that an application program uses is called the
application program interface (API).
Source: www.whatis.com
21. What is a Good Recording Profile?
A good recording profile is designed to
capture all the required information with an
acceptable performance impact
22. Think Like a Black Box
Three questions the Black Box needs to know:
1.
2.
3.
Who do I need to trace?
What information should I capture?
How should I operate?
24. Who? (cont.)
•
•
•
•
What if you do not have the process in your
computer?
The Black Box only checks for a process name.
Take any process in your computer and rename
it to the name of the process you wish to trace
on the target computer.
Add the “dummy” application to the list.
25. What?
•
•
•
•
Select the Operations to trace.
Select the Performance counters to
trace.
Select the COM/COM+ functions to
trace.
Define Alerts to process.
26. What? (cont.)
Select to modify operations
for all processes
Select a process to modify the
operations for that process only
This process has different
settings than the default
27. To Trace Or Not To Trace?
Full Trace
Operation
Called?
No
Yes
Remove From
Recording Profile
No
Information
Useful?
Yes
Yes
Repetitive?
Include in Recording
Profile
No
Yes
Can I get the
Information in a
different way?
No
28. What? : Creating Alerts
Right Click on the operation
Add Alert
Select the operation
Add Alert
29. What? : Creating Alerts (cont.)
Operation includes/
excludes substring
Operation result
•Record Alert
•Stack Dump
•Add Comment
•Send Mail
•Net Send
•Run Application
•Create New Session
•Set Recording Profile
•Call Function
30. What? : Creating Alerts (cont.)
•
Record Alert
–
•
Stack Dump
–
•
Archive/manage your sessions with meaningful definitions
Set Recording Profile
–
•
Rerun application if crashes
Trigger your custom application on event
Create New Session
–
•
Send a network message to another computer
Run Application
–
–
•
Send e-mail with alert information
Net Send
–
•
Add your comments into the execution log
Send Mail
–
•
Escalation to code level
Add Comment
–
•
Useful for sending traced information to the AppSight Server
Change recording profile automatically on any event
Call Function
–
Execute a function in the address space of your application
36. AppSight Architecture
What is the most important component in the
AppSight Solution? (and why?)
AppSight
Console
AppSight
Black Box
AppSight
Server
37. AppSight Architecture
1. The Black Box does not have any artificial
intelligence.
2. The Black Box will not fix your problem.
38. The Optimistic vs. The Pessimistic
Optimistic
Pessimistic
What is right?
What is wrong?
Methodology
Experience
Slower resolution
Faster resolution
39. Troubleshooting Process
•
•
Analyze the different Application Layers.
– Always from the top one down.
Divide and conquer
– Use the synchronization between the different
layers.
– Use the filters to divide and trim down the execution
activity of the application.
41. The Three Troubleshooting Qs
•
90% of the
effort
Questions that need to be answered to identify the root
cause of a problem:
– What?
Understand what is the problem that you need to
troubleshoot.
– Where?
Narrow down to the tier/module where the
problem occurs (or does not).
– Why?
Understand why the problem occurs in order to
fix it.
42. What?
•
•
•
Watch Visual Playback
Look for Performance problems
– Use Performance Counters
– Use the Application Performance
– Use the Performance Timeline
– Use the start time of each operation
Look for failures
– Use the Summary tab
– Use the IIS Sessions view
43. Where?
•
Filter the system log using the synchronization of the:
– Visual playback
– Performance graph
– IIS sessions view
– Summary tab
– Advanced filters
44. Why?
• Exception/Crash in your application/module?
– Escalate to code level
• DB problem?
– Wrong connection string?
– Database is down?
– Malformed SP?
• Network problem?
– Network “busy”?
• Etc.
46. Visual Playback Analysis
Jump to next GUI theJump to nextRewind visual
Play
visual
Zoom in/out
Jump to previous Operation playback
frame
playback playback
visual
GUI Operation
Stop the visual
playback Jump to
previous frame