<div dir="ltr"><div>Hi Emmanuel,<br><br></div>Please find the status below,<br><br>[root@node1-emulex ~]# pcs status<br>Cluster name: mycluster<br>Stack: corosync<br>Current DC: node2-atto (version 1.1.15-11.el7_3.4-e174ec8) - partition with quorum<br>Last updated: Sat Apr 29 03:01:41 2017          Last change: Fri Apr 28 11:09:25 2017 by root via cibadmin on node2-atto<br><br>2 nodes and 10 resources configured<br><br>Online: [ node1-emulex node2-atto ]<br><br>Full list of resources:<br><br> scsi   (stonith:fence_scsi):   Started node2-atto<br> Clone Set: dlm-clone [dlm]<br>     Started: [ node1-emulex node2-atto ]<br> Clone Set: clvmd-clone [clvmd]<br>     Started: [ node1-emulex node2-atto ]<br> Clone Set: clusterfs-clone [clusterfs]<br>     Started: [ node1-emulex node2-atto ]<br> ClusterIP      (ocf::heartbeat:IPaddr2):       Started node1-emulex<br> NFS-D  (ocf::heartbeat:nfsserver):     Started node1-emulex<br> nfs-cm-shared  (ocf::heartbeat:exportfs):      Started node2-atto<br><br>Daemon Status:<br>  corosync: active/enabled<br>  pacemaker: active/enabled<br>  pcsd: active/enabled<br>[root@node1-emulex ~]#<br><br>[root@node1-emulex ~]# pcs status resources ClusterIP<br> Resource: ClusterIP (class=ocf provider=heartbeat type=IPaddr2)<br>  Attributes: ip=172.30.59.253 cidr_netmask=19<br>  Operations: start interval=0s timeout=20s (ClusterIP-start-interval-0s)<br>              stop interval=0s timeout=20s (ClusterIP-stop-interval-0s)<br>              monitor interval=30s (ClusterIP-monitor-interval-30s)<br>[root@node1-emulex ~]#<br><br>[root@node1-emulex ~]# pcs status resources NFS-D<br> Resource: NFS-D (class=ocf provider=heartbeat type=nfsserver)<br>  Attributes: nfs_shared_infodir=/mnt/cluster/nfsinfo/ nfs_ip=172.30.59.253<br>  Operations: start interval=0s timeout=40 (NFS-D-start-interval-0s)<br>              stop interval=0s timeout=20s (NFS-D-stop-interval-0s)<br>              monitor interval=10 timeout=20s (NFS-D-monitor-interval-10)<br>[root@node1-emulex ~]#<br><br>[root@node1-emulex ~]# pcs status resources nfs-cm-shared<br> Resource: nfs-cm-shared (class=ocf provider=heartbeat type=exportfs)<br>  Attributes: clientspec=<a href="http://172.30.59.254/255.255.224.0">172.30.59.254/255.255.224.0</a> options=rw,sync,no_root_squash directory=/mnt/cluster/exports/ fsid=0<br>  Operations: start interval=0s timeout=40 (nfs-cm-shared-start-interval-0s)<br>              stop interval=0s timeout=120 (nfs-cm-shared-stop-interval-0s)<br>              monitor interval=10 timeout=20 (nfs-cm-shared-monitor-interval-10)<br>[root@node1-emulex ~]#<br>[root@node1-emulex ~]# mount | grep gfs2<br>/dev/mapper/volgroup-vol on /mnt/cluster type gfs2 (rw,noatime,nodiratime,seclabel)<br>/dev/mapper/volgroup-vol on /var/lib/nfs type gfs2 (rw,noatime,nodiratime,seclabel)<br>[root@node1-emulex ~]#<br><br><div><div><div class="gmail_extra">Thanks,<br></div><div class="gmail_extra">Munavar.<br><br></div><div class="gmail_extra"><div class="gmail_quote">On Sat, Apr 29, 2017 at 3:53 AM, emmanuel segura <span dir="ltr"><<a href="mailto:emi2fast@gmail.com" target="_blank">emi2fast@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">can you provide pcs status ?<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-h5">2017-04-28 17:51 GMT+02:00 Dawood Munavar S M <span dir="ltr"><<a href="mailto:dawood.m@msystechnologies.com" target="_blank">dawood.m@msystechnologies.com</a><wbr>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-h5"><div dir="ltr"><div><div><div><div><font size="2"><span style="font-family:arial,helvetica,sans-serif">Hi,<br><br></span></font></div><font size="2"><span style="font-family:arial,helvetica,sans-serif">Thanks for your reply and the valuable comments.<br><br></span></font></div><font size="2"><span style="font-family:arial,helvetica,sans-serif">Curently I am only sanity testing the Rhel 7.2 cluster configuration with our FC storage arrays, so performance really doesn't matters for us at the moment.<br><br></span></font></div><font size="2"><span style="font-family:arial,helvetica,sans-serif">Also with regard to creating nfs cluster resources over gfs2, we followed the below steps, but still "showmount -e" doesn't list the export entries,<br><br></span></font></div><font size="2"><span style="font-family:arial,helvetica,sans-serif"><b>Note:</b> This steps are followed after mounting gfs2 file systems on cluster nodes,<br></span></font><div><font size="2"><span style="font-family:arial,helvetica,sans-serif"><br>1. pcs resource create ClusterIP ocf:heartbeat:IPaddr2 ip=192.168.2.90  cidr_netmask=24 op monitor interval=30s<br>2. pcs resource create NFS-D nfsserver nfs_shared_infodir=/global/nfs<wbr>info nfs_ip=192.168.2.90</span></font><div><div><font size="2"><span style="font-family:arial,helvetica,sans-serif">3. pcs resource create nfs-cm-shared exportfs clientspec=<a href="http://192.168.2.0/255.255.255.0" target="_blank">192.168.2.0/255.255<wbr>.255.0</a> options=rw,sync,no_root_squash directory=/SAP_SOFT fsid=0<br></span></font></div><div><font size="2"><span style="font-family:arial,helvetica,sans-serif">4. Added resource dependancies<br>5. [root@node2-atto ~]# showmount -e 192.168.2.90<br>Export list for <a href="http://192.168.2.90" target="_blank">192.168.2.90</a>:<br></span></font></div><div><font size="2"><span style="font-family:arial,helvetica,sans-serif">**** No Entries *****<br><br></span></font></div><div><font size="2"><span style="font-family:arial,helvetica,sans-serif">I went through RedHat forums and it is mentioned that <span style="color:rgb(51,51,51);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:22.5625px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline;float:none">Exporting a GFS2 filesystem in an Active/Active configuration is only supported when using <b>Samba+CTDB</b> to export the GFS2 filesystem. Please let us know if its mandatory to configure CTDB when nfs over gfs2 is configured or anyother options is available.<br><br>Thanks,<br></span></span></font></div><div><span style="color:rgb(51,51,51);font-family:overpass,"open sans",helvetica,sans-serif;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:22.5625px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline;float:none"><font size="2"><span style="font-family:arial,helvetica,sans-serif">Munavar.</span></font><br></span></div><div><div class="gmail-m_7692602552533314402h5"><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 28, 2017 at 8:55 PM, Digimer <span dir="ltr"><<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-m_7692602552533314402m_-400312905104324003gmail-">On 28/04/17 06:34 AM, Dawood Munavar S M wrote:<br>
> Hello All,<br>
><br>
> Could you please share any links/documents to create NFS HA cluster over<br>
> gfs2 file system using Pacemaker.<br>
><br>
> Currently I have completed till mounting of gfs2 file systems on cluster<br>
> nodes and now I need to create cluster resources for NFS server, exports<br>
> and mount on client.<br>
><br>
> Thanks,<br>
> Munavar.<br>
<br>
</span>I use gfs2 quite a bit, but not nfs.<br>
<br>
Can I make a suggestion? Don't use gfs2 for this.<br>
<br>
You will have much better performance if you use an active/passive<br>
failover with a non-clustered FS. GFS2, like any cluster FS, needs to<br>
have the cluster handle locks which is always going to be slower (by a<br>
fair amount) than traditional internal FS locking.<br>
<br>
The common NFS HA cluster setup is to have the cluster promote/connect<br>
the backing storage (drbd/iscsi), mount the FS, start nfs and then take<br>
a floating IP address.<br>
<br>
GFS2 is an excellent FS for situations where it is needed, and should be<br>
avoided anywhere possible. :)<br>
<span class="gmail-m_7692602552533314402m_-400312905104324003gmail-HOEnZb"><font color="#888888"><br>
--<br>
Digimer<br>
Papers and Projects: <a href="https://alteeve.com/w/" rel="noreferrer" target="_blank">https://alteeve.com/w/</a><br>
"I am, somehow, less interested in the weight and convolutions of<br>
Einstein’s brain than in the near certainty that people of equal talent<br>
have lived and died in cotton fields and sweatshops." - Stephen Jay Gould<br>
</font></span></blockquote></div><br></div></div></div></div></div></div></div></div></div></div></div><div class="gmail-m_7692602552533314402HOEnZb"><div class="gmail-m_7692602552533314402h5"><div id="gmail-m_7692602552533314402m_-400312905104324003DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid rgb(211,212,222)">
        <tbody><tr>
        <td style="width:55px;padding-top:13px"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" style="width: 46px; height: 29px;" height="29" width="46"></a></td>
                <td style="width:470px;padding-top:12px;color:rgb(65,66,78);font-size:13px;font-family:arial,helvetica,sans-serif;line-height:18px">Virus-free. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" style="color:rgb(68,83,234)" target="_blank">www.avg.com</a>
                </td>
        </tr>
