Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: ThouveninRomain on February 12, 2009, 05:18:29 PM

Title: [ANNOUNCE] smeserver-htbwshaper-0.1.0-ASP_1.noarch.rpm
Post by: ThouveninRomain on February 12, 2009, 05:18:29 PM
Hi !

We developed a contrib based on the "wondershaper" script, which can be used to add quality of service support to SME 7.x.
Currently, the main topic of this contrib is to allow prioritization of voip traffic over all other kinds of traffic.
A server manager plugin had been added to this contrib, to allow some parameters to be tuned.
Only french translation of the server manager plugin is available. English one may follow as soon as possible.

RPM and SRPM can be found here :

http://docs.asperience.fr/sme/smeserver-htbwshaper-0.1.0-ASP_1.noarch.rpm (http://docs.asperience.fr/sme/smeserver-htbwshaper-0.1.0-ASP_1.noarch.rpm)
http://docs.asperience.fr/sme/smeserver-htbwshaper-0.1.0-ASP_1.src.rpm (http://docs.asperience.fr/sme/smeserver-htbwshaper-0.1.0-ASP_1.src.rpm)
Contact :
guilloting@asperience.fr

Regards,
Title: Re: [ANNOUNCE] smeserver-htbwshaper-0.1.0-ASP_1.noarch.rpm
Post by: Daniel B. on February 12, 2009, 06:01:20 PM
Hi, this is just great. I had this on my todo list for a while, I can remove it now ;)

I've just installed it on a test server and haven't really tried it yet.

Just some suggestions:
- it'd be great to also specify custom hight priority ports/proto, for example, we often use IAX as VoIP protocole.
- templates should be in /etc/e-smith/templates instead of /etc/e-smith/templates-custom

If I find some time, I'll try to give you some patchs to enhance this contrib (for example, the possibility to add a priority key in the DB for each service, so we could set SMTP and HTTP to low priority etc...)

Anyway, thanks for the contrib.

Best regards
Title: Re: [ANNOUNCE] smeserver-htbwshaper-0.1.0-ASP_1.noarch.rpm
Post by: cactus on February 12, 2009, 06:22:11 PM
We developed a contrib based on the "wondershaper" script, which can be used to add quality of service support to SME 7.x.
Any change of your contrib being added to the SME contribs CVS and smecontribs repository as described in http://wiki.contribs.org/Package_Modification ?
Title: Re: [ANNOUNCE] smeserver-htbwshaper-0.1.0-ASP_1.noarch.rpm
Post by: ASPerience on February 13, 2009, 10:03:41 AM
As this is our first official contrib to SME, I admit we are not fully aware of all the steps needed to add our work to the official contrib tree.

Be sure all that is needed will be done ASAP.

Regards.
Title: Re: [ANNOUNCE] smeserver-htbwshaper-0.1.0-ASP_1.noarch.rpm
Post by: cactus on February 13, 2009, 10:19:11 AM
As this is our first official contrib to SME, I admit we are not fully aware of all the steps needed to add our work to the official contrib tree.

Be sure all that is needed will be done ASAP.
Great, I am glad to help you when you are having difficulties getting setup/configured.
Title: Re: [ANNOUNCE] smeserver-htbwshaper-0.1.0-ASP_1.noarch.rpm
Post by: soprom on February 14, 2009, 08:20:34 PM
Merci pour cette contribution!

I tried installing the rpm and got errors. The server is sme7.4 with affa, selintra.714 and ejabberd:

Quote
Migrating existing database selintra
SELMERGE - doing MTIME Conversion
SELMERGE - Nothing to do - MTIME already installed
SELMERGE - Tuples Deleted 45, Tuples Added 45, Messages 118
setting environment...
Reset...
ERROR in /etc/e-smith/templates-custom//etc/htbwshaper/02Interface: Program fragment delivered error <<Can't call method "get_prop" on an undefined value at /etc/e-smith/templates-custom//etc/htbwshaper/02Interface line 5.>> at template line 1
ERROR in /etc/e-smith/templates-custom//etc/htbwshaper/10RTPportStart: Program fragment delivered error <<Can't call method "get_prop" on an undefined value at /etc/e-smith/templates-custom//etc/htbwshaper/10RTPportStart line 5.>> at template line 1
ERROR in /etc/e-smith/templates-custom//etc/htbwshaper/11RTPportEnd: Program fragment delivered error <<Can't call method "get_prop" on an undefined value at /etc/e-smith/templates-custom//etc/htbwshaper/11RTPportEnd line 5.>> at template line 1
ERROR in /etc/e-smith/templates-custom//etc/htbwshaper/12SIPport: Program fragment delivered error <<Can't call method "get_prop" on an undefined value at /etc/e-smith/templates-custom//etc/htbwshaper/12SIPport line 5.>> at template line 1
ERROR in /etc/e-smith/templates-custom//etc/htbwshaper/13debitup: Program fragment delivered error <<Can't call method "get_prop" on an undefined value at /etc/e-smith/templates-custom//etc/htbwshaper/13debitup line 5.>> at template line 1
ERROR in /etc/e-smith/templates-custom//etc/htbwshaper/14debitdown: Program fragment delivered error <<Can't call method "get_prop" on an undefined value at /etc/e-smith/templates-custom//etc/htbwshaper/14debitdown line 5.>> at template line 1
ERROR: Template processing failed for //etc/htbwshaper: 6 fragments generated errors
 at /sbin/e-smith/expand-template line 45
sh: /etc/htbwshaper: Aucun fichier ou répertoire de ce type
sh: /etc/htbwshaper: Aucun fichier ou répertoire de ce type
erreur: %post(smeserver-htbwshaper-0.1.0-ASP_1.noarch) scriptlet failed, exit status 127
[

then when I removed it:
Quote
# rpm -e smeserver-htbwshaper-0.1.0-ASP_1
rm: ne peut enlever `/home/e-smith/db/htbwshaper': Aucun fichier ou répertoire de ce type
Migrating existing database selintra
SELMERGE - doing MTIME Conversion
SELMERGE - Nothing to do - MTIME already installed
SELMERGE - Tuples Deleted 45, Tuples Added 45, Messages 118
setting environment...
Reset...

An empty folder was left behind:
/etc/e-smith/templates-custom/etc/htbwshaper
Title: Re: [ANNOUNCE] smeserver-htbwshaper-0.1.0-ASP_1.noarch.rpm
Post by: SARK devs on February 16, 2009, 08:34:34 AM
Could be failing due to -714 Sophie - there is a problem with it stopping the migrate run.  It may be nothing to do with this new contrib.  You might want to try with -716 instead of -714

Kind Regards



Jeff