[prev in list] [next in list] [prev in thread] [next in thread] 

List:       redhat-linux-cluster
Subject:    Re: [Linux-cluster] help
From:       emmanuel segura <emi2fast () gmail ! com>
Date:       2014-01-08 9:39:56
Message-ID: CAE7pJ3AG4BRHmN=+DEuXaD+3eKvp3BZaktRQUg0VWSKWGbaTsw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


sorry for the short answer, but if you want more information read the
script /etc/init.d/cman, if you are using cman+pacemaker for gfs2


2014/1/8 emmanuel segura <emi2fast@gmail.com>

> I think, if you are using cman+pacemaker you don't need pacemaker:controld
>
> look this link http://www.drbd.org/users-guide/s-gfs-configure-cman.html
>
>
> 2014/1/8 emmanuel segura <emi2fast@gmail.com>
>
>> I tried on centos 6.3 "yum search dlm", but nothing found, on suse i got
>> something different
>>
>> pcmk01:~ # which dlm_controld
>> /usr/sbin/dlm_controld
>> pcmk01:~ # rpm -qf /usr/sbin/dlm_controld
>> libdlm-4.0.2-1.2.x86_64
>>
>>
>>
>> 2014/1/8 Nishant Singhal <nishantsingal@gmail.com>
>>
>>> Hi Team,
>>>
>>> I am getting one error while i am configuring Active/Active Gfs2
>>> clustering via clusterlab from scratch. I am using RHEL6.2 and i have
>>> install HA full Package.
>>>
>>> my configure is below
>>> node pcmk-1 \
>>>         attributes standby="off"
>>> node pcmk-2 \
>>>         attributes standby="off"
>>> primitive ClusterIP ocf:heartbeat:IPaddr2 \
>>>         params ip="192.168.123.175" 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/drbd/by-res/wwwdata"
>>> directory="/var/www/html" fstype="ext4" \
>>>         meta target-role="Stopped"
>>> primitive WebSite ocf:heartbeat:apache \
>>>         params configfile="/etc/httpd/conf/httpd.conf" statusurl="
>>> http://localhost/server-status" \
>>>         op monitor interval="1min"
>>> primitive dlm ocf:pacemaker:controld \
>>>         op monitor interval="60s"
>>> ms WebDataClone WebData \
>>>         meta master-max="1" master-node-max="1" clone-max="2"
>>> clone-node-max="1" notify="true"
>>> clone dlm_clone dlm \
>>>         meta clone-max="2" clone-node-max="1"
>>> location prefer-pcmk-1 WebSite 50: pcmk-1
>>> colocation WebSite-with-WebFS inf: WebSite WebFS
>>> colocation fs_on_drbd inf: WebFS WebDataClone:Master
>>> colocation website-with-ip inf: WebSite ClusterIP
>>> order WebFS-after-WebData inf: WebDataClone:promote WebFS:start
>>> order WebSite-after-WebFS inf: WebFS WebSite
>>> order apache-after-ip inf: ClusterIP WebSite
>>> property $id="cib-bootstrap-options" \
>>>
>>> dc-version="1.1.6-3.el6-a02c0f19a00c1eb2527ad38f146ebc0834814558" \
>>>         cluster-infrastructure="openais" \
>>>         expected-quorum-votes="2" \
>>>         stonith-enabled="false" \
>>>         no-quorum-policy="ignore"
>>> rsc_defaults $id="rsc-options" \
>>>         resource-stickiness="100"
>>> op_defaults $id="op-options" \
>>>         timeout="240s"
>>>
>>> crm_mon -1
>>> -------------------
>>> Last updated: Wed Jan  8 11:11:43 2014
>>> Last change: Tue Jan  7 17:59:29 2014 via crm_shadow on pcmk-1
>>> Stack: openais
>>> Current DC: pcmk-1 - partition with quorum
>>> Version: 1.1.6-3.el6-a02c0f19a00c1eb2527ad38f146ebc0834814558
>>> 2 Nodes configured, 2 expected votes
>>> 7 Resources configured.
>>> ============
>>>
>>> Online: [ pcmk-1 pcmk-2 ]
>>>
>>>  ClusterIP      (ocf::heartbeat:IPaddr2):       Started pcmk-1
>>>  Master/Slave Set: WebDataClone [WebData]
>>>      Masters: [ pcmk-1 ]
>>>      Slaves: [ pcmk-2 ]
>>>
>>> Failed actions:
>>>     dlm:0_monitor_0 (node=pcmk-1, call=6, rc=5, status=complete): not
>>> installed
>>>     dlm:0_monitor_0 (node=pcmk-2, call=6, rc=5, status=complete): not
>>> installed
>>>
>>>
>>> Kindly help me to resolve the dlm issue.
>>>
>>> Thanks & Regards
>>> Nishant Kumar
>>>
>>> --
>>> Linux-cluster mailing list
>>> Linux-cluster@redhat.com
>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>
>>
>>
>>
>> --
>> esta es mi vida e me la vivo hasta que dios quiera
>>
>
>
>
> --
> esta es mi vida e me la vivo hasta que dios quiera
>



