<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>On Feb 11, 2008, at 8:48 AM, Josh White wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Is there ever a reason not to input a backend server's IP address, instead of "localhost" or "<a href="http://127.0.0.1">127.0.0.1</a>" or anything else? I guess if your backend is connected via DHCP or something it would make sense (assuming a dynamic IP on a server makes sense somehow). I only have one backend server, and I made sure to input the address anyway, becuase I couldn't think of anything I would lose. Am I wrong?<br></blockquote><div><br class="webkit-block-placeholder"></div><div>You are correct. Using the loopback address works fine for a single tuner system, but isn't recommended, because when you add a slave, you lose all your frontend settings (because when you add the slave, you have to change that IP, and since the IP is tied to localhost, and the computer's real IP is tied to a different hostname (generally) the database will think this is a new frontend)</div><div><br class="webkit-block-placeholder"></div><div>The problem comes when you add a slave system. In setup, you have to tell EVERY backend what IP belongs to IT and what IP belongs to the master. This is imperative. Otherwise the master will try to connect to the slave at 127.0.0.1 and will fail to find a slave there (gee, wonder why?)</div><div><br class="webkit-block-placeholder"></div><div>Another issue that I have noticed when I set up my slave backend was that mythtv-setup does NOT like it when you try and add cards to your slave while the master is running. IE, even though the slave backend is not running, when you run mythtv-setup on the slave, and add the capture card and tuner, the master backend often ignores the changes. If the master is not running when you run setup (on the slave) it seems to take everything without complaint. </div><div><br class="webkit-block-placeholder"></div><div>I don't know if this is a known issue, or just a bug in my system.</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><br><blockquote type="cite"><div class="gmail_quote">On Feb 11, 2008 11:35 AM, Ronald Frazier <<a href="mailto:ron@ronfrazier.net">ron@ronfrazier.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> > Sounds alot like you don't have your master/slave relationship set up right.<br><br>I was thinking the same thing. I vaguely recall making the same<br>mistake and having some similar sort of problems. In each backend you<br> have 2 configuration IP's...one for the local backend and one for the<br>master backend. When you are configuring the master backend, you can't<br>just tell it to use <a href="http://127.0.0.1" target="_blank">127.0.0.1</a> or localhost for the local backend. You<br> have to explicitly tell it its own IP address. If you don't do this,<br>then you get problems with things not showing up in the frontend like<br>they should. I suspect what happens is something like:<br>1) The slave connects to the master correctly<br> 2) The master gives it a url to connect to to retrieve stuff<br>3) The slave connect to the url to retrieve the data. However, because<br>the master was configured wrong, the url was wrong and the slave ends<br>up connecting to itself to retrieve the data (which, of course,<br> doesn't exist).<br><font color="#888888"><br>--<br>Ron<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br> </font></blockquote></div><br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">mythtv-users mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a></div> </blockquote></div><br></body></html>