<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DRBD Ubuntu Server in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978538#M27787</link>
    <description>Hi Ralph!!&lt;BR /&gt;&lt;BR /&gt;How are you?&lt;BR /&gt;&lt;BR /&gt;Well....you will kill me....But....I don't can install in Ubuntu 6.10 server or 7.07 Server or Debian 4.0 RC1...Don't work because the kernel font and kernel headers don't are found....And I have in this server!!!&lt;BR /&gt;&lt;BR /&gt;But, in the fist time I install in a Fedora Core 4...Why work in fedora and don't work in Debian or Ubuntu?&lt;BR /&gt;&lt;BR /&gt;I like Debian and Ubuntu...I don't know that I have to do....&lt;BR /&gt;&lt;BR /&gt;You know?&lt;BR /&gt;&lt;BR /&gt;Thank's!!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 16 Apr 2007 23:07:15 GMT</pubDate>
    <dc:creator>Daniel Caçador</dc:creator>
    <dc:date>2007-04-16T23:07:15Z</dc:date>
    <item>
      <title>DRBD Ubuntu Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978532#M27781</link>
      <description>&lt;!--!*#--&gt;oi friends!!&lt;BR /&gt;I have 2 servers ubuntu server 6.10. &lt;BR /&gt;I am having difficulties in installing DRDB 8.0.0....Somebody already made it? &lt;BR /&gt;It can say the adopted procedures to me? &lt;BR /&gt;&lt;BR /&gt;Thanks!!&lt;BR /&gt;&lt;BR /&gt;Sorry! My english is too bad!</description>
      <pubDate>Tue, 10 Apr 2007 14:18:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978532#M27781</guid>
      <dc:creator>Daniel Caçador</dc:creator>
      <dc:date>2007-04-10T14:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: DRBD Ubuntu Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978533#M27782</link>
      <description>Sorry, I am not fond of Ubuntu&lt;BR /&gt;(reminds me too much of the We-know-better-than-you-what's-good-for-you philosophy of other certain OSes)&lt;BR /&gt;Thus I cannot say what quirks Ubuntu has to offer to obstruct drbd installation.&lt;BR /&gt;I understand Ubuntu is basically a "somewhat patched" Debian.&lt;BR /&gt;Probably the biggest challenge is to obtain a root shell in Ubuntu (you don't want to preceede every command by a sudo, do you? ;-)&lt;BR /&gt;&lt;BR /&gt;We make use of DRBD disks on our RHEL Heartbeat clusters (no we aren't using the RH Cluster Server but fiddled up our own solution).&lt;BR /&gt;&lt;BR /&gt;Actually, it is a bit convoluted&lt;BR /&gt;because we take ordinary partitions from the SCSI root disks (in BSD/Solaris terms aka slices) which also can be so called extended partitions.&lt;BR /&gt;From those we make RAID1 MD devices by Linux raidtools and mdadm.&lt;BR /&gt;Then we define DRBD disks from these MDs.&lt;BR /&gt;Of the DRBD devices we create LVM PVs, and from them VGs, and of these LVs.&lt;BR /&gt;Finally ext3 filesystems are put on these LVs  to host the HA applications' data.&lt;BR /&gt;All of these resources are made HA by Heartbeat.&lt;BR /&gt;&lt;BR /&gt;But I see no reason why the procedure shouldn't work equally well on Ubuntu.&lt;BR /&gt;&lt;BR /&gt;If you can get a Debian package for drbd driver and utilities, and you don't have any specific needs, take that.&lt;BR /&gt;(You should know how to search Debian repositories (possibly Unstable branch), and install from there, i.e. know your apt commands.&lt;BR /&gt;Maybe you have to compile the DRBD driver from the sources as we had to.&lt;BR /&gt;Then download the DRBD sources from&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.drbd.org/" target="_blank"&gt;http://www.drbd.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The readmes should tell the build and installation procedure.&lt;BR /&gt;Usually you require yours kernel sources and development tools as well.&lt;BR /&gt;After installation and loading of DRBD driver &lt;BR /&gt;you need to edit /etc/drbd.conf and name your resources.&lt;BR /&gt;You also need to setup a dedicated private LAN Fast Ethernet or better Gigabit between your DBRBD nodes.&lt;BR /&gt;Sorry, don't know the names and locations of NIC config files on Debian, and an interactive ifconfig or ip command wouldn't suffice since you need to bring up the DRBD NICs on boot up before DRBD gets started.&lt;BR /&gt;&lt;BR /&gt;After having edited drbd.conf one simply runs&lt;BR /&gt;(Beware syncing direction!)&lt;BR /&gt;&lt;BR /&gt;# drbdadm -- --do-what-I-say primary all&lt;BR /&gt;&lt;BR /&gt;But the required steps should all be described in the docs.&lt;BR /&gt;&lt;BR /&gt;You may also would want to visit this site&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.linux-ha.org/DRBD" target="_blank"&gt;http://www.linux-ha.org/DRBD&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Apr 2007 05:32:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978533#M27782</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-04-12T05:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: DRBD Ubuntu Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978534#M27783</link>
      <description>Hi  Ralph!&lt;BR /&gt; Thank's to help-me.&lt;BR /&gt;&lt;BR /&gt;Well, I Finaly can install DRBD on Ubuntu.&lt;BR /&gt;I had instaled via apt-get. &lt;BR /&gt;DRBD8-source-modules&lt;BR /&gt;DRBD8-utils&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But...I had a new problem: The DRBD.conf&lt;BR /&gt;&lt;BR /&gt;I configure this file, but don't work...&lt;BR /&gt;&lt;BR /&gt;You have a exemple of DRBD.conf?&lt;BR /&gt;&lt;BR /&gt;Thank's!!&lt;BR /&gt;&lt;BR /&gt;PS. Sorry to my bad english!</description>
      <pubDate>Thu, 12 Apr 2007 18:43:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978534#M27783</guid>
      <dc:creator>Daniel Caçador</dc:creator>
      <dc:date>2007-04-12T18:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: DRBD Ubuntu Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978535#M27784</link>
      <description>&lt;!--!*#--&gt;Hi Daniel,&lt;BR /&gt;&lt;BR /&gt;you need not apologize for your English (or is this your standard signature? ;-).&lt;BR /&gt;This is an international Forum, and my English isn't much better either.&lt;BR /&gt;&lt;BR /&gt;I am afraid, that you have difficulties with your drbd.conf.&lt;BR /&gt;This file is very well commented,&lt;BR /&gt;so that it almost makes further referring to the docs redundant.&lt;BR /&gt;However, before you set up your DRBD you should consult the pages on the website of the Linux HA project that I cited in my yesterday's reply.&lt;BR /&gt;There you will find good explanations of all the prerequisites that must be met to arrive at a working DRBD.&lt;BR /&gt;Also available are step by step instructions with sample configurations.&lt;BR /&gt;The Linux HA website offered all that we required to set up our first Heartbeat cluster from scratch.&lt;BR /&gt;&lt;BR /&gt;Of course can I post the drbd.conf of one of our clusters, if that would help you.&lt;BR /&gt;The "drbdadm dump" command dumps the current config stripped from all the affluent comment that you would find in the sample drbd.conf.&lt;BR /&gt;I only piped the dump through sed to rename the cluster nodes to nodeA and nodeB here.&lt;BR /&gt;Also note that you for the start merely need to define a single resource (which you can name anything you like unlike the unimaginative "r0" that we chose).&lt;BR /&gt;You can add more resources later should need arise.&lt;BR /&gt;This was the way the second resource "r1"  made it into the config,&lt;BR /&gt;because we ran out of disk space (no more free PEs in the "shared" VG) and had to create a new HD partition and MD device (poor planning).&lt;BR /&gt;If our dumb Linux kernel had recognized the newly created partition the whole extension could have been excercised without a reboot (I presume newer Linux kernels are capable of this).&lt;BR /&gt;Nevertheless, since we had Heartbeat cluster the application could be switched over to the standby node to remain online.&lt;BR /&gt;&lt;BR /&gt;Here's the dump of our config:&lt;BR /&gt;&lt;BR /&gt;# drbdadm dump&lt;BR /&gt;resource r0 {&lt;BR /&gt;    protocol               C;&lt;BR /&gt;    incon-degr-cmd       "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f";&lt;BR /&gt;    on nodeA {&lt;BR /&gt;        device           /dev/drbd0;&lt;BR /&gt;        disk             /dev/md3;&lt;BR /&gt;        address          192.168.3.2:7788;&lt;BR /&gt;        meta-disk        internal;&lt;BR /&gt;    }&lt;BR /&gt;    on nodeB {&lt;BR /&gt;        device           /dev/drbd0;&lt;BR /&gt;        disk             /dev/md3;&lt;BR /&gt;        address          192.168.3.3:7788;&lt;BR /&gt;        meta-disk        internal;&lt;BR /&gt;    }&lt;BR /&gt;    disk {&lt;BR /&gt;        on-io-error      detach;&lt;BR /&gt;    }&lt;BR /&gt;    syncer {&lt;BR /&gt;        rate             700000k;&lt;BR /&gt;        group              1;&lt;BR /&gt;        al-extents       257;&lt;BR /&gt;    }&lt;BR /&gt;    startup {&lt;BR /&gt;        degr-wfc-timeout 120;&lt;BR /&gt;    }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;resource r1 {&lt;BR /&gt;    protocol               C;&lt;BR /&gt;    incon-degr-cmd       "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f";&lt;BR /&gt;    on nodeA {&lt;BR /&gt;        device           /dev/drbd1;&lt;BR /&gt;        disk             /dev/md4;&lt;BR /&gt;        address          192.168.3.2:7789;&lt;BR /&gt;        meta-disk        internal;&lt;BR /&gt;    }&lt;BR /&gt;    on nodeB {&lt;BR /&gt;        device           /dev/drbd1;&lt;BR /&gt;        disk             /dev/md4;&lt;BR /&gt;        address          192.168.3.3:7789;&lt;BR /&gt;        meta-disk        internal;&lt;BR /&gt;    }&lt;BR /&gt;    disk {&lt;BR /&gt;        on-io-error      detach;&lt;BR /&gt;    }&lt;BR /&gt;    syncer {&lt;BR /&gt;        rate             700000k;&lt;BR /&gt;        group              2;&lt;BR /&gt;        al-extents       257;&lt;BR /&gt;    }&lt;BR /&gt;    startup {&lt;BR /&gt;        degr-wfc-timeout 120;&lt;BR /&gt;    }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Apr 2007 03:11:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978535#M27784</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-04-13T03:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: DRBD Ubuntu Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978536#M27785</link>
      <description>Hi Ralph!&lt;BR /&gt;&lt;BR /&gt;I found the problem.&lt;BR /&gt;&lt;BR /&gt;I had instaled the ubuntu 6.10 Server, via apt-get install drbd0.7-module-source&lt;BR /&gt;apt-get install drbd0.7-utils&lt;BR /&gt;&lt;BR /&gt;But, during the intalation, make don't find the path of kernel.&lt;BR /&gt;&lt;BR /&gt;You know how to I fix this problem?&lt;BR /&gt;&lt;BR /&gt;Thank's my friend!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 14 Apr 2007 15:04:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978536#M27785</guid>
      <dc:creator>Daniel Caçador</dc:creator>
      <dc:date>2007-04-14T15:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: DRBD Ubuntu Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978537#M27786</link>
      <description>Hi Daniel,&lt;BR /&gt;&lt;BR /&gt;I again untarred the sources of our DRBD release (0.7.15, maybe obsolete by now?).&lt;BR /&gt;There is an INSTALL that quite clearly descripes the prerequisites and steps of installation for various distros.&lt;BR /&gt;I would really urge to read it.&lt;BR /&gt;You should follow the steps marked debian (at the time of writing of this INSTALL there wasn't Ubuntu around).&lt;BR /&gt;You must as a prerequisite install the kernel sources.&lt;BR /&gt;For Debian it says to run this:&lt;BR /&gt;&lt;BR /&gt;# apt-get install kernel-source&lt;BR /&gt;&lt;BR /&gt;Then you must prepare your kernel.&lt;BR /&gt;&lt;BR /&gt;# cd /usr/src/linux&lt;BR /&gt;# make mrproper&lt;BR /&gt;&lt;BR /&gt;Note, the last command will erase all left over object files *including* any .config file!&lt;BR /&gt;So if you have done kernel builds before you better save your .config file before the mrproper.&lt;BR /&gt;&lt;BR /&gt;To save you a hack of kernel configuring (which really can be time consuming and bewildering due to the hundreds of drivers) you should find the .config file which was the basis of your currently running kernel, as it should already include all the drivers that your platform will require.&lt;BR /&gt;Some newer distros have the nice feature enabled in their kernel to dump their config in the virtual proc filesystem.&lt;BR /&gt;If yours is one of those you can simply do this (your milage may vary)&lt;BR /&gt;&lt;BR /&gt;# zcat /proc/config.gz &amp;gt; /usr/src/linux/.config&lt;BR /&gt;&lt;BR /&gt;On RH distros the kernel's config usually can be found in /boot&lt;BR /&gt;&lt;BR /&gt;There you can do&lt;BR /&gt;&lt;BR /&gt;# cp /boot/config-$(uname -r) /usr/src/linux/.config&lt;BR /&gt;&lt;BR /&gt;I have absolutely no idea where Debian/Ubuntu distros hide their kernels' config.&lt;BR /&gt;You will have to search or consult the Ubuntu docs.&lt;BR /&gt;If you also use Grub then it should be found most likely in /boot as well.&lt;BR /&gt;&lt;BR /&gt;After having put .config in place prepare the kernel to assume your current config by&lt;BR /&gt;&lt;BR /&gt;# cd /usr/src/linux&lt;BR /&gt;# make oldconfig&lt;BR /&gt;# make modules_prepare&lt;BR /&gt;&lt;BR /&gt;After you have prepared the kernel sources you should extract DRBD sources in /usr/src.&lt;BR /&gt;&lt;BR /&gt;# cd /usr/src&lt;BR /&gt;# tar zxf /where/your/downloads/are/drdb-XX.tar.gz&lt;BR /&gt;# cd drbd-*&lt;BR /&gt;&lt;BR /&gt;Read the INSTALL file!&lt;BR /&gt;&lt;BR /&gt;# make clean all&lt;BR /&gt;&lt;BR /&gt;# make install&lt;BR /&gt;&lt;BR /&gt;Thereafter configure drbd.conf&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Apr 2007 03:43:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978537#M27786</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-04-16T03:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: DRBD Ubuntu Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978538#M27787</link>
      <description>Hi Ralph!!&lt;BR /&gt;&lt;BR /&gt;How are you?&lt;BR /&gt;&lt;BR /&gt;Well....you will kill me....But....I don't can install in Ubuntu 6.10 server or 7.07 Server or Debian 4.0 RC1...Don't work because the kernel font and kernel headers don't are found....And I have in this server!!!&lt;BR /&gt;&lt;BR /&gt;But, in the fist time I install in a Fedora Core 4...Why work in fedora and don't work in Debian or Ubuntu?&lt;BR /&gt;&lt;BR /&gt;I like Debian and Ubuntu...I don't know that I have to do....&lt;BR /&gt;&lt;BR /&gt;You know?&lt;BR /&gt;&lt;BR /&gt;Thank's!!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Apr 2007 23:07:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978538#M27787</guid>
      <dc:creator>Daniel Caçador</dc:creator>
      <dc:date>2007-04-16T23:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: DRBD Ubuntu Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978539#M27788</link>
      <description>Hi Daniel,&lt;BR /&gt;&lt;BR /&gt;I am sorry that your Ubuntu installation seems to be so unwieldy when it comes to getting the DRBD driver compiled and installed.&lt;BR /&gt;I really would have thought that a Debian(-like) distro was quite to the contrary more flexible and supportive to extensions such as DRBD.&lt;BR /&gt;I am afraid, I cannot help you with the Ubuntu/Debian specifics as my Linux experience mainly builds on RedHat-like distros.&lt;BR /&gt;Maybe you should try to search for help in a Ubuntu forum.&lt;BR /&gt;There must have been others who already successfully have set up DRBD on this distro, or who can report about their possibly necessary workarounds.&lt;BR /&gt;&lt;BR /&gt;Good Luck&lt;BR /&gt;&lt;BR /&gt;Ralph</description>
      <pubDate>Tue, 17 Apr 2007 04:09:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978539#M27788</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-04-17T04:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: DRBD Ubuntu Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978540#M27789</link>
      <description>Thank's Ralph!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Apr 2007 20:49:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978540#M27789</guid>
      <dc:creator>Daniel Caçador</dc:creator>
      <dc:date>2007-04-17T20:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: DRBD Ubuntu Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978541#M27790</link>
      <description>Hi There,&lt;BR /&gt;&lt;BR /&gt;Please take a moment to assign points to those who have taken the time to assist you. Here's how:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Gary</description>
      <pubDate>Fri, 27 Apr 2007 06:06:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/drbd-ubuntu-server/m-p/3978541#M27790</guid>
      <dc:creator>Gary Cantwell</dc:creator>
      <dc:date>2007-04-27T06:06:05Z</dc:date>
    </item>
  </channel>
</rss>

