<?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: Setting up several repositories in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323412#M10413</link>
    <description>&lt;P&gt;Something change for 5.9.3 version ? Can't add more them one repository &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 May 2014 00:33:22 GMT</pubDate>
    <dc:creator>Rafael_Bueno</dc:creator>
    <dc:date>2014-05-02T00:33:22Z</dc:date>
    <item>
      <title>Setting up several repositories</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323410#M10411</link>
      <description>&lt;P&gt;How do I set up Nuxeo with several repositories? I want to store some of my documents in the standard Nuxeo database (PostgreSQL for instance, and binaries in the filesystem) and others in Amazon S3.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 12:28:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323410#M10411</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2011-08-16T12:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up several repositories</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323411#M10412</link>
      <description>&lt;P&gt;To set up several Nuxeo repositories, you just have to basically duplicate the &lt;CODE&gt;default-repository-config.xml&lt;/CODE&gt; file (when using Tomcat).&lt;/P&gt;
&lt;P&gt;Start with a one-repository configuration that works. Supposing your database is PostgreSQL, the basic configuration template will live in &lt;CODE&gt;templates/postgresql/nxserver/config/default-repository-config.xml&lt;/CODE&gt;. Note that, in this file, the variables will be replaced based on your &lt;CODE&gt;nuxeo.conf&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;Copy this file into &lt;CODE&gt;templates/custom/nxserver/second-repository-config.xml&lt;/CODE&gt; (create the &lt;CODE&gt;nxserver&lt;/CODE&gt; folder if needed). Make sure that you activate your &lt;EM&gt;custom&lt;/EM&gt; config by adding &lt;CODE&gt;custom&lt;/CODE&gt; in your &lt;CODE&gt;nuxeo.conf&lt;/CODE&gt; in the &lt;CODE&gt;nuxeo.templates&lt;/CODE&gt; section (so for this example you would then have &lt;CODE&gt;nuxeo.templates=postgresql,custom&lt;/CODE&gt;). Then edit your new &lt;CODE&gt;second-repository-config.xml&lt;/CODE&gt; file to point to your second repository:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;change the &lt;CODE&gt;name="default"&lt;/CODE&gt; that appears in two places, replace &lt;EM&gt;default&lt;/EM&gt; with the second repository name, for instance &lt;EM&gt;second&lt;/EM&gt;,&lt;/LI&gt;
&lt;LI&gt;replace the variables that should be different in this repository,&lt;/LI&gt;
&lt;LI&gt;replace the configuration elements that should be different.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For instance, for a second PostgreSQL database with a different name on the same server, you can just replace the &lt;CODE&gt;${nuxeo.db.name}&lt;/CODE&gt;, &lt;CODE&gt;${nuxeo.db.user}&lt;/CODE&gt; and &lt;CODE&gt;${nuxeo.db.password}&lt;/CODE&gt; with new values.&lt;/P&gt;
&lt;P&gt;See the &lt;A href="http://doc.nuxeo.com/x/hwQz"&gt;VCS Configuration page&lt;/A&gt; for more on repository configuration.&lt;/P&gt;
&lt;P&gt;As an other example, for an Amazon S3 configuration, you will want to replace the &lt;CODE&gt;&amp;lt;binaryStore&amp;gt;&lt;/CODE&gt; section with something like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;binaryManager class="org.nuxeo.ecm.core.storage.sql.S3BinaryManager" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And add to your &lt;CODE&gt;nuxeo.conf&lt;/CODE&gt; the S3 configuration values you need:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;nuxeo.s3storage.bucket:&lt;/CODE&gt; &lt;EM&gt;your bucket name&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;nuxeo.s3storage.awsid:&lt;/CODE&gt; &lt;EM&gt;your AWS_ACCESS_KEY_ID&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;nuxeo.s3storage.awssecret:&lt;/CODE&gt; &lt;EM&gt;your AWS_SECRET_ACCESS_KEY&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;nuxeo.s3storage.region:&lt;/CODE&gt; &lt;EM&gt;your region code&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;nuxeo.s3storage.cachesize:&lt;/CODE&gt; &lt;EM&gt;size of the local cache (default is 100 MB)&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;See the &lt;A href="http://doc.nuxeo.com/x/HABu"&gt;Amazon S3 Online Storage&lt;/A&gt; installation instructions for details on this particular configuration.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 12:37:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323411#M10412</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2011-08-16T12:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up several repositories</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323412#M10413</link>
      <description>&lt;P&gt;Something change for 5.9.3 version ? Can't add more them one repository &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2014 00:33:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323412#M10413</guid>
      <dc:creator>Rafael_Bueno</dc:creator>
      <dc:date>2014-05-02T00:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up several repositories</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323413#M10414</link>
      <description>&lt;P&gt;A few things have changed ([NXP-11551](https&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2014 14:47:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323413#M10414</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-05-02T14:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up several repositories</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323414#M10415</link>
      <description>&lt;P&gt;Florent I still need create a platform-config.xml ?&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2014 16:25:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323414#M10415</guid>
      <dc:creator>Rafael_Bueno</dc:creator>
      <dc:date>2014-05-02T16:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up several repositories</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323415#M10416</link>
      <description>&lt;P&gt;Not, this file is not used anymore.&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2014 16:58:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323415#M10416</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-05-02T16:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up several repositories</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323416#M10417</link>
      <description>&lt;P&gt;works perfect!&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2014 19:30:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323416#M10417</guid>
      <dc:creator>Rafael_Bueno</dc:creator>
      <dc:date>2014-05-02T19:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up several repositories</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323417#M10418</link>
      <description>&lt;P&gt;Rafael, can you give a few hints about your solution ?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 14:53:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-up-several-repositories/m-p/323417#M10418</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2015-04-17T14:53:00Z</dc:date>
    </item>
  </channel>
</rss>

