I think there are plenty of uses for gfs2 ontop of drbd... but I could 
be wrong. For example, if you're looking for an active/active 
configuration but don't have access to a SAN for shared storage (say, 
perhaps due to cost). Using DRBD allows you to simply use the internal 
disks on both nodes for your shared storage. Then you obviously need a 
clustered file system to ride on top of that, and gfs2 fits the bill.

On 09/14/10 14:41, Peter Larsen wrote:
> Ok, I ventured into the linux-ha from using OCFS and a few other
> commercial solutions a few years ago. I realized it's been a few years
> since I last played with clustered file systems so I started from
> scratch with "Clusters from Scratch".
>
> My platform is two VMs running Fedora 13. While the guide is written for
> F12 most of the stuff mentioned didn't change, except drbd is included
> with F13. In general, the guide is very informative, but there are quite
> a few misleading/errors in there - in particular in the DRBD and gfs2
> sections.
>
> I have a shared disk setup between my two VMs. Since my history is
> databases that's how most of my clusters have worked: shared disks
> between multiple active nodes. The guide basically uses gfs2 on top of
> drbd which confuses me (why would you EVER want to do that?). And while
> it briefly mentions a shared disk setup, it doesn't say HOW.
>
> I've had a few pointers (thank you very much) on #linux-ha. But I'm
> stuck in how to get cl2 (the second node) to mount and serve the gfs2
> shared partition (/dev/vdb1 in my example). Right now, things mount and
> looks right on cl1 (the first node). But I don't see the mount point
> mounted on cl2.
>
> Since my ultimate goal here is learning, I was wondering if anyone knew
> of a guide that would talk to the active/active setup of GFS2?
>
> Here's my current configuration. It's basic/primitive I know. Any ideas
> on how I can get the last few things up and working?
>
> crm(live)# configure show
> node cl1 \
>          attributes standby="off"
> node cl2
> primitive ClusterIP ocf:heartbeat:IPaddr2 \
>          params ip="192.168.199.210" cidr_netmask="32" \
>          op monitor interval="30s"
> primitive WebFS ocf:heartbeat:Filesystem \
>          params device="/dev/vdb1" directory="/var/www/html"
> fstype="gfs2"
> primitive WebSite ocf:heartbeat:apache \
>          params configfile="/etc/httpd/conf/httpd.conf" \
>          op monitor interval="60s"
> primitive dlm ocf:pacemaker:controld \
>          op monitor interval="120s"
> primitive gfs-control ocf:pacemaker:controld \
>          params daemon="gfs_controld.pcmk" args="-g 0" \
>          op monitor interval="120s"
> clone dlm-clone dlm \
>          meta interleave="true"
> clone gfs-clone gfs-control \
>          meta interleave="true"
> colocation WebSite-with-WebFS inf: WebSite WebFS
> colocation gfs-with-dlm inf: gfs-clone dlm-clone
> colocation website-with-ip inf: WebSite ClusterIP
> order WebSite-after-WebFS inf: WebFS WebSite
> order apache-after-ip inf: ClusterIP WebSite
> order start-gfs-after-dlm inf: dlm-clone gfs-clone
> property $id="cib-bootstrap-options" \
>          dc-version="1.1.1-972b9a5f68606f632893fceed658efa085062f55" \
>          cluster-infrastructure="openais" \
>          expected-quorum-votes="2" \
>          stonith-enabled="false" \
>          no_quorum-policy="ignore" \
>          no-quorum-policy="ignore" \
>          last-lrm-refresh="1284509691"
>
>
>    
>
>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to