41
OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Embed Size (px)

Citation preview

Page 1: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

OnBase TroubleshootingGreg Wheeler, Customer Care Team Manager

Page 2: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

What went wrong? Something is misconfigured Bad data causes recurring errors Your specific environment causes a strange problem

with the software A performance bottleneck causes errors Custom Code is failing You may have discovered a bug in the software

Page 3: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Documents stopped appearing in a Workflow queue“Problem with the environment”

Unity Client error/ performance troubleshooting“Problem with the software’s behavior”

(based on actual Customer Care Team solved cases)

Two sample scenarios

Page 4: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Scenario #1: Where are my files? Users report that a Workflow queue that normally contains

documents is empty

These Files are images that are released from another system

Just started this morning!

Page 5: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Uh, where are they?

?

Page 6: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Where do we start? Most problems are way too big—we need to make them

smaller and more manageable/testable

Page 7: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Data Collection We need to know what the user, application,

script or service was doing We need to try to differentiate between a

coding, data or environmental cause Can it be reproduced at will? What about in

another environment? What do the logs say?

Page 8: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Narrowing an issue down Is it a problem with thick client, Core Services, or both?

What servers can we take out of the equation?

What modules can we eliminate?

What functionality can we exclude?

Page 9: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Diskgroup Storage (SAN)

Database Server

Application Server

OnBase Thick Client(Workflow TImers)

Unity Client

OnBase Thick Client(DIP)

Page 10: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Diskgroup Storage (SAN)

Database Server

Application Server

OnBase Thick Client(Workflow TImers)

Unity Client

OnBase Thick Client(DIP)

HTTP

OD

BCSM

B/CI

FS

Page 11: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

First Step: Is Workflow…working? Is it limited to this queue/lifecycle in Workflow, or are there

others affected?Diskgroup Storage

Database Server

Application Server

OnBase Thick Client(Workflow TImers)

OnBase Thick Client(DIP)

?

Page 12: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Thoughts We see timers are working – We see other documents

moving around

We can look at the timer machine to make sure THIS timer is still running

Let’s trace further back

Page 13: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Is DIP…you know, DIPping?

Diskgroup Storage

Database Server

Application Server

OnBase Thick Client(Workflow TImers)

OnBase Thick Client(DIP)

?

Page 14: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

What to check? DIP is importing documents as a service on the DIP machine

To troubleshoot DIP, we would stop the service, then fire up a client with the SCHED switch

Page 15: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

If you see this…it’s not OnBase

Page 16: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

If you see this…there’s a problem

Page 17: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Where did it fail?

Page 18: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Sys – Verification Reports

Page 19: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Let’s look at the directory

Page 20: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

ProcMon Demo

Page 21: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Process Monitor ProcMon can be used to see behind-the-scenes Windows

calls and access requests

http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

Page 22: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Solution

Page 23: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Issue #2: Unity Performance Users are experiencing slow client performance first thing

every morning

Workflow queues taking a long time to navigate between documents

Sometimes happens in custom queries, document retrieval

All users affected

Page 24: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Diskgroup Storage

Database Server

Application Server

OnBase Thick Client(Workflow TImers)

Unity Client

OnBase Thick Client(DIP)

HTTP

OD

BCSM

B/CI

FS

Page 25: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Diskgroup Storage

Database Server

Application ServerUnity Client

HTTP

OD

BCSM

B/CI

FS

Page 26: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Options Observe Unity directly on Application Server (still slow?)

What about testing the thick client? (Verbose)

Look at Application Server performance (perfmon…or resmon)

Look at connectivity to DB/Diskgroups (ping/WireShark)

Look at Diagnostics Console

Page 27: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Let’s run Unity from the AppServer

Diskgroup Storage

Database Server

Application Server

OD

BCSM

B/CI

FS

Page 28: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Sometimes Thick Client is valid…

Page 29: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Test the Database Choose a SELECT query and run it directly on the database

server.

Compare times to complete

Is the query coming back quickly enough?

Page 30: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager
Page 31: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Perfmon

Page 32: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Consider ResMon

Page 33: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Diagnostics Console - Service Tab

Change to

“True”

Page 34: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

What can ResMon tell you?

Page 35: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Test Connectivity Application Server > Database

Application Server > Diskgroup

Page 36: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Diagnostics Console

“What went wrong?”

“What queries are running,

and how fast?”

“What is OnBase doing right now?”

Page 37: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Advice Beware the Database tab in Production

Consider logging to a file to review on another machine

Log the least amount of information needed to troubleshoot

Page 38: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager
Page 39: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

The rest of the story Grabbed some queries from the Database tab from around

the same time

Ran them in SQL Server Management Studio

Slow there too!

Unoptimized indexes

Page 40: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

The Smoking Gun

Page 41: OnBase Troubleshooting Greg Wheeler, Customer Care Team Manager

Your Issues!