Optimai cli
Running 30 OptimAI Nodes on a Single VPS
OptimAI has a limitation of up to 30 nodes running simultaneously per account. To launch each node, you need a separate Docker daemon and hardware fingerprint. Below I've provided a micro-guide on using my script for installing LXD containers on a VPS and running 30 nodes on a single server.
Register here: https://node.optimai.network/register?ref=457A7BA4
1. System Requirements
To get started, we recommend a VPS with at least 8 CPU / 32 RAM / Ubuntu 22.04.
- Lumadock: Rent here (Note: use discount promocode 10% : STARTNOW10 )
- Contabo: Rent here (Note: proof of residence may be required)
2. Installation
After launching your server, run the following command to download, set permissions, and execute the management script:
wget -O lxd_optimai_manager.sh https://raw.githubusercontent.com/VaniaHilkovets/optimai_lxd_cli/main/lxd_optimai_manager_eng.sh \ && chmod +x lxd_optimai_manager.sh \ && ./lxd_optimai_manager.sh
3. Menu Overview
Once the script is launched, you will see a management menu:
Installation and Setup
- Update System (1): Updates OS packages and installs core dependencies.
- Install LXD & Create Containers (2): Configures virtualization and creates isolated containers.
- Setup Docker inside Containers (3): Installs the environment inside each container. Note: This step may take a significant amount of time as it processes each node individually.
- Install CLI (4): Downloads the node management tool into the containers.
Node Management
- Login (5): Automates authorization across selected containers.
- Start Nodes (6): Launches node workflows in the background.
- Stop Nodes (7): Safely terminates operations.
- View Logs (8): Displays real-time activity of a specific node.
- Check Status (9): Shows which nodes are running or stopped.
Additional Tools
- Configure SWAP (10): Prevents memory exhaustion (Recommended if RAM < 32GB).
- Update CLI (11): Checks for and installs the latest software version.
- Delete All Containers (12): Completely wipes the system clean.
4. Quick Start Guide
To fully set up your nodes, follow the menu options sequentially from 1 to 6.
- Sequential Setup: Complete steps 1-6 for a full installation.
- Incremental Installation: You can install nodes in parts (e.g., set up 5, then add more later by running Option 2 again).
- Scaling: If you add nodes later, just follow the same sequence for the new containers.
Contact & Support
If you encounter any errors, feel free to message me. Don't forget to follow for updates!
- Telegram Support: @Vania_ls
- Telegram Channel: SotochkaZela
- Twitter (X): @Gooszilla