polaris under the hood - wordpress.com · check if addon product isn’t working. client...
TRANSCRIPT
![Page 1: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/1.jpg)
Polaris Under the HoodPrepared by: Wes Osborn
![Page 2: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/2.jpg)
● Overview● Client Communication
● Kerberos Authentication
● SQL Profiler
● SIP Service
![Page 3: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/3.jpg)
!! WARNING !!
![Page 4: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/4.jpg)
Where to start
Help -> About
![Page 5: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/5.jpg)
Click on the Application Server “link”
![Page 6: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/6.jpg)
A wealth of information
![Page 7: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/7.jpg)
Check if addon product isn’t working
![Page 8: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/8.jpg)
Client Communication
![Page 9: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/9.jpg)
● Client Communication● Complex
○ Try monitoring with Wireshark
● Uses App Server specified in client
○ Can be separated from DB server
● New App servers need registered in
the database
![Page 10: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/10.jpg)
● Client Communication● API Calls = ERMS port 13088
● Z39.50 = ERMS port 210
● Direct DB calls = SQL port 1433
● Authentication = Kerberos port 88
● COM+ API Calls = TCP High ports
![Page 11: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/11.jpg)
Find out more using ProcessExplorer
![Page 12: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/12.jpg)
ERMS Daemon Properties
![Page 13: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/13.jpg)
Launch management on AppServer
![Page 14: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/14.jpg)
Find Polaris PID
![Page 15: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/15.jpg)
ProcessExplorer Polaris COM Service
![Page 16: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/16.jpg)
Finding registered app servers
![Page 17: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/17.jpg)
● Adding a new app server● Find PolarisSupport folder on server
● Run server setup process
● Choose ERMS and Application setup
● Run this stored procedure: ○ exec dwinewappserver
'DBHostName', 'Polaris', 'AppServerHostName'
●
![Page 18: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/18.jpg)
● Client Side: PING.EXE● “Normal” Ping uses ICMP
● ICMP Packets can be dropped or
delayed
● May tell you if server is powered on
but service may not be running
● Time to find something new
![Page 19: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/19.jpg)
Pinging App Server works
![Page 20: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/20.jpg)
But client won’t connect
![Page 21: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/21.jpg)
● Client Side: TCP Ping● Two Options:
○ http://go.clcohio.org/psping
○ http://go.clcohio.org/tcping
Mimics a client attempting TCP
connection to server on service port
Ideally run from CLIENT with issue
![Page 22: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/22.jpg)
By default hostname check is IPv6
![Page 23: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/23.jpg)
Check with IPv4 address
![Page 24: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/24.jpg)
Kerberos Authentication
![Page 25: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/25.jpg)
● Kerberos Authentication● Authentication happens frequently
○ NTLM is the fallback
● Kerberos requires
○ 2008r2+ Forest/Domain Level
○ Windows 7 Clients
○ Kerberos Forest Search Order
![Page 26: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/26.jpg)
App Server Event Viewer - NTLM
![Page 27: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/27.jpg)
App Server Event Viewer - Kerberos
![Page 28: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/28.jpg)
Also run klist from client
![Page 29: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/29.jpg)
SQL Profiler
![Page 30: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/30.jpg)
● SQL ProfilerInstalled as part of SQL Management
Tools
Runs locally or remotely
Shows all the “chatter” happening on
the SQL server
Simple to use, hard to interpret
![Page 31: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/31.jpg)
Starting a trace
![Page 32: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/32.jpg)
Logging into server to trace
![Page 33: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/33.jpg)
Using default trace parameters
![Page 34: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/34.jpg)
Opening patron record - Step 1
![Page 35: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/35.jpg)
Opening patron record - Step 2
![Page 36: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/36.jpg)
● SQL Profiler - Client DebugFind stored procedure “called” when
executing in client
Attempt to execute procedure
manually w/SQL Management
Execute OK = Client Bug (Bad)
Execute Fail = Procedure Bug
![Page 37: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/37.jpg)
● SQL Profiler - Deconstruction
Determine Stored Procedure called
so you can create a batch process
Batch remove erroneous fines
Figure out what process is running so
you can try to speed it up
![Page 38: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/38.jpg)
SQL Manager, call up stored procedure
![Page 39: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/39.jpg)
Display Execute Plan
![Page 40: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/40.jpg)
An index would help this part of the SP
![Page 41: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/41.jpg)
Right click on the Missing Index...
![Page 42: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/42.jpg)
Do NOT DO IT!
![Page 43: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/43.jpg)
● Why NOT to add an IndexCould break a future upgrade
Could take up a LOT of disk space
Might not actually speed up the query
or process
Test the index on your dev/test
system and then suggest to Polaris
![Page 44: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/44.jpg)
http://www.brentozar.com/
Learn more cool stuff about SQL
![Page 45: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/45.jpg)
SIP Server
![Page 46: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/46.jpg)
● SIP ServerOperates as a client to the Polaris
database
Part of Polaris client install
package
32-bit but CPU hungry
Watch log file growth
![Page 47: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/47.jpg)
Installs through client process
![Page 48: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/48.jpg)
Can check with ProcessExplorer
![Page 49: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/49.jpg)
● Debugging SIPUse TCPing to check SIP ports
Check SIP LogsC:\ProgramData\Polaris\4.1R2\Logs\SIP
Dumping SIP Service Binary
CLC SIP Testing Tool
![Page 50: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/50.jpg)
● Dumping SIP ServiceSIP Service is a compiled binary
Source code isn’t accessible
But the “plain text” within the EXE
can be revealed
Google: McAfee BinText
![Page 51: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/51.jpg)
The hold satifies conundrum
![Page 52: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/52.jpg)
Sys Admin SIP Message Options
![Page 53: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/53.jpg)
Nothing in Language Editor
![Page 54: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/54.jpg)
Hardcoded, we think...
![Page 55: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/55.jpg)
Locate SIP Service Binary
![Page 56: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/56.jpg)
Click Go -> Enter query -> Click Find
![Page 57: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/57.jpg)
We can also see SQL being called
![Page 58: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/58.jpg)
● CLC SIP Testing ToolSIP Finger Pointing
3rd Party Vendor
SIP Sys Admin Setting
SIP Bug
No readily available tools to
impersonate a SIP client
![Page 59: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/59.jpg)
Introducing...
![Page 60: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/60.jpg)
From your friends at the CLC
The SIP Testing Tool
![Page 61: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/61.jpg)
● CLC SIP Testing ToolEasy to use, single click install
Impersonates a SIP Client
Shows both client request and server
response messages
Can set Vendor Profiles at login
Customize application defaults
![Page 62: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/62.jpg)
You will see this when installing on Windows 8+
![Page 63: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/63.jpg)
Main CLC SIP Testing Tool Window
![Page 64: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/64.jpg)
Changing Defaults
![Page 65: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/65.jpg)
Logging into SIP Server
![Page 66: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/66.jpg)
SHOW Screenshot tour of testing tool
![Page 67: Polaris Under the Hood - WordPress.com · Check if addon product isn’t working. Client Communication Client Communication Complex ... the database Client Communication API Calls](https://reader034.vdocument.in/reader034/viewer/2022042316/5f0460767e708231d40dac4b/html5/thumbnails/67.jpg)
http://siptool.clcohio.org/setup.exeORhttp://bit.ly/siptool
Available Now