Run a harvester on each machine, without having to run a full node, wallet, and farmer on each one.
This keeps the system simpler, uses less bandwidth, space, CPU, and also keeps the keys safer.
This should also make the overall farming process quicker and more efficient when replying to challenges.
chia stop -d all
ip a
The CA directory is located in ~/.chia/mainnet/config/ssl/ca.
NOTE: Copy the CA file.
This file can be shared via USB stick, or through a network copy to each harvester.
The new ssl/ca directory must be copied with each version of chia-blockchain.
WARNING: Do not copy the entire config/ssl directory from one machine to another.
Each harvester must have a different set of TLS certificates for your main machine to recognize it as different harvesters.
NOTE: Use the regular 24 word mnemonic key from the main PC.
chia stop -d all
Edit the ~/.chia/mainnet/config/config.yaml file.
Search for enable_upnp:
enable_upnp: true
and change to
enable_upnp: false
Search for harvester: and the farmer_peer section:
harvester: farmer_peer: host: localhost
and change the localhost to the IP address of the main PC.
harvester: farmer_peer: host: 192.168.1.51
NOTE: The 192.168.1.51 is the IP address of the main PC.
chia init -c [directory]
NOTE: This creates a new certificate signed by the CA of the main machine.
WARNING: DO NOT replace the /ca directory on the harvester with this copy of the CA from the main machine!
For example, assuming the main PC CA was placed into \main_ca:
chia init -c \main_ca
chia start farmer
On the new PC.
chia start harvester -r
NOTE: The new harvester may take up to 20 minutes to start the sync process.
It will make a full copy of the blockchain to get to normal sync.
Ensure that firewall rules allow the harvester to connect to the main machine.
On the main PC:
NOTE: Another method to check:
On the main PC Farm tab:
New plots can now be created on the new machine.
chia plots create -f farmer_key -p pool_key
NOTE:
Plots can also be copied over.
Farming will only happen once full sync is completed.
NOTE: After creating a plot, check everything is working correctly:
chia plots check