</tbody></table><a href="#m_7692602552533314402_m_-400312905104324003_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>

<br>
<p style="text-align:justify"><span lang="EN-US"><font size="1">DISCLAIMER</font></span></p>

<p style="text-align:justify"><font size="1"><span lang="EN-US">The information in this e-mail is confidential and may be subject to
legal privilege. It is intended solely for the addressee. Access to this e-mail
by anyone else is unauthorized. If you have received this communication in
error, please address with the subject heading "Received in error,"
send to <a href="mailto:it@msystechnologies.com" target="_blank">it@msystechnologies.com</a>,
 then delete the e-mail and destroy any copies of it. If you are not the
intended recipient, any disclosure, copying, distribution or any action taken
or omitted to be taken in reliance on it, is prohibited and may be unlawful.
The views, opinions, conclusions and other information expressed in this
electronic mail and any attachments are not given or endorsed by the company
unless otherwise indicated by an authorized representative independent of this
message.</span></font></p>

<font size="1"><span lang="EN-US">MSys cannot guarantee
that e-mail communications are secure or error-free, as information could be
intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or
contain viruses, though </span>all reasonable
precautions have been taken to ensure no viruses are present in this e-mail<span lang="EN-US">. </span>As our company cannot accept responsibility for
any loss or damage arising from the use of this e-mail or attachments we
recommend that you subject these to your virus checking procedures prior to use</font></div></div><span class="gmail-HOEnZb"><font color="#888888"><br>--<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" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/linux-cluster</a><br></font></span></blockquote></div><span class="gmail-HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="gmail-m_7692602552533314402gmail_signature">  .~.<br>  /V\<br> //  \\<br>/(   )\<br>^`~'^</div>
</font></span></div>
<br>--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/linux-cluster</a><br></blockquote></div><br></div></div></div></div>

