[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
1789...

[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
139 Reply
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-09-07 18:35:25

I figured it out. Apparently, setting the JAVA_BIN and JAVA_HOME is not all is needed, you actually have to update your global /usr/bin/java to the Oracle 8 version.

After doing a purge of the package, a reinstall and updating the symlink, I got Omada SDN to work.

 

Problem is... every other thing over there needs new gear..

  0  
  0  
#73
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-09-07 21:15:53

@LucianoR, actually JAVA_HOME and JAVA_BIN should not be changed at all. Those are relicts from EAP Controller v2.7 which once had its JRE bundled and used different pathnames to start java under the EAP Controller's home directory.

 

Since Omada Controller v3.0 it is sufficient to install the JRE the right way (using update-alternatives, which is the standard way for all Java packages).

 

See also this thread.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#74
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-09-09 22:07:34 - last edited 2020-09-09 22:10:05

Hi All,

 

sorry if i should post my own topic - tell me and i will.

 

I am running Kali (Debian Buster) and I'm trying to install the SDN product, i have 3.2.10 running and doing well (I've been running the last 4 releases here and upgraded them all to the current), the SDN seems to install but gives me a couple of errors and the services do not start. (see below)

 

I am not well versed in any form of Linux to know how to troubleshoot in-depth, but i am learning and trying to use Linux where possible. Please bear with me if i ask silly questions or post the wrong things. Also, if i have misread or misunderstood any of the pre-reqs or install steps, let me know.

 

I have a backup of my configuration, but it's not essential if i lost it and had to do clean installs, it's only my home setup and i have most things i need documented anyway. I could also restore the machine to yesterday if needs be, it's a simple VM.

 

The errors i get are;

 

insserv: warning: current start runlevel(s) (empty) of script `omadad' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `omadad' overrides LSB defaults (0 1 6).
insserv: Script ntp has overlapping Default-Start and Default-Stop runlevels (2 3 4 5) and (2 3 4 5). This should be fixed.
 

omadactl -w start tells me it has started, but running omadactl status says it's not running

 

Java -version

java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)

 

apt list | grep "omada" (I know this probably isn't the best way to check)

 

omada-controller/now 3.2.10-1 all [residual-config]
omada-sdn-controller/now 4.1.5-2 all [installed,local]

 

EDIT: Forgot to mention if i try to remove it dpkg -r omada-sdn-controller it tells me it isn't installed

  0  
  0  
#75
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-09-10 04:03:24 - last edited 2020-09-10 04:08:42

 

Rod-IT wrote

The errors i get are;

 

insserv: warning: current start runlevel(s) (empty) of script `omadad' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `omadad' overrides LSB defaults (0 1 6).
insserv: Script ntp has overlapping Default-Start and Default-Stop runlevels (2 3 4 5) and (2 3 4 5). This should be fixed.

 

First two lines are warnings, not errors. You can safely ignore them. Overriding LSB defaults in the omadad script is intentional and triggers this warning whenever the omadad script is being enabled or disabled to start at boot time. Nothing to worry of.

 

Third line is related to NTP software, not to to Omada Controller. You will see this error everytime when installing or removing services to be started at boot time until it has been fixed by the NTP package maintainer for the Kali Linux distribution.

 

apt list | grep "omada" (I know this probably isn't the best way to check)

 

Oh yes, it is indeed the best way to check the version, since it shows not only the software version, but also the package version.

 

What mongodb version are you using, i.e. what does the command dpkg -l | fgrep mongodb show?

 

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#76
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-09-10 08:36:10

@R1D2 

 

Sorry, i thought i included that, i must have missed it.

 

ii  mongodb-org                              4.2.9                           amd64        MongoDB open source document-oriented database system (metapackage)
ii  mongodb-org-mongos                       4.2.9                           amd64        MongoDB sharded cluster query router
ii  mongodb-org-server                       4.2.9                           amd64        MongoDB database server
ii  mongodb-org-shell                        4.2.9                           amd64        MongoDB shell client
ii  mongodb-org-tools                        4.2.9                           amd64        MongoDB tools
 

Thanks for the fast reply too.

  0  
  0  
#77
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-09-10 08:38:59

Thanks as well for the information on the notifications, it helps me to better understand the system and how pieces gel.

 

If you'd have asked me 2 years ago to use Linux of any flavour i would have pulled a face, but the last few years I've started moving systems to it

  0  
  0  
#78
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-09-10 09:25:18 - last edited 2020-09-10 09:26:10

@Rod-IT, glad you like Linux.

 

As for mongodb-org v4.2 and better I cannot test this versions since I moved from Debian to Devuan recently. Only Debian system available to me for tests is Debian 8, for which mongodb support was dropped starting with mongodb-org v4.2+.

 

It might be worth a try to install mongodb-org v3.2 or v3.6, both are known to work with Omada SDN Controller. The difference between v3.2 and v3.6 is that v3.2 works with Omada Controller v3.2.10 as well as with SDN Controller v4.1.5, while mongodb-org v3.6 works only with SDN Controller.

 

Thus, if you want to use the switching feature of omadactl to switch between controller versions, install mongodb-org v3.2.22 and upgrade the omada-controller package (current version is 3.2.10-3, not 3.2.10-1 as installed on your system).

 

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#79
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-09-10 11:09:50

@R1D2 

 

Thanks i will give this a go later tonight.

 

I am not against a clean install if i know it will work on Debian Buster and i think once the SDN is up and running i dont have a pressing reason to go back to the old system, but it would be nice to run them alongside during the migration - not essnetial, but nice.

 

If the service is not starting though, is there anything i can look at to guide me as to why it isnt working/loading.

 

I have done something similar in the past to troubleshoot but i forget what i did.

  0  
  0  
#80
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-09-10 15:02:44

@Rod-IT, you can look into Omada Controller's log files or run omadactl with option -v at start of the controller.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#81
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-10-19 18:11:30

@R1D2 

 

Just so everyone knows, i did a clean install on Debian and went straight to the Omada SDN.

 

I have since posted two topics, one with issues i'm facing and i don't know if it's a switch configuration issue or an Omada issue and some issues/fixes/nice to haves in Omada.

 

Overall though, i do like SDN, i also bought a new switch (SG2428P) so everything is now in one place and centrally managed.

  0  
  0  
#82
Options