<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Nuxeo cluster shared nuxeo.tmp.dir causing problems due to nuxeo-launcher jar naming contention in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325949#M12950</link>
    <description>&lt;P&gt;Yes having &lt;CODE&gt;nuxeo.tmp.dir&lt;/CODE&gt; point to different parts of a shared filesystem depending on the node is a good way to solve the issue.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2013 16:06:55 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2013-11-15T16:06:55Z</dc:date>
    <item>
      <title>Nuxeo cluster shared nuxeo.tmp.dir causing problems due to nuxeo-launcher jar naming contention</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325943#M12944</link>
      <description>&lt;P&gt;According to &lt;A href="http://answers.nuxeo.com/questions/5639/must-javaiotmpdir-be-on-the-same-filesystem-as-the-binary-store-in-order-to-leverage-nxp-9361-no-copy-optimization"&gt;this answer&lt;/A&gt;, it is a best practice for nodes in a Nuxeo cluster to share their nuxeo.tmp.dir. When doing so, must each node in the cluster have its own tmpdir on the binary store filesystem? I am encountering nuxeo-launcher jar file naming collisions causing NFS stale file handle errors when multiple servers in a cluster share their tmpdir and I simultaneous invoke nuxeoctl operations (using Ansible) on all nodes in the cluster.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2013 19:46:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325943#M12944</guid>
      <dc:creator>rg1_</dc:creator>
      <dc:date>2013-11-06T19:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo cluster shared nuxeo.tmp.dir causing problems due to nuxeo-launcher jar naming contention</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325944#M12945</link>
      <description>&lt;P&gt;In cluster mode it's &lt;EM&gt;not&lt;/EM&gt; recommended at all to share &lt;CODE&gt;nuxeo.tmp.dir&lt;/CODE&gt;, there are many libraries we don't control which could have a problem with it. This means in turn that you can't leverage the &lt;A href="https://jira.nuxeo.com/browse/NXP-9361"&gt;NXP-9361&lt;/A&gt; no-copy optimizations...&lt;/P&gt;
&lt;P&gt;On the other hand if the only problems you have are due to nuxeo-launcher jar file naming then we could fix this on our end and allow tmp sharing. Please open a JIRA ticket.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Edit&lt;/STRONG&gt;: the simplest and surest way is probably to have a shared filesystem but make each node point its &lt;CODE&gt;nuxeo.tmp.dir&lt;/CODE&gt; to a different subdirectory in it.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2013 16:45:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325944#M12945</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-11-07T16:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo cluster shared nuxeo.tmp.dir causing problems due to nuxeo-launcher jar naming contention</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325945#M12946</link>
      <description>&lt;P&gt;Please clarify.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2013 20:28:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325945#M12946</guid>
      <dc:creator>rg1_</dc:creator>
      <dc:date>2013-11-08T20:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo cluster shared nuxeo.tmp.dir causing problems due to nuxeo-launcher jar naming contention</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325946#M12947</link>
      <description>&lt;P&gt;If you want the benefits of NXP-9361 in cluster mode then the name collision you see has to be fixed. Given the code in &lt;CODE&gt;nuxeoctl&lt;/CODE&gt;, the launcher in the tmp dir (which is there to allow the launcher to update itself) should be named &lt;CODE&gt;nuxeo-launcher-$RANDOM.jar&lt;/CODE&gt; where &lt;CODE&gt;$RANDOM&lt;/CODE&gt; is randomly generated by bash and should be collision-free (although &lt;CODE&gt;mktemp&lt;/CODE&gt; would be better). Is that not the case for you? Please open a ticket if you have enough info for us to track this down.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 19:01:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325946#M12947</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-11-12T19:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo cluster shared nuxeo.tmp.dir causing problems due to nuxeo-launcher jar naming contention</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325947#M12948</link>
      <description>&lt;P&gt;And yes once that bug is fixed using a shared &lt;CODE&gt;nuxeo.tmp.dir&lt;/CODE&gt; should be ok.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 19:02:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325947#M12948</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-11-12T19:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo cluster shared nuxeo.tmp.dir causing problems due to nuxeo-launcher jar naming contention</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325948#M12949</link>
      <description>&lt;P&gt;As mentioned above, I'm using Ansible with an ssh connection to remotely manage the multiple Nuxeo nodes in my cluster. We regularly see nuxeo-launcher jar collisions when we remotely execute nuxeoctl commands simultaneously across all nodes in the cluster. For now, we have updated each nodes' nuxeo.conf to set nuxeo.tmp.dir to a unique, node-specific directory within the shared binary file system to work around this issue.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 17:33:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325948#M12949</guid>
      <dc:creator>rg1_</dc:creator>
      <dc:date>2013-11-13T17:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo cluster shared nuxeo.tmp.dir causing problems due to nuxeo-launcher jar naming contention</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325949#M12950</link>
      <description>&lt;P&gt;Yes having &lt;CODE&gt;nuxeo.tmp.dir&lt;/CODE&gt; point to different parts of a shared filesystem depending on the node is a good way to solve the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 16:06:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325949#M12950</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-11-15T16:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo cluster shared nuxeo.tmp.dir causing problems due to nuxeo-launcher jar naming contention</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325950#M12951</link>
      <description>&lt;P&gt;Thanks. Given our discussion, you might consider updating your original answer since I found it a bit confusing (I would like to be able to mark it as the accepted answer). Also, if pointing nuxeo.tmp.dir to different parts of a shared filesystem depending on the node is a best practice, would it make sense to update the cluster documentation accordingly?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 17:53:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325950#M12951</guid>
      <dc:creator>rg1_</dc:creator>
      <dc:date>2013-11-15T17:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo cluster shared nuxeo.tmp.dir causing problems due to nuxeo-launcher jar naming contention</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325951#M12952</link>
      <description>&lt;P&gt;Answer updated and doc (http&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2013 14:53:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-cluster-shared-nuxeo-tmp-dir-causing-problems-due-to-nuxeo/m-p/325951#M12952</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-11-27T14:53:28Z</dc:date>
    </item>
  </channel>
</rss>

