Migrating an HA Artifactory cluster

How to migrate from "s3" to "cluster-s3"?

AuthorFullName__c
Ariel Kabov
articleNumber
000004536
ft:sourceType
Salesforce
FirstPublishedDate
2019-09-01T06:44:31Z
lastModifiedDate
2024-03-10T07:47:44Z
VersionNumber
5
  1. Make sure Artifactory Garbage Collection will not run during this procedure.
  2. While Artifactory is still running, update the $ARTIFACTORY_HOME/etc/binarystore.xml of the primary node with the desired final configuration. Confirm the configuration change has successfully propagated to all other cluster nodes.
  3. For each node, if configured, remove the “artifactory.ha.data.dir” entry from the $ARTIFACTORY_HOME/etc/ha-node.properties.
  4. Take off the network and shut down all member nodes.
  5. Take the primary node off the network to block new uploads.
  6. Monitor the “_add” directory (at the previously configured $artifactory.ha.data.dir/eventual/_add/).
  7. Once the “_add” directory is empty, restart the primary node.
  8. Return the primary node to the network and restore GC configurations.
  9. Start each node at a time, and add it back to the network.
  10. Confirm that both $artifactory.ha.data.dir/eventual/_add/ and $artifactory.ha.data.dir/eventual/_delete/ are empty. If one of these isn’t empty, run the below referenced “Convert script” (on any of the nodes).
  11. The shared mount is probably not needed anymore, you can remove/disable it.