Bin Cui
added a comment - 29/Nov/12 1:21 PM After upgrade to build 1967, you should follow the step 2 again to change to hostnaem to ip address. We don't keep the hostname during upgrade. But we should keep the date upgraded. Can you try again?

Deepkaran Salooja
added a comment - 30/Nov/12 5:57 AM Tried again and followed step 2 again after the upgrade.
Now the hostname is shown correctly. But the bucket(and the data) is lost after upgrade.
After upgrade, setup screen is shown and old bucket/data is lost.

Bin Cui
added a comment - 30/Nov/12 9:23 PM http://review.couchbase.org/#/c/22964/
Before upgrade:
Make sure ip file that contains hostname exists under <installroot>\var\lib\couchbase. Without it, upgrade will fail if node referenced with hostname !!!
After upgrade:
1. net stop couchbaseserver
2. copy <installroot>\var\lib\couchbase\config.dat <installroot>\var\lib\couchbase\config\config.dat
3. following the http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-bestpractice-cloud-ip.html to modify the node reference back to hostname
4. net start couchbaseserver
The above second step is newly added. We need to modify document to reflect the change. Again, this step is essential. Without it, you won't see the upgraded data and original bucket settings!

Steve Yen
added a comment - 30/Nov/12 11:34 PM The change for review is based on a commit that's been -1'ed, so the change will need to be updated to be instead based on the last, submitted couchbase commit.

Deepkaran Salooja
added a comment - 03/Dec/12 10:29 AM With build 1971(which has the fix), the hostname is shown and the original bucket is shown but the data is lost.
Below are the detailed steps I followed:
1. Install 1.8.1 on single node 64bit windows.
2. Change the hostname as per below steps:
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html
3. Setup the cluster on UI and verify the hostname is being used in the Servers section on UI.
4. Create default bucket and load 500 items
5. Edit the ip file under <installroot>\var\lib\couchbase to have the hostname.
6. Upgrade to build 1971
7. net stop couchbaseserver
8. copy <installroot>\var\lib\couchbase\config.dat <installroot>\var\lib\couchbase\config\config.dat
9. modify the node reference back to hostname
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html
10. The UI shows the hostname and default bucket but there is no data in the bucket.

Tested build 1971 on setup 10.3.2.23. And it works with all data upgraded correctly.

Give me your ip address and and i will take a look. Also, please check directory <installdroot>\var\lib\couchbase\data. Do you see both default and default-data directories or just default-data directory? Make sure that ip file name will be just "ip" instead of "ip.txt". And can you show me the content of <installroot>\var\lib\couchbase\config\ip ?

Bin Cui
added a comment - 03/Dec/12 12:00 PM Tested build 1971 on setup 10.3.2.23. And it works with all data upgraded correctly.
Give me your ip address and and i will take a look. Also, please check directory <installdroot>\var\lib\couchbase\data. Do you see both default and default-data directories or just default-data directory? Make sure that ip file name will be just "ip" instead of "ip.txt". And can you show me the content of <installroot>\var\lib\couchbase\config\ip ?

MC Brown (Inactive)
added a comment - 05/Dec/12 5:35 AM Sorry, I'm not following the exact information required in the docs.
Is it that the ip file must match the configuration file *before* the upgrade takes place?
And this only applies to machines on which you have re-configured the IP address/hostname?

kzeller
added a comment - 05/Dec/12 2:15 PM Added to RN with flag to get clarification from QA
For the Microsoft Windows platform,
the upgrade from 1.8.1 to 2.0 does not work as expected on windows64.
This is after changing the C:\Program Files\Couchbase\Server\var\lib\couchbase\ip file.

You must also edit the IP address configuration file, C:\Program Files\Couchbase \Server\var\lib\couchbase\ip. This file contains the identified IP address of the node once it is part of a cluster. Open the file, and add a single line containing the hostname, as configured in the previous step.

kzeller
added a comment - 05/Dec/12 6:22 PM Added to
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html
-Added to Release Note - cross reference to page and on page:
--
You must also edit the IP address configuration file, C:\Program Files\Couchbase \Server\var\lib\couchbase\ip. This file contains the identified IP address of the node once it is part of a cluster. Open the file, and add a single line containing the hostname, as configured in the previous step.