If you do not store dialogs in the memory and not rely on transactional variables used for passing data between request/reply handling there is nothing bad regarding the downtime as state handled by the UA but not by proxy 

If you depend on such things the migration is really depends on your infrastructure ( using DNS as failover or  VRRP and HA, or build cluster with DMQ, or distribute data between nodes over database) so in general advice - have multiple instances and transit traffic to one while upgrading another...

On Wed, Apr 17, 2024, 18:59 satyaprakash ch via sr-users <sr-users@lists.kamailio.org> wrote:
HI

I currently have two proxy servers running in my environment, and I want to upgrade Kamailio from version 5.4.7 to 5.6.

Can I recompile the Kamailio service before restarting it without downtime ? Will there be any impact on my production environment if I recompile Kamailio to the newer version? If there is no impact, I expect approximately 2 minutes of downtime during the service restart.

Here's the scenario:

No Downtime:
Clone the Kamailio repository with git clone https://github.com/kamailio/kamailio.git
Navigate to the Kamailio directory with cd kamailio
Update the modules.lst file with any necessary additions
Compile with make
Install with make install
Downtime:
Restart the Kamailio service.


Please advise on this.

Thanks.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: