Omada Controller Docker

Comments

40 comments

  • Avatar
    GB

    Thank you Charles! I was able to finish the installation and controller is up and running now!

    0
    Comment actions Permalink
  • Avatar
    Kyle Miller

    I'm stuck on creating the macvlan. My DHCP range starts at 192.168.1.50. FWP is at 1.1. I want the controller at 192.168.1.2. The docker network create command keeps returning error saying 1.1 is already in use.

    This is my command:

    sudo docker network create -d macvlan --subnet 192.168.1.0/24 --gateway 192.168.1.1 --ip-range 192.168.1.2/31 --aux-address="firewalla=192.168.1
    .1" -o parent=br0 omada_macvlan

    "aux-address" option makes no difference. Same error.

    Error response from daemon: failed to allocate gateway (192.168.1.1): Address already in use

    When the instructions say on the same subnet and outside DHCP range, it means on same subnet as Firewalla. Correct?

    Why is it necessary to create 2ips on macvlan?

    0
    Comment actions Permalink
  • Avatar
    Charles W

    Sorry for the late reply, but did you try any other address like .46 instead of .2? Maybe 192.168.1.2 is already taken(in use).

    This step is optional. It's only needed if you want the controller to have a different IP address than the host for security reasons.

     

     

    0
    Comment actions Permalink
  • Avatar
    Charles W

    Also, I plan to move away from using FWP as an omada controller. I'll either use another device with more resources or a dedicated OC-200 hardware controller. I don't think the FWP has enough resources to run the controller as a docker. The controller is not terribly efficient at using either memory or CPU resources and was affecting other functions of FWP. Gold may have been a better platform for it.

    2
    Comment actions Permalink
  • Avatar
    GB

    @charles w, I am running it on a FWG, and am coming around to the same conclusion for different reasons. Router function is more critical than the software controller.

    0
    Comment actions Permalink
  • Avatar
    Charles W

    @GB, That's good to know. I've been mentally playing out a few options and "upgrading" to FWG was one of them.

    I've moved the controller over to my Unraid Server for now, but I don't really want to keep it running 24/7.

    I think OC-200 is probably the easiest solution, but I've read some unconfirmed rumors of it being phased out. Currently it's still getting the latest firmware updates.

    One tip though: Keep multiple backups of the controller files and logs ready to go. It was relatively painless to migrate over to a different controller. (I even went from 4.4.8 to 5.9.31)

    0
    Comment actions Permalink
  • Avatar
    Charles W

    At least migrating to the hardware controller isn't too bad:

    Plug in new OC200(Poe+USB) on the same network.

    Do a Basic Setup: (Skip Everything for configuration)
    Update if prompted:
    image.png
     
    Start software controller:
    Upgrade Software controller if needed(I'm not sure if this is needed for ver 4.X -> 5.X):
    Change docker compose file from 4.4 to latest (5.9.31 was the latest as of this post)
    Restart Docker: FWP spikes in Load and slows way down, APs might lose access for a while.
    Backup/Export config file with or without logs: Settings->Maintenance->Backup
     
    Go to new controller: Restore configuration with Backup .cfg file
     
    Go to devices pages: devices will show disconnected->provisioning->configuring->connected
    You may try to force provisioning if you get impatient
     
    Insert USB Drive and setup auto-backup to flash drive
     
    Stop software controller docker.
     
    Pat yourself on the back and stop worrying about dockers affecting your FW.

     

    0
    Comment actions Permalink
  • Avatar
    Alak

    Thanks for this guide!  I was able to successfully get the Omada controller up and running on my Firewalla Gold using these instructions.  I found that the new java process took almost 1/3 of the 4G RAM on the FWG and was pushing my memory usage close to the limit.  I was able to successfully upgrade to this 8 GB of RAM https://www.amazon.com/dp/B0145WDNI4.  This gave me a comfortable free memory margin.  To upgrade the RAM, just shut down gracefully, open the box, swap the RAM and restart.

    Just for reference, I am running the following 4 docker containers on my FWG.  No issues so far.

    • cloudflared
    • pihole
    • toddaustin07/edgebridge
    • mbentley/omada-controller

    Note:  mbentley/omada-controller:5.13 is the latest working version at the time of my comment.  Version 5.14 has a bug due to some TP-Link issue and will not start up so don't pull the default latest version.  Specify the 5.13 version.

    0
    Comment actions Permalink
  • Avatar
    John H. Ronafalvy

    I've been running it for a couple years. Definitely stay away from version 5.14 and don't set the container to use the latest version. I'm considering moving away from the container controller and using the new Omada cloud service.

    1
    Comment actions Permalink
  • Avatar
    Alak

    I just wanted to provide an update that the previous issue with version 5.14 not starting up has been fixed in the latest versions.  I am successfully running mbentley/omada-controller:5.14.32.4 on Firewalla Gold.

    0
    Comment actions Permalink

Please sign in to leave a comment.