<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 02/24/2017 03:38 PM, Hika van den
      Hoven wrote:<br>
    </div>
    <blockquote cite="mid:831719520.20170224213801@gmail.com"
      type="cite">
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">Hi Curtis
</pre>
      </blockquote>
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">My thinking was for the backend to wait until (in sequence)
</pre>
      </blockquote>
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">1. Database can connect
2. The backend's IP address is available on an interface (backend IP 
address is stored in the mythtv database for each backend, by name).
</pre>
      </blockquote>
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">If you do not have a (external) network you must set the database and 
backend to ip address 127.0.0.1 (or ::1 if using IPV6) for it to work.
It would find that address on the loopback interface and would continue
startup. I think you always need at least the loopback network interface.
</pre>
      </blockquote>
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">If you have a network, you need to set up your network ip address in the
database, then it will wait for that ip address to be available before
backend can proceed with startup.
</pre>
      </blockquote>
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">Item 1. is already done in master. Item 2. should not be hard.
</pre>
      </blockquote>
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">Let me know if there are any issues with all this.
</pre>
      </blockquote>
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">Peter
</pre>
      </blockquote>
      <pre wrap="">what if the database sits on a different machine then the backend?
Then 2 and 1 have to be reversed.

Tot mails,
  Hika                            <a moz-do-not-send="true" class="moz-txt-link-freetext" href="mailto:hikavdh@gmail.com">mailto:hikavdh@gmail.com</a>

</pre>
    </blockquote>
    <br>
    I don't think so. The program will still wait until it can contact
    the database first. If they were on a different machine, then the IP
    addresses will need to be available before database access. This
    just means that the second step of waiting for ip address
    availability will succeed immediately, no waiting required. We do
    need the database first, because the ip address we are looking for
    is stored there.<br>
    <br>
    Peter<br>
  </body>
</html>