-- 
esta es mi vida e me la vivo hasta que dios quiera

[Attachment #5 (text/html)]

<div dir="ltr">sorry for the short answer, but if you want more information read the \
script /etc/init.d/cman, if you are using cman+pacemaker for gfs2<br></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">2014/1/8 emmanuel segura <span \
dir="ltr">&lt;<a href="mailto:emi2fast@gmail.com" \
target="_blank">emi2fast@gmail.com</a>&gt;</span><br> <blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div \
dir="ltr"><div>I think, if you are using cman+pacemaker you don&#39;t need \
pacemaker:controld<br><br></div>look this link <a \
href="http://www.drbd.org/users-guide/s-gfs-configure-cman.html" \
target="_blank">http://www.drbd.org/users-guide/s-gfs-configure-cman.html</a><br>

</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div \
class="gmail_quote">2014/1/8 emmanuel segura <span dir="ltr">&lt;<a \
href="mailto:emi2fast@gmail.com" \
target="_blank">emi2fast@gmail.com</a>&gt;</span><br> <blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div \
dir="ltr">I tried on centos 6.3 &quot;yum search dlm&quot;, but nothing found, on \
suse i got something different<br><br>pcmk01:~ # which dlm_controld \
<br>/usr/sbin/dlm_controld<br>pcmk01:~ # rpm -qf /usr/sbin/dlm_controld<br>


libdlm-4.0.2-1.2.x86_64<br><br></div><div class="gmail_extra"><br><br><div \
class="gmail_quote">2014/1/8 Nishant Singhal <span dir="ltr">&lt;<a \
href="mailto:nishantsingal@gmail.com" \
target="_blank">nishantsingal@gmail.com</a>&gt;</span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div><div><div \
dir="ltr"><div><div><div><div><div><div><div>Hi Team,<br><br></div>I am getting one \
error while i am configuring Active/Active Gfs2 clustering via clusterlab from \
scratch. I am using RHEL6.2 and i have install HA full Package.<br>



<br></div>my configure is below<br>node pcmk-1 \<br>        attributes \
standby=&quot;off&quot;<br>node pcmk-2 \<br>        attributes \
standby=&quot;off&quot;<br>primitive ClusterIP ocf:heartbeat:IPaddr2 \<br>        \
params ip=&quot;192.168.123.175&quot; cidr_netmask=&quot;32&quot; \<br>



        op monitor interval=&quot;30s&quot;<br>primitive WebData ocf:linbit:drbd \
\<br>        params drbd_resource=&quot;wwwdata&quot; \<br>        op monitor \
interval=&quot;60s&quot;<br>primitive WebFS ocf:heartbeat:Filesystem \<br>



        params device=&quot;/dev/drbd/by-res/wwwdata&quot; \
directory=&quot;/var/www/html&quot; fstype=&quot;ext4&quot; \<br>        meta \
target-role=&quot;Stopped&quot;<br>primitive WebSite ocf:heartbeat:apache \<br>       \
params configfile=&quot;/etc/httpd/conf/httpd.conf&quot; statusurl=&quot;<a \
href="http://localhost/server-status" \
target="_blank">http://localhost/server-status</a>&quot; \<br>



        op monitor interval=&quot;1min&quot;<br>primitive dlm ocf:pacemaker:controld \
\<br>        op monitor interval=&quot;60s&quot;<br>ms WebDataClone WebData \<br>     \
meta master-max=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot; \
clone-node-max=&quot;1&quot; notify=&quot;true&quot;<br>



clone dlm_clone dlm \<br>        meta clone-max=&quot;2&quot; \
clone-node-max=&quot;1&quot;<br>location prefer-pcmk-1 WebSite 50: \
pcmk-1<br>colocation WebSite-with-WebFS inf: WebSite WebFS<br>colocation fs_on_drbd \
inf: WebFS WebDataClone:Master<br>



colocation website-with-ip inf: WebSite ClusterIP<br>order WebFS-after-WebData inf: \
WebDataClone:promote WebFS:start<br>order WebSite-after-WebFS inf: WebFS \
WebSite<br>order apache-after-ip inf: ClusterIP WebSite<br>property \
$id=&quot;cib-bootstrap-options&quot; \<br>



        dc-version=&quot;1.1.6-3.el6-a02c0f19a00c1eb2527ad38f146ebc0834814558&quot; \
\<br>        cluster-infrastructure=&quot;openais&quot; \<br>        \
expected-quorum-votes=&quot;2&quot; \<br>        stonith-enabled=&quot;false&quot; \
\<br>



        no-quorum-policy=&quot;ignore&quot;<br>rsc_defaults \
$id=&quot;rsc-options&quot; \<br>        \
resource-stickiness=&quot;100&quot;<br>op_defaults $id=&quot;op-options&quot; \<br>   \
timeout=&quot;240s&quot;<br>


<br>
</div>crm_mon -1<br>-------------------<br>Last updated: Wed Jan  8 11:11:43 \
2014<br>Last change: Tue Jan  7 17:59:29 2014 via crm_shadow on pcmk-1<br>Stack: \
openais<br>Current DC: pcmk-1 - partition with quorum<br>Version: \
1.1.6-3.el6-a02c0f19a00c1eb2527ad38f146ebc0834814558<br>



2 Nodes configured, 2 expected votes<br>7 Resources \
configured.<br>============<br><br>Online: [ pcmk-1 pcmk-2 ]<br><br> ClusterIP      \
(ocf::heartbeat:IPaddr2):       Started pcmk-1<br> Master/Slave Set: WebDataClone \
[WebData]<br>



     Masters: [ pcmk-1 ]<br>     Slaves: [ pcmk-2 ]<br><br>Failed actions:<br>    \
dlm:0_monitor_0 (node=pcmk-1, call=6, rc=5, status=complete): not installed<br>    \
dlm:0_monitor_0 (node=pcmk-2, call=6, rc=5, status=complete): not installed<br>



</div><br><br></div>Kindly help me to resolve the dlm issue.<br><br></div>Thanks \
&amp; Regards<br></div>Nishant Kumar<br></div> <br></div></div><span><font \
color="#888888">--<br> Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com" \
target="_blank">Linux-cluster@redhat.com</a><br> <a \
href="https://www.redhat.com/mailman/listinfo/linux-cluster" \
target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br></font></span></blockquote></div><span><font \
color="#888888"><br> <br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta \
que dios quiera </font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta \
que dios quiera </div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la \
vivo hasta que dios quiera </div>



-- 
Linux-cluster mailing list
Linux-cluster@redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic