15.14. Appendix N: Configuring EKM to Use Amazon S3 Data Storage

Engineering Knowledge Manager

Installation Guide | Chapter 15: Appendices |

15.13. Appendix M: Changing the JVM Heap Size |  | 15.15. Appendix O: Creating a Silent Installation File
Prev |  | Next

## 15.14. Appendix N: Configuring EKM to Use Amazon S3 Data Storage

You can configure an EKM server to use the Amazon Simple Storage Service (Amazon S3) provided by Amazon Web Services (AWS) to store repository objects. In order to use S3, you must have an AWS account.

Important: These steps must be done when the repository is clear, such as before starting EKM for the first time, or after clearing the repository. See Appendix K: Clearing the Repository for instructions on clearing the repository.

To configure EKM server to use Amazon S3, perform the following steps on each EKM cluster node:

1. Edit the file `EKM_HOME/conf/aws.properties`.

   Specify the following values:

   `accesskey`: Your AWS account ID
   `secretkey`: Your AWS secret key
   `s3Bucket`: Your AWS bucket name
   `s3Region`: Your AWS bucket region

2. Edit the file `REPOSITORIES_HOME/repository.xml.template`.

   Replace the content of the `DataStore` element with the following:

           <DataStore class="org.apache.jackrabbit.aws.ext.ds.S3DataStore">
               <param name="config" value="full path to aws.properties file within EKM_HOME/conf"/>
               <param name="minRecordLength " value="16384"/>
               <param name="cacheSize" value="68719476736"/>
               <param name="cachePurgeTrigFactor" value="0.95d"/>
               <param name="cachePurgeResizeFactor" value="0.85d"/>
               <param name="continueOnAsyncUploadFailure" value="false"/>
               <param name="concurrentUploadsThreads" value="10"/>
               <param name="asyncUploadLimit" value="0"/>
               <param name="uploadRetries" value="3"/>
           </DataStore>

3. Edit the file `REPOSITORIES_HOME/cacheStore/repository.xml`.

   Replace the content of the `DataStore` element with the content shown in the step above.

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Prev | Up / Contents | Next

Release 18.2 - © ANSYS, Inc. All rights reserved.