<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
        {mso-style-priority:1;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.qt-msonormal, li.qt-msonormal, div.qt-msonormal
        {mso-style-name:qt-msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.qt-msonormal1, li.qt-msonormal1, div.qt-msonormal1
        {mso-style-name:qt-msonormal1;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Thank you for your reply.&nbsp; Much appreciated!&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">My DBA has concerns. He mentioned he read case studies that say i/o to ocfs is considerably faster than i/o to NFS and that also I should explain our environment
 further such that </span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">we are writing massive files. &nbsp;we&#8217;re running a 30TB database where we will be incrementally backing up using 15&#43; threads to the storage location on a daily
 basis, and an incremental around 10TB each month.&nbsp; Currently our incremental takes about 4-5 hours to complete, and the full RMAN backup about 18-21 hours.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">He feels ocfs2 is more of a high availability solution than NFS.&nbsp; But I feel NFS presented from NAS to both hosts makes it always available on both hosts anyway.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Problem is a may not get my global SAN to present NAS NFS. &nbsp;And also I am unsure if my network team can provide NAS NFS over a 10GB pipe.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Hopefully you&#8217;re ok with another reply.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Thank you again!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">-Jim A</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> ocfs2-users-bounces@oss.oracle.com &lt;ocfs2-users-bounces@oss.oracle.com&gt;
<b>On Behalf Of </b>Silviu Marin-Caea<br>
<b>Sent:</b> Wednesday, February 26, 2020 9:06 AM<br>
<b>To:</b> ocfs2-users@oss.oracle.com<br>
<b>Subject:</b> Re: [Ocfs2-users] OCFS2 best practices and usage options.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div style="border:solid #9C6500 1.0pt;padding:2.0pt 2.0pt 2.0pt 2.0pt">
<p class="MsoNormal" style="line-height:12.0pt;background:#FFEB9C"><b><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#9C6500">CAUTION:</span></b><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"> This email originated
 from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,sans-serif">NFS, there's no reason for OCFS2 just for backup/restore.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,sans-serif">I would save it to a NFS export over 10 Gb network, not a mounted LUN, so you don't have to worry about filesystem integrity in case node1 fails. To restore, you would not need any additional
 steps like mounting the LUN on node2. You would just restore from the mounted NFS export.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,sans-serif">And I would not use rman compression, so the restore is faster. But even so, restoring 40 TB over 10 Gb would still take 1-2 days.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal">On Tue, Feb 4, 2020, at 21:49, Jim Andrews wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt" id="qt">
<div>
<p class="qt-msonormal1">Hi All,<o:p></o:p></p>
<p class="qt-msonormal1">I am new to OCFS2 and this group.&nbsp; &nbsp;I am not using oracle RAC.&nbsp; I am trying to decide if ocfs2 is the correct tool for the job and I was hoping to get a little feedback about the following scenario.<o:p></o:p></p>
<div>
<p class="MsoNormal">Thanks in advance!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-Jim A<o:p></o:p></p>
</div>
<p class="qt-msonormal1">&nbsp;<o:p></o:p></p>
<p class="qt-msonormal1">We have a scenario such that we plan to do an image copy of the database files using an incremental updated RMAN back to keep them current as well as to have them available on demand to node1 and node2 for restores.&nbsp; Node 1 is where
 the primary DB is and where RMAN runs for backups. The backup files will go on the ocfs2 file system.&nbsp; If node 1 goes down, we still want the RMAN backup available for restore on either node1 or node2 if necessary.&nbsp; Having the shared file system seemed like
 an appropriate option.&nbsp; Our ocfs2 &nbsp;file system requirement is about 40 TB&nbsp; which suggests a cluster size of 16k.<o:p></o:p></p>
<p class="qt-msonormal1">&nbsp;<o:p></o:p></p>
<p class="qt-msonormal1"><b>Oracle support had this to say:</b><o:p></o:p></p>
<p class="qt-msonormal1">My experts are not recommending going with ocfs2 because of various reasons for your scenario.<o:p></o:p></p>
<p class="qt-msonormal1">1. Since multiple nodes uses the file system, locking overhead(DLM) will be there.<o:p></o:p></p>
<p class="qt-msonormal1">2. Using ocfs2 in this case will introduce cluster stack on the db nodes. With the cluster stack comes node monitoring, and potentially eviction in case of issues. Which will put your databases in risk. which seems unnecessary in this
 case because the machines typically don't access the data concurrently, but still mounted.<o:p></o:p></p>
<p class="qt-msonormal1">3. For storing the backups, cluster file systems are not needed.<o:p></o:p></p>
<p class="qt-msonormal1">&nbsp;<o:p></o:p></p>
<p class="qt-msonormal1">Recommendations from our side for your scenario are:<o:p></o:p></p>
<p class="qt-msonormal1">1. Use file systems like xfs,ext4 and mount the file system on primary node to take backup. When you want to do a restore on node2, export this file system using NFS, then mount it on node2 for restoring from the backup. In this case,
 if your node1 is completely powered off, then you cannot use export. But you can still ask storage team to attach this LUN to the node2 and mount it. Then you can restore the db if you want.<o:p></o:p></p>
<p class="qt-msonormal1"><b>2</b>. If there is a NFS share on the Storage server, then export the LUN as a nfs file share from the storage server end and mount the file system as nfs file system on both the db nodes. This way, node2 can access the data all
 the time even when the primary db node is down.<o:p></o:p></p>
<p class="qt-msonormal1">&nbsp;<o:p></o:p></p>
<p class="qt-msonormal1">I was leaning toward recommended option 2.&nbsp;&nbsp; Option 1 does not make the storage readily available on node 2.<o:p></o:p></p>
<p class="qt-msonormal1">&nbsp;<o:p></o:p></p>
<p class="qt-msonormal1">Please provide comments, opinions, suggestions.&nbsp;&nbsp; Is OCFS2 the right tool for the job&nbsp; or&nbsp; NFS.&nbsp;&nbsp; Will the performance be ok in either case.<o:p></o:p></p>
<p class="qt-msonormal1">Thank you<o:p></o:p></p>
<p class="qt-msonormal1">-Jim A<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">_______________________________________________<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Ocfs2-users mailing list<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="https://oss.oracle.com/mailman/listinfo/ocfs2-users">https://oss.oracle.com/mailman/listinfo/ocfs2-users</a><o:p></o:p></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
</div>
</body>
</html>