Is there anywhere you could point me that could show me how to do the LVM resource for this setup. Like I said I am still learning. As you can see this is to cluster the apache data directory.
Thanks again. On Tue, Jun 1, 2010 at 9:33 AM, Chris May <[email protected]> wrote: > > > On Tue, Jun 1, 2010 at 9:31 AM, Chris May <[email protected]> wrote: > >> Sorry the full error is below followed by the configs. >> >> RA output: (WebFS:start:stderr) 2010/06/01_09:25:09 ERROR: Couldn't >> sucessfully fsck filesystem for /dev/mapper/VolGroup-drbd--demo > > > >> >> >> Cluster configs: >> >> node cluster1 \ >> >> attributes standby="off" >> node cluster2 >> primitive ClusterIP ocf:heartbeat:IPaddr2 \ >> params ip="172.16.101.194" cidr_netmask="32" \ >> op monitor interval="30s" >> primitive WebData ocf:linbit:drbd \ >> params drbd_resource="wwwdata" \ >> op monitor interval="60s" >> primitive WebFS ocf:heartbeat:Filesystem \ >> params device="/dev/mapper/VolGroup-drbd--demo" >> directory="/var/www/html" fstype="ext4" >> primitive WebSite ocf:heartbeat:apache \ >> params configfile="/etc/httpd/conf/httpd.conf" \ >> op monitor interval="1min" \ >> meta target-role="Started" >> ms WebDataClone WebData \ >> meta master-max="1" master-node-max="1" clone-max="2" >> clone-node-max="1" notify="true" >> colocation WebSite-with-WebFS inf: WebSite WebFS >> colocation fs_on_drbd inf: WebFS WebDataClone:Master >> order WebFS-after-WebData inf: WebDataClone:promote WebFS:start >> order WebSite-after-WebFS inf: WebFS WebSite >> property $id="cib-bootstrap-options" \ >> dc-version="1.0.7-d3fa20fc76c7947d6de66db7e52526dc6bd7d782" \ >> cluster-infrastructure="openais" \ >> expected-quorum-votes="2" \ >> stonith-enabled="false" \ >> no-quorum-policy="ignore" \ >> default-resource-stickiness="1000" \ >> last-lrm-refresh="1274973938" >> >> Drbd: >> >> global{ >> usage-count yes; >> } >> common{ >> protocol C; >> } >> resource wwwdata{ >> meta-disk internal; >> device /dev/drbd1; >> syncer{ >> verify-alg sha1; >> } >> net{ >> allow-two-primaries; >> } >> on cluster1{ >> disk /dev/mapper/VolGroup-drbd--demo; >> address 172.16.101.171:7789; >> } >> on cluster2{ >> disk /dev/mapper/VolGroup-drbd--demo; >> address 172.16.101.191:7789; >> } >> } >> >> Thanks for any help. >> >> >> >> >> >> On Mon, May 31, 2010 at 7:16 AM, Dejan Muhamedagic >> <[email protected]>wrote: >> >>> Hi, >>> >>> On Thu, May 27, 2010 at 11:59:01AM -0400, Chris May wrote: >>> > I have a basic 2 node cluster running Apache / Drbd / . When the >>> Filesystem >>> > Resource attempts to start the error that comes threw the logs is " >>> Couldnt >>> > sucessfully fsck filesystem for /dev/mapper/VolGroup-drbd" . >>> >>> By the way this name sounds it looks like it's trying to check >>> the volume group. Is that so? >>> >>> > Any help or suggestions to fix this issue would be apprecitaed. Also if >>> I >>> > need to post more information please let me know --- >>> >>> Not much one can do without looking at the configuration and >>> logs. It could be just a simple user error. >>> >>> Thanks, >>> >>> Dejan >>> >>> > Thanks >>> > >>> > -- >>> > Chris May >>> > Sr. Linux Admin >>> > Stonemor Partners, LP >>> > 215.826.2944 >>> > [email protected] >>> > _______________________________________________ >>> > 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 >>> >> >> >> >> -- >> Chris May >> Sr. Linux Admin >> Stonemor Partners, LP >> 215.826.2944 >> [email protected] >> > > > > -- > Chris May > Sr. Linux Admin > Stonemor Partners, LP > 215.826.2944 > [email protected] > -- Chris May Sr. Linux Admin Stonemor Partners, LP 215.826.2944 [email protected] _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
