Multi header windows Chia cluster

Article link

numberclassificationArticles and linksintroduceauthorSource classificationDate of writingCollection date
R1reference resourcesHPoolLargest Chia ore pool2021-06-04
R2reference resourcesChia official website2021-06-04
R3reference resourcesChia official browser2021-06-04
R4reference resourcesCHIA CLI Commands Reference2021-06-06
R5reference resourcesHow to setup a Chia Harvester on Ubuntu2021-05-042021-07-01
R6reference resourcesFarming on many machineschia GitHub official website2021-06-042021-07-02
T1skillZero to one Chia harvesting practice: P diagram and harvesting tutorial of Chia Expressway under Ubuntuchia_plot multithreaded P-graphThis blog2021-06-122021-06-12

Installation of Chia coin harvester in cluster mode

The advantage of cluster harvesting is that each node does not need to run a complete chiya node, which requires relatively high network and CPU, increases the consumption of CPU and network resources, and of course, consumes more power.
This paper introduces the cluster method of Ubuntu as a harvesting node. The following is the network topology.
The local host can be windows or Linux. The host sends the Ca (Certificate Authorization) file to the mining node, and then generates the certificate of the harvesting node to harvest the cluster.

1. Download and install chia program

Download address of official website:
At present, the latest version is 1.2.11. Download the widnows version of the program.

2. Obtain the host CA file

Through the CA (certificate authentication) file, you can and authorize other machines to join the cluster with this machine as the host.
The CA file for Linux is located in


The CA file for Windows is located in


The following figure illustrates the location under windows.

3. Copy the ca folder found in the previous step to the Windows harvester

4. CA Certificate Authorization

On the Windows harvester, use the CA file of the host to generate the cluster certificate.
Enter the command line mode and enter the following operation commands

#Note that the following daemon folder directory is the default directory for installing version 1.2.11 under windows. It will change due to the installation path and version number.
cd C:\Users\chia\AppData\Local\chia-blockchain\app-1.2.11\resources\app.asar.unpacked\daemon>
#Generate the certificate used by the cluster Note: if the ca folder is not under d:\ca, please modify it accordingly.
chia init -c d:\ca

After the certificate is generated, the ca folder copied from the host can be deleted for security.

5. Configure Linux harvester and start cluster harvesting

Pay attention to turn off UPNP, otherwise there will be problems if there are multiple wallets locally.

5.1 configure harvester

#Stop all chia services running in the background
chia stop all -d
#Configure host IP 
chia configure --set-farmer-peer
#Turn off UPNP
chia configure --enable-upnp false

After the configuration is completed, you can check the following files
harvester:farmer_ Peer: does the host configuration point to the IP address of the host? If not, it needs to be modified manually.

tips: how to add a plot file Subordinate commands can import the plot folder
chia plots add -d /yourplotfolder/

5.2 start harvesting service

# Start mining service
chia start harvester -r
# Stop mining services
chia stop harvester

6. Verify whether the mining is normal

6.1 GUI (graphical user interface) verification

Check whether the harvester is connected normally through farmland - > advanced options. Refer to the figure below

Tips: after adding the harvester, you need to restart the chia program of the master node to see the entry of the new harvester on the UI.

6.2 log verification (optional verification)

Modify the log level of the host (default WARNING) to DEBUG, restart the host node (wallet program), and then check the log ~ / chia/mainnet/log/DEBUG. Log, if the following information appears, it indicates that the harvester is harvesting normally.

[time stamp] farmer farmer_server   : DEBUG   -> new_signage_point_harvester to peer [harvester IP address] [peer id - 64 char hexadecimal]
[time stamp] farmer farmer_server   : DEBUG   <- farming_info from peer [peer id - 64 char hexadecimal] [harvester IP address]
[time stamp] farmer farmer_server   : DEBUG   <- new_proof_of_space from peer [peer id - 64 char hexadecimal] [harvester IP address]

You can search the harvester IP to find the above information.

Keywords: Windows Blockchain

Added by leapingfrog on Mon, 28 Feb 2022 06:11:53 +0200