Is there an upgrade process for Karaf 4.1.0 to 4.1.1?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Is there an upgrade process for Karaf 4.1.0 to 4.1.1?

mtod09
Is there an upgrade process for Karaf 4.1.0 to 4.1.1 or is this a wipe and replace?

Mike
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Is there an upgrade process for Karaf 4.1.0 to 4.1.1?

mtod09
Anyone have a process I would like to upgrade without having reinstall everything?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Is there an upgrade process for Karaf 4.1.0 to 4.1.1?

cschneider
You can try to copy over the etc dir but you will have to reinstall you
feature repos and features unless you set them as boot features.

Christian

On 04.04.2017 15:02, mtod09 wrote:
> Anyone have a process I would like to upgrade without having reinstall
> everything?
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Is-there-an-upgrade-process-for-Karaf-4-1-0-to-4-1-1-tp4050010p4050025.html
> Sent from the Karaf - User mailing list archive at Nabble.com.


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Is there an upgrade process for Karaf 4.1.0 to 4.1.1?

mtod09
That does not sound like a good approach for a production system. If I have to rebuild for every new version of Karaf it would cause a big disruption in production. I would have to stop all inbound messaging then drain all the persisted messages before I could cut over to a new system. Not to mention stopping all Camel routes and stopping any system connecting to them.

That could take a while across regions.

Is there any other approach that could ease the pain?

I may have to rethink the architecture.

Mike
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Is there an upgrade process for Karaf 4.1.0 to 4.1.1?

CLEMENT Jean-Philippe
I guess you don't have several servers with load balancing. So, would it be possible to start a temporary server which will replace the main one, then upgrade the main one and replace back the temporary one?

JP

-----Message d'origine-----
De : mtod09 [mailto:[hidden email]]
Envoyé : mercredi 5 avril 2017 15:22
À : [hidden email]
Objet : Re: Is there an upgrade process for Karaf 4.1.0 to 4.1.1?

That does not sound like a good approach for a production system. If I have to rebuild for every new version of Karaf it would cause a big disruption in production. I would have to stop all inbound messaging then drain all the persisted messages before I could cut over to a new system. Not to mention stopping all Camel routes and stopping any system connecting to them.

That could take a while across regions.

Is there any other approach that could ease the pain?

I may have to rethink the architecture.

Mike



--
View this message in context: http://karaf.922171.n3.nabble.com/Is-there-an-upgrade-process-for-Karaf-4-1-0-to-4-1-1-tp4050010p4050041.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Is there an upgrade process for Karaf 4.1.0 to 4.1.1?

mtod09
I have a test bed with a master / slave cluster setup for Artemis each node is on different Karaf instance and using a replicated persistence model. I guess I can give it a try under load to see if this will function as an upgrade model.

I'm not using the Karaf cluster options only the Artemis master/slave I mainly use Karaf's hot deployment for camel routes.
We implemented an event base model so our clients need a single point to get the latest event. So a split brain is a real issue running Active/Active models.

I was planning on having 4 geographical clusters at min 2 US and 2 EU in a network of brokers configuration. This will all be running in AWS and has to be fully scripted and auto discovery.

Thanks

Mike




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Is there an upgrade process for Karaf 4.1.0 to 4.1.1?

cschneider
Many people use the karaf-maven-plugin to create a custom distro that can define the boot features (karaf ones as well as your own) as well as changes to configs.
If you do this in your build or deployment pipeline then upgrading to a new karaf version is mainly changing the karaf version to the new one.

Unfortunately this fully automated packaging does not play well with using hot deployments. It works best when you define the whole karaf setup in your pipelines and do not touch it when it is running (immutable server pattern).

For upgrades without dowtime the typical scheme is a blue / green deployment where you have failover of at least two servers and upgrade one at a time while the other takes the load.

Christan

2017-04-05 19:49 GMT+02:00 mtod09 <[hidden email]>:
I have a test bed with a master / slave cluster setup for Artemis each node
is on different Karaf instance and using a replicated persistence model. I
guess I can give it a try under load to see if this will function as an
upgrade model.

I'm not using the Karaf cluster options only the Artemis master/slave I
mainly use Karaf's hot deployment for camel routes.
We implemented an event base model so our clients need a single point to get
the latest event. So a split brain is a real issue running Active/Active
models.

I was planning on having 4 geographical clusters at min 2 US and 2 EU in a
network of brokers configuration. This will all be running in AWS and has to
be fully scripted and auto discovery.

Thanks

Mike








--
View this message in context: http://karaf.922171.n3.nabble.com/Is-there-an-upgrade-process-for-Karaf-4-1-0-to-4-1-1-tp4050010p4050045.html
Sent from the Karaf - User mailing list archive at Nabble.com.



--
--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Is there an upgrade process for Karaf 4.1.0 to 4.1.1?

mtod09
Thanks for the info. I'll check it out.

Mike
Loading...