Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-38162

6.5.1 Non-root Install and Upgrade

    XMLWordPrintable

Details

    • Epic
    • Status: Closed
    • Critical
    • Resolution: Done
    • 6.5.0, 5.5.4, 6.0.3
    • 6.5.1
    • ns_server, tools
    • Security Level: Public
    • Tools: 6.5.1 Non-root Install and Upgrade
    • Done

    Description

      Background

      The present process for non-root install of Couchbase Server is as documented in Installing as non-root, non-sudo

      General steps (or a variation of this):

      1. stop the old version of couchbase
      2. unpack the new version to a new directory using rpm2cpio, cpio, reloc.sh
      3. copy opt/couchbase/var/lib/couchbase to the previous version to the new version*
      4. copy opt/couchbase/etc/couchdb/local.ini from the previous version to the new version
      5. change a symlink named "current" to point to the newly installed couchbase dir
      6. delete the old installation
      7. start up the new couchbase version

      In addition to this, Starting / Stopping / Status of the server was also performed by modifying opt/couchbase/etc/couchbase_init.d file. 

      For upgrading from Couchbase Server 5.5.4 to 6.0.3, scripts were also supplied to perform non-root upgrade. Basically above steps to upgrade. 

      Issues with Couchbase Server 6.5.0:

      This process and scripts supplied will not work with Couchbase Server 6.5.0 since the data storage has changed due to the support for Collections. 

      Couchbase Server 6.5.0 is certified only on Centos/RHEL Versions 7 and 8 and these do not have opt/couchbase/etc/couchbase_init.d which customers use to start, stop and check the status of the server 

      Requirement

      Non-root install/upgrade would be implemented as a “first class citizen”. That is, non-root install/upgrade would behave the exact same way as root install/upgrade.

      Use systemctl for Start/Stop/Status of Couchbase Server

       

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            Patrick Varley can Tony pick this up for testing?

            arunkumar Arunkumar Senthilnathan (Inactive) added a comment - Patrick Varley can Tony pick this up for testing?
            pvarley Patrick Varley added a comment - - edited

            Arunkumar Senthilnathan All good to go. The steps to do the install and upgrade are:

            1. Download the rpm
            2. Download the script
            3a: Install:

            cb-non-package-installer --install --install-location couchbase-home --package couchbase-server-enterprise-6.5.0-3290-centos7.x86_64.rpm
            

            3.b Upgrade:

            cb-non-package-installer --upgrade --install-location couchbase-home --package couchbase-server-enterprise-6.5.0-centos7.x86_64.rpm
            

            pvarley Patrick Varley added a comment - - edited Arunkumar Senthilnathan All good to go. The steps to do the install and upgrade are: 1. Download the rpm 2. Download the script 3a: Install: cb-non-package-installer --install --install-location couchbase-home --package couchbase-server-enterprise-6.5.0-3290-centos7.x86_64.rpm 3.b Upgrade: cb-non-package-installer --upgrade --install-location couchbase-home --package couchbase-server-enterprise-6.5.0-centos7.x86_64.rpm
            thuan Thuan Nguyen added a comment - - edited Verified Here is matrix of nonroot upgrade path https://docs.google.com/spreadsheets/d/11Gxlix61cCccQDYYcnhc-KPT2T5-SWtdGVRRsvJLb6w/edit?usp=sharing

            People

              owend Daniel Owen
              krishna.doddi Krishna Doddi
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty