# IPFS Cluster

**URL:** https://discuss.ipfs.tech/c/help/help-ipfs-cluster/24.md?page=3

[Latest](https://discuss.ipfs.tech/latest.md) · [Categories](https://discuss.ipfs.tech/categories.md) · [Tags](https://discuss.ipfs.tech/tags.md)

**Page:** 4

---

## [Ipfs cluster general queries](https://discuss.ipfs.tech/t/ipfs-cluster-general-queries/8650)

<div class="topic-metadata">

**Author:** [@srikanthkaja31](https://discuss.ipfs.tech/u/srikanthkaja31)\
**Replies:** 1\
**Last updated:** [July 14, 2020, 2:33pm UTC](https://discuss.ipfs.tech/t/ipfs-cluster-general-queries/8650 "2020-07-14T14:33:41Z")

</div>

Hello Community, I have some basic design questions regarding IPFS Cluster. Does IPFS Cluster has auto failover in case a node is down? Based on replication factor, does it failover to and pin the file to another runn…

---

## [How to expose all Prometheus metrics?](https://discuss.ipfs.tech/t/how-to-expose-all-prometheus-metrics/8603)

<div class="topic-metadata">

**Author:** [@kdelwat](https://discuss.ipfs.tech/u/kdelwat)\
**Replies:** 1\
**Last updated:** [July 6, 2020, 11:24am UTC](https://discuss.ipfs.tech/t/how-to-expose-all-prometheus-metrics/8603 "2020-07-06T11:24:30Z")

</div>

I’ve set up my IPFS-cluster daemon to expose metrics on port 8888, in service.json like so: ... "observations": { "metrics": { "enable\_stats": true, "prometheus\_endpoint": "/ip4/0.0.0.0/tcp/8888", …

---

## [How does IPFS Cluster store the file? Is Segmentation possible?](https://discuss.ipfs.tech/t/how-does-ipfs-cluster-store-the-file-is-segmentation-possible/8534)

<div class="topic-metadata">

**Author:** [@srikanthkaja31](https://discuss.ipfs.tech/u/srikanthkaja31)\
**Replies:** 5\
**Last updated:** [June 29, 2020, 12:38pm UTC](https://discuss.ipfs.tech/t/how-does-ipfs-cluster-store-the-file-is-segmentation-possible/8534 "2020-06-29T12:38:29Z")

</div>

Hi Community, From what i understand, we could use IPFS cluster with redundancy to ensure the file can be retrieved from IPFS peers although some of the nodes are down based on replication factor. When the file is adde…

---

## [FreeSpace calculation](https://discuss.ipfs.tech/t/freespace-calculation/8222)

<div class="topic-metadata">

**Author:** [@frankTheTank72](https://discuss.ipfs.tech/u/frankTheTank72)\
**Replies:** 7\
**Last updated:** [June 7, 2020, 10:05pm UTC](https://discuss.ipfs.tech/t/freespace-calculation/8222 "2020-06-07T22:05:50Z")

</div>

In the documentation is stated that the freespace is used for the pinset : Given the options, a list of current cluster peers is selected as “allocations” for that pin, based on how much free space is available on each…

---

## [Setting peername for follower](https://discuss.ipfs.tech/t/setting-peername-for-follower/8275)

<div class="topic-metadata">

**Author:** [@frankTheTank72](https://discuss.ipfs.tech/u/frankTheTank72)\
**Replies:** 4\
**Last updated:** [June 6, 2020, 6:18pm UTC](https://discuss.ipfs.tech/t/setting-peername-for-follower/8275 "2020-06-06T18:18:59Z")

</div>

In the documentation for the follower is the following stated: Configuration ipfs-cluster-follow normally uses configurations distributed through the local IPFS gateway as templates. In this case, the service.json fi…

---

## [Ipfs-cluster-service daemon error loading configurations: could not fetch configuration from source](https://discuss.ipfs.tech/t/ipfs-cluster-service-daemon-error-loading-configurations-could-not-fetch-configuration-from-source/8236)

<div class="topic-metadata">

**Author:** [@marcoi](https://discuss.ipfs.tech/u/marcoi)\
**Replies:** 9\
**Last updated:** [June 5, 2020, 4:38pm UTC](https://discuss.ipfs.tech/t/ipfs-cluster-service-daemon-error-loading-configurations-could-not-fetch-configuration-from-source/8236 "2020-06-05T16:38:18Z")

</div>

In Ubuntu 18.04.4 Desktop I initialized ipfs-cluster as follows: (base) marco@pc01:~$ ipfs-cluster-service init --consensus crdt --custom-secret 23a....... \\ –peers Qm…,Qm… https://ggc.world 2020-06-05T11:30:04.…

---

## [Ipfs-cluster-ctl sync](https://discuss.ipfs.tech/t/ipfs-cluster-ctl-sync/8140)

<div class="topic-metadata">

**Author:** [@frankTheTank72](https://discuss.ipfs.tech/u/frankTheTank72)\
**Replies:** 8\
**Last updated:** [June 5, 2020, 8:48am UTC](https://discuss.ipfs.tech/t/ipfs-cluster-ctl-sync/8140 "2020-06-05T08:48:57Z")

</div>

Trying to fire this command : ipfs-cluster-ctl sync Qma4Lid2T1F68E3Xa3CpE6vVJDLwxXLD8RfiB9g1Tmqp58 getting this response : No help topic for ‘sync’ Does the command syntax changed ?

---

## [IPFS Cluster How-to: please review!](https://discuss.ipfs.tech/t/ipfs-cluster-how-to-please-review/5074)

<div class="topic-metadata">

**Author:** [@dharwin](https://discuss.ipfs.tech/u/dharwin)\
**Replies:** 20\
**Last updated:** [June 5, 2020, 4:22am UTC](https://discuss.ipfs.tech/t/ipfs-cluster-how-to-please-review/5074 "2020-06-05T04:22:38Z")

</div>

I found the documentation for IPFS Cluster to be inadequate for someone of my (low) skill level, so once I got a cluster working, I decided to write up what I did, in case it could help others. I would appreciate it i…

---

## [Ipfs-cluster-service shutdown](https://discuss.ipfs.tech/t/ipfs-cluster-service-shutdown/8142)

<div class="topic-metadata">

**Author:** [@frankTheTank72](https://discuss.ipfs.tech/u/frankTheTank72)\
**Replies:** 1\
**Last updated:** [June 4, 2020, 11:57am UTC](https://discuss.ipfs.tech/t/ipfs-cluster-service-shutdown/8142 "2020-06-04T11:57:30Z")

</div>

Maybe a stupid question , but i can do : ipfs shutdown which stops the daemon. The same command is not working for the ipfs-cluster-service ?! Whicxh command makes a nice shutdown beside kill -9 :slight\_smile:

---

## [Behaviour trusted peers in a crdt cluster](https://discuss.ipfs.tech/t/behaviour-trusted-peers-in-a-crdt-cluster/8130)

<div class="topic-metadata">

**Author:** [@frankTheTank72](https://discuss.ipfs.tech/u/frankTheTank72)\
**Replies:** 3\
**Last updated:** [June 4, 2020, 11:54am UTC](https://discuss.ipfs.tech/t/behaviour-trusted-peers-in-a-crdt-cluster/8130 "2020-06-04T11:54:48Z")

</div>

Hi all, one general question to the behaviour of the trsuted peers in a crdt cluster setup. Lets say i have 2 trusted peers with only 1GB space for the ipfs. I also have followers with unlimted space. If i now add C…

---

## [Config Files examples with real data for ipfs-cluster-follow](https://discuss.ipfs.tech/t/config-files-examples-with-real-data-for-ipfs-cluster-follow/8118)

<div class="topic-metadata">

**Author:** [@frankTheTank72](https://discuss.ipfs.tech/u/frankTheTank72)\
**Replies:** 5\
**Last updated:** [June 3, 2020, 9:37am UTC](https://discuss.ipfs.tech/t/config-files-examples-with-real-data-for-ipfs-cluster-follow/8118 "2020-06-03T09:37:19Z")

</div>

Hello ; i am trying to setup the IPFS Cluster on a linux server. I followed the installation from the documentation until the init command. Now i have the server.json but i struggle to get the difference between the se…

---

## [Ipfs-cluster sharding and recursive/partial pin](https://discuss.ipfs.tech/t/ipfs-cluster-sharding-and-recursive-partial-pin/8035)

<div class="topic-metadata">

**Author:** [@SwJay](https://discuss.ipfs.tech/u/SwJay)\
**Replies:** 6\
**Last updated:** [May 26, 2020, 1:51pm UTC](https://discuss.ipfs.tech/t/ipfs-cluster-sharding-and-recursive-partial-pin/8035 "2020-05-26T13:51:00Z")

</div>

Hi there, I know that sharding is currently not accessible, and according to issue#5133, issue#5142, the main reason goes to poor support for partial pin. However, I can’t completely get why partial pin is a must for …

---

## [Customizing sharding & replication in ipfs-cluster](https://discuss.ipfs.tech/t/customizing-sharding-replication-in-ipfs-cluster/4943)

<div class="topic-metadata">

**Author:** [@0zAND1z](https://discuss.ipfs.tech/u/0zAND1z)\
**Replies:** 3\
**Last updated:** [May 3, 2020, 10:11pm UTC](https://discuss.ipfs.tech/t/customizing-sharding-replication-in-ipfs-cluster/4943 "2020-05-03T22:11:45Z")

</div>

There's some great progress going on at https://github.com/ipfs/ipfs-cluster/ to help pin and persist needful info on IPFS. So first, kudos to the team :rocket: I am trying to understand the project deep in the weeds & …

---

## [Files synchronization](https://discuss.ipfs.tech/t/files-synchronization/7765)

<div class="topic-metadata">

**Author:** [@bakasura980](https://discuss.ipfs.tech/u/bakasura980)\
**Replies:** 2\
**Last updated:** [April 21, 2020, 8:37pm UTC](https://discuss.ipfs.tech/t/files-synchronization/7765 "2020-04-21T20:37:28Z")

</div>

Hello, dear community, please help me to understand how files synchronization works. Here is my scenario: I have a running cluster with 2 peers. I added 1 file. After that, I connected a new peer -\> Total of 3 peers. B…

---

## [IPFS Cluster REST Api '--no-status' flag](https://discuss.ipfs.tech/t/ipfs-cluster-rest-api-no-status-flag/7663)

<div class="topic-metadata">

**Author:** [@S3bb1](https://discuss.ipfs.tech/u/S3bb1)\
**Replies:** 13\
**Last updated:** [April 20, 2020, 11:52am UTC](https://discuss.ipfs.tech/t/ipfs-cluster-rest-api-no-status-flag/7663 "2020-04-20T11:52:50Z")

</div>

Hi all, i wanted to ask if i can also provide the --no-status flag like in the ipfs-cluster-ctl pin add also in the REST API, because we’re currently seeing that every PIN ADD operation on the ipfs-cluster takes around …

---

## [IPFS Cluster and IPFS daemon](https://discuss.ipfs.tech/t/ipfs-cluster-and-ipfs-daemon/7574)

<div class="topic-metadata">

**Author:** [@bakasura980](https://discuss.ipfs.tech/u/bakasura980)\
**Replies:** 1\
**Last updated:** [March 27, 2020, 12:09pm UTC](https://discuss.ipfs.tech/t/ipfs-cluster-and-ipfs-daemon/7574 "2020-03-27T12:09:35Z")

</div>

Hi community, I am trying to understand the following: I should run IPFS daemon before running the Cluster. In the case of 2 peers, do I need to connect both IPFS daemons or if I provide them in the trusted peers’ lis…

---

## [Private network with Cluster](https://discuss.ipfs.tech/t/private-network-with-cluster/7468)

<div class="topic-metadata">

**Author:** [@bakasura980](https://discuss.ipfs.tech/u/bakasura980)\
**Replies:** 0\
**Last updated:** [March 13, 2020, 1:56pm UTC](https://discuss.ipfs.tech/t/private-network-with-cluster/7468 "2020-03-13T13:56:40Z")

</div>

Hello, I need your opinion as I believe your knowledge is deeper than mine. Task: I need to up and run a private IPFS network. Question: Cluster of peers vs regular IPFS daemons. What is the benefit of using a Cluster…

---

## [IPFS CLUSTER - Store a file](https://discuss.ipfs.tech/t/ipfs-cluster-store-a-file/7262)

<div class="topic-metadata">

**Author:** [@alelib](https://discuss.ipfs.tech/u/alelib)\
**Replies:** 10\
**Last updated:** [February 13, 2020, 9:53pm UTC](https://discuss.ipfs.tech/t/ipfs-cluster-store-a-file/7262 "2020-02-13T21:53:03Z")

</div>

Hi, i have a question. If i add a file in ipfs-cluster, it is stored on all peers that are in the cluster but if all these peers decide to delete this file because they don’t want it, the file is no longer available? If…

---

## [Public cluster with grow-only pinset, where all peers are trusted + additional validation of the crdt updates?](https://discuss.ipfs.tech/t/public-cluster-with-grow-only-pinset-where-all-peers-are-trusted-additional-validation-of-the-crdt-updates/6767)

<div class="topic-metadata">

**Author:** [@v696973](https://discuss.ipfs.tech/u/v696973)\
**Replies:** 1\
**Last updated:** [November 29, 2019, 4:23am UTC](https://discuss.ipfs.tech/t/public-cluster-with-grow-only-pinset-where-all-peers-are-trusted-additional-validation-of-the-crdt-updates/6767 "2019-11-29T04:23:56Z")

</div>

Hi! More than a year ago I worked on a distributed app for archiving and sharing research data between dynamically changing number of peers. The project used IPFS for file sharing and communication (via pubsub), and uti…

---

## [Missing public multiaddresses in peerstore (docker)](https://discuss.ipfs.tech/t/missing-public-multiaddresses-in-peerstore-docker/6588)

<div class="topic-metadata">

**Author:** [@vdo](https://discuss.ipfs.tech/u/vdo)\
**Replies:** 12\
**Last updated:** [November 10, 2019, 3:04pm UTC](https://discuss.ipfs.tech/t/missing-public-multiaddresses-in-peerstore-docker/6588 "2019-11-10T15:04:50Z")

</div>

Hello, My setup is as follows: Two separated VPS, running docker with public addresses. I deployed one cluster and one IPFS instance in each, based on the docker compose provided. I want to connect both using the publi…

---

## [Peerstore persistence](https://discuss.ipfs.tech/t/peerstore-persistence/6522)

<div class="topic-metadata">

**Author:** [@dapplion](https://discuss.ipfs.tech/u/dapplion)\
**Replies:** 4\
**Last updated:** [November 4, 2019, 6:38pm UTC](https://discuss.ipfs.tech/t/peerstore-persistence/6522 "2019-11-04T18:38:20Z")

</div>

I have successfully setup one IPFS cluster + IPFS node in a VPS, and another IPFS cluster + IPFS node is a separate VPS machine. Both are setup with the provided docker-compose.yml example, with the same secret and cdtr. …

---

## [IPFS Cluster SyncAllLocal Memory Spike](https://discuss.ipfs.tech/t/ipfs-cluster-syncalllocal-memory-spike/6563)

<div class="topic-metadata">

**Author:** [@S3bb1](https://discuss.ipfs.tech/u/S3bb1)\
**Replies:** 4\
**Last updated:** [October 31, 2019, 12:42pm UTC](https://discuss.ipfs.tech/t/ipfs-cluster-syncalllocal-memory-spike/6563 "2019-10-31T12:42:14Z")

</div>

Hi all, we have currently ipfs cluster running with around 50000 pinned items on it. The ipfs node behind has around 400.000 pinned items. During the regular ipfs\_sync\_interval the used memory spikes from around 200mb…

---

## [IPFS Cluster Windows guides?](https://discuss.ipfs.tech/t/ipfs-cluster-windows-guides/6106)

<div class="topic-metadata">

**Author:** [@CTMayweather](https://discuss.ipfs.tech/u/CTMayweather)\
**Replies:** 1\
**Last updated:** [August 15, 2019, 5:44pm UTC](https://discuss.ipfs.tech/t/ipfs-cluster-windows-guides/6106 "2019-08-15T17:44:19Z")

</div>

Are there any IPFS cluster guides for windows 10? I don’t see not one

---

## [Command history in IPFS-Cluster](https://discuss.ipfs.tech/t/command-history-in-ipfs-cluster/5946)

<div class="topic-metadata">

**Author:** [@weichiao-cs07](https://discuss.ipfs.tech/u/weichiao-cs07)\
**Replies:** 1\
**Last updated:** [July 26, 2019, 3:25pm UTC](https://discuss.ipfs.tech/t/command-history-in-ipfs-cluster/5946 "2019-07-26T15:25:48Z")

</div>

Hi, everyone, I am trying to keep track of the history commands that I have given in IPFS-Cluster. Is there something alike ipfs diag cmds -v in IPFS-Cluster, in order to record the command history? Thank you for re…

---

## [Ipfs and ipfs-cluster used for directory synchronisation between nodes (CRDT)?](https://discuss.ipfs.tech/t/ipfs-and-ipfs-cluster-used-for-directory-synchronisation-between-nodes-crdt/5726)

<div class="topic-metadata">

**Author:** [@qo-op](https://discuss.ipfs.tech/u/qo-op)\
**Replies:** 1\
**Last updated:** [July 4, 2019, 2:43pm UTC](https://discuss.ipfs.tech/t/ipfs-and-ipfs-cluster-used-for-directory-synchronisation-between-nodes-crdt/5726 "2019-07-04T14:43:38Z")

</div>

ipfs-cluster is for pinning IPFS data across multiple nodes. Each node detecting change on directory “./CARDS” update ipfs and ask ipfs-cluster for pinning. IPFS=$(ipfs add -r -q "./CARDS/" | tail -n 1) ipfs-cluster-ct…

---

## [How to upgrade IPFS-cluster and underlying IPFS for new version](https://discuss.ipfs.tech/t/how-to-upgrade-ipfs-cluster-and-underlying-ipfs-for-new-version/5774)

<div class="topic-metadata">

**Author:** [@eiTanLaVi](https://discuss.ipfs.tech/u/eiTanLaVi)\
**Replies:** 1\
**Last updated:** [July 4, 2019, 2:36pm UTC](https://discuss.ipfs.tech/t/how-to-upgrade-ipfs-cluster-and-underlying-ipfs-for-new-version/5774 "2019-07-04T14:36:32Z")

</div>

Hi, what is the standard procedure to upgrade the ipfs-cluster service and the underlying ipfs service to use new versions. For example, there’s now an issue with too many open files, there is a new go-ipfs version whic…

---

## [IPFS daemon expected behaviour when a cluster service is running](https://discuss.ipfs.tech/t/ipfs-daemon-expected-behaviour-when-a-cluster-service-is-running/5484)

<div class="topic-metadata">

**Author:** [@sidharthaa](https://discuss.ipfs.tech/u/sidharthaa)\
**Replies:** 1\
**Last updated:** [May 24, 2019, 8:59am UTC](https://discuss.ipfs.tech/t/ipfs-daemon-expected-behaviour-when-a-cluster-service-is-running/5484 "2019-05-24T08:59:57Z")

</div>

Hi, Suppose I am running a 3 node IPFS cluster say A, B & C all these nodes are running dA dB dC IPFS daemons. So what would be the expected behavior of these nodes? dA dB dC will only connect to each other and they w…

---

## [Is it possible to use ipfs-cluster with ALL nodes in NAT condition?](https://discuss.ipfs.tech/t/is-it-possible-to-use-ipfs-cluster-with-all-nodes-in-nat-condition/5459)

<div class="topic-metadata">

**Author:** [@qo-op](https://discuss.ipfs.tech/u/qo-op)\
**Replies:** 3\
**Last updated:** [May 22, 2019, 8:15am UTC](https://discuss.ipfs.tech/t/is-it-possible-to-use-ipfs-cluster-with-all-nodes-in-nat-condition/5459 "2019-05-22T08:15:07Z")

</div>

After trying ipfs-cluster in a non-heterogeneous manner (all different platform and storage size) where I considered it was not a good way to use it... I would like to test with Rpi (arm) nodes only sharing the same stor…

---

## [Cannot acquire lock: Lock FcntlFlock of /data/ipfs-cluster/cluster.lock failed: resource temporarily unavailable](https://discuss.ipfs.tech/t/cannot-acquire-lock-lock-fcntlflock-of-data-ipfs-cluster-cluster-lock-failed-resource-temporarily-unavailable/5419)

<div class="topic-metadata">

**Author:** [@nnnoel](https://discuss.ipfs.tech/u/nnnoel)\
**Replies:** 3\
**Last updated:** [May 16, 2019, 9:41am UTC](https://discuss.ipfs.tech/t/cannot-acquire-lock-lock-fcntlflock-of-data-ipfs-cluster-cluster-lock-failed-resource-temporarily-unavailable/5419 "2019-05-16T09:41:30Z")

</div>

This is somewhat related to How to communicate between to clusters in setup I’m have this docker compose file https://github.com/ipfs/ipfs-cluster/blob/master/docker-compose.yml up and running on a VPS and on my local m…

---

## [How to set service.json in Docker deployment](https://discuss.ipfs.tech/t/how-to-set-service-json-in-docker-deployment/5408)

<div class="topic-metadata">

**Author:** [@drbh](https://discuss.ipfs.tech/u/drbh)\
**Replies:** 3\
**Last updated:** [May 14, 2019, 9:44pm UTC](https://discuss.ipfs.tech/t/how-to-set-service-json-in-docker-deployment/5408 "2019-05-14T21:44:05Z")

</div>

Can someone help me enable basic auth in the Dockerfile example in https://github.com/ipfs/ipfs-cluster ? I see the services files under sharness/config but I do not know how to specify and where to specify the custom …

[Previous page](https://discuss.ipfs.tech/c/help/help-ipfs-cluster/24.md?page=2)

[Next page](https://discuss.ipfs.tech/c/help/help-ipfs-cluster/24.md?page=4)
