You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _includes/v2.0/prod-deployment/insecure-start-nodes.md
+3-5
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ For each initial node of your cluster, complete the following steps:
49
49
Flag | Description
50
50
-----|------------
51
51
`--insecure`| Indicates that the cluster is insecure, with no network encryption or authentication.
52
-
`--advertise-host`| Specifies the IP address or hostname to advertise to other nodes. If it is a hostname, it must be resolvable from all nodes;if it is an IP address, it must be routable from all nodes.<br><br>In some networking scenarios, you may need to use this flag differently or in combination with the `--host`flag. For more details, see [Networking](recommended-production-settings.html#networking).
52
+
`--advertise-host`| Specifies the IP address or hostname to tell other nodes to use. This value must route to an IP address the node is listening on (with `--host` unspecified, the node listens on all IP addresses).<br><br>In some networking scenarios, you may need to use `--advertise-host` and/or `--host`differently. For more details, see [Networking](recommended-production-settings.html#networking).
53
53
`--join`| Identifies the address and port of 3-5 of the initial nodes of the cluster. These addresses should match the addresses that the target nodes are advertising.
54
54
`--cache`<br>`--max-sql-memory`| Increases the node's cache and temporary SQL memory size to 25% of available system memory to improve read performance and increase capacity for in-memory SQL processing. For more details, see [Cache and SQL Memory Size](recommended-production-settings.html#cache-and-sql-memory-size).
55
55
`--background` | Starts the node in the background so you gain control of the terminal to issue more commands.
@@ -108,7 +108,7 @@ For each initial node of your cluster, complete the following steps:
108
108
$ chown cockroach /var/lib/cockroach
109
109
~~~
110
110
111
-
7. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/insecurecockroachdb.service):
111
+
7. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/insecurecockroachdb.service) and save the file in the `/etc/systemd/system/` directory:
112
112
113
113
{% include copy-clipboard.html %}
114
114
~~~ shell
@@ -122,13 +122,11 @@ For each initial node of your cluster, complete the following steps:
122
122
{% include {{ page.version.version }}/prod-deployment/insecurecockroachdb.service %}
123
123
~~~
124
124
125
-
Save the file in the `/etc/systemd/system/` directory
126
-
127
125
8. In the sample configuration template, specify values for the following flags:
128
126
129
127
Flag | Description
130
128
-----|------------
131
-
`--advertise-host` | Specifies the IP address or hostname to advertise to other nodes. If it is a hostname, it must be resolvable from all nodes; if it is an IP address, it must be routable from all nodes.<br><br>In some networking scenarios, you may need to use this flag differently or in combination with the `--host` flag. For more details, see [Networking](recommended-production-settings.html#networking).
129
+
`--advertise-host` | Specifies the IP address or hostname to tell other nodes to use. This value must route to an IP address the node is listening on (with `--host` unspecified, the node listens on all IP addresses).<br><br>In some networking scenarios, you may need to use `--advertise-host` and/or `--host` differently. For more details, see [Networking](recommended-production-settings.html#networking).
132
130
`--join` | Identifies the address and port of 3-5 of the initial nodes of the cluster. These addresses should match the addresses that the target nodes are advertising.
133
131
134
132
When deploying across multiple datacenters, or when there is otherwise high latency between nodes, it is recommended to set `--locality` as well. It is also required to use certain enterprise features. For more details, see [Locality](start-a-node.html#locality).
Copy file name to clipboardExpand all lines: _includes/v2.0/prod-deployment/secure-start-nodes.md
+3-5
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ For each initial node of your cluster, complete the following steps:
49
49
Flag | Description
50
50
-----|------------
51
51
`--certs-dir`| Specifies the directory where you placed the `ca.crt` file and the `node.crt` and `node.key` files for the node.
52
-
`--advertise-host`| Specifies the IP address or hostname to advertise to other nodes. If it is a hostname, it must be resolvable from all nodes;if it is an IP address, it must be routable from all nodes.<br><br>In some networking scenarios, you may need to use this flag differently or in combination with the `--host`flag. For more details, see [Networking](recommended-production-settings.html#networking).
52
+
`--advertise-host`| Specifies the IP address or hostname to tell other nodes to use. This value must route to an IP address the node is listening on (with `--host` unspecified, the node listens on all IP addresses).<br><br>In some networking scenarios, you may need to use `--advertise-host` and/or `--host`differently. For more details, see [Networking](recommended-production-settings.html#networking).
53
53
`--join`| Identifies the address and port of 3-5 of the initial nodes of the cluster. These addresses should match the addresses that the target nodes are advertising.
54
54
`--cache`<br>`--max-sql-memory`| Increases the node's cache and temporary SQL memory size to 25% of available system memory to improve read performance and increase capacity for in-memory SQL processing. For more details, see [Cache and SQL Memory Size](recommended-production-settings.html#cache-and-sql-memory-size).
55
55
`--background` | Starts the node in the background so you gain control of the terminal to issue more commands.
@@ -115,7 +115,7 @@ For each initial node of your cluster, complete the following steps:
115
115
$ chown -R cockroach.cockroach /var/lib/cockroach
116
116
~~~
117
117
118
-
8. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/securecockroachdb.service):
118
+
8. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/securecockroachdb.service) and save the file in the `/etc/systemd/system/` directory:
119
119
120
120
{% include copy-clipboard.html %}
121
121
~~~ shell
@@ -129,13 +129,11 @@ For each initial node of your cluster, complete the following steps:
129
129
{% include {{ page.version.version }}/prod-deployment/securecockroachdb.service %}
130
130
~~~
131
131
132
-
Save the file in the `/etc/systemd/system/` directory.
133
-
134
132
9. In the sample configuration template, specify values for the following flags:
135
133
136
134
Flag | Description
137
135
-----|------------
138
-
`--advertise-host` | Specifies the IP address or hostname to advertise to other nodes. If it is a hostname, it must be resolvable from all nodes; if it is an IP address, it must be routable from all nodes.<br><br>In some networking scenarios, you may need to use this flag differently or in combination with the `--host` flag. For more details, see [Networking](recommended-production-settings.html#networking).
136
+
`--advertise-host` | Specifies the IP address or hostname to tell other nodes to use. This value must route to an IP address the node is listening on (with `--host` unspecified, the node listens on all IP addresses).<br><br>In some networking scenarios, you may need to use `--advertise-host` and/or `--host` differently. For more details, see [Networking](recommended-production-settings.html#networking).
139
137
`--join` | Identifies the address and port of 3-5 of the initial nodes of the cluster. These addresses should match the addresses that the target nodes are advertising.
140
138
141
139
When deploying across multiple datacenters, or when there is otherwise high latency between nodes, it is recommended to set `--locality` as well. It is also required to use certain enterprise features. For more details, see [Locality](start-a-node.html#locality).
Copy file name to clipboardExpand all lines: _includes/v2.1/prod-deployment/insecure-start-nodes.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ After completing these steps, nodes will not yet be live. They will complete the
51
51
Flag | Description
52
52
-----|------------
53
53
`--insecure`| Indicates that the cluster is insecure, with no network encryption or authentication.
54
-
`--advertise-host`| Specifies the IP address or hostname to advertise to other nodes. If it is a hostname, it must be resolvable from all nodes;if it is an IP address, it must be routable from all nodes.<br><br>In some networking scenarios, you may need to use this flag differently or in combination with the `--host`flag. For more details, see [Networking](recommended-production-settings.html#networking).
54
+
`--advertise-host`| Specifies the IP address or hostname to tell other nodes to use. This value must route to an IP address the node is listening on (with `--host` unspecified, the node listens on all IP addresses).<br><br>In some networking scenarios, you may need to use `--advertise-host` and/or `--host`differently. For more details, see [Networking](recommended-production-settings.html#networking).
55
55
`--join`| Identifies the address and port of 3-5 of the initial nodes of the cluster. These addresses should match the addresses that the target nodes are advertising.
56
56
`--cache`<br>`--max-sql-memory`| Increases the node's cache and temporary SQL memory size to 25% of available system memory to improve read performance and increase capacity for in-memory SQL processing. For more details, see [Cache and SQL Memory Size](recommended-production-settings.html#cache-and-sql-memory-size).
57
57
`--background` | Starts the node in the background so you gain control of the terminal to issue more commands.
@@ -128,7 +128,7 @@ For each initial node of your cluster, complete the following steps:
128
128
129
129
Flag | Description
130
130
-----|------------
131
-
`--advertise-host` | Specifies the IP address or hostname to advertise to other nodes. If it is a hostname, it must be resolvable from all nodes; if it is an IP address, it must be routable from all nodes.<br><br>In some networking scenarios, you may need to use this flag differently or in combination with the `--host` flag. For more details, see [Networking](recommended-production-settings.html#networking).
131
+
`--advertise-host` | Specifies the IP address or hostname to tell other nodes to use. This value must route to an IP address the node is listening on (with `--host` unspecified, the node listens on all IP addresses).<br><br>In some networking scenarios, you may need to use `--advertise-host` and/or `--host` differently. For more details, see [Networking](recommended-production-settings.html#networking).
132
132
`--join` | Identifies the address and port of 3-5 of the initial nodes of the cluster. These addresses should match the addresses that the target nodes are advertising.
133
133
134
134
When deploying across multiple datacenters, or when there is otherwise high latency between nodes, it is recommended to set `--locality` as well. It is also required to use certain enterprise features. For more details, see [Locality](start-a-node.html#locality).
Copy file name to clipboardExpand all lines: _includes/v2.1/prod-deployment/secure-start-nodes.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ For each initial node of your cluster, complete the following steps:
49
49
Flag | Description
50
50
-----|------------
51
51
`--certs-dir`| Specifies the directory where you placed the `ca.crt` file and the `node.crt` and `node.key` files for the node.
52
-
`--advertise-host`| Specifies the IP address or hostname to advertise to other nodes. If it is a hostname, it must be resolvable from all nodes;if it is an IP address, it must be routable from all nodes.<br><br>In some networking scenarios, you may need to use this flag differently or in combination with the `--host`flag. For more details, see [Networking](recommended-production-settings.html#networking).
52
+
`--advertise-host`| Specifies the IP address or hostname to tell other nodes to use. This value must route to an IP address the node is listening on (with `--host` unspecified, the node listens on all IP addresses).<br><br>In some networking scenarios, you may need to use `--advertise-host` and/or `--host`differently. For more details, see [Networking](recommended-production-settings.html#networking).
53
53
`--join`| Identifies the address and port of 3-5 of the initial nodes of the cluster. These addresses should match the addresses that the target nodes are advertising.
54
54
`--cache`<br>`--max-sql-memory`| Increases the node's cache and temporary SQL memory size to 25% of available system memory to improve read performance and increase capacity for in-memory SQL processing. For more details, see [Cache and SQL Memory Size](recommended-production-settings.html#cache-and-sql-memory-size).
55
55
`--background` | Starts the node in the background so you gain control of the terminal to issue more commands.
@@ -133,7 +133,7 @@ For each initial node of your cluster, complete the following steps:
133
133
134
134
Flag | Description
135
135
-----|------------
136
-
`--advertise-host` | Specifies the IP address or hostname to advertise to other nodes. If it is a hostname, it must be resolvable from all nodes; if it is an IP address, it must be routable from all nodes.<br><br>In some networking scenarios, you may need to use this flag differently or in combination with the `--host` flag. For more details, see [Networking](recommended-production-settings.html#networking).
136
+
`--advertise-host` | Specifies the IP address or hostname to tell other nodes to use. This value must route to an IP address the node is listening on (with `--host` unspecified, the node listens on all IP addresses).<br><br>In some networking scenarios, you may need to use `--advertise-host` and/or `--host` differently. For more details, see [Networking](recommended-production-settings.html#networking).
137
137
`--join` | Identifies the address and port of 3-5 of the initial nodes of the cluster. These addresses should match the addresses that the target nodes are advertising.
138
138
139
139
When deploying across multiple datacenters, or when there is otherwise high latency between nodes, it is recommended to set `--locality` as well. It is also required to use certain enterprise features. For more details, see [Locality](start-a-node.html#locality).
0 commit comments