Koozali.org: home of the SME Server

How to update SME8A18V31128 ?

Offline fpausp

  • *
  • 728
  • +0/-0
How to update SME8A18V31128 ?
« on: April 12, 2012, 11:09:01 PM »
Hi,

I have SME8A18V31128 up and running in a vm, how should I update it to have the latest ... ?


Best
fpausp
Viribus unitis

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: How to update SME8A18V31128 ?
« Reply #1 on: April 12, 2012, 11:10:06 PM »
The latest SME or the latest sail?


Offline fpausp

  • *
  • 728
  • +0/-0
Re: How to update SME8A18V31128 ?
« Reply #2 on: April 13, 2012, 07:39:50 PM »
I would say both ?
Viribus unitis

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: How to update SME8A18V31128 ?
« Reply #3 on: April 13, 2012, 09:34:58 PM »
sail - backup the database (it's at /opt/sark/db/sark.db) then just download the latest rpms (sail and smesailenv) and install them with yum localinstall.  Then do:-
Code: [Select]
signal-event post-upgrade; signal-event rebootShould be all good to go.

The iso is just an augmented sme iso.  You should be able to yum upgrade it in the normal way but Asterisk will almost certainly break due to kernel dependencies.  If that happens you'll need to find suitable DAHDI kmdls for the new kernel or boot with the old kernel.  In general, we don't tend to yum upgrade Asterisk systems unless they are already in some distress but as long as you have time to hunt down the kmdls it should be OK.  To be on the safe side, you might want to rehearse the upgrade on a test VM before you do it on your live box.


Kind Regards

S




 

Offline fpausp

  • *
  • 728
  • +0/-0
Re: How to update SME8A18V31128 ?
« Reply #4 on: April 14, 2012, 10:22:53 PM »
Quote
You should be able to yum upgrade it in the normal way but Asterisk will almost certainly break due to kernel dependencies.  If that happens you'll need to find suitable DAHDI kmdls for the new kernel or boot with the old kernel.

I always like to use the latest kernel, I just need SIP-trunks (SPA-3102 and SIP-Providers), do I need dahdi kernel modules anymore ... ?
Viribus unitis

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: How to update SME8A18V31128 ?
« Reply #5 on: April 15, 2012, 03:13:47 PM »
It will run without dahdi but things which need a timing source (conference rooms) won't work.  You may also get choppy music on hold.

Kind Regards

S

Offline fpausp

  • *
  • 728
  • +0/-0
Re: How to update SME8A18V31128 ?
« Reply #6 on: April 15, 2012, 09:13:57 PM »
Viribus unitis

Offline fpausp

  • *
  • 728
  • +0/-0
Re: How to update SME8A18V31128 ?
« Reply #7 on: April 15, 2012, 10:13:36 PM »
I think I got it working:

Code: [Select]

# http://packages.asterisk.org/centos/5/current/i386/RPMS/
kmod-dahdi-linux-2.6.0-1_centos5.2.6.18_308.1.1.el5.i686.rpm

# http://sailpbx.com/sail/sail-3.1/
sail-3.1.1-4.noarch.rpm
smesailenv-1.0.0-28.noarch.rpm




regards
fpausp
Viribus unitis

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: How to update SME8A18V31128 ?
« Reply #8 on: April 15, 2012, 11:30:48 PM »
yup, that's all you should need I think - as long as it matches your kernel..- 2.6.18_308.1.1.el5 and the Dahdi release you have (rpm -q dahdi will give it)

If it does then all will work correctly.

Kind Regards

S

Offline fpausp

  • *
  • 728
  • +0/-0
Re: How to update SME8A18V31128 ?
« Reply #9 on: April 19, 2012, 01:20:57 PM »
New dahdi-kmod for new Kernel:

Code: [Select]
wget -c http://packages.asterisk.org/centos/5/current/i386/RPMS/kmod-dahdi-linux-2.6.0-1_centos5.2.6.18_308.4.1.el5.i686.rpm
yum localinstall kmod-dahdi-linux-2.6.0-1_centos5.2.6.18_308.4.1.el5.i686.rpm
signal-event post-upgrade; signal-event reboot

regards
fpausp
Viribus unitis

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: How to update SME8A18V31128 ?
« Reply #10 on: April 19, 2012, 08:32:58 PM »
Thanks!

Glad it all worked out OK for you

:-)

Best

S