Uploaded image for project: 'Nuxeo Documentation'
  1. Nuxeo Documentation
  2. NXDOC-2084

Add Glacier connector documentation

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 10.10, 11.1
    • Fix Version/s: None
    • Component/s: Core Dev Guide (CORG)

      Description

      We need to provide a new documentation on how we configure the S3 Glacier.

      1. The Glacier connector needs two main configurations:

      Create a new S3 bucket in AWS with a Lifecycle Rule which defines that each uploaded Blob will be stored in Glacier (S3 StorageClass).

      Once the bucket is defined, in Nuxeo we must add a new contribution:

      <extension target="org.nuxeo.ecm.core.blob.BlobManager" point="configuration">
          <blobprovider name="glacier">
              <class>org.nuxeo.ecm.blob.s3.S3BlobProvider</class>
              <property name="awsid">AWS_ID</property> 
              <property name="awssecret">AWS_SECRET</property> 
              <property name="region">REGION</property>
              <property name="bucket">NEW_CREATED_BUCKET</property>
              .....
          </blobprovider>
      </extension>
      

      see documentation for more details

      and the second contribution will be the blobl dispatcher

      <extension target="org.nuxeo.ecm.core.blob.DocumentBlobManager" point="configuration">
              <blobdispatcher>
                <class>org.nuxeo.ecm.core.blob.DefaultBlobDispatcher</class>
                <property name="blob:xpath=coldstorage:coldContent">glacier</property>
                <property name="default">default</property>
              </blobdispatcher>
          </extension>
      

      more on blob dispatcher see here

      The above configuration is needed whatever you current blob storage (it means even if you are already with a blob in S3 Storage....)

      In documentation we should mention that when we configure a Lifecycle S3 it will be effective at the midnight (here)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty