SmoothLinux Blog

Couchbase IP Address Change

24 October, 2015 | couchbase

I have ran into the need to clone a couchbase server. However when you clone a couchbase server the couchbase service will not start because couchbase tries to bind to the old IP address of the master image that you used to create the clone.

So how you get the service to start you ask ?

For Couchbase 2.5.x

Edit the following file or search your base installation location for file "ip" .

/opt/couchbase/var/lib/couchbase/ip

For Couchbase 3.x and  4.x

Edit the following file or search your base installation location for file "ip_start".

/opt/couchbase/var/lib/couchbase/ip_start

Once you have updated the file with your new IP address. You will need to restart the couchbase service again and it should bind to new IP address.

service couchbase-server start

 

 

 

 

 

Comments

comments powered by Disqus