Skip to content

feat(nodes): add guide for running TON archive liteserver#2140

Draft
ATrump wants to merge 8 commits into
mainfrom
run-archive-liteserver
Draft

feat(nodes): add guide for running TON archive liteserver#2140
ATrump wants to merge 8 commits into
mainfrom
run-archive-liteserver

Conversation

@ATrump
Copy link
Copy Markdown
Collaborator

@ATrump ATrump commented May 4, 2026

Created a new guide for setting up an archive node in liteserver mode.

Created a new guide for setting up an archive node in liteserver mode.
@ATrump ATrump requested a review from reveloper May 4, 2026 22:42
@mintlify
Copy link
Copy Markdown

mintlify Bot commented May 4, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify-ton-docs 🟢 Ready View Preview May 4, 2026, 10:44 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 4, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5f498c3b-f8f2-47ea-86ec-b2e55792e564

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch run-archive-liteserver

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.


Running an archive liteserver node requires significant storage and network resources.

- **CPU**: 16-core CPU
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming in lists seems unnecessary; let's keep the same formatting, as this was made for the "Run a validator" guide.
Lesser words - easier to get the significant information.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed


- **CPU**: 16-core CPU
- **RAM**: 128 GB RAM
- **Storage**: At least 16TB of SSD storage, 20TB if you will not use ZFS with compression (NVMe recommended), or Provisioned 64k+ IOPS storage
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discuss with team if this reqiurements actual: WIP


- **Supported OS**: Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, or Debian 11.
- **Open Files Limit**: Must be set above 400,000.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, add info on the minimum version for Python:

Python 3.10 or higher

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

| [@tonstatus](https://t.me/tonstatus) | TON Mainnet |
| [@testnetstatus](https://t.me/testnetstatus) | TON Testnet |

## Step 2: Install ZFS and prepare volume
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part is better aligned with the first step, as the preparation environment, up to Mytonctrl installation.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

sudo zfs set mountpoint=/var/ton-work data/ton-work
```

## Step 3: Installation via MyTonCtrl
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still preparation of the environment, which should be numbered with

### 1.x Prepare the operator account

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

MyTonCtrl> installer set_node_argument --verbosity 1
```

### 5.2 ZFS Snapshots
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to explain the function we provide here in the header.
This may be a part of the explanation of the updating flow:

### 5.2 Updating flow
make snapshot -> update -> make sure all is fine, roll back for updates that come out with issues. 

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like some information in this section is outside the scope of the update process. I have moved it to the position immediately following the update section to supplement the information on snapshot management. But I think we should kept it as a independent section.

MyTonCtrl> status
```

Check the field **Local validator initial sync status**. The value indicates how many blocks are left to sync. On fully synchronized node, this value should be less than 20 seconds.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discuss actuality for 20 seconds - WIP

sudo chown -R <install_user>:<install_user> /var/ton-work/keys
```

### 4.4 Open the node UDP port and the liteserver port
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This step should be specified before the synchronization step

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

sudo ufw status
```

## Step 5: Troubleshooting and Maintenance
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to set Maintenance as a separate step. We declare that the "Maintenance" step will be mandatory, even if no issues appear.
For example, the arhival LiteServer owner must and should do as follows:

  • monitor server stability
  • monitor synchronization parameter
  • check memory leak
  • make backups to be able to perform a quick restore
  • If monitoring highlights abnormal behavior, report to support or check the troubleshooting chapter.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

sudo zfs send -c data/ton-work@backup-date | ssh user@remote_host "sudo zfs recv remote_data/ton-work"
```

### 5.4 Performing software updates
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already defined this in the beginning, but let's mention again that updates are announced in Telegram channels.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

To fix the formatting issues:

  1. Install necessary dependencises: npm ci
  2. Then, run this command:
    npm run fmt:some -- ecosystem/nodes/cpp/run-archive-liteserver.mdx

Alternatively, a maintainer can comment /fmt in this PR to auto-apply fixes in a new commit from the bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Ecosystem > Blockchain nodes > C++ node > Run an archive liteserver]

2 participants