Whether you are performing an online or offline upgrade, the steps for upgrading an individual nodes in a cluster remain the same:
Download Couchbase Server
Backup data for that node. To backup an existing Couchbase Server installation, use cbbackup . See Section 5.6.1, “Backing Up Using cbbackup”.
Backup the node-specific configuration files. While the upgrade script perform a backup of the configuration and data files, as a best practice you should make your own backup of these files:
Stop Couchbase Server. For instructions, see Section 3.2, “Server Startup and Shutdown”.
Check your hostname configurations. If you have deployed Couchbase Server in a cloud service, or you are using hostnames rather than IP addresse, you must ensure that the hostname has been configured correctly before performing the upgrade. See Section 2.4, “Using Hostnames with Couchbase Server”
Check for required components and if needed, install them. This ensures that Couchbase Server upgrades and migrates your existing data files. See Section 2.7, “Upgrades Notes 1.8.1 to 2.0 +”.
Perform the installation upgrade for your platform:
You can perform an upgrade install using the RPM package — this will keep the data and existing configuration.
root-shell> rpm -U couchbase-server-
You can perform a package upgrade by installing the updated
shell> sudo dpkg -i couchbase-server-
The Install Wizard will upgrade your server installation using
the same installation location. For example, if you have
installed Couchbase Server in the default location,
the Couchbase Server installer will put the latest version at
the same location.