iWiSp v0.50 RC
History of Previous Released Versions

User avatar
IWISP-Lefteris
iWisp Stuff
Posts: 80
Joined: Thu Jun 11, 2015 7:28 am
Has thanked: 3 times

iWiSp v0.50 RC

by IWISP-Lefteris » Fri Jan 08, 2016 1:26 pm

iWiSp v0.50 RC

IMPORTANT

*IF YOU ARE ON A WINDOWS MACHINE OR NOT A DEBIAN LIKE LINUX DO NOT UPDATE YOUR APPLICATION BEFORE CONTACTING US.*

**RECOMMENDED WAY TO UPDATE IS TO DOWNLOAD THE FILES AND EXTRACT THEM IN YOUR APPLICATION EITHER THROUGH THE IN-APP UPLOAD FORM**

***PLEASE BACKUP YOUR DATABASE THROUGH THE APP BEFORE UPDATING***

In order for the update to work some folders must be writable. Those are apart from the root application folder
application
assets
system

LOGIN URL HAS CHANGED FOR THE MONITORING SINCE CLIENT PORTAL WAS INTRODUCED. YOU MAY NOW LOGIN USING <ip>/<apppath>/manage

As we mentioned in the past update we did a huge rework on the way we pull stats and handle the monitoring of the devices.
By doing so we are now able to increase the amount of devices to be monitored by a great amount which would not be possible with the
previous method.
You should notice a big change in your server speed but the applications functionality. For example, using the discovery will now take
approximately 1 second per 255 IPs.
Now to do so we had to give up a few things too. Unfortunately we can no longer support Windows OS but Linux only.
Read on below for information on how can you do the transfer if you are on a Windows server and not lose any of your data-settings.

We do have some extra dependencies that you will need. Below is a list for them and some commands that will help you install them
( on Debian like linux distributions ).

Python Dependencies
python2.7 > apt-get install python2.7
python-pip > apt-get install python-pip
python-mysqldb > apt-get install python2.7-mysqldb
python-dev > apt-get install python-dev
simplemysql > pip install simplemysql
paramiko > pip install paramiko
pycrypto > pip install pycrypto
ecdsa > pip install ecdsa
phpserialize > pip install phpserialize
ipaddress > pip install ipaddress

After you have installed all that go to Left Menu > Application Settings > Preferences > Python path
You will have to fill in this field with your python path. Usually it's /usr/bin/python or python. In case there is no suggestion in the box please open a terminal and run

Code: Select all

which python
to get your python path. After you save the path go to System Information and you will find there functions to check your python compatibility ( modules ) and run the cronjob manually to test that it works.

You can also check your Python compatibility by pointing your browser to

Code: Select all

<ip>/<apppath>/python_check.php
Read below for the changes:

1.) We are dropping support for HTTPS monitoring for the below devices:
Ubnt Airmax Devices
UubntAC Devices
Netonix
Toughswitch
You can now monitor those devices using only SSH. HTTPS is still enable and possible for any Bitlomat devices.

2.) We removed the monitoring modules function and made it much smarter and possible to auto-detect the best module available
for the devices version. So from now on upon the first or second stat collected the devices should be appointed to the correct module
automatically. The cron settings page still exists but will be removed on a later on version. Left it online for some debugging and various settings like SSH connections timeout for the devices.

You won't have to do anything to transition to this. Give it 1-2 minutes for the cron to run at least 2 times and then if you are facing any issues please do contact us.
We want to make it as straight forward as possible and easy to add and support devices.

3.) Discovery Tool
As we mentioned above the discovery tool got an upgrade. Feel free to try it out as long as you have setup the python path correctly and installed all the dependencies.

4.) Auto Discovery
We moved the interface from the Application Settings to the Discovery Tool Page.
Click the Auto Discover button at the top to bring forward the list of your networks. You can now set a specific timer ( every 15, 30 minutes etc etc) for each network range you'd like to run. Auto device adoption is in the future plans. Newly discovered devices from the cron run will appear in the main dashboard.

5.) In the Application Settings you will find a couple of new fields.
i.) Python Path -> Like we mentioned above if there is no suggestion in the box please run "which python" at a terminal and fill in this field.
ii.) If this is set correctly in the System Information you should see the Python: Python is installed and this seems ok field with a check, if not that means maybe the path is set wrong or your apache server does not have the right to run

Code: Select all

exec commands
.
Make sure to run the "Check Python Compatibility" and "Run Cronjob Now" functions and wait for an output. For anything strange on these two please do report back to us.
iii.) Google Elevation API -> * You can get an API here https://developers.google.com/maps/docu ... tion/intro
This API will open a new feature in the device's page ( UBNT-UBNTAC-AIRFIBER) showing an elevation chart between two connected devices.

6.) In the device's page map you may now see a link between the device and the ones that it is connected to similar to the Global map
with the link color indicating the signal strength.

7.) Airfiber
Airfiber got a new chart. Head over to it's page to see a chart about Tx Capacity and Rx Capacity.

8.) Backup and restore works on all browsers.
Head over to Application Settings and Backup - Restore tab to download a copy of your database.

9.) Products
Product's page got a rework. New way to add price plans and edit them.


You can Update from within application
OR
Download it from here http://cdn.iwisp.gr/v050/full/iwisp-beta-v050.zip for fresh installation.
OR
Download and extract from here http://cdn.iwisp.gr/v050/update/v050.zip in your application.

IMPORTANT NOTICE
To Update your application go to settings from user drop down menu, Update Tab and click Update.

Reminder : Before update close the cron from settings Tab in Web Application (Not the Server Side) and after update you must enable it again
"The Most Important Thing In Life Is Showing Up"
"I Just Had A Bad Day"
"We'll Be Back"
"Further Beyond"

kbloch
Posts: 16
Joined: Tue Aug 11, 2015 6:08 pm
Has thanked: 2 times
Been thanked: 6 times

Re: iWiSp v0.50 RC

by kbloch » Fri Jan 08, 2016 3:38 pm

What are the hardware requirements or recommendations for the linux server?

How fast CPU?

How much RAM?

How much storage?


Reason being is we were running on a windows box and will now need to configure a linux VM for testing the application.

Also is SNMP still on the horizon?

User avatar
IWISP-Lefteris
iWisp Stuff
Posts: 80
Joined: Thu Jun 11, 2015 7:28 am
Has thanked: 3 times

Re: iWiSp v0.50 RC

by IWISP-Lefteris » Fri Jan 08, 2016 4:24 pm

What are the hardware requirements or recommendations for the linux server?

How fast CPU?

How much RAM?

How much storage?


Reason being is we were running on a windows box and will now need to configure a linux VM for testing the application.

Also is SNMP still on the horizon?
From the testing we have done so far we suggest the below:

For about 300-400 devices we recommend 2 cores 2 processors and RAM at 4GB.
For space 20-30 GB should suffice.

We currently have a couple of people with close to 700-800 devices so still doing some testing there for requirements and tuning.

SNMP is definitely on the horizon although i cannot give an ETA yet. PHP isn't that friendly with SNMP and big number of devices
so that was an extra motive for us to move the monitoring part away from it.

Thank you for using iWisp and your interest.
Lefteris

EDIT: Might i recommend a debian like linux ( Ubuntu imo )
"The Most Important Thing In Life Is Showing Up"
"I Just Had A Bad Day"
"We'll Be Back"
"Further Beyond"

It is currently Wed Apr 14, 2021 5:53 pm