Can we configure an s3 failover bucket for Artifactory?

Disha Meswania
2019-05-06 13:51

Summary

S3 failover bucket for Artifactory

Details

Currently, the binarystore.xml is not able to add a secondary/failover S3 bucket. This means that there will need to be a manual switch in the binarystore.xml during the failover. 

Resolution

This can be achieved by:

  • Setting up replication from primary.s3 to secondary.s3
    • if primary.s3 fails, you will manually add new binarystore.xml pointing to secondary.s3, perform rolling restart on Artifactory
    • Reverse this for recovery

  • Set up cold Artifactory DR
    • DR site binarystore.xml points to secondary.s3
    • Replicate primary.s3 to secondary.s3, same with database
    • During primary.s3 outage, enter license into DR site's artifactory