Revision 6c4811dc doc/install.sgml

b/doc/install.sgml
291 291
      </para>
292 292

  
293 293
      <para>
294
        Supported DRBD version: the <literal>0.7</literal>
295
        series. It's recommended to have at least version
296
        <literal>0.7.24</literal> if you use <command>udev</command>
297
        since older versions have a bug related to device discovery
298
        which can be triggered in cases of hard drive failure.
294
        Supported DRBD versions: the <literal>0.7</literal> series
295
        <emphasis role="strong">or</emphasis>
296
        <literal>8.0.x</literal>. It's recommended to have at least
297
        version <literal>0.7.24</literal> if you use
298
        <command>udev</command> since older versions have a bug
299
        related to device discovery which can be triggered in cases of
300
        hard drive failure.
299 301
      </para>
300 302

  
301 303
      <para>
......
311 313
        you have the DRBD utils installed and the module in your
312 314
        kernel you're fine. Please check that your system is
313 315
        configured to load the module at every boot, and that it
314
        passes the following option to the module:
316
        passes the following option to the module (for
317
        <literal>0.7.x</literal>:
315 318
        <computeroutput>minor_count=64</computeroutput> (this will
316
        allow you to use up to 32 instances per node).
319
        allow you to use up to 32 instances per node) or for
320
        <literal>8.0.x</literal> you can use up to
321
        <constant>255</constant>
322
        (i.e. <computeroutput>minor_count=255</computeroutput>, but
323
        for most clusters <constant>128</constant> should be enough).
317 324
      </para>
318 325

  
319 326
      <formalpara><title>Debian</title>
......
331 338
echo drbd minor_count=64 >> /etc/modules
332 339
modprobe drbd minor_count=64
333 340
      </screen>
341
      <para>or for using DRBD <literal>8.x</literal> from the etch
342
      backports:</para>
343
      <screen>
344
apt-get install -t etch-backports drbd8-module-source drbd8-utils
345
m-a update
346
m-a a-i drbd8
347
echo drbd minor_count=128 >> /etc/modules
348
modprobe drbd minor_count=128
349
      </screen>
334 350

  
335 351
      <para>
336 352
        It is also recommended that you comment out the default
......
772 788
        This step shows how to setup a virtual instance with either
773 789
        non-mirrored disks (<computeroutput>plain</computeroutput>) or
774 790
        with network mirrored disks
775
        (<computeroutput>remote_raid1</computeroutput>).  All commands
776
        need to be executed on the Ganeti master node (the one on
777
        which <computeroutput>gnt-cluster init</computeroutput> was
778
        run).  Verify that the OS scripts are present on all cluster
779
        nodes with <computeroutput>gnt-os list</computeroutput>.
791
        (<computeroutput>remote_raid1</computeroutput> for drbd 0.7
792
        and <computeroutput>drbd</computeroutput> for drbd 8.x).  All
793
        commands need to be executed on the Ganeti master node (the
794
        one on which <computeroutput>gnt-cluster init</computeroutput>
795
        was run).  Verify that the OS scripts are present on all
796
        cluster nodes with <computeroutput>gnt-os
797
        list</computeroutput>.
780 798
      </para>
781 799
      <para>
782 800
        To create a virtual instance, you need a hostname which is
......
808 826
      <para>
809 827
        To create a network mirrored instance, change the argument to
810 828
        the <option>-t</option> option from <literal>plain</literal>
811
        to <literal>remote_raid1</literal> and specify the node on
829
        to <literal>remote_raid1</literal> (drbd 0.7) or
830
        <literal>drbd</literal> (drbd 8.0) and specify the node on
812 831
        which the mirror should reside with the second value of the
813 832
        <option>--node</option> option, like this:
814 833
      </para>
......
854 873

  
855 874
      <para>
856 875
        To failover an instance to its secondary node (only possible
857
        in <literal>remote_raid1</literal> setup), use
858
        <computeroutput>gnt-instance failover
876
        in <literal>remote_raid1</literal> or <literal>drbd</literal>
877
        disk templates), use <computeroutput>gnt-instance failover
859 878
        <replaceable>INSTANCENAME</replaceable></computeroutput>.
860 879
      </para>
861 880

  

Also available in: Unified diff