<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hello Robert,<br>
    <br>
    I am just checking. I have the following configured for the mean
    time until I get the other machine.<br>
    <br>
    root@0-0-0:~] cat /etc/drbd.d/drbd.res <br>
    resource r0 {<br>
    &nbsp;&nbsp;&nbsp; device&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; minor 0;<br>
    &nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; /dev/system/drbd;<br>
    &nbsp;&nbsp;&nbsp; meta-disk &nbsp;&nbsp;&nbsp; internal;<br>
    &nbsp;&nbsp;&nbsp; <br>
    &nbsp;&nbsp;&nbsp; on 0-0-0.kingsley.co.za {<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 127.0.0.1:7789;<br>
    &nbsp;&nbsp;&nbsp; }<br>
    &nbsp;&nbsp;&nbsp; on 0-0-1.kingsley.co.za {<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 127.0.0.1:7789;<br>
    &nbsp;&nbsp;&nbsp; }<br>
    &nbsp;&nbsp;&nbsp; startup {<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; wfc-timeout&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 1;<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; degr-wfc-timeout&nbsp;&nbsp;&nbsp; 1;<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; become-primary-on&nbsp;&nbsp;&nbsp; 0-0-0.kingsley.co.za;<br>
    &nbsp;&nbsp;&nbsp; }<br>
    }<br>
    <br>
    [root@0-0-0:~] cat /proc/drbd <br>
    version: 8.3.7 (api:88/proto:86-91)<br>
    srcversion: EE47D8BF18AC166BE219757 <br>
    &nbsp;0: cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r----<br>
    &nbsp;&nbsp;&nbsp; ns:0 nr:0 dw:48 dr:1036 al:1 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b
    oos:1911938028<br>
    <br>
    <br>
    Thank you<br>
    Etienne Pretorius<br>
    <br>
    <br>
    <br>
    On 16/02/2011 13:32, <a class="moz-txt-link-abbreviated" href="mailto:Robert.Koeppl@knapp.com">Robert.Koeppl@knapp.com</a> wrote:
    <blockquote
cite="mid:OF43F8F490.A46AC442-ONC1257839.003EF857-C1257839.003F69DF@knapp.com"
      type="cite">
      <br>
      <font face="sans-serif" size="2">Hi Etienne</font>
      <br>
      <font face="sans-serif" size="2">Quite simple, after setting up
        the resources
        in /etc/drbd.conf (you can already add the entries for rthe
        second node
        there), load the module with modprobe drbd, &nbsp;create the metadata
        with
        drbdadm create-md all, then start up the resources with drbdadm
        up all,
        then promote it with drbdadm -- --overwrite-data-of-peer primary
        all. Then
        you can go ahead and use the DRBD-devices in any way needed.</font>
      <br>
      <font face="sans-serif" size="2">When the other node is available,
        copy
        over the config, create metadata on slave, start up drbd, It
        should start
        to sync immediately after that.<br>
      </font><font color="#5f5f5f" size="3">Mit freundlichen Gr&uuml;&szlig;en /
        Best Regards<br>
        <br>
        Robert K&ouml;ppl<br>
        <br>
        Systemadministration<br>
        <b><br>
          KNAPP Systemintegration GmbH</b><br>
        Waltenbachstra&szlig;e 9<br>
        8700 Leoben, Austria <br>
        Phone: +43 3842 805-910<br>
        Fax: +43 3842 82930-500<br>
        <a class="moz-txt-link-abbreviated" href="mailto:robert.koeppl@knapp.com">robert.koeppl@knapp.com</a> <br>
        <a class="moz-txt-link-abbreviated" href="http://www.KNAPP.com">www.KNAPP.com</a> <br>
        <br>
        Commercial register number: FN 138870x<br>
        Commercial register court: Leoben</font><font size="3"><br>
      </font><font color="#d2d2d2" size="3"><br>
        The information in this e-mail (including any attachment) is
        confidential
        and intended to be for the use of the addressee(s) only. If you
        have received
        the e-mail by mistake, any disclosure, copy, distribution or use
        of the
        contents of the e-mail is prohibited, and you must delete the
        e-mail from
        your system. As e-mail can be changed electronically KNAPP
        assumes no responsibility
        for any alteration to this e-mail or its attachments. KNAPP has
        taken every
        reasonable precaution to ensure that any attachment to this
        e-mail has
        been swept for virus. However, KNAPP does not accept any
        liability for
        damage sustained as a result of such attachment being virus
        infected and
        strongly recommend that you carry out your own virus check
        before opening
        any attachment.</font>
      <br>
      <br>
      <br>
      <table width="100%">
        <tbody>
          <tr valign="top">
            <td width="40%"><font face="sans-serif" size="1"><b>Etienne
                  Pretorius <a class="moz-txt-link-rfc2396E" href="mailto:etiennep@kingsley.co.za">&lt;etiennep@kingsley.co.za&gt;</a></b>
              </font>
              <br>
              <font face="sans-serif" size="1">Gesendet von:
                <a class="moz-txt-link-abbreviated" href="mailto:drbd-user-bounces@lists.linbit.com">drbd-user-bounces@lists.linbit.com</a></font>
              <p><font face="sans-serif" size="1">16.02.2011 12:25</font>
              </p>
            </td>
            <td width="59%">
              <table width="100%">
                <tbody>
                  <tr valign="top">
                    <td>
                      <div align="right"><font face="sans-serif"
                          size="1">An</font></div>
                    </td>
                    <td><font face="sans-serif" size="1"><a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a></font>
                    </td>
                  </tr>
                  <tr valign="top">
                    <td>
                      <div align="right"><font face="sans-serif"
                          size="1">Kopie</font></div>
                    </td>
                    <td>
                      <br>
                    </td>
                  </tr>
                  <tr valign="top">
                    <td>
                      <div align="right"><font face="sans-serif"
                          size="1">Thema</font></div>
                    </td>
                    <td><font face="sans-serif" size="1">[DRBD-user]
                        DRDB single node</font></td>
                  </tr>
                </tbody>
              </table>
              <br>
              <table>
                <tbody>
                  <tr valign="top">
                    <td>
                      <br>
                    </td>
                    <td><br>
                    </td>
                  </tr>
                </tbody>
              </table>
              <br>
            </td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <br>
      <tt><font size="2">Hello List,<br>
          <br>
          I have one machine at the moment, and will receive another
          machine in a
          <br>
          month. The issue is, I would like DRBD setup on the machine so
          that when
          <br>
          the other one arrives I can connect them and have the second
          machine up
          <br>
          in no time.<br>
          <br>
          How would you configure this, ie make DRBD ignore its peer
          until I have
          <br>
          the second machine.<br>
          <br>
          Thank You,<br>
          Etienne Pretorius<br>
          _______________________________________________<br>
          drbd-user mailing list<br>
          <a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
          <a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
        </font></tt>
      <br>
    </blockquote>
    <br>
  </body>
</html>