# Servers

One Panel For Everything

  • You can manage all the DVB, HDMI, VOD, GPU and Load Balancing servers inside the main panel.

# Add Server

You can go to the Server > Add Server tab, click it for open the add server settings page and fill the server SSH and other info. Make sure the Install / Reinstall option is selected. Then click the Save button, then it will install the panel to this server.

Max Bandwidth This option is for load balancing feature. Set up the download and upload to the actually max bandwidth will help the panel to do the automatic load balancing better.

Public IP / Domain This option is very useful when you are mapping the public IP or domain to this server. The IP or domain name you configured here will be used in the output URLs.

HTTPS We are using Let's Encrypt (opens new window) for request the SSL certification. If the server has public IP and you have a domain name is pointed to it, you can enabled it via following steps:

  • Set up the http port option to 443.
  • Set up the domain name in Public IP / Domain option.
  • Set up the HTTPS option to Enabled.
  • Click Save and use new https://... URL to access the panel and streaming contents.

TIP

If your server has DVB, HDMI or GPU cards inside and the driver is working. You will see the corresponding devices and options are available on the panel.

The license system is to be designed one license key for one server, depending your need use Nvidia GPU for transcoding or not, you can use NVENC or QuickSync license.

If you server only for DVB receiving, VOD contents storage or Load balancing, you can use QuickSync license in this case.

# Monitoring

You can go to the Server > Manage Servers page, and click the first icon at settings column, it will open the server usage page and show the CPU, Memory, Network and GPU usage in real-time.

# Benchmark

You can go to Tools > Benchmark page for test and benchmark the transcoding performance of your servers.

TIP

For get an accurate result, please stop all the streams that running on the panel and other software that are using the CPU or GPU.

# Port Mapping

If you are mapping the public IP's port to the local server, please remember to use same port for public and local. And the panel is using port 80 for http, 1935 for rtmp in default. If you added the slave servers to main panel, you also need open the MySQL 4326 port.

# Load Balancing

For enabled the automatic load balancing for your live stream and VOD contents, you need add some servers to the main panel first via above Add Server guide. Please make sure you set up the Max Bandwidth option's download and upload bandwidth correctly, it's important for load balancing. Then go to the Settings > System Settings page, select the servers you want to use for load balancing in the Load Balancers option.

Now you have the load balancing is enabled. According to the number of servers you added, the download and upload bandwidth of each server, the number of streams and active connections, it will automatically balancing the stream to the idle server and use HTTP 307 response to redirect the client to the optimal server.

# Database

All the server, stream, adapter, user and account info are stored in the background database, I strongly recommend you check the following guide and enable a daily database backup, in case of server got an unrecoverable crash you can easy to re-setup everything.

# Backup

You can go to Settings > System Settings page and set up the Database Backup Schedule option for enable a daily backup. For example: if you select the all weekdays, set hours to 6 and minutes to 0. It will make a daily backup at 6 AM. Also, we have a Max Backups option for specified how many recent automatic backups will be kept in the disk, the old automatic backup will be deleted.

Also, you can go to Settings > Database Settings page for click the Backup Now button for take a backup immediately, this is very useful when you plan to upgrade or do anything danger things to the panel.

Also, don't forget to download the recent backup to your PC periodically, because the backup is store on the server, you may lost the access to the server if disk, internet or OS crash.

# Restore

You can go to the panel's Settings > Database Settings page, and click the Restore From button for upload and restore from the backup.

# Change Main Server To Balancer

  • Login to old main panel.
    • Go to the Settings > Database Settings page, click the most right dropdown icon in the toolbar, and click the Backup Now. Then download the backup to your PC.
  • Install same version panel on new server.
  • Login to new main panel.
    • Go to the Settings > Database Settings page, click the most right dropdown icon in the toolbar, and click the Restore From for upload your backup and restore.
    • Wait the restore complete and login to the panel with old panel's username and password.
    • Go to the Server > Add Server page, fill the old server's ssh info here for add the old server as balancer.
    • Go to the Server > Manage Servers page's Master server's settings page, click the Transfer Configuration To Another Server option and select the balancer you just added in step 3 and save.
    • If the license status is yellow, you can reissue the license on https://www.xaccel-codec.com and reactivate the license on the panel.

# Change Balancer to Main Server

  • Login to old main panel.

    • Go to the Server > Manage Servers page, and go to the balancer server's settings page, click Transfer Configuration To Another Server for moving the streams to Main or another balancer.
    • Go to the Server > Manage Servers page, delete the balancer server.
    • Go to the Settings > Database Settings page, click the most right dropdown icon in the toolbar, and click the Backup Now. Then download the backup to your PC.
  • SSH to the balancer server.

    • delete /opt/xaccel-codec folder via command rm -rf /opt/xaccel-codec.
    • follow the installation guide to install same version panel on this server.
  • Login to the new main panel.

    • Go to the Settings > Database Settings page, click the most right dropdown icon in the toolbar, and click the Restore From for upload your backup and restore.
    • After restored backup, login to www.xaccel-codec.com (opens new window), reissue the orange status license and reactivate it on the panel.