Search:

Search all manuals
Search this manual
Manual
Couchbase Server Manual 2.0
Community Wiki and Resources
Download Couchbase Server 2.0
Couchbase Developer Guide 2.0
Client Libraries
Couchbase Server Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
2 Installing and Upgrading
Chapter Sections
Chapters

2.6. Upgrading Individual Nodes

Whether you are performing an online or offline upgrade, the steps for upgrading an individual nodes in a cluster remain the same:

  1. Download Couchbase Server

  2. Backup data for that node. To backup an existing Couchbase Server installation, use cbbackup . See Section 5.6.1, “Backing Up Using cbbackup.

  3. 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:

    PlatformLocation
    Linux/opt/couchbase/var/lib/couchbase/config/config.dat
    WindowsC:\Program Files\Couchbase\Server\Config\var\lib\couchbase\config\config.dat
  4. Stop Couchbase Server. For instructions, see Section 3.2, “Server Startup and Shutdown”.

  5. 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”

  6. 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 +”.

  7. Perform the installation upgrade for your platform:

    RHEL/Centos

    You can perform an upgrade install using the RPM package — this will keep the data and existing configuration.

    root-shell> rpm -U couchbase-server-architecture___meta_current_version__.rpm

    Ubuntu/Debian Linux

    You can perform a package upgrade by installing the updated .pkg package:

    shell> sudo dpkg -i couchbase-server-architecture___meta_current_release.deb

    Windows

    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, C:\Program Files\Couchbase\Server, the Couchbase Server installer will put the latest version at the same location.