|
This document describes general guidlines how to upgrade DataTechLabs ArrowBilling between minor releases of branch 1.5 versions Before You UpgradeUpgrade between branch 1.5 is considered minor upgrade and does not require significant downtime of the system. In fact, it is possible to do upgrade with no downtime at all. There are no modifications needed to database tables. However, as the precaution, we strongly recommend to have your database backup up to date. What You need to UpdateDepending on exact version components and Radius server you use, there may be more or less work involved in upgrade. Which Radius server am I using?To get to know which Radius server is currently used on your system, do following: # ps ax | grep radius If you have BSDRadius running, the output will be something like this: # /usr/local/bin/python /usr/local/bin/bsdradiusd.py If you are using FreeRadius, the output will be similar to this: # /usr/local/sbin/radiusd If you are using FreeradiusIn case you are running Freeradius, the upgrade is very simple: - backup your existing billing directory:
cp -R billing/ billing_back/ - copy distribution tarball in directory above existing billing directory.
cp billing-x.x.x.tgz dtl - extract it (overwrites files in existing billing directory).
tar -xvzf billing-x.x.x.tgz killall radiusd && radiusd The upgrade is complete. If you are using BSDRadiusIn case of BSDRadius, follow same steps above as described for Freeradius. Additionally, check if there is need to upgrade either wobble library or bsdradius itself. Please refer to supplied documentation or check reference table below. If you need to upgrade wobble library: - change to wobble directory under billing
cd billing/wobble/ python setup.py install If you need to upgrade bsdradius: - change to bsdradius directory under billing
cd billing/bsdradius/ python setup.py install killall bsdradiusd && bsdradiusd Reference table for components supplied with various ArrowBilling versionswobbleArrowBilling 1.5.0 to 1.5.2 -> wobble 1.0.0 ArrowBilling 1.5.3 to 1.5.5 -> wobble 1.1.1ArrowBilling 1.5.7 to 1.5.10 -> wobble 1.1.2 bsdradiusArrowBilling 1.5.0 to 1.5.3 -> bsdradius 0.7.0 ArrowBilling 1.5.5 to 1.5.10 -> bsdradius 0.7.1
|