From 3799a84354aa325e60674a069d2df2a244ea5420 Mon Sep 17 00:00:00 2001 From: Blair Watt <18262146+udkyo@users.noreply.github.com> Date: Mon, 6 Jun 2022 16:06:02 +0100 Subject: [PATCH 1/7] Update couchbase screenshots --- couchbase/content.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/couchbase/content.md b/couchbase/content.md index 58436fc646f0..4018acd6f728 100644 --- a/couchbase/content.md +++ b/couchbase/content.md @@ -26,20 +26,20 @@ Here is how to get a single node Couchbase Server cluster running on Docker cont **Step - 2 :** Next, visit `http://localhost:8091` on the host machine to see the Web Console to start Couchbase Server setup. -![Setup splash screen](https://d774lla4im6mk.cloudfront.net/6.6.2/setup-initial.jpg) +![Setup splash screen](https://d774lla4im6mk.cloudfront.net/setup-initial.jpg) Walk through the Setup wizard and accept the default values. - Note: You may need to lower the RAM allocated to various services to fit within the bounds of the resource of the containers. - Enable the beer-sample bucket to load some sample data. -![Creating a cluster](https://d774lla4im6mk.cloudfront.net/6.6.2/cluster-creation.jpg) +![Creating a cluster](https://d774lla4im6mk.cloudfront.net/cluster-creation.jpg) -![Completing the wizard](https://d774lla4im6mk.cloudfront.net/6.6.2/finish-wizard.jpg) +![Completing the wizard](https://d774lla4im6mk.cloudfront.net/finish-wizard.jpg) -![UI home](https://d774lla4im6mk.cloudfront.net/6.6.2/ui-home.jpg) +![UI home](https://d774lla4im6mk.cloudfront.net/ui-home.jpg) -![Loading sample data](https://d774lla4im6mk.cloudfront.net/6.6.2/load-sample-data.jpg) +![Loading sample data](https://d774lla4im6mk.cloudfront.net/load-sample-data.jpg) **Note :** For detailed information on configuring the Server, see [Deployment Guidelines](https://docs.couchbase.com/server/current/install/install-production-deployment.html). From fe8d57f4c9ba802d2f36a032f7c82f27e44addd4 Mon Sep 17 00:00:00 2001 From: Blair Watt <18262146+udkyo@users.noreply.github.com> Date: Mon, 6 Jun 2022 20:52:17 +0100 Subject: [PATCH 2/7] Update ports --- couchbase/content.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchbase/content.md b/couchbase/content.md index 4018acd6f728..93abcf0f5b31 100644 --- a/couchbase/content.md +++ b/couchbase/content.md @@ -22,7 +22,7 @@ Here is how to get a single node Couchbase Server cluster running on Docker cont **Step - 1 :** Run Couchbase Server docker container -`docker run -d --name db -p 8091-8094:8091-8094 -p 11210:11210 couchbase` +`docker run -d --name db -p 8091-8096:8091-8096 -p 11210-11211:11210-11211 -p 11207 -p 18091-18096 couchbase` **Step - 2 :** Next, visit `http://localhost:8091` on the host machine to see the Web Console to start Couchbase Server setup. @@ -97,7 +97,7 @@ These ulimit settings are necessary when running under heavy load. If you are ju To set the ulimits in your container, you will need to run Couchbase Docker containers with the following additional `--ulimit` flags: -`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091-8094:8091-8094 -p 11210:11210 couchbase` +`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091-8096:8091-8096 -p 11210-11211:11210-11211 -p 11207 -p 18091-18096 couchbase` Since "unlimited" is not supported as a value, it sets the core and memlock values to 100 GB. If your system has more than 100 GB RAM, you will want to increase this value to match the available RAM on the system. From 7f8db00cb6b7ef1f59af6bf59ee9d689490da04d Mon Sep 17 00:00:00 2001 From: Blair Watt <18262146+udkyo@users.noreply.github.com> Date: Mon, 6 Jun 2022 20:54:13 +0100 Subject: [PATCH 3/7] Update ports --- couchbase/content.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchbase/content.md b/couchbase/content.md index 93abcf0f5b31..6ac15924743a 100644 --- a/couchbase/content.md +++ b/couchbase/content.md @@ -22,7 +22,7 @@ Here is how to get a single node Couchbase Server cluster running on Docker cont **Step - 1 :** Run Couchbase Server docker container -`docker run -d --name db -p 8091-8096:8091-8096 -p 11210-11211:11210-11211 -p 11207 -p 18091-18096 couchbase` +`docker run -d --name db -p 8091-8096:8091-8096 -p 11207:11207 -p 11210-11211:11210-11211 -p 18091-18096 couchbase` **Step - 2 :** Next, visit `http://localhost:8091` on the host machine to see the Web Console to start Couchbase Server setup. @@ -97,7 +97,7 @@ These ulimit settings are necessary when running under heavy load. If you are ju To set the ulimits in your container, you will need to run Couchbase Docker containers with the following additional `--ulimit` flags: -`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091-8096:8091-8096 -p 11210-11211:11210-11211 -p 11207 -p 18091-18096 couchbase` +`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091-8096:8091-8096 -p 11207:11207 -p 11210-11211:11210-11211 -p 18091-18096 couchbase` Since "unlimited" is not supported as a value, it sets the core and memlock values to 100 GB. If your system has more than 100 GB RAM, you will want to increase this value to match the available RAM on the system. From ebd828291738d66ff8270e2173f2916b5f2dacd8 Mon Sep 17 00:00:00 2001 From: Blair Watt <18262146+udkyo@users.noreply.github.com> Date: Mon, 6 Jun 2022 21:10:20 +0100 Subject: [PATCH 4/7] Update ports --- couchbase/content.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchbase/content.md b/couchbase/content.md index 6ac15924743a..787631c5cf8b 100644 --- a/couchbase/content.md +++ b/couchbase/content.md @@ -22,7 +22,7 @@ Here is how to get a single node Couchbase Server cluster running on Docker cont **Step - 1 :** Run Couchbase Server docker container -`docker run -d --name db -p 8091-8096:8091-8096 -p 11207:11207 -p 11210-11211:11210-11211 -p 18091-18096 couchbase` +`docker run -d --name db -p 8091-8096:8091-8096 -p 9102:9102 -p 11210:11210 couchbase` **Step - 2 :** Next, visit `http://localhost:8091` on the host machine to see the Web Console to start Couchbase Server setup. @@ -97,7 +97,7 @@ These ulimit settings are necessary when running under heavy load. If you are ju To set the ulimits in your container, you will need to run Couchbase Docker containers with the following additional `--ulimit` flags: -`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091-8096:8091-8096 -p 11207:11207 -p 11210-11211:11210-11211 -p 18091-18096 couchbase` +`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091-8096:8091-8096 -p 9102:9102 -p 11210:11210 couchbase` Since "unlimited" is not supported as a value, it sets the core and memlock values to 100 GB. If your system has more than 100 GB RAM, you will want to increase this value to match the available RAM on the system. From 11db64b1a1a0b60bc6da2e33016489c8b725f767 Mon Sep 17 00:00:00 2001 From: Blair Watt <18262146+udkyo@users.noreply.github.com> Date: Tue, 7 Jun 2022 08:56:48 +0100 Subject: [PATCH 5/7] Remove ports, point at docs --- couchbase/content.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/couchbase/content.md b/couchbase/content.md index 787631c5cf8b..56fd35d7ea41 100644 --- a/couchbase/content.md +++ b/couchbase/content.md @@ -22,7 +22,9 @@ Here is how to get a single node Couchbase Server cluster running on Docker cont **Step - 1 :** Run Couchbase Server docker container -`docker run -d --name db -p 8091-8096:8091-8096 -p 9102:9102 -p 11210:11210 couchbase` +`docker run -d --name db -p 8091:8091 couchbase` + +Note: Couchbase Server can require a variety of ports to be exposed depending on the usage scenario. Please see https://docs.couchbase.com/server/current/install/install-ports.html for further information. **Step - 2 :** Next, visit `http://localhost:8091` on the host machine to see the Web Console to start Couchbase Server setup. @@ -97,11 +99,11 @@ These ulimit settings are necessary when running under heavy load. If you are ju To set the ulimits in your container, you will need to run Couchbase Docker containers with the following additional `--ulimit` flags: -`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091-8096:8091-8096 -p 9102:9102 -p 11210:11210 couchbase` +`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091:8091 couchbase` Since "unlimited" is not supported as a value, it sets the core and memlock values to 100 GB. If your system has more than 100 GB RAM, you will want to increase this value to match the available RAM on the system. -Note:The `--ulimit` flags only work on Docker 1.6 or later. +Note: The `--ulimit` flags only work on Docker 1.6 or later. **Network Configuration and Ports :** Couchbase Server communicates on many different ports (see the [Couchbase Server documentation](https://docs.couchbase.com/server/current/install/install-ports.html#ports-listed-by-communication-path)). Also, it is generally not supported that the cluster nodes be placed behind any NAT. For these reasons, Docker's default networking configuration is not ideally suited to Couchbase Server deployments. For production deployments it is recommended to use `--net=host` setting to avoid performance and reliability issues. From 99408c8865e5c6aef80be55742ddf86fb374c981 Mon Sep 17 00:00:00 2001 From: Blair Watt <18262146+udkyo@users.noreply.github.com> Date: Tue, 7 Jun 2022 09:54:39 +0100 Subject: [PATCH 6/7] Add current client-node ports --- couchbase/content.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchbase/content.md b/couchbase/content.md index 56fd35d7ea41..35ddfb87f22d 100644 --- a/couchbase/content.md +++ b/couchbase/content.md @@ -22,7 +22,7 @@ Here is how to get a single node Couchbase Server cluster running on Docker cont **Step - 1 :** Run Couchbase Server docker container -`docker run -d --name db -p 8091:8091 couchbase` +`docker run -d --name db -p 8091-8097:8091-8097 -p 11210:11210 couchbase` Note: Couchbase Server can require a variety of ports to be exposed depending on the usage scenario. Please see https://docs.couchbase.com/server/current/install/install-ports.html for further information. @@ -99,7 +99,7 @@ These ulimit settings are necessary when running under heavy load. If you are ju To set the ulimits in your container, you will need to run Couchbase Docker containers with the following additional `--ulimit` flags: -`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091:8091 couchbase` +`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091-8097:8091-8097 -p 11210:11210 couchbase` Since "unlimited" is not supported as a value, it sets the core and memlock values to 100 GB. If your system has more than 100 GB RAM, you will want to increase this value to match the available RAM on the system. From 01430c5d47395e8ff642cc50c8675e8ee29ab456 Mon Sep 17 00:00:00 2001 From: Blair Watt <18262146+udkyo@users.noreply.github.com> Date: Wed, 8 Jun 2022 13:33:51 +0100 Subject: [PATCH 7/7] Add client->node ports to run commands --- couchbase/content.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchbase/content.md b/couchbase/content.md index 35ddfb87f22d..639af7202e5f 100644 --- a/couchbase/content.md +++ b/couchbase/content.md @@ -22,7 +22,7 @@ Here is how to get a single node Couchbase Server cluster running on Docker cont **Step - 1 :** Run Couchbase Server docker container -`docker run -d --name db -p 8091-8097:8091-8097 -p 11210:11210 couchbase` +`docker run -d --name db -p 8091-8097:8091-8097 -p 11210:11210 -p 11207:11207 -p 18091-18095:18091-18095 -p 18096:18096 -p 18097:18097 couchbase` Note: Couchbase Server can require a variety of ports to be exposed depending on the usage scenario. Please see https://docs.couchbase.com/server/current/install/install-ports.html for further information. @@ -99,7 +99,7 @@ These ulimit settings are necessary when running under heavy load. If you are ju To set the ulimits in your container, you will need to run Couchbase Docker containers with the following additional `--ulimit` flags: -`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091-8097:8091-8097 -p 11210:11210 couchbase` +`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091-8097:8091-8097 -p 11210:11210 -p 11207:11207 -p 18091-18095:18091-18095 -p 18096:18096 -p 18097:18097 couchbase` Since "unlimited" is not supported as a value, it sets the core and memlock values to 100 GB. If your system has more than 100 GB RAM, you will want to increase this value to match the available RAM on the system.