Independent discussion of crypto, wallets, cards and markets
Forum Home > Mining & Infrastructure > Running a Node > Setting up a node on a spare machine
Setting up a node on a spare machine47 replies · 3,486 views
Thread ToolsShow Printable Version · Subscribe to this Thread · Search Thread
Where to open an account: Open a Trustee account.

An old machine and a fast drive are most of what you need. The rest is configuration and

patience.

Before you start

  1. Check the current storage requirement for your chain. It is large and grows
  2. Use a solid state drive. Mechanical drives cause sync failures and long resyncs
  3. Ensure stable power and internet. Interruptions during initial sync cost time
  4. Give the machine a static local address if anything else will connect to it
  5. Decide whether you want a pruned or archival node, and prune if unsure

Installing

  1. Install a mainstream operating system, updated fully
  2. Create a dedicated user account for the node, not your personal one
  3. Install the node software from the official source, and note the version
  4. Set the data directory to the drive with the most space, not the system drive
  5. Start the sync and expect it to take hours to days depending on the chain and connection

During the sync

  • Monitor disk space, because running out mid-sync is the most common failure
  • Do not shut the machine down repeatedly. Repeated restarts slow progress
  • Check the logs if progress stalls for a long time

After the sync

  1. Point your wallet or applications at the local endpoint instead of a public provider
  2. Enable firewall rules so only necessary ports are reachable
  3. Set up automatic software updates, or a calendar reminder to check for them
  4. Configure monitoring for disk space and process health
  5. Test that your wallet works correctly against the local node

Maintenance habits

  • Check disk space weekly at first, then monthly
  • Read release notes before updating, and update during a quiet period
  • Keep a backup of configuration files, not of chain data
  • Re-syncing is usually faster and simpler than restoring a large data directory

The takeaway

Fast drive, stable power, pruned by default, monitored for disk space.

Get those four right and a node runs for years without attention.

Thread Statistics47 replies · 3,486 views