Details
Description
Online upgrade 5 nodes cluster from 1.8.1
Cluster has one default bucket with 20 million items. Data path is set to c:/data
10.3.2.11
10.3.2.12
10.3.2.16
10.3.2.10
10.3.2.75
to 2.0.0-1971
10.3.2.11 (data path and index path is set to default path when install 2.0.0-1971)
10.3.2.16
10.3.2.75
10.3.2.76
10.3.2.77
Change index path in node 11 to new path (c:/index), couchbase server on node 11 restart.
curl -i -v --data "index_path=c:/index" "http://Administrator:password@10.3.2.11:8091/nodes/self/controller/settings"
* About to connect() to 10.3.2.11 port 8091 (#0)
* Trying 10.3.2.11... Connection refused
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host
I try to run again with cygwin style path
curl -i -v --data "index_path=/cygdrive/c/index" "http://Administrator:password@10.3.2.11:8091/nodes/self/controller/settings"
* About to connect() to 10.3.2.11 port 8091 (#0)
* Trying 10.3.2.11... connected
* Connected to 10.3.2.11 (10.3.2.11) port 8091 (#0)
* Server auth using Basic with user 'Administrator'
> POST /nodes/self/controller/settings HTTP/1.1
> Authorization: Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==
> User-Agent: curl/7.21.3 (x86_64-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
> Host: 10.3.2.11:8091
> Accept: */*
> Content-Length: 28
> Content-Type: application/x-www-form-urlencoded
>
< HTTP/1.1 400 Bad Request
HTTP/1.1 400 Bad Request
< Server: Couchbase Server 2.0.0-1971-rel-enterprise
Server: Couchbase Server 2.0.0-1971-rel-enterprise
< Pragma: no-cache
Pragma: no-cache
< Date: Mon, 03 Dec 2012 21:14:06 GMT
Date: Mon, 03 Dec 2012 21:14:06 GMT
< Content-Type: application/json
Content-Type: application/json
< Content-Length: 47
Content-Length: 47
< Cache-Control: no-cache
Cache-Control: no-cache
<
* Connection #0 to host 10.3.2.11 left intact
* Closing connection #0
["An absolute path is required for index_path"]
In log page, see couchbase server restart on node 11
Couchbase Server has started on web port 8091 on node 'ns_1@10.3.2.11'. menelaus_sup001 ns_1@10.3.2.11 13:12:38 - Mon Dec 3, 2012
Shutting down bucket "default" on 'ns_1@10.3.2.11' for server shutdown ns_memcached002 ns_1@10.3.2.11 13:09:28 - Mon Dec 3, 2012
Setting database directory path to c:/Program Files/Couchbase/Server/var/lib/couchbase/data and index directory path to c:/index ns_storage_conf000 ns_1@10.3.2.11 13:09:28 - Mon Dec 3, 2012
Try connect to memcached on node 11, it hang
thuan@ubu-1604:/opt/couchbase/bin$ ./cbstats 10.3.2.11:11210 raw warmup
Cluster has one default bucket with 20 million items. Data path is set to c:/data
10.3.2.11
10.3.2.12
10.3.2.16
10.3.2.10
10.3.2.75
to 2.0.0-1971
10.3.2.11 (data path and index path is set to default path when install 2.0.0-1971)
10.3.2.16
10.3.2.75
10.3.2.76
10.3.2.77
Change index path in node 11 to new path (c:/index), couchbase server on node 11 restart.
curl -i -v --data "index_path=c:/index" "http://Administrator:password@10.3.2.11:8091/nodes/self/controller/settings"
* About to connect() to 10.3.2.11 port 8091 (#0)
* Trying 10.3.2.11... Connection refused
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host
I try to run again with cygwin style path
curl -i -v --data "index_path=/cygdrive/c/index" "http://Administrator:password@10.3.2.11:8091/nodes/self/controller/settings"
* About to connect() to 10.3.2.11 port 8091 (#0)
* Trying 10.3.2.11... connected
* Connected to 10.3.2.11 (10.3.2.11) port 8091 (#0)
* Server auth using Basic with user 'Administrator'
> POST /nodes/self/controller/settings HTTP/1.1
> Authorization: Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==
> User-Agent: curl/7.21.3 (x86_64-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
> Host: 10.3.2.11:8091
> Accept: */*
> Content-Length: 28
> Content-Type: application/x-www-form-urlencoded
>
< HTTP/1.1 400 Bad Request
HTTP/1.1 400 Bad Request
< Server: Couchbase Server 2.0.0-1971-rel-enterprise
Server: Couchbase Server 2.0.0-1971-rel-enterprise
< Pragma: no-cache
Pragma: no-cache
< Date: Mon, 03 Dec 2012 21:14:06 GMT
Date: Mon, 03 Dec 2012 21:14:06 GMT
< Content-Type: application/json
Content-Type: application/json
< Content-Length: 47
Content-Length: 47
< Cache-Control: no-cache
Cache-Control: no-cache
<
* Connection #0 to host 10.3.2.11 left intact
* Closing connection #0
["An absolute path is required for index_path"]
In log page, see couchbase server restart on node 11
Couchbase Server has started on web port 8091 on node 'ns_1@10.3.2.11'. menelaus_sup001 ns_1@10.3.2.11 13:12:38 - Mon Dec 3, 2012
Shutting down bucket "default" on 'ns_1@10.3.2.11' for server shutdown ns_memcached002 ns_1@10.3.2.11 13:09:28 - Mon Dec 3, 2012
Setting database directory path to c:/Program Files/Couchbase/Server/var/lib/couchbase/data and index directory path to c:/index ns_storage_conf000 ns_1@10.3.2.11 13:09:28 - Mon Dec 3, 2012
Try connect to memcached on node 11, it hang
thuan@ubu-1604:/opt/couchbase/bin$ ./cbstats 10.3.2.11:11210 raw warmup
Install couchbase server 2.0.0-1971 on node 10.3.2.4 and set data and index to default path.
Create default bucket.
Change index path to /data from default path using curl command
huan@ubu-1604:/opt/couchbase/bin$ curl -i -v --data "index_path=/data" "http://Administrator:password@10.3.2.4:8091/nodes/self/controller/settings" * About to connect() to 10.3.2.4 port 8091 (#0)
* Trying 10.3.2.4... connected
* Connected to 10.3.2.4 (10.3.2.4) port 8091 (#0)
* Server auth using Basic with user 'Administrator'
> POST /nodes/self/controller/settings HTTP/1.1
> Authorization: Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==
> User-Agent: curl/7.21.3 (x86_64-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
> Host: 10.3.2.4:8091
> Accept: */*
> Content-Length: 16
> Content-Type: application/x-www-form-urlencoded
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Server: Couchbase Server 2.0.0-1971-rel-enterprise
Server: Couchbase Server 2.0.0-1971-rel-enterprise
< Pragma: no-cache
Pragma: no-cache
< Date: Mon, 03 Dec 2012 23:50:40 GMT
Date: Mon, 03 Dec 2012 23:50:40 GMT
< Content-Length: 0
Content-Length: 0
< Cache-Control: no-cache
Cache-Control: no-cache
<
* Connection #0 to host 10.3.2.4 left intact
* Closing connection #0
Couchbase server shutdown as in log below.
Couchbase Server has started on web port 8091 on node 'ns_1@127.0.0.1'. menelaus_sup001 ns_1@127.0.0.1 15:50:39 - Mon Dec 3, 2012
I'm the only node, so I'm the master. mb_master000 ns_1@127.0.0.1 15:50:39 - Mon Dec 3, 2012
Shutting down bucket "default" on 'ns_1@127.0.0.1' for server shutdown ns_memcached002 ns_1@127.0.0.1 15:50:30 - Mon Dec 3, 2012
Setting database directory path to /opt/couchbase/var/lib/couchbase/data and index directory path to /data ns_storage_conf000 ns_1@127.0.0.1 15:50:30 - Mon Dec 3, 2012