<br>
<p style="text-align:justify"><span lang="EN-US"><font size="1">DISCLAIMER</font></span></p>

<p style="text-align:justify"><font size="1"><span lang="EN-US">The information in this e-mail is confidential and may be subject to
legal privilege. It is intended solely for the addressee. Access to this e-mail
by anyone else is unauthorized. If you have received this communication in
error, please address with the subject heading "Received in error,"
send to <a href="mailto:it@msystechnologies.com" target="_blank">it@msystechnologies.com</a>,
 then delete the e-mail and destroy any copies of it. If you are not the
intended recipient, any disclosure, copying, distribution or any action taken
or omitted to be taken in reliance on it, is prohibited and may be unlawful.
The views, opinions, conclusions and other information expressed in this
electronic mail and any attachments are not given or endorsed by the company
unless otherwise indicated by an authorized representative independent of this
message.</span></font></p>

<font size="1"><span lang="EN-US">MSys cannot guarantee
that e-mail communications are secure or error-free, as information could be
intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or
contain viruses, though </span>all reasonable
precautions have been taken to ensure no viruses are present in this e-mail<span lang="EN-US">. </span>As our company cannot accept responsibility for
any loss or damage arising from the use of this e-mail or attachments we
recommend that you subject these to your virus checking procedures prior to use</font>