http://wiki.linuxmce.org/index.php?title=Unsupported_Disked_MD&feed=atom&action=historyUnsupported Disked MD - Revision history2024-03-28T13:41:12ZRevision history for this page on the wikiMediaWiki 1.24.1http://wiki.linuxmce.org/index.php?title=Unsupported_Disked_MD&diff=32679&oldid=prevMcefan at 16:09, 8 October 20122012-10-08T16:09:36Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 16:09, 8 October 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>{{versioninfo}}</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>{{versioninfo}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Category: Media Directors]]</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Category: Media Directors<ins class="diffchange diffchange-inline">|*Disk</ins>]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''NOTE: Disked MDs are unsupported in 710 and 810.  If you pursue these instructions, keep your questions/comments here and don't ask the devs for help.  They're plenty busy working to get the other parts ready.'''</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''NOTE: Disked MDs are unsupported in 710 and 810.  If you pursue these instructions, keep your questions/comments here and don't ask the devs for help.  They're plenty busy working to get the other parts ready.'''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>Mcefanhttp://wiki.linuxmce.org/index.php?title=Unsupported_Disked_MD&diff=23450&oldid=prevWierdbeard65 at 08:31, 5 May 20102010-05-05T08:31:38Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 08:31, 5 May 2010</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{versioninfo}}</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Category: Media Directors]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Category: Media Directors]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''NOTE: Disked MDs are unsupported in 710 and 810.  If you pursue these instructions, keep your questions/comments here and don't ask the devs for help.  They're plenty busy working to get the other parts ready.'''</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''NOTE: Disked MDs are unsupported in 710 and 810.  If you pursue these instructions, keep your questions/comments here and don't ask the devs for help.  They're plenty busy working to get the other parts ready.'''</div></td></tr>
</table>Wierdbeard65http://wiki.linuxmce.org/index.php?title=Unsupported_Disked_MD&diff=21041&oldid=prevRay N at 20:04, 26 August 20092009-08-26T20:04:30Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 20:04, 26 August 2009</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category: Media Directors]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''NOTE: Disked MDs are unsupported in 710 and 810.  If you pursue these instructions, keep your questions/comments here and don't ask the devs for help.  They're plenty busy working to get the other parts ready.'''</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''NOTE: Disked MDs are unsupported in 710 and 810.  If you pursue these instructions, keep your questions/comments here and don't ask the devs for help.  They're plenty busy working to get the other parts ready.'''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>Ray Nhttp://wiki.linuxmce.org/index.php?title=Unsupported_Disked_MD&diff=18594&oldid=prevMactalla: New page: '''NOTE: Disked MDs are unsupported in 710 and 810. If you pursue these instructions, keep your questions/comments here and don't ask the devs for help. They're plenty busy working to ge...2009-04-17T00:11:33Z<p>New page: '''NOTE: Disked MDs are unsupported in 710 and 810. If you pursue these instructions, keep your questions/comments here and don't ask the devs for help. They're plenty busy working to ge...</p>
<p><b>New page</b></p><div>'''NOTE: Disked MDs are unsupported in 710 and 810. If you pursue these instructions, keep your questions/comments here and don't ask the devs for help. They're plenty busy working to get the other parts ready.'''<br />
<br />
In the ideal situation, each MD should be diskless and boot over the network. This simplifies matters for configuration, upgrading, etc. Not to mention it's the supported method. There is one case in particular where this is not feasible. Namely when you want an MD in a room where you cannot run a cable and must connect wirelessly.<br />
<br />
Bear in mind that this setup is<br />
* slower<br />
* error prone<br />
* not upgraded automatically<br />
* not supported<br />
<br />
I created this setup using a 810 Alpha2 installation. It's likely very similar for 710, but that's not tested.<br />
<br />
=Overview=<br />
The way we set this up is to install a full-blown hybrid on the MD, disable the core services to trim it down to MD-only, then manually make the connections between the true core and the new MD. The final step configures wireless to connect on boot. If you're not connecting wirelessly, there's no point in doing this disked setup.<br />
<br />
=Setup=<br />
Follow [[LinuxMCE-0810_alpha2]] to install a hybrid on the new MD.<br />
<br />
Edit /etc/inittab and make sure the only uncommented line (no '#' at the beginning) is id:5 We'll be using runlevel 5 for our setup.<br />
<br />
Go to /etc/rc5.d and delete the following files (if they exist):<br />
* S17mysql-ndb-mgm<br />
* S18mysql-ndb<br />
* S19autofs<br />
* S19mysql<br />
* S20nfs-common<br />
* S20nfs-kernel-server<br />
* S21asterisk<br />
* S28NetworkManager (we'll be configuring the wireless manually)<br />
* S99core<br />
* S99kdm<br />
* S99launch-manager<br />
<br />
Edit /etc/init.d/launch-manager to contain the following:<br />
#!/bin/bash<br />
if [[ "$1" == start ]]; then<br />
rm /usr/pluto/locks/pluto_spawned_local_devices.txt<br />
/usr/pluto/bin/Start_X.sh<br />
sleep 5<br />
/usr/pluto/bin/lmce_launch_manager.sh &<br />
fi<br />
And create a link<br />
sudo ln -s /etc/init.d/launch-manager /etc/rc5.d/S99zlaunch-manager<br />
<br />
Now we create an MD on the core. Using the webadmin, add a new MD. Give it the MAC address of the wireless card (use ifconfig to find it). Note what device number it was assigned.<br />
<br />
Edit the file /etc/pluto.conf on the disked MD and change the following lines:<br />
DCERouter = <your core machine here><br />
MySqlHost = <your core machine here><br />
PK_Device = <the device number assigned to the MD you created on the web admin><br />
AutostartCore = 0<br />
AutostartMedia = 1<br />
<br />
Edit the file /etc/fstab on the disked MD and add the following lines:<br />
<core machine>:/usr/pluto/orbiter /usr/pluto/orbiter nfs intr,udp,rsize=32768,wsize=32768,retrans=10,timeo=50 1 1<br />
<core machine>:/home /home nfs intr,udp,rsize=32768,wsize=32768,retrans=10,timeo=50 1 1<br />
<core machine>:/mnt/device/79 /mnt/device/79 nfs intr,udp,rsize=32768,wsize=32768,retrans=10,timeo=50 1 1<br />
<br />
The last line is if your core machine mounts some media at /mnt/device/## in the case above it's a RAID array containing my media, so I need access to it on the MD. You can find out if you need this by running<br />
ls -l /home/public/data/videos<br />
on the core (or MD after you've mounted /home) and check for a link to /mnt/device/##<br />
<br />
Now we configure the wireless.<br />
Use ifconfig to find the interface name for your wireless card (common ones are eth1, wlan0, ra0).<br />
Edit /etc/network/interfaces and add the following:<br />
auto <wireless interface><br />
iface <wireless interface> inet dhcp<br />
wpa-driver wext<br />
wpa-conf /etc/wpa_supplicant.conf<br />
<br />
Finally we'll create the /etc/wpa_supplicant.conf file<br />
network={<br />
ssid="<Your access point ssid>"<br />
psk="<Your encryption key>"<br />
}<br />
<br />
Reboot and cross your fingers!<br />
<br />
=Problems?=<br />
It's quite possible I forgot something. Post here and we'll try to sort it out.</div>Mactalla