<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Plug it in, give it a /30 network on a unused subnet. Shutdown drbd
    on both sides, change the IPs in the config, start drbd back up - It
    should auto resync anything and become uptodate/uptodate.<br>
    <br>
    You probably would also want to configure ocfs2 to use the same
    interface for its DLM.<br>
    <br>
    On 2/17/12 7:32 AM, Lawrence Strydom wrote:
    <blockquote
cite="mid:CA+EmvHcJ+Pn_P5zGMQLKZnK6HRgSAKjWgU=r3cbCoDHSb4Bejw@mail.gmail.com"
      type="cite">I might be able to add NIC's -the machines are
      geographically quite far from me so will have to get some one to
      check first but say there is NIC space, will DRBD behave if I
      change the replicating IP addresses? Can you reccomend a procedure
      to follow in this case?<br>
      <br>
      <br>
      <br>
      <br>
      <div class="gmail_quote">On 17 February 2012 14:28, David Coulson
        <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:david@davidcoulson.net">david@davidcoulson.net</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> Can you add NICs? There
            should be no requirement for DRBD replication to happen over
            any particular interface, and obviously having it's own
            dedicated interfaces without a switch is much nicer than
            what you have now.<br>
            <br>
            DRBD doesn't support multiple networks, as it uses a
            constant TCP Connection for updates - You could probably do
            it with some routing protocol, but that'd be really ugly.
            <div>
              <div class="h5"><br>
                <br>
                <br>
                <br>
                On 2/17/12 7:21 AM, Lawrence Strydom wrote:
                <blockquote type="cite">Hi Dave,<br>
                  <br>
                  Thanks for all the help - The default log rotation
                  time for ubuntu seems to be 7 days so it seems this
                  will remain a mystery.<br>
                  <br>
                  A dedicated cross over for replication is not an
                  option because the web servers connect to the DB over
                  the same link.&nbsp; Is it possible to add the public
                  interface as a second replication interface? Do I
                  simply add it in the .res file with the existing ip
                  address?<br>
                  <br>
                  The setup was primary/primary uptodate/uptodate before
                  I copied the sites across. It then sat for a couple
                  weeks doing nothing untill this week when dev tested
                  on it and this hapenned.<br>
                  <br>
                  L<br>
                  <br>
                  <br>
                  <br>
                  <div class="gmail_quote"> On 17 February 2012 14:01,
                    David Coulson <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:david@davidcoulson.net"
                        target="_blank">david@davidcoulson.net</a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div bgcolor="#FFFFFF" text="#000000">
                        <div> <br>
                          <br>
                          On 2/17/12 6:56 AM, Lawrence Strydom wrote:
                          <blockquote type="cite">Couldn't find any
                            PingAck's in the syslog - what else could
                            have caused the split brain?<br>
                          </blockquote>
                          <br>
                        </div>
                        <pre style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:15px;text-transform:none;font-size:12px;white-space:pre-wrap;font-family:'Bitstream Vera Sans Mono',Monaco,Consolas,'Courier New',monospace;margin-top:0em;word-wrap:break-word;word-spacing:0px"><span>./syslog.2:Feb 15 13:40:35 web02 kernel: [   16.455206] block drbd0: self D3CCDACF6FD7FDB8:4579E80074D400D3:C117CFF0A5777F0F:0000000000000004 bits:14607528 flags:0
./syslog.2:Feb 15 13:40:35 web02 kernel: [   16.455211] block drbd0: peer 37C841BC2AA49AC4:4579E80074D400D3:C117CFF0A5777F0F:0000000000000004 bits:1407177 flags:0
./syslog.2:Feb 15 13:40:35 web02 kernel: [   16.455215] block drbd0: uuid_compare()=100 by rule 90
./syslog.2:Feb 15 13:40:35 web02 kernel: [   16.455217] block drbd0: Split-Brain detected, dropping connection!

Was this ever really primary/primary, uptodate/uptodate? I can't find anything in the logs indicating that it was ever truly dual primary. Your logs seem to rotate quickly, so if you are really only keeping logs going back three days you'll probably never know root cause.

Personally, I'd bypass the switch and go with a cross-connect direct between the boxes - Or two if you have enough NICs.
</span></pre>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </blockquote>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
    </blockquote>
  </body>
</html>