Preloader
Server Scaling

Xtream-UI Load Balancer Installation Guide

Learn how to add more servers to your panel to handle more customers and streams.


Why Add a Load Balancer (LB)?

A Load Balancer is simply another server that does the heavy lifting. While your Main Server manages the database and user accounts, the Load Balancer actually streams the video content to your customers. Adding LBs allows you to support thousands of users without crashing your main panel.

Method 1: Automatic Installation (Recommended)

This is the easiest way. We fix the main server's installer script so you can add servers directly from your admin dashboard.

Step 1: Fix the Script on Main Server

Login to your MAIN SERVER using PuTTY and run this command. This updates the installer to use our working mirror:

sed -i 's/xtream-ui.com/lofertech.com/g' /home/xtreamcodes/iptv_xtream_codes/pytools/balancer.py ; /etc/init.d/xtreamcodes

Step 2: Add Server in Panel

  1. Log in to your Xtream UI Admin Panel.
  2. Go to Load Balancer -> Add Load Balancer.
  3. Enter the IP Address and Root Password of your NEW server.
  4. Click Install. The panel will connect to the new server and set it up automatically in 3-5 minutes.

Method 2: Manual Installation

If the automatic method fails, you can install it manually by logging into the new server directly. This is more technical but works 100% of the time.

1Get Your Database Password

You need the password for the user_iptvpro database user. If you forgot it, run this command on your MAIN SERVER to see it:

cp -rf /home/xtreamcodes/iptv_xtream_codes/pytools/config.py /root && python config.py DECRYPT && rm -rf /root/config.py && rm -rf /root/install.py

Look for the line that says Password: xxxxxxxx. Save this!

2Register the Server

Go to your Admin Panel -> Add Load Balancer. Fill in the IP address, but you don't need the root password this time. Save it. Note the Server ID assigned to it.

3Run Installer on New Server

Login to your NEW LOAD BALANCER server via PuTTY and run this command:

apt-get update ; apt-get install libxslt1-dev libcurl3 libgeoip-dev python -y ; wget https://xtream-masters.com/guide/resources.php?file=xui/install.py ; sudo python install.py

When prompted, enter:

  • Type LB (for Load Balancer).
  • Main Server IP: Enter the IP of your Main Panel.
  • MySQL Password: Enter the password you found in Step 1.
  • Server ID: Enter the ID you got in Step 2.

4Go Online

Once installation finishes, start the services with this command:

/home/xtreamcodes/iptv_xtream_codes/start_services.sh

Go back to your Admin Panel and refresh the "Manage Servers" page. Your new Load Balancer should now show as Online!

Important: Network Interface Setting

For the panel to correctly track bandwidth usage (upload/download speeds), you must set the correct Network Interface.

On your Load Balancer server, run ifconfig. Look for the main network ID (usually eth0, ens33, or ens18).

Go to Manage Servers -> Edit Load Balancer and enter this ID in the "Network Interface" field.

Scaling Shouldn't Be Hard.

Manually installing load balancers and fixing scripts is a hassle. As your business grows, you'll need to add more servers quickly. Old panels make this difficult and error-prone.

Want unlimited, one-click scaling? Our Xtream-Masters IPTV Admin Panel allows you to add Unlimited Load Balancers instantly. The installation is fully automated, stable, and works on all modern Ubuntu versions.

Professional Admin Panel

IPTV Admin Panel Auto Installer

Fast Installation, Stability, Security & Optimized Performance

Fast Installation, Stability, security and minimum resource using with advanced tools is key strengths of the Xtream-Masters OTT Panel, enabling it to stay ahead in the competitive landscape.

IPTV Admin Panel €39.99/Month
  • Panel license includes main server + Unlimited LoadBalancers
  • Minimum 32 GB RAM server required for main server
  • Run all streams to load balancers for best results
  • Operating Systems: Ubuntu 18.04, 20.04, or 22.04
  • Advanced Anti-DDoS & Security tools included

Start Your IPTV Business Today

Get Your License Now
Competitive Advantage

Why Choose Xtream-Masters

Our goal is to make our core system more secure and stable than any other panel in the market. Built from scratch with super-optimized code.

