EasyManua.ls Logo

Harmonic MediaGrid - Verifying DHCP Server Status

Harmonic MediaGrid
358 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 9 Troubleshooting
© 2017 Harmonic Inc. All rights reserved. 282 Harmonic MediaGrid Release 4.1
Verifying the DHCP Server Is Running on the ContentDirectors
Note that the information in log files is structured such that the information at the top of the file is
the most current and supersedes anything below it. For example, there may be multiple lease
entries for the same IP address, but the ones at the top of the file supersede the ones below it.
Remotelogs directory listing:
[root@CDL1 remote]# pwd
/var/log/omneon/remote
[root@CDL1 remote]# ll
total 59152
-rw------- 1 root root 8518 Jan 17 15:37 10.35.134.104.log
-rw------- 1 root root 3026816 Jan 17 15:28 10.35.134.111.log
-rw------- 1 root root 1457561 Jan 17 15:27 10.35.134.113.log
-rw------- 1 root root 49846 Jan 17 15:32 10.35.134.114.log
-rw------- 1 root root 1172860 Jan 8 16:01 10.35.134.114.log.1.gz
-rw------- 1 root root 3250421 Jan 8 15:01 10.35.134.114.log.2.gz
-rw------- 1 root root 3261527 Jan 8 14:01 10.35.134.114.log.3.gz
-rw------- 1 root root 3212298 Jan 8 13:01 10.35.134.114.log.4.gz
-rw------- 1 root root 3229006 Jan 8 12:01 10.35.134.114.log.5.gz
-rw------- 1 root root 1697018 Jan 17 15:15 10.35.134.115.log
-rw------- 1 root root 1642107 Jan 17 15:28 10.35.134.118.log
-rw------- 1 root root 1459076 Jan 17 15:28 10.35.134.120.log
-rw------- 1 root root 1605260 Jan 17 15:28 10.35.134.121.log
Log rotation for remotelog files is also based upon filesize as well and is set to 5MB. The archive
depth is set to 5 files and is also configurable.
Verifying the DHCP Server Is Running on the ContentDirectors
The first two ContentDirectors in a Harmonic MediaGrid have DHCP servers running on them and
they are configured as peers. This means that either of the ContentDirectors can respond to a
DHCP request and the servers should communicate the IP address that they have assigned to a
request to the other DHCP server. This communication between the DHCP servers ensures that
the dhcp-leases files that reside on both ContentDirectors are synchronized and have the same
information about client MAC address, etc.
The dhcp-leases file resides in the /var/lib/dhcp directory on the first two ContentDirectors and is
a text file that can be viewed with the “cat,” “less,” or “more” commands.
Configuration parameters, including the address pools and reservations, are stored in the /etc/
dhcpd.conf file. Other parameters in the dhcpd.conf file include lease-time, and ntp-servers for
devices requesting an IP address. In the case of the Harmonic MediaGrid, ContentServers and
ContentBridges are the devices that request IP addresses from the ContentDirectors. The ntp-
server parameter in the dhcpd.conf file ideally points to the same NTP server as configured in
ntp.com.
Two ways to confirm that DHCP is running are shown below. In both cases the process id is the
same, and in example two, the process id existing is the only confirmation that the process is
running.
dhcpd status example 1:
[root@CDL1 dhcp]# service dhcpd status
dhcpd (pid 3027) is running...

Table of Contents

Related product manuals