Architecture Intro

From LinuxMCE
Revision as of 21:29, 27 April 2008 by Perspectoff (Talk | contribs) (Media Directors)

Jump to: navigation, search

LinuxMCE is divided in two parts: the core (aka the backend) and the media director (aka the frontend).

The core

The Core has no user interface (unless it is a hybrid). It provides services throughout the home, like the phone system, the central database cataloging all your media, message routing and net boot images for all the media stations. You can only have one Core in the house because it is the central point through which all the devices connect. Your Core should generally be left on all the time because if it's ever turned off, all the LinuxMCE functionality everywhere in the home stops working.

Media Directors

Wherever you have a TV you have a Media Director, which is just a PC running LinuxMCE. Generally you do not need to install any software on the media stations because one of the services the Core provides is netboot. This is a seldom used feature that almost all PC's have. Through the BIOS setup on any PC, turn on the netboot as the first bootup device. When this setting is chosen, the PC searches the network for a boot image and boots it, rather than the OS on the hard drive. The Core provides the boot image over the network so that the PC can act essentially as a thin client Media Director. This makes it extremely convenient. You can leave Windows, Fedora, or any other operating system you want on your PC's hard drive. When you want to use it as a LinuxMCE Media Director, all you do is enable netboot in the BIOS. When you want whatever OS is on the PC's hard drive, you reset the BIOS so that the hard drive is the first boot device. A great benefit is that the LinuxMCE software will never interfere with the software or operating system on the hard drive; it's like having 2 systems in one. It also means you only have to install LinuxMCE software on one PC, the Core, and you can have thin client LinuxMCE Media Stations throughout the house. The whole process is fully automated and completely plug and play (it doesn't matter if you don't understand what netboot is all about). The only technical thing you need to do is turn on netboot in the BIOS of any PC you want to use as a Media Director. Your PC manufacturer instructions will tell you how to access BIOS settings.

A common way to install LinuxMCE is to install the Media Director software on the same PC that will function as the Core. This is known as a hybrid. In this situation you can use the Core as a Media Director as well, a standalone PC solution. You can still add other Media Directors later, using the same netboot method described above. A hybrid, like a standalone Core, will provide boot images across a network. The UI (user interface) on all Media Directors will look exactly the same as the UI on the hybrid Core/Media Director. You can't actually tell the difference between the Media Director on the core and a net boot Media Director. But remember, don't turn off the hybrid either, since it is acting as a Core. If you do, all the other Media Directors will stop working.

LinuxMCE and DHCP

Another important thing to know about LinuxMCE is that it's fairly important that LinuxMCE be your DHCP server, which is what allocates IP addresses to all the devices in your home network. Generally you can only have 1 DHCP server on your network, and in most cases you will already have a DHCP server running in your cable or DSL modem. The easiest way around this is to have 2 network cards in the core. One connects to the cable or DSL modem and gets an IP address from its DHCP server, and the other connects to your home switch and all your other PC's connect to it and use the core's DHCP server. LinuxMCE's default installer recognizes this configuration automatically, and will automatically set everything up for you, so this is what's recommended if you don't know about networking concepts. If you only have 1 network card in your core and your Internet service provider gives you a static IP, and not a DHCP server, then this will also be fine. Otherwise if you already have a DHCP server in your home, you will need to know how to configure it to disable DHCP and give your core a static IP address. Or, if you don't know how to do this, then just answer 'no' when the LinuxMCE installer asks if you want to run a DHCP server. However by doing this, LinuxMCE won't be able to provide net boot images to additional media stations, and most of the plug-and-play adding of IP devices will not work.

The Usage Intro explains the concepts about how to use LinuxMCE.