Details
Description
1) Install 4.1.0 release build on 2 nodes
2) Node1 - KV and Node2 - Index + query
3) Configure the cluster with LDAP and create few indexes as well after install travel-sample
4) Now upgrade 2nd node to 4.5 version. (create a mixed cluster)
[root@node2-cb450-testing-centos6 tmp]# rpm -U couchbase-server-enterprise-4.5.0-1739-centos6.x86_64.rpm
|
Stopping couchbase-server
|
[ OK ]
|
Warning: Transparent hugepages looks to be active and should not be.
|
Please look at http://bit.ly/1ZAcLjD as for how to PERMANENTLY alter this setting.
|
Warning: Transparent hugepages looks to be active and should not be.
|
Please look at http://bit.ly/1ZAcLjD as for how to PERMANENTLY alter this setting.
|
Warning: Swappiness is not set to 0.
|
Please look at http://bit.ly/1k2CtNn as for how to PERMANENTLY alter this setting.
|
Minimum RAM required : 4 GB
|
System RAM configured : 0.97 GB
|
|
Minimum number of processors required : 4 cores
|
Number of processors on the system : 1 cores
|
|
Upgrading couchbase-server ...
|
/opt/couchbase/bin/install/cbupgrade -c /opt/couchbase/var/lib/couchbase/config -a yes
|
Automatic mode: running without interactive questions or confirmations.
|
Analysing...
|
Previous config.dat file is /opt/couchbase/var/lib/couchbase/config/config.dat
|
Target node: ns_1@192.168.46.102
|
Upgrading from 2.0
|
|
Couchbase should not be running.
|
Please use: /etc/init.d/couchbase-server stop
|
|
Database dir: /opt/couchbase/var/lib/couchbase/data
|
|
Buckets to upgrade: default,travel-sample
|
|
Checking disk space available for buckets in directory:
|
/opt/couchbase/var/lib/couchbase/data
|
Free disk bucket space wanted: 0.0
|
Free disk bucket space available: 16575553536
|
Free disk space factor: 2.0
|
Ok.
|
|
Analysis complete.
|
|
Copying /opt/couchbase/var/lib/couchbase/config/config.dat
|
cp /opt/couchbase/var/lib/couchbase/config/config.dat /opt/couchbase/bin/install/../../var/lib/couchbase/config/config.dat
|
Copying /opt/couchbase/var/lib/couchbase/ip_start
|
cp /opt/couchbase/var/lib/couchbase/ip_start /opt/couchbase/bin/install/../../var/lib/couchbase/ip
|
Ensuring bucket data directories.
|
Ensuring bucket data directory: /opt/couchbase/var/lib/couchbase/data/default
|
mkdir -p /opt/couchbase/var/lib/couchbase/data/default
|
Ensuring bucket data directory: /opt/couchbase/var/lib/couchbase/data/travel-sample
|
mkdir -p /opt/couchbase/var/lib/couchbase/data/travel-sample
|
Ensuring dbdir owner/group: /opt/couchbase/var/lib/couchbase/data
|
chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/data
|
Ensuring dbdir owner/group: /opt/couchbase/var/lib/couchbase/data
|
chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/data
|
Upgrading buckets.
|
Skipping already converted bucket: /opt/couchbase/var/lib/couchbase/data/default
|
Upgrading bucket: travel-sample
|
/opt/couchbase/bin/install/../cbtransfer /opt/couchbase/var/lib/couchbase/data/travel-sample-data/travel-sample couchstore-files:///opt/couchbase/var/lib/couchbase/data -b travel-sample --source-vbucket-state=active --destination-vbucket-state=active
|
cbdbupgrade pid: 3757
|
error: unknown type of source: /opt/couchbase/var/lib/couchbase/data/travel-sample-data/travel-sample
|
cbdbupgrade err: 256
|
ERROR: upgrade failed for bucket: travel-sample
|
warning: %post(couchbase-server-4.5.0-1739.x86_64) scriptlet failed, exit status 1
|
Starting couchbase-server
|
[ OK ]
|
|
You have successfully installed Couchbase Server.
|
Please browse to http://node2-cb450-testing-centos6.vagrants:8091/ to configure your server.
|
Please refer to http://couchbase.com for additional resources.
|
|
Please note that you have to update your firewall configuration to
|
allow connections to the following ports: 11211, 11210, 11209, 4369,
|
8091, 8092, 8093, 9100 to 9105, 9998, 18091, 18092, 11214, 11215 and
|
from 21100 to 21299.
|
|
By using this software you agree to the End User License Agreement.
|
See /opt/couchbase/LICENSE.txt.
|
|
Installer complains of upgrade with travel-bucket:
error: unknown type of source: /opt/couchbase/var/lib/couchbase/data/travel-sample-data/travel-sample
|
cbdbupgrade err: 256
|
ERROR: upgrade failed for bucket: travel-sample
|
warning: %post(couchbase-server-4.5.0-1739.x86_64) scriptlet failed, exit status 1
|