Author: plavin
Date: 2007-05-07 22:58:15 +0200 (Mon, 07 May 2007)
New Revision: 6368
Log:
Make changes to DRBD FAQ
Modified:
trunk/refman-5.1/faqs.xml
Modified: trunk/refman-5.1/faqs.xml
===================================================================
--- trunk/refman-5.1/faqs.xml 2007-05-07 17:50:05 UTC (rev 6367)
+++ trunk/refman-5.1/faqs.xml 2007-05-07 20:58:15 UTC (rev 6368)
Changed blocks: 3, Lines Added: 741, Lines Deleted: 622; 45092 bytes
@@ -6958,432 +6958,445 @@
</para>
</section>
-
+
<section id="faqs-mysql-drbd-heartbeat">
-
+
<title>MySQL ¤t-series; FAQ — MySQL, DRBD, and
Heartbeat</title>
-
+
<indexterm>
<primary>drbd</primary>
<secondary>FAQ</secondary>
</indexterm>
-
+
<indexterm>
<primary>frequently-asked questions about DRBD</primary>
</indexterm>
-
+
<section id="faqs-drbd">
-
- <title>Distributed Replicated Block Device</title>
-
- <para>
- In the following section, we provide answers to questions that are
- most frequently asked about Distributed Replicated Block Device (DRBD).
- </para>
-
- <qandaset defaultlabel="qanda">
-
- <qandaentry>
-
- <question>
-
- <indexterm>
- <primary><literal>DRBD</literal></primary>
- </indexterm>
-
- <para>
- What is DRBD?
- </para>
-
- </question>
-
- <answer>
-
- <para>
- DRBD is an acronym for Distributed Replicated Block Device.
- DRBD is an open source Linux kernel block device which leverages
- synchronous replication to achieve a consistent view of data
- between two systems, typically an Active and Passive system.
- DRBD currently supports all the major flavors of Linux
- and comes bundled in several major Linux distributions.
- The DRBD project is maintained by
- <ulink url=" http://www.drbd.org/">LINBIT</ulink>.
- </para>
-
- </answer>
-
- </qandaentry>
-
- <qandaentry>
-
+
+ <title>Distributed Replicated Block Device</title>
+
+ <para>
+ In the following section, we provide answers to questions that
+ are most frequently asked about Distributed Replicated Block
+ Device (DRBD).
+ </para>
+
+ <qandaset defaultlabel="qanda">
+
+ <qandaentry>
+
<question>
-
+
+ <indexterm>
+ <primary><literal>DRBD</literal></primary>
+ </indexterm>
+
<para>
+ What is DRBD?
+ </para>
+
+ </question>
+
+ <answer>
+
+ <para>
+ DRBD is an acronym for Distributed Replicated Block
+ Device. DRBD is an open source Linux kernel block device
+ which leverages synchronous replication to achieve a
+ consistent view of data between two systems, typically an
+ Active and Passive system. DRBD currently supports all the
+ major flavors of Linux and comes bundled in several major
+ Linux distributions. The DRBD project is maintained by
+ <ulink url=" http://www.drbd.org/">LINBIT</ulink>.
+ </para>
+
+ </answer>
+
+ </qandaentry>
+
+ <qandaentry>
+
+ <question>
+
+ <para>
What are <quote>Block Devices</quote>?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- Block devices are the type of device used to represent
- storage in the Linux Kernel. All physical disk devices
- present a <quote>block device</quote> interface. Additionally,
virtual
- disk systems like LVM or DRBD present a <quote>block
device</quote>
- interface. In this way, the file system or other software
- that might want to access a disk device can be used with
- any number of real or virtual devices without having to
- know anything about their underlying implementation details.
+ Block devices are the type of device used to represent
+ storage in the Linux Kernel. All physical disk devices
+ present a <quote>block device</quote> interface.
+ Additionally, virtual disk systems like LVM or DRBD
+ present a <quote>block device</quote> interface. In this
+ way, the file system or other software that might want to
+ access a disk device can be used with any number of real
+ or virtual devices without having to know anything about
+ their underlying implementation details.
</para>
-
+
</answer>
-
+
</qandaentry>
-
- <qandaentry>
-
- <question>
-
- <indexterm>
- <primary><literal>DRBD licence</literal></primary>
- </indexterm>
-
- <para>
- How is DRBD licensed?
- </para>
-
- </question>
-
- <answer>
-
- <para>
- DRBD is licensed under the GPL.
- </para>
-
- </answer>
-
- </qandaentry>
-
- <qandaentry>
-
- <question>
-
- <para>
- Where can I download DRBD?
- </para>
-
- </question>
-
- <answer>
-
- <para>
- Please see <ulink url="http://www.drbd.org/download.html"/>
- </para>
-
- </answer>
-
- </qandaentry>
-
- <qandaentry>
-
- <question>
-
- <para>
- If I find a bug in DRBD, to whom do I submit the issue?
- </para>
-
- </question>
-
- <answer>
-
- <para>
- Bug reports should be submitted to the
- DRBD mailing list. Please see:
- <ulink url="http://lists.linbit.com/ "/>.
- </para>
-
- </answer>
-
- </qandaentry>
-
- <qandaentry>
-
- <question>
-
- <para>
- Where can I get more technical and business information
- concerning MySQL and DRBD?
- </para>
-
- </question>
-
- <answer>
-
- <para>
- Please visit: <ulink url="http://mysql.com/drbd/"/>
- </para>
-
- </answer>
-
- </qandaentry>
- </qandaset>
+
+ <qandaentry>
+
+ <question>
+
+ <indexterm>
+ <primary><literal>DRBD licence</literal></primary>
+ </indexterm>
+
+ <para>
+ How is DRBD licensed?
+ </para>
+
+ </question>
+
+ <answer>
+
+ <para>
+ DRBD is licensed under the GPL.
+ </para>
+
+ </answer>
+
+ </qandaentry>
+
+ <qandaentry>
+
+ <question>
+
+ <para>
+ Where can I download DRBD?
+ </para>
+
+ </question>
+
+ <answer>
+
+ <para>
+ Please see
+ <ulink url="http://www.drbd.org/download.html"/>
+ </para>
+
+ </answer>
+
+ </qandaentry>
+
+ <qandaentry>
+
+ <question>
+
+ <para>
+ If I find a bug in DRBD, to whom do I submit the issue?
+ </para>
+
+ </question>
+
+ <answer>
+
+ <para>
+ Bug reports should be submitted to the DRBD mailing list.
+ Please see: <ulink url="http://lists.linbit.com/ "/>.
+ </para>
+
+ </answer>
+
+ </qandaentry>
+
+ <qandaentry>
+
+ <question>
+
+ <para>
+ Where can I get more technical and business information
+ concerning MySQL and DRBD?
+ </para>
+
+ </question>
+
+ <answer>
+
+ <para>
+ Please visit: <ulink url="http://mysql.com/drbd/"/>
+ </para>
+
+ </answer>
+
+ </qandaentry>
+
+ </qandaset>
+
</section>
-
+
<section id="linux-heartbeat">
- <title>Linux Heartbeat</title>
-
+
+ <title>Linux Heartbeat</title>
+
<para>
- In the following section, we provide answers to questions that are
- most frequently asked about Linux Heartbeat.
+ In the following section, we provide answers to questions that
+ are most frequently asked about Linux Heartbeat.
</para>
-
- <qandaset>
-
- <qandaentry>
-
- <question>
-
- <para>
- What is Linux Heartbeat?
- </para>
-
- </question>
-
- <answer>
-
- <para>
- The Linux-HA project (<ulink url="http://www.linux-ha.org/"/>)
- offers a high availability solution commonly referred
- to as Linux Heartbeat. Linux Heartbeat ships as part of
- several Linux distributions, as well as within several
- embedded high availability systems. This solution can also
- be used for other applications besides databases servers,
- such as mail servers, web servers, file servers, and DNS servers.
- </para>
-
- <para>
- Linux Heartbeat implements a heartbeat-protocol.
- A heartbeat-protocol means that messages are sent at
- regular intervals between two or more nodes. If a message
- is not received from a node within a given interval,
- then it is assumed the node has failed and some
- type of failover or recovery action is required.
- Linux Heartbeat is typically configured to send
- these heartbeat messages over standard Ethernet interfaces,
- but it does also support other methods, such as serial-line links.
- </para>
-
- </answer>
-
- </qandaentry>
-
- <qandaentry>
-
- <question>
-
- <para>
- How is Linux Heartbeat licensed?
- </para>
-
- </question>
-
- <answer>
-
- <para>
- Linux Heartbeat is licensed under the GPL.
- </para>
-
- </answer>
-
- </qandaentry>
-
- <qandaentry>
-
- <question>
-
- <para>
- Where can I download Linux Heartbeat?
- </para>
-
- </question>
-
- <answer>
-
- <para>
- Please see <ulink url="http://linux-ha.org/download/index.html"/>.
- </para>
-
- </answer>
-
- </qandaentry>
-
- <qandaentry>
-
- <question>
-
- <para>
- If I find a bug with Linux Heartbeat, to whom do I submit the issue?
- </para>
-
- </question>
-
- <answer>
-
- <para>
- Bug reports should be submitted to
- <ulink
url="http://www.linux-ha.org/ClusterResourceManager/BugReports"/>.
- </para>
-
- </answer>
-
- </qandaentry>
-
- </qandaset>
-
+
+ <qandaset>
+
+ <qandaentry>
+
+ <question>
+
+ <para>
+ What is Linux Heartbeat?
+ </para>
+
+ </question>
+
+ <answer>
+
+ <para>
+ The Linux-HA project
+ (<ulink url="http://www.linux-ha.org/"/>) offers a high
+ availability solution commonly referred to as Linux
+ Heartbeat. Linux Heartbeat ships as part of several Linux
+ distributions, as well as within several embedded high
+ availability systems. This solution can also be used for
+ other applications besides databases servers, such as mail
+ servers, web servers, file servers, and DNS servers.
+ </para>
+
+ <para>
+ Linux Heartbeat implements a heartbeat-protocol. A
+ heartbeat-protocol means that messages are sent at regular
+ intervals between two or more nodes. If a message is not
+ received from a node within a given interval, then it is
+ assumed the node has failed and some type of failover or
+ recovery action is required. Linux Heartbeat is typically
+ configured to send these heartbeat messages over standard
+ Ethernet interfaces, but it does also support other
+ methods, such as serial-line links.
+ </para>
+
+ </answer>
+
+ </qandaentry>
+
+ <qandaentry>
+
+ <question>
+
+ <para>
+ How is Linux Heartbeat licensed?
+ </para>
+
+ </question>
+
+ <answer>
+
+ <para>
+ Linux Heartbeat is licensed under the GPL.
+ </para>
+
+ </answer>
+
+ </qandaentry>
+
+ <qandaentry>
+
+ <question>
+
+ <para>
+ Where can I download Linux Heartbeat?
+ </para>
+
+ </question>
+
+ <answer>
+
+ <para>
+ Please see
+ <ulink url="http://linux-ha.org/download/index.html"/>.
+ </para>
+
+ </answer>
+
+ </qandaentry>
+
+ <qandaentry>
+
+ <question>
+
+ <para>
+ If I find a bug with Linux Heartbeat, to whom do I submit
+ the issue?
+ </para>
+
+ </question>
+
+ <answer>
+
+ <para>
+ Bug reports should be submitted to
+ <ulink
url="http://www.linux-ha.org/ClusterResourceManager/BugReports"/>.
+ </para>
+
+ </answer>
+
+ </qandaentry>
+
+ </qandaset>
+
</section>
-
+
<section id="drbd-architecture">
+
<title>DRBD Architecture</title>
-
+
<para>
- In the following section, we provide answers to questions that are
- most frequently asked about DRBD Architecture.
+ In the following section, we provide answers to questions that
+ are most frequently asked about DRBD Architecture.
</para>
-
+
<qandaset>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
- Does DRBD support an Active/Active configuration?
+ Is an Active/Active option available for MySQL with DRBD?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- Currently, DRBD does not support Active/Active configurations
- <quote>out of the box</quote>.
+ Currently, MySQL does not support Active/Active
+ configurations using DRBD <quote>out of the box</quote>.
</para>
-
+
</answer>
-
+
</qandaentry>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
What MySQL storage engines are supported with DRBD?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- All of the MySQL transactional storage engines are
- supported by DRBD, including
- InnoDB and Falcon. For archived or read-only data,
- MyISAM or Archive can also be used.
+ All of the MySQL transactional storage engines are
+ supported by DRBD, including InnoDB and Falcon. For
+ archived or read-only data, MyISAM or Archive can also be
+ used.
</para>
-
+
</answer>
-
+
</qandaentry>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
How long does a failover take?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- Failover time is dependent on many things, some of
- which are configurable. After activating the passive
- host, MySQL will have to start and run a normal recovery
- process. If the InnoDB log files have been configured
- to a large size and there was heavy write traffic,
- this may take a reasonably long period of time.
- However, under normal circumstances, failover tends
- to take less than a minute.
+ Failover time is dependent on many things, some of which
+ are configurable. After activating the passive host, MySQL
+ will have to start and run a normal recovery process. If
+ the InnoDB log files have been configured to a large size
+ and there was heavy write traffic, this may take a
+ reasonably long period of time. However, under normal
+ circumstances, failover tends to take less than a minute.
</para>
-
+
</answer>
-
+
</qandaentry>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
- How long does it take to resynchronize data after a failure?
+ How long does it take to resynchronize data after a
+ failure?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- Resynchronization time depends on how long the two
- machines are out of communication and how much data
- was written during that period of time. Resynchronization
- time is a function of data to be synced, network speed
- and disk speed. DRBD maintains a bitmap of changed blocks
- on the primary machine, so only those blocks that have
- changed will need to be transferred.
+ Resynchronization time depends on how long the two
+ machines are out of communication and how much data was
+ written during that period of time. Resynchronization time
+ is a function of data to be synced, network speed and disk
+ speed. DRBD maintains a bitmap of changed blocks on the
+ primary machine, so only those blocks that have changed
+ will need to be transferred.
</para>
-
+
</answer>
-
+
</qandaentry>
- </qandaset>
-
+
+ </qandaset>
+
</section>
- <section id="drbd-mysql-replication">
+
+ <section id="drbd-mysql-replication-scale">
+
<title>DRBD and MySQL Replication</title>
-
+
<para>
- In the following section, we provide answers to questions that are
- most frequently asked about MySQL Replication Scale-out.
+ In the following section, we provide answers to questions that
+ are most frequently asked about MySQL Replication Scale-out.
</para>
-
+
<qandaset>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
What is the difference between MySQL Cluster and DRBD?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- Both MySQL Cluster and DRBD replicate data synchronously.
- MySQL Cluster leverages a shared-nothing storage architecture
- in which the cluster can be architected beyond an Active/Passive
- configuration. DRBD operates at a much lower level within
- the <quote>stack</quote>, at the disk I/O level. For a
comparison of various
- high availability features between these two options, please
+ Both MySQL Cluster and DRBD replicate data synchronously.
+ MySQL Cluster leverages a shared-nothing storage
+ architecture in which the cluster can be architected
+ beyond an Active/Passive configuration. DRBD operates at a
+ much lower level within the <quote>stack</quote>, at the
+ disk I/O level. For a comparison of various high
+ availability features between these two options, please
refer to <xref linkend="drbd-availability-comparison"/>.
</para>
-
+
<figure id="drbd-availability-comparison">
<title>Availability comparison</title>
<mediaobject>
@@ -7397,70 +7410,73 @@
</textobject>
</mediaobject>
</figure>
-
+
</answer>
-
+
</qandaentry>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
What is the difference between MySQL Replication and DRBD?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- MySQL Replication replicates data asynchronously while DRBD
- replicates data synchronously. For a comparison of various
- high availability features between these two options,
- please refer to the high availability comparison grid,
- <xref linkend="drbd-availability-comparison"/>.
+ MySQL Replication replicates data asynchronously while
+ DRBD replicates data synchronously. For a comparison of
+ various high availability features between these two
+ options, please refer to the high availability comparison
+ grid, <xref linkend="drbd-availability-comparison"/>.
</para>
-
+
</answer>
-
+
</qandaentry>
+
<qandaentry>
-
+
<question>
-
+
<para>
How can I combine MySQL Replication scale-out with DRBD?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- MySQL Replication is typically deployed in a Master to many
- Slaves configuration. In this configuration, having many
- Slaves provides read scalability. DRBD is used to provide
- high-availability for the Master MySQL Server in an
- Active/Passive configuration. This provides for automatic failover,
- safeguards against data loss, and automatically synchronizes the
- failed MySQL Master after a failover.
+ MySQL Replication is typically deployed in a Master to
+ many Slaves configuration. In this configuration, having
+ many Slaves provides read scalability. DRBD is used to
+ provide high-availability for the Master MySQL Server in
+ an Active/Passive configuration. This provides for
+ automatic failover, safeguards against data loss, and
+ automatically synchronizes the failed MySQL Master after a
+ failover.
</para>
-
+
<para>
- The most likely scenario in which MySQL Replication scale-out
- can be leveraged with DRBD is in the form of attaching
- replicated MySQL <quote>read-slaves</quote> off of the
Active-Master MySQL Server,
- shown in <xref linkend="active-master-mysql-server"/>. Since
- DRBD replicates an entire block device,
- master information such as the binary logs are also replicated.
- In this way, all of the slaves can attach to the Virtual IP
- Address managed by Linux Heartbeat. In the event of a failure,
- the asynchronous nature of MySQL Replication allows the slaves
- to continue with the new Active machine as their master with no
- intervention needed.
+ The most likely scenario in which MySQL Replication
+ scale-out can be leveraged with DRBD is in the form of
+ attaching replicated MySQL <quote>read-slaves</quote> off
+ of the Active-Master MySQL Server, shown in
+ <xref linkend="active-master-mysql-server"/>. Since DRBD
+ replicates an entire block device, master information such
+ as the binary logs are also replicated. In this way, all
+ of the slaves can attach to the Virtual IP Address managed
+ by Linux Heartbeat. In the event of a failure, the
+ asynchronous nature of MySQL Replication allows the slaves
+ to continue with the new Active machine as their master
+ with no intervention needed.
</para>
-
+
<figure id="active-master-mysql-server">
<title>Active-Master MySQL server</title>
<mediaobject>
@@ -7474,536 +7490,639 @@
</textobject>
</mediaobject>
</figure>
-
-
+
</answer>
-
+
</qandaentry>
-
-
- </qandaset>
-
+
+ </qandaset>
+
</section>
-
+
<section id="drbd-file-systems">
+
<title>DRBD and File Systems</title>
-
+
<para>
- In the following section, we provide answers to questions that are
- most frequently asked about DRBD and file systems.
+ In the following section, we provide answers to questions that
+ are most frequently asked about DRBD and file systems.
</para>
-
+
<qandaset>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
Can XFS be used with DRBD?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- Yes. XFS uses dynamic block size, thus DRBD 0.7 or later is needed.
+ Yes. XFS uses dynamic block size, thus DRBD 0.7 or later
+ is needed.
</para>
-
+
</answer>
-
+
</qandaentry>
-
-
- </qandaset>
-
+
+ </qandaset>
+
</section>
+
<section id="drbd-lvm">
+
<title>DRBD and LVM</title>
-
+
<para>
- In the following section, we provide answers to questions that are
- most frequently asked about DRBD and LVM.
+ In the following section, we provide answers to questions that
+ are most frequently asked about DRBD and LVM.
</para>
-
+
<qandaset>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
- Can I use DRBD with LVM?
+ Can I use DRBD on top of LVM?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- Yes. With LVM2, snapshots are writable.
- So you can replay the journal on the snapshot.
+ Yes, DRBD supports on-line resizing. If you enlarge your
+ logical volume that acts as a backing device for DRBD, you
+ can enlarge DRBD itself too, and of course your file
+ system if it supports resizing.
</para>
-
+
</answer>
-
+
</qandaentry>
-
-
- </qandaset>
-
+
+ <qandaentry>
+
+ <question>
+
+ <para>
+ Can I use LVM on top of DRBD?
+ </para>
+
+ </question>
+
+ <answer>
+
+ <para>
+ Yes, you can use DRBD as a Physical Volume (PV) for LVM.
+ Depending on the default LVM configuration shipped with
+ your distribution, you may need to add the
+ <filename>/dev/drbd*</filename> device files to the
+ <literal>filter</literal> option in your
+ <filename>lvm.conf</filename> so LVM scans your DRBDs for
+ PV signatures.
+ </para>
+
+ </answer>
+
+ </qandaentry>
+
+ <qandaentry>
+
+ <question>
+
+ <para>
+ Can I use DRBD on top of LVM while at the same time
+ running LVM on top of that DRBD?
+ </para>
+
+ </question>
+
+ <answer>
+
+ <para>
+ This requires careful tuning of your LVM configuration to
+ avoid duplicate PV scans, but yes, it is possible.
+ </para>
+
+ </answer>
+
+ </qandaentry>
+
+ </qandaset>
+
</section>
+
<section id="drbd-virtualization">
+
<title>DRBD and Virtualization</title>
-
+
<para>
- In the following section, we provide answers to questions that are
- most frequently asked about DRBD and virtualization.
+ In the following section, we provide answers to questions that
+ are most frequently asked about DRBD and virtualization.
</para>
-
+
<qandaset>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
Can I use DRBD with OpenVZ?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- See <ulink
url="http://wiki.openvz.org/HA_cluster_with_DRBD_and_Heartbeat"/>.
+ See
+ <ulink
url="http://wiki.openvz.org/HA_cluster_with_DRBD_and_Heartbeat"/>.
</para>
-
+
</answer>
-
+
</qandaentry>
-
-
- </qandaset>
-
+
+ <qandaentry>
+
+ <question>
+
+ <para>
+ Can I use DRBD with Xen and/or KVM?
+ </para>
+
+ </question>
+
+ <answer>
+
+ <para>
+ Yes. If you are looking for professional consultancy or
+ expert commercial support for Xen- or KVM-based
+ virtualization clusters with DRBD, contact LINBIT
+ (<ulink url="http://www.linbit.com"/>).
+ </para>
+
+ </answer>
+
+ </qandaentry>
+
+ </qandaset>
+
</section>
+
<section id="drbd-security">
+
<title>DRBD and Security</title>
-
+
<para>
- In the following section, we provide answers to questions that are
- most frequently asked about DRBD and security.
+ In the following section, we provide answers to questions that
+ are most frequently asked about DRBD and security.
</para>
-
+
<qandaset>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
Can I encrypt/compress the exchanged data?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- Yes. But there is no option within DRBD to allow
- for this. You’ll need to leverage a VPN and the network
- layer should do the rest.
-
+ Yes. But there is no option within DRBD to allow for this.
+ You’ll need to leverage a VPN and the network layer
+ should do the rest.
</para>
-
+
</answer>
-
+
</qandaentry>
-
-
- </qandaset>
-
+
+ <qandaentry>
+
+ <question>
+
+ <para>
+ Does DRBD do mutual node authentication?
+ </para>
+
+ </question>
+
+ <answer>
+
+ <para>
+ Yes, starting with DRBD 8 shared-secret mutual node
+ authentication is supported.
+ </para>
+
+ </answer>
+
+ </qandaentry>
+
+ </qandaset>
+
</section>
- <section id="drbd-system-reauirements">
+
+ <section id="drbd-system-requirements">
+
<title>DRBD and System Requirements</title>
-
+
<para>
- In the following section, we provide answers to questions that are
- most frequently asked about RBD and System Requirements.
+ In the following section, we provide answers to questions that
+ are most frequently asked about RBD and System Requirements.
</para>
-
+
<qandaset>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
What other packages besides DRBD are required?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- When compiling DRBD from source additional
- prerequisite packages may be required. They include
- but are not limited to:
-
+ When using pre-built binary packages, none except a
+ matching kernel, plus packages for
+ <literal>glibc</literal> and your favorite shell. When
+ compiling DRBD from source additional prerequisite
+ packages may be required. They include but are not limited
+ to:
+
<itemizedlist>
-
+
<listitem>
<para>
glib-devel
-
</para>
</listitem>
-
+
<listitem>
<para>
openssl
-
</para>
</listitem>
+
<listitem>
<para>
devel
-
</para>
</listitem>
-
+
<listitem>
<para>
libgcrypt-devel
-
</para>
</listitem>
+
<listitem>
<para>
glib2-devel
-
</para>
</listitem>
-
+
<listitem>
<para>
pkgconfig
-
</para>
</listitem>
+
<listitem>
<para>
ncurses-devel
-
</para>
</listitem>
-
+
<listitem>
<para>
rpm-build
-
</para>
</listitem>
+
<listitem>
<para>
rpm-devel
-
</para>
</listitem>
-
+
<listitem>
<para>
redhat-rpm-config
-
</para>
</listitem>
+
<listitem>
<para>
gcc
-
</para>
</listitem>
-
+
<listitem>
<para>
gcc-c++
-
</para>
</listitem>
+
<listitem>
<para>
bison
-
</para>
</listitem>
-
+
<listitem>
<para>
flex
- </para>
+ </para>
</listitem>
-
+
<listitem>
<para>
gnutls-devel
</para>
</listitem>
-
+
<listitem>
<para>
lm_sensors-devel
-
</para>
</listitem>
+
<listitem>
<para>
net-snmp-devel
-
</para>
</listitem>
-
+
<listitem>
<para>
python-devel
- </para>
+ </para>
</listitem>
+
<listitem>
<para>
bzip2-devel
-
</para>
</listitem>
-
+
<listitem>
<para>
libselinux-devel
-
</para>
</listitem>
+
<listitem>
<para>
perl-DBI
-
</para>
</listitem>
-
+
<listitem>
<para>
libnet
</para>
</listitem>
- </itemizedlist>
-
- Pre-built x86 and x86_64 packages for specific
- kernel versions are available with a support subscription
- from LINBIT. Please note that if the kernel is upgraded,
- DRBD must be as well.
+
+ </itemizedlist>
+
+ Pre-built x86 and x86_64 packages for specific kernel
+ versions are available with a support subscription from
+ LINBIT. Please note that if the kernel is upgraded, DRBD
+ must be as well.
</para>
-
+
</answer>
-
+
</qandaentry>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
How many machines are required to set up DRBD?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- Two machines are required to achieve the minimum
- degree of high availability. Although at any one given
- point in time one will be primary and one will be secondary,
- it is better to consider the machines as part of a mirrored
- pair without a <quote>natural</quote> primary machine.
+ Two machines are required to achieve the minimum degree of
+ high availability. Although at any one given point in time
+ one will be primary and one will be secondary, it is
+ better to consider the machines as part of a mirrored pair
+ without a <quote>natural</quote> primary machine.
</para>
-
+
</answer>
-
+
</qandaentry>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
Does DRBD only run on Linux?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- DRBD is a Linux Kernel Module, and can work with
- many popular Linux distributions.
- DRBD is currently not available for non-Linux operating systems.
+ DRBD is a Linux Kernel Module, and can work with many
+ popular Linux distributions. DRBD is currently not
+ available for non-Linux operating systems.
</para>
-
+
</answer>
-
+
</qandaentry>
-
-
- </qandaset>
-
+
+ </qandaset>
+
</section>
+
<section id="mysql-consulting-support-services">
+
<title>MySQL Consulting and Support Services</title>
-
+
<para>
- In the following section, we provide answers to questions that are
- most frequently asked about DRBD and MySQL Support Services.
+ In the following section, we provide answers to questions that
+ are most frequently asked about DRBD and MySQL Support Services.
</para>
-
+
<qandaset>
-
-
+
<qandaentry>
-
+
<question>
-
+
<para>
- Does MySQL offer professional consulting to help
- with designing a DRBD system?
+ Does MySQL offer professional consulting to help with
+ designing a DRBD system?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- Yes. MySQL offers consulting for the design, installation,
- configuration, and monitoring of high availability DRBD.
- For more information concerning a High Availability Jumpstart,
- please see: <ulink
url="http://www.mysql.com/consulting/packaged/scaleout.html"/>.
+ Yes. MySQL offers consulting for the design, installation,
+ configuration, and monitoring of high availability DRBD.
+ For more information concerning a High Availability
+ Jumpstart, please see:
+ <ulink
url="http://www.mysql.com/consulting/packaged/scaleout.html"/>.
</para>
-
+
</answer>
-
+
</qandaentry>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
- Does MySQL offer support for DRBD and Linux Heartbeat from MySQL?
+ Does MySQL offer support for DRBD and Linux Heartbeat from
+ MySQL?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- Yes. Support for DRBD is available with an add-on subscription
- to MySQL Enterprise called “DRBD for MySQL”. For more
- information about support options for DRBD see:
+ Yes. Support for DRBD is available with an add-on
+ subscription to MySQL Enterprise called “DRBD for
+ MySQL”. For more information about support options for
+ DRBD see:
<ulink url="http://mysql.com/products/enterprise/features.html"/>.
</para>
-
+
<para>
For the list of supported Linux distributions, please see:
<ulink
url="http://www.mysql.com/support/supportedplatforms/enterprise.html"/>.
</para>
-
- <para>
- <emphasis role="bold">NOTE:</emphasis> DRBD is only available
on Linux.
- DRBD is not available on Windows, MacOS, Solaris, HPUX, AIX, FreeBSD,
- or other non-Linux platforms.
+
+ <para>
+ <emphasis role="bold">NOTE:</emphasis> DRBD is only
+ available on Linux. DRBD is not available on Windows,
+ MacOS, Solaris, HPUX, AIX, FreeBSD, or other non-Linux
+ platforms.
</para>
-
+
</answer>
-
+
</qandaentry>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
Are pre-built binaries or RPMs available?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
- Yes. <quote>DRBD for MySQL</quote> is an add-on subscription to
- MySQL Enterprise, which provides pre-built binaries for DRBD.
- For more information see:
+ Yes. <quote>DRBD for MySQL</quote> is an add-on
+ subscription to MySQL Enterprise, which provides pre-built
+ binaries for DRBD. For more information see:
<ulink url="http://mysql.com/products/enterprise/features.html"/>.
</para>
-
+
</answer>
-
+
</qandaentry>
-
- </qandaset>
-
+
+ </qandaset>
+
</section>
+
<section id="drbd-resources">
+
<title>DRBD and Resources</title>
-
+
<para>
- In the following section, we provide answers to questions that are
- most frequently asked about DRBD and resources.
+ In the following section, we provide answers to questions that
+ are most frequently asked about DRBD and resources.
</para>
-
+
<qandaset>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
- Does MySQL have documentation to help me with the
- installation and configuration of DRBD and Linux Heartbeat?
+ Does MySQL have documentation to help me with the
+ installation and configuration of DRBD and Linux
+ Heartbeat?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
Coming soon.
</para>
-
+
</answer>
-
+
</qandaentry>
-
+
<qandaentry>
-
+
<question>
-
+
<para>
- Is there a dedicated discussion forum for MySQL High-Availability?
+ Is there a dedicated discussion forum for MySQL
+ High-Availability?
</para>
-
+
</question>
-
+
<answer>
-
+
<para>
Yes, <ulink url="http://forums.mysql.com/list.php?144"/>.
</para>
-
+
</answer>
-
+
</qandaentry>
-
- </qandaset>
-
+
+ </qandaset>
+
</section>
- </section>
+
+ </section>
+
</appendix>
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r6368 - trunk/refman-5.1 | plavin | 7 May |