HA Architecture
The HA architecture consists of 3 building blocks: load balancer, application(s) and common2022世界杯阿根廷预选赛赛程.
Getting Help
JFrog support team is available to help you configure the JFrog service's cluster nodes. It is up to your organization's IT staff to configure your load balancer, database and object store.
Load Balancer
The load balancer is the entry point to your JFrog Platform Deployment and optimally distributes requests to the nodes in your system. The load balancer is only required for the Artifactory service, which is then responsible to route and balance between the nodes of the other services. For additional information refer toConfiguring Load Balancer.
Application
A JFrog service (or application) running in HA mode represents a cluster of two or more nodes that share common resources.
- All JFrog services (Artifactory, Xray, Mission Control, Distribution) can be run in HA mode, though only Artifactory requires a load balancer.
- Each cluster node runs all microservices, described in theSystem Architecture.
Common Resources
Each service requires a set of common resources. The resources vary per service but typically include at least one database.
Local Area Network
To ensure good performance, all the components of your HA installation must be installed on the same high-speed LAN.
In theory, HA could work over a Wide Area Network (WAN), however in practice, network latency makes it impractical to achieve the performance required for high availability systems.
Cloud-Native High Availability
From Artifactory 7.17.4, all nodes in the high availability cluster can perform tasks such as replication, garbage collection, backups, exporting, and importing. Every node in the cluster can serve any of the mentioned tasks and if any node goes down, the different nodes in the cluster will be able to perform these tasks instead. By default, when adding a new node (member) to the cluster, it will be able to perform cluster-wide tasks without user intervention.
The"taskAffinity": "any"
attribute is set by default, on all the nodes in the cluster, when installing an Artifactory version 7.17.4 and above and is configured under theNodes
section in the Artifactory Configuration YAML. To remove this functionality from a node, set"taskAffinity": "none"
.
Backward Compatibility when Upgrading HA Environments
To maintain backward compatibility, when upgrading to Artifactory 7.17.4 from a previous version, theprimary: true
attribute is maintained.
To use this new functionality, add thetaskAffinity
:any
to each of the nodes in the cluster in theArtifactory System YAML.
Installing and Upgrading to HA
For additional information refer to theInstallationandupgradesections: