Giter Site home page Giter Site logo

kdpuvvadi / omada-ansible Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 3.0 17.16 MB

Install Omada SDN Controller on Ubuntu, Debian and more Linux distros using Ansible

Home Page: https://omadac.puvvadi.me

License: MIT License

Jinja 100.00%
ansible-role omada-controller omada tp-link ansible sdn

omada-ansible's Introduction

Ansible Playbook for Deploying TP-Link Omada SDN Controller

Playbook tested on following host distributions

  • Debian 10, 11, 12
  • Ubuntu 18.04, 20.04

Tested on Control Node Ubuntu 20.04 LTS. Ansible 2.11.6.

Instructions for Ubuntu 22.04/ Debian 12

Manual instalation instructions for installing Omada SDN on Ubuntu 22.04 or Debian 12 https://blog.puvvadi.me/posts/omada-sdn-controller-ubuntu-22-04/

Setup Ansible

  • Install pip sudo apt install python3-pip -y
  • install ansible with pip pip install -i requirements.txt

Installed Packages

  • OpenJDK 8 Headless
  • MongoDB 4.0 -- Omada Supports 3.4 to 4.0
  • curl
  • jsvc
  • tar

Run

  • Clone the repo git clone https://github.com/kdpuvvadi/omada-ansible.git omada-ansible.
  • Install requirements ansible-galaxy collection install -r requirements.yml.
  • Inventory with cp inventory.ini.j2 inventory.ini.
  • Add IP and username of the server to the inventory.
  • Variables with cp vars.yml.j2 vars.yml.

Release

Run the playbook

  • Run ansible-playbook main.yml
  • if you need password for sudo for root access on your host. ansible-playbook main.yml -K

Post Install

  • Omada controller will be available on http://HOST-IP:8088/ or https://HOST-IP:8043/.
  • From v5.0.29 Adoption port has been changed to 29814/tcp.

To work properly ports 8088, 8043, 27001, 27002, 29810, 29811, 29812, 29813 and 29814 should be open.

Omada Service on host

  • sudo tpeap status -- show the status of Controller;
  • sudo tpeap start -- start the Omada Controller;
  • sudo tpeap stop --stop running the Omada Controller.

omada-ansible's People

Contributors

kdpuvvadi avatar rkpuvvadi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

omada-ansible's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.