Chapter 9 Troubleshooting
© 2017 Harmonic Inc. All rights reserved.
290
Harmonic MediaGrid Release 4.1
Security with Microsoft Domain Controllers
Using Sessions to Determine a Client IP Address
If necessary, a session ID can be used to determine the IP address of a client. The session ID can
be identified in the mdscore log file. Then, by searching the output of the command “cat /var/
omneon/mdscore/sessions”, the client IP address associated with that session can be identified.
It is important to understand that the session ID can change or the client may not have an active
connection to the Harmonic MediaGrid. Under these circumstances this process of identifying the
client IP would not work.
Active Connections to the Harmonic MediaGrid: MDS Sessions
To determine what clients are connected to the Harmonic MediaGrid, the following command can
be issued on any of the ContentDirectors. It will display each connection which includes IP
information as well as duration and the User Session ID. This Session ID can be seen in the
mdscore log files and all associated activity on the Harmonic MediaGrid.
The mdscore log file can be used to identify an active session ID and then associate that ID with
an IP address by using the cat command to view the sessions file in the /var/omneon/mdscore
directory. Commands like “more” and “less” will not work on this file directly.
cat of sessions:
cat /var/omneon/mdscore/sessions
sessions output:
*** 1/64 RPC sessions are in use
*** Sessions ***
There are 2 session(s)
Session ID 0x1e2a219c
ref/close/dflt: 1/false/false
clientrpcaddr: 10.35.134.98
close: 0
domain name: (none)
user vld/adm/god: omneon/true/true/true
current (real): 2008/01/08 10:24:22
open time (real): 2008/01/04 08:16:08
current (mono): 358435
lastacces (mono): 358336 (delta 99)
max idle time : 300 sec
watchq count: 0
user sid: omsuperuser
sid #0 : omsuperuser
Session ID 0x46508681
ref/close/dflt: 1/false/false
clientrpcaddr: 10.35.134.98
close: 0
domain name: (none)
user vld/adm/god: omneon/true/true/true
current (real): 2008/01/08 10:24:22