Secure

DDoS Protection

Self-built DDoS and other kind of hacking attack protection so you can work without any fear of attacks.

  • Self-built defense
  • Hacking protection
  • Work without fear
Smart

Auto Issue Fixing

If stream has problems such as voice loss, video lost, or loops, system will auto detect and fix it within minutes.

  • Auto audio/video repair
  • Loop detection
  • Super stability
Performance

Optimized Core

Built from scratch with super-optimized code to save RAM and CPU during high events, giving us a competitive advantage.

  • Low resource usage
  • High load handling
  • Built from scratch

Core Features & Capabilities

The perfect solution for those facing a lack of features, technical support, or unstable software panels.

🚀

Optimized Performance Core

Enhanced binary and optimized code to minimize RAM and CPU consumption, ensuring super stability for handling large event loads with ease.

🗂️

Category Management

Allow users to modify categories through reordering, renaming, and adding/removing options in reseller and client panels.

👁️‍🗨️

Real-time VideoLog

Track connection utilization and, upon surpassing the limit, present the VideoLog with live data instead of showing a playback error.

🔑

DRM on Load Balancer

With IPTV and DRM integrated, you can easily install DRM on your IPTV load balancer with a single click and run DRM IPTV simultaneously.

📊

Smart Stream Analyzer

On-demand channels identify source problems, and auto-correct audio interruptions by adjusting probsize.

🤝

Official Reseller API

Grow your enterprise by integrating a specialized API designed for resellers to streamline order processing.

⚙️

Client Subscription cPanel

A personalized control panel for each client, enabling clients to manage content and update passwords independently.

🛡️

Server Guard Security

Every server benefits from enhanced security measures to defend against playlist probing, brute force attacks, and Layer 7 DDoS.

📂

Auto M3U Content Sync

Automatically add complete categories to your server through your provider's M3U link. especially useful for managing event categories.

☁️

xDrive Encrypted Cloud Backup

Automated xDrive Encrypted Cloud Backups ensure you can restore your panel and data instantly if the server fails.

Support Center

Frequently Asked Questions

The following notes will help you find answers to common questions. Please review before contacting support.

All Questions
General
Technical
01

Can move from 'XYZ' Panel to Xtream-Masters OTT Panel?

Simple answer is YES, We have an automated database migration system that supports migrations for XtremeUI, XUI, NXT, Streamcreed and other panels.

Existing server migration:

  1. Take backup of your database: mysqldump -u [uname] -p db_name > db_backup.sql
  2. Download db_backup.sql file to your local computer.
  3. Reinstall your server with Ubuntu OS (18.04, 20.04 or 22.04).
  4. Login to Master CMS cPanel and add the server for installation.
  5. Once installed, upload db_backup.sql to /home/xtreamaster/wwwdir.
  6. Use the Migrate button in cPanel, select Migrate by URL, and insert file URL.
  7. After migration, reset admin password and update tables in settings.

New server migration:

  1. Add main server for installation in CMS cPanel.
  2. Click Migrate button, insert database credentials or use SQL file URL.
  3. After migration, reset admin password and update tables.
02

What do I require to make an IPTV Server?

To create your own admin panel, consider the following:

  • Solid understanding of software and willingness to learn.
  • Dedicated servers (we do not provide these).
  • Reliable IPTV software for streaming and channel restreaming.

If you're just starting, we recommend working as a distributor first to build a client base before investing in costly servers.

03

Can you give support to setup my server?

While we offer video tutorials to help you understand functions, we assume you have basic software knowledge. We recommend exploring the panel and referencing tutorials. For specific technical issues or questions about our services, please contact us.

04

Technical problem support

We recognize clients may face complex technical issues. We offer a premium support team ($50/hour) to resolve all issues and ensure smooth service operation with proper setup.

05

Are Xtream-Masters IPTV Panels Secure?

Yes. We have written code very carefully and implemented a secure system to withstand various hacking attacks. Our customers have used our service for a long time without facing security issues.

Ready to Start Your IPTV Business?

Join hundreds of satisfied customers using our professional IPTV Admin Panel

Purchase License - €39.99/Month Download Review