CML Transfers
Last updated
Last updated
The Migrate miner button is used to move a CML tree to a new machine. This might be because there's been a change to the physical mining machine (hardware failure or perhaps a cloud provider is proving unreliable). The migration function allows the user to plant the CML tree into a different machine and continue mining.
Note that before migrating, the mining machine with the CML to be transferred must be shut down first. The CML could also be unplanted first to avoid any offline penalties but this is up to the user to decide.
Users can click on the CML ID in their wallet to show the CML detail screen. The following buttons near the top include:
The two buttons useful for migrating a CML are the following:
Migrate miner - Use this button to migrate your CML to a new machine (e.g. your old machine provider has unreliable uptime). The machine will have to be shut down first before this button becomes active.
Shut down miner - Shut down an active miner before beginning the migration process.
After shutting down your mining CML, click Migrate miner. You'll be presented with this screen:
This is the same process you have to do when planting a CML. Run the script to get the machine id and layer1 account (Polkadot address), then click Next step.
The dialog will require 3 items to be filled out besides the CML ID:
The Machine ID and Polkadot wallet (SS88) address are copied from the last step.
The Miner IP is from the new machine you are transferring to.
Moving onto the final Migrate step, you'll have to copy the shell script command and run it on the terminal of your new mining machine. After the script has finished running (the terminal output finishes with a docker start completed
message), click the Migrate button.
And don't forget to start up your miner after you're done migrating.
The owner of a CML is the only one who can commit a migrate transaction for it. If the CML is sold, only the new owner can trigger the migration event. The new owner runs the migrate command to bring their newly bought CML to their own machine. If the new buyer doesn't migrate the CML to their own hardware, the previous owner (seller) will continue earning revenue from this CML as long as they keep their machine running. So when the new owner issues a Shut down miner command, they're really stopping the CML from mining on the machine and not physically shutting down the mining hardware.