Documentation Index
Fetch the complete documentation index at: https://beta-docs.ton.org/llms.txt
Use this file to discover all available pages before exploring further.
Plan the environment
Supported operating systems
MyTonCtrl is highly recommended to install on the following distributions:- Ubuntu 22.04 LTS
- Ubuntu 24.04 LTS
Hardware sizing by role
| Role | CPU | RAM | Storage | Network | Traffic | Notes |
|---|---|---|---|---|---|---|
| Validator node | 16 dedicated cores (32 threads preferred) | 128 GB | ≥1 TB NVMe SSD or provisioned 64k+ IOPS | ≥1 Gbps up/down | 64 TB/month typical (peaks ~100 TB) | Leave headroom for elections and snapshots. |
| Liteserver | 16 cores | 128 GB | ≥1 TB NVMe SSD | ≥1 Gbps | ~16 TB/month peaks | Hetzner/OVH are acceptable for liteservers (not for validators). |
| Archive liteserver | 16 cores | 128 GB | ≥20 TB NVMe or ZFS pool with compression | ≥1 Gbps | ≥16 TB/month | Plan for continuous growth; monitor ZFS capacity. |
Disk latency is the common bottleneck. Benchmark storage before going live (MyTonCtrl> benchmark).
Network and ports
- Obtain a static public IPv4 address for each node.
- Forward a single UDP port from the internet to the node and leave all outbound ports open. The port is assigned randomly during MyTonCtrl installation but can be set before via the
VALIDATOR_PORTenvironment variable. To check the port after installation, refer to theNode portsfield onstatuscommand output.
Prepare the operator account
If you still need a dedicated operator, create and switch to it before installing MyTonCtrl:Install MyTonCtrl
Run the installer from the operator account withsudo so it can create system users and services:
- Selecting mainnet vs. testnet (or supplying a custom network config).
- Choosing the initial mode (
validatororliteserver). - Optionally downloading blockchain dumps via TON Storage (recommended for archive builds).
- Whether to run post-download tasks in the background (useful when pulling large dumps).
Verify services and synchronization
After installation, launch MyTonCtrl console viamytonctrl command and check the status:
Local validator out of sync and Masterchain out of sync both show ≤3 seconds.
Baseline maintenance tasks
MyTonCtrl> create_backupcreates a snapshot of the current state (private keys and configs). It is highly recommended to make a backup of the node and store it in a secure space.MyTonCtrl> updateupdates MyTonCtrl CLI.MyTonCtrl> upgradeupdates Node software.
Operational discipline
For all nodes:- Track network announcements via
@tonstatusand enable notifications. - Keep hardware aligned with the minimum system requirements; upgrade storage promptly if metrics show saturation.
- Monitor RAM, disk, CPU, and bandwidth dashboards. Contact
@validators_help_botif metrics or efficiency drop below target. - Rerun
check_efor consult the efficiency API when diagnosing performance.
Liteserver quickstart
Activate liteserver services
If the node was not installed withliteserver mode enabled, activate it via enable_mode liteserver:
Configure endpoints and proxies
Print the local liteserver configuration — its IP, port, and public key:/usr/bin/ton/local.config.json file with the full network configuration, ready for clients to connect to the local liteserver.
Open the liteserver port
-
Update security groups or configure
ufwon bare-metal hosts: - Confirm connectivity by initializing a lite-client using the generated config.
Archive liteserver quickstart
You need: liteserver mode enabled, ≥12 TB of fast storage, and ZFS installed for handling compressed dumps.Prepare storage with ZFS
Install and download archive data
Run the installer, chooseliteserver mode, and answer Yes (1) when prompted to download archive blocks via TON Storage. Allow the job to continue in the background—the download may take days.
Track progress in MyTonCtrl logs and wait for status → Local validator out of sync field to become green number before serving traffic.
Troubleshooting imports
Increase verbosity temporarily to review archive import logs, then revert:Importing archive ... from net messages, investigate storage latency—IOPS may be insufficient.
Snapshot and recovery tips
- Use ZFS snapshots (
zfs snapshot data/ton-work@<label>) for fast rollbacks. - To restore, stop services before
zfs rollback:sudo systemctl stop validator. - Keep off-site backups of
/var/ton-work/keysandcreate_backuparchives.
Monitoring and support
- Subscribe to
@tonstatusand@tonstatus_notificationsfor real-time validator alerts. - Use the private alert bot once your node is stable:
MyTonCtrl> enable_mode alert-botthen configure credentials per the alerting guide. - Contact validator support via
@validators_help_bot; regular node operators can use@ton_node_help. - Audit node health weekly:
status_fast,check_ef, disk usage (du -sh /var/ton-work/db), and snapshot consistency.