You may want to delegate the work Lotus Storage Miner or Lotus Node perform to other machines. Here is how to setup the necessary authorization and environment variables.
To generate a JWT for your environment variables, use this command:
lotus auth create-token --perm admin lotus-storage-miner auth create-token --perm admin
Environmental variables are variables that are defined for the current shell and are inherited by any child shells or processes. Environmental variables are used to pass information into processes that are spawned from the shell.
Using the JWT you generated, you can assign it and the multiaddr to the appropriate environment variable.
# Lotus Node FULLNODE_API_INFO="JWT_TOKEN:/ip4/127.0.0.1/tcp/1234/http" # Lotus Storage Miner STORAGE_API_INFO="JWT_TOKEN:/ip4/127.0.0.1/tcp/2345/http"