Upgrade Couchbase Server from 4.1 CE to 6.0 CE

We have currently 3 node cluster which is running version 4.1.1 CE. We are planning for a upgrade to 6.0.0 CE.
The upgraded cluster needs to be on new hosts with Centos 7.6.
What would be the best patch for the upgrade?

Hi @Arjun2usana

Direct upgrade from 4.1.x to 6.0.x is not supported. You should upgrade to 4.6.x first, then 5.x and then to 6.0.x. Recommended upgrade path for your case is 4.1.1 -> 4.6.5 -> 5.5.4 -> 6.0.1 .


@Arjun2usana, since you also mentioned your upgraded cluster needs to be on new hosts with Centos 7.6, you would have to do do an online upgrade by swapping old nodes with new nodes. More info about how to do upgrades and best practices can be found here : https://docs.couchbase.com/server/current/install/upgrade.html

Hope this answers your question.

What about the option of using XDCR for upgrade process? Can I use XDCR setup between different versions of cluster?
In my case source cluster will be on 4.1.1 and target will be at 6.0.0.

XDCR between a source cluster and target cluster of different versions will work, but XDCR between 4.1.x and 6.0.x is not supported and tested. You can try taking a backup of the data in 4.1.x, and restore in 6.0.x instead.

Hi Mihir.Kamdar
I see that you mentioned in one of your earlier replies that my upgrade path should be 4.1.1 -> 4.6.5 -> 5.5.4 -> 6.0.1. We are currently using community edition and I see that the path for community edition was mentioned as 4.x → 5.x → 6.0 as per the document https://docs.couchbase.com/server/current/install/upgrade.html. Can you please confirm that?