Results 1 to 1 of 1

Thread: Oscam and Loadbalancer

  1. #1
    Hotzenwalder's Avatar
    Join Date
    Dec 2012

    Oscam and Loadbalancer

    Loadbalancing feature in OScam helps to determine which of the configured readers should be used to serve an ECM request. This is especially handy if you have two identical local cards or large number of cccam/newcamd or other readers. I will present you my loadbalancing configuration that i use on my OScam server.
    First you need to visit global/loadbalancer section of WebIF. Then search for these settings:

    lb_mode                       = 1
     lb_save                       = 100
     lb_reopen_mode                = 1
     lb_savepath                   = /usr/local/etc/stats

    lb_mode = 1 means that the weight for a reader is divided by the average response time of requests sent to the reader, i.e. lower average response time means higher priority. My recommendation is that you use mode 1.
    lb_save = 100 means that stats file is updated every 100 ecm. If you have OScam on your PC (more CPU power) than you can decrease this setting to 50 or even lower. If you have OScam on satellite receiver then you should leave default value which is 100.
    lb_reopen_mode = 1 is my recommended setting.
    lb_savepath can be changed. I use /usr/local/etc/stats but you can use something else if you want or need.
    You do not need to change anything else here. Now you need to visit reader part of WebIF and modify lb_weight value. I suggest that you put lb_weight = 300 if you have local cards. This means that these local cards will have priority over normal readers (cccam/newcamd/camd35, etc.). For other readers you can just leave default value which is 100. If you have 0100 Cyfra local card, you probably do not want that OScam uses this card from cccam readers. Well, loadbalancing will help you achieving this goal.

    I think I covered all loadbalancing basics and you are now good to go. If you have any questions, please use “Contact Us” form or leave a comment!
    Last edited by Hotzenwalder; 13-04-2013 at 04:37 PM.

Similar Threads

  1. How to install oscam on vps
    By AlloCCcam in forum Smart Cards & CardShare General
    Replies: 0
    Last Post: 16-07-2013, 01:56 AM
  2. conect oscam to oscam
    By Vitor Sousa in forum Smart Cards & CardShare General
    Replies: 0
    Last Post: 15-07-2013, 11:57 PM
  3. OSCam v.0.99.2 AzBOX HD
    By AlloCCcam in forum Azbox / Microbox Receivers Support
    Replies: 0
    Last Post: 15-07-2013, 01:21 AM
  4. How to install Oscam on VPS
    By Hotzenwalder in forum Oscam Support
    Replies: 1
    Last Post: 25-04-2013, 09:12 PM
  5. How to use TNTSAT with OScam and CCcam
    By Hotzenwalder in forum Oscam Tutorials
    Replies: 0
    Last Post: 13-04-2013, 03:42 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

All posts written express the point of view of its owner, does not imply in any way the point of view of management forum.

TopSat.Org The Best Satellite Top Lists !!! Daily Stats !!!