Re: [asterisk-users] How to make upgrades with Asterisk

2010-03-23 Thread Danny Dias
Thanks Zeeshan,

In fact,i have RealTime configured and working...

What i want is to make an upgrade of libpri and wanpipe at least, asterisk
and zaptel will be like i have now...

Do you think that recompile/upgrade this softwares version will produce a
problem? what steps should i do?

Is it necessary to recompile asterisk if i make an upgrade of libpri? this
recompilation will affect the realtime or the well bahavior of the server?

Working with an old version of asterisk like 1.4.21.2 with the newest
version of libpri is recommended or not?

Thanks in advance for all your advices!



 Message: 11
 Date: Mon, 22 Mar 2010 23:15:00 -0400
 From: Zeeshan Zakaria zisha...@gmail.com
 Subject: Re: [asterisk-users] How to make upgrades with Asterisk
 To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
 Message-ID:
5ad99e891003222015o1727265cr4860d4e8a0b96...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1

 If it is a production server, you should not do the upgrade on it. Setup a
 new server with upgraded software, migrate all the data, test it and make
 sure it works fine. There are things like CDR and voicemail which are
 constantly being updated, meaning just before the final migration, you
 should copy them to the new server.

 I have done some migrations and have found clonezilla to be a wonderful
 tool
 for this purpose. You create a second server on any computer, and once it
 is
 ready, clone it on a USB stick or CD, or on another computer via SSH, then
 clone the production server for backup purposes on a medium of your choice,
 and finally restore this new server image on to the production server. If
 something goes wrong, you'll be able to restore the server back to its
 functional state from the backup cloned image.

 When I migrated my own production server from 1.2 to 1.4, I did the
 rehearsal many times, and very carefully drafted the whole migation plan.
 This also included asking all the users to copy and delete their voicemails
 before the day of migration. It took me about two weeks in planning and
 making sure every single setting will be migrated, before I was comfotable
 to do the migration, which took hardly an hour, and went just perfectly
 smooth.

 Personally I am of the opinion that if it is not really necessary, don't
 upgrade it. Will 1.6 give you something which you don't have in 1.4? It'll
 have its own issues and learning curve. I tried it once and it was only a
 pain for my setup, specially with real-time architecture, and a few other
 things which I can't remember now.

 --
 Zeeshan A Zakaria



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] How to make upgrades with Asterisk

2010-03-23 Thread Zeeshan Zakaria
Hi,
Do clone the existing server in any case. I am not sure about libpri but
zaptel I have recompiled various times without recompiling asterisk, so I
think it should be ok with libpri too. Wanpipe doesn't interact with
asterisk, but with zaptel only so it should not be a problem to update it.
None of these upgrades will affect realtime.

However switching to asterisk 1.6 should be done only on a separate machine
with extreme care and detail, as I mentioned earlier.

If you really want to take risk on your production machine, setup an 8 hour
window at night and inform users of the maintenance schedule. Then do it as
follows:

1. Clone the existing machine. But learn conezilla first, it is very easy,
check it on check my instructions on www.ilovetovoip.com.

2. Update libpri and wanpipe on your server and test that it hasn't broken
anything.

3. If you are not satisfied with the update, restore the server to its
original state from the cloned image.

4. If everything works fine, leave it as it is. In a day or two you'll get
update from your users if there will be any issues, based on which you can
decide whether to roll back or not.

--
Zeeshan A Zakaria

On 2010-03-23 10:56 AM, Danny Dias ing.diasda...@gmail.com wrote:

Thanks Zeeshan,

In fact,i have RealTime configured and working...

What i want is to make an upgrade of libpri and wanpipe at least, asterisk
and zaptel will be like i have now...

Do you think that recompile/upgrade this softwares version will produce a
problem? what steps should i do?

Is it necessary to recompile asterisk if i make an upgrade of libpri? this
recompilation will affect the realtime or the well bahavior of the server?

Working with an old version of asterisk like 1.4.21.2 with the newest
version of libpri is recommended or not?

Thanks in advance for all your advices!



 Message: 11
 Date: Mon, 22 Mar 2010 23:15:00 -0400
 From: Zeeshan Zakaria zisha...@gmail.com
 Subject: Re: [asterisk-users] How to make upgrades with Asterisk
 To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
 Message-ID:
5ad99e891003222015o1727265cr4860d4e8a0b96...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1


 
  If it is a production server, you should not do the upgrade on it. Setup
 a
  new server with up...



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] How to make upgrades with Asterisk

2010-03-22 Thread Danny Dias
Hello my friends,

I want to make upgrades for all my software, currently i have the following
versions:

Asterisk 1.4.21.2
Zaptel Version: 1.4.11
WANPIPE Release: 3.4.7
libpri version: 1.4.5

I want to make upgrade for the last version of Asterisk 1.4, the last
version of Zaptel (dahdi will be nice!), the newest libpri version and
wanpipe

What should i do? this is a production server and i don't want to mess
something...is there a step by step to make this upgrade?

Thanks in advance for your valuable help!

DD
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] How to make upgrades with Asterisk

2010-03-22 Thread Zeeshan Zakaria
If it is a production server, you should not do the upgrade on it. Setup a
new server with upgraded software, migrate all the data, test it and make
sure it works fine. There are things like CDR and voicemail which are
constantly being updated, meaning just before the final migration, you
should copy them to the new server.

I have done some migrations and have found clonezilla to be a wonderful tool
for this purpose. You create a second server on any computer, and once it is
ready, clone it on a USB stick or CD, or on another computer via SSH, then
clone the production server for backup purposes on a medium of your choice,
and finally restore this new server image on to the production server. If
something goes wrong, you'll be able to restore the server back to its
functional state from the backup cloned image.

When I migrated my own production server from 1.2 to 1.4, I did the
rehearsal many times, and very carefully drafted the whole migation plan.
This also included asking all the users to copy and delete their voicemails
before the day of migration. It took me about two weeks in planning and
making sure every single setting will be migrated, before I was comfotable
to do the migration, which took hardly an hour, and went just perfectly
smooth.

Personally I am of the opinion that if it is not really necessary, don't
upgrade it. Will 1.6 give you something which you don't have in 1.4? It'll
have its own issues and learning curve. I tried it once and it was only a
pain for my setup, specially with real-time architecture, and a few other
things which I can't remember now.

--
Zeeshan A Zakaria

On 2010-03-22 10:48 PM, Danny Dias ing.diasda...@gmail.com wrote:

Hello my friends,

I want to make upgrades for all my software, currently i have the following
versions:

Asterisk 1.4.21.2
Zaptel Version: 1.4.11
WANPIPE Release: 3.4.7
libpri version: 1.4.5

I want to make upgrade for the last version of Asterisk 1.4, the last
version of Zaptel (dahdi will be nice!), the newest libpri version and
wanpipe

What should i do? this is a production server and i don't want to mess
something...is there a step by step to make this upgrade?

Thanks in advance for your valuable help!

DD

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users