Cluster-File-System Binary Provider

JFrog Installation & Setup Documentation

Content Type
Installation & Setup

When using the cluster-file-system template, each node has its own local filestore (just like in the file-system binary provider) and is connected to all other cluster nodes via dynamically allocated Remote Binary Providers using the Sharding-Cluster Binary Provider.

Cluster-File-System Template Configuration

If you choose to use the cluster-file-system template, your binarystore.xml configuration file should look as follows:

<config version="2">
    <chain template="cluster-file-system"/>

What's in the template

While you don't need to configure anything else in your binarystore.xml, this is what the cluster-file-system template looks like under the hood:

<config version="2">
    <chain> <!--template="cluster-file-system"-->
        <provider id="cache-fs" type="cache-fs">
            <provider id="sharding-cluster" type="sharding-cluster">
                <sub-provider id="state-aware" type="state-aware"/>
                <dynamic-provider id="remote-fs" type="remote"/>
    <provider id="state-aware" type="state-aware">
    <!-- Shard dynamic remote provider configuration -->
    <provider id="remote-fs" type="remote">
    <provider id="sharding-cluster" type="sharding-cluster">
        <property name="zones" value="local,remote"/>

Details about the cache-fs provider can be found in the Cached Filesystem Binary Provider section.

Details about the sharding-cluster can be found in the Sharding-Cluster Binary Provider section.

Details about the state-aware sub-provider can be found in the State-Aware Binary Provider section.