Cisco Systems 5.2.x Home Theater Server User Manual


 
11-5
User Guide for Cisco Digital Media Manager 5.2.x
OL-15762-03
Chapter 11 Register DMPs
Concepts
MSI service
discovery
Mechanism that applies DHCP option 125 packets to advertise—and poll for—the availability of
particular services in a network. Service Discovery also notes which hosts provide these services. For
your purposes as a DMP administrator, Medianet should know that a DMM server is available and know
exactly which addressable node it is on your network. So naturally, you must configure your DHCP
server to facilitate this information-sharing model. Configuration methods vary among platforms
and implementations.
An example here shows entries in the dhcpd.conf file for a Linux-based DHCP server called dhcpd.
Entries like these advertise the IP address of your authoritative DMM appliance—converted here from
decimal to hex and shown in red—to any DMPs that should trust its directives implicitly.
option domain-name "example.com";
option domain-name-servers 192.168.1.1;
option option-125 code 125 = string;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.200 192.168.1.210;
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
}
class "DMM" {
match if option option-125 = "\x00\x00\x00\x09\x06\x13\x04\x01\x44\x4d\x4d";
option option-125
"\x00\x00\x00\x09\x0b\x14\x09\x01\
x80\x6b\xe0\xbc\x1f\x90\x00\x01";
}
Tip The Linux CLI can easily convert IP address octets from decimal to hexadecimal.
$ echo 'ibase=10;obase=16; ' | bc
And so, in keeping with the previous conversion example, shown in red....
128 becomes x80
107 becomes x6b
224 becomes xe0
188 becomes xbc
In contrast, the DHCP offering in Windows Server 2008 (and, likewise, Windows Server 2003) cannot
handle DHCP option 125 queries natively. Therefore, you must install a “callout” DLL that injects this
ability into the server before you can configure it to advertise the availability of any service.
Note For 32-bit Windows Server, the DLL filename is DHCPSDDLLx86.DLL.
For 64-bit Windows Server, the DLL filename is DHCPSDDLLx64.DLL.
Afterward, you must edit \Medianet\msi\apps\dhcpsddll\src\dhcpsdconfig.reg to include a 3-tuple
(
IP,port,transport), converted to hexadecimal, that identifies your DMM appliance as a provider of
centralized management for DMPs.
And finally, you must add two keys to the Windows registry, under
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Paramters
CalloutEnabled REG_DWORD 1
CalloutDlls REG_MULTI_SZ <full_path_to_DLL>
Note See the Medianet documentation on Cisco.com for detailed instructions.
octet
(Remember to use a closing quote mark before the pipe.)