doc: resolve conflicts
This commit is contained in:
parent
8bbec1c64d
commit
ceba973080
|
@ -114,11 +114,9 @@ The above process can be repeated to add more dnodes in the cluster.
|
||||||
|
|
||||||
Any node that is in the cluster and online can be the firstEp of new nodes.
|
Any node that is in the cluster and online can be the firstEp of new nodes.
|
||||||
Nodes use the firstEp parameter only when joining a cluster for the first time. After a node has joined the cluster, it stores the latest mnode in its end point list and no longer makes use of firstEp.
|
Nodes use the firstEp parameter only when joining a cluster for the first time. After a node has joined the cluster, it stores the latest mnode in its end point list and no longer makes use of firstEp.
|
||||||
<<<<<<< HEAD
|
|
||||||
However, firstEp is used by clients that connect to the cluster. For example, if you run TDengine CLI `taos` without arguments, it connects to the firstEp by default.
|
However, firstEp is used by clients that connect to the cluster. For example, if you run TDengine CLI `taos` without arguments, it connects to the firstEp by default.
|
||||||
=======
|
|
||||||
However, firstEp is used by clients that connect to the cluster. For example, if you run `TDengine CLI` without arguments, it connects to the firstEp by default.
|
|
||||||
>>>>>>> 30903ba80fe488b3b8e96db7f599052a05f7c025
|
|
||||||
Two dnodes that are launched without a firstEp value operate independently of each other. It is not possible to add one dnode to the other dnode and form a cluster. It is also not possible to form two independent clusters into a new cluster.
|
Two dnodes that are launched without a firstEp value operate independently of each other. It is not possible to add one dnode to the other dnode and form a cluster. It is also not possible to form two independent clusters into a new cluster.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
|
@ -71,11 +71,7 @@ serverPort 6030
|
||||||
|
|
||||||
## 启动集群
|
## 启动集群
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
按照《立即开始》里的步骤,启动第一个数据节点,例如 h1.taosdata.com,然后执行 taos,启动 TDengine CLI,在其中执行命令 “SHOW DNODES”,如下所示:
|
按照《立即开始》里的步骤,启动第一个数据节点,例如 h1.taosdata.com,然后执行 taos,启动 TDengine CLI,在其中执行命令 “SHOW DNODES”,如下所示:
|
||||||
=======
|
|
||||||
按照《立即开始》里的步骤,启动第一个数据节点,例如 h1.taosdata.com,然后执行 taos,启动 TDengine CLI,从 shell 里执行命令“SHOW DNODES”,如下所示:
|
|
||||||
>>>>>>> 30903ba80fe488b3b8e96db7f599052a05f7c025
|
|
||||||
|
|
||||||
```
|
```
|
||||||
taos> show dnodes;
|
taos> show dnodes;
|
||||||
|
|
|
@ -32,13 +32,7 @@ taos> show databases;
|
||||||
Query OK, 2 rows in database (0.033802s)
|
Query OK, 2 rows in database (0.033802s)
|
||||||
```
|
```
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
因为运行在容器中的 TDengine 服务端使用容器的 hostname 建立连接,使用 TDengine CLI 或者各种连接器(例如 JDBC-JNI)从容器外访问容器内的 TDengine 比较复杂,所以上述方式是访问容器中 TDengine 服务的最简单的方法,适用于一些简单场景。如果在一些复杂场景下想要从容器化使用 TDengine CLI 或者各种连接器访问容器中的 TDengine 服务,请参考下一节。
|
因为运行在容器中的 TDengine 服务端使用容器的 hostname 建立连接,使用 TDengine CLI 或者各种连接器(例如 JDBC-JNI)从容器外访问容器内的 TDengine 比较复杂,所以上述方式是访问容器中 TDengine 服务的最简单的方法,适用于一些简单场景。如果在一些复杂场景下想要从容器化使用 TDengine CLI 或者各种连接器访问容器中的 TDengine 服务,请参考下一节。
|
||||||
=======
|
|
||||||
|
|
||||||
因为运行在容器中的 TDengine 服务端使用容器的 hostname 建立连接,使用 TDengine CLI 或者各种连接器(例如 JDBC-JNI)从容器外访问容器内的 TDengine 比较复杂,所以上述方式是访问容器中 TDengine 服务的最简单的方法,适用于一些简单场景。如果在一些复杂场景下想要从容器化使用 TDengine CLI 或者各种连接器访问容器中的 TDengine 服务,请参考下一节。
|
|
||||||
|
|
||||||
>>>>>>> 30903ba80fe488b3b8e96db7f599052a05f7c025
|
|
||||||
|
|
||||||
## 在 host 网络上启动 TDengine
|
## 在 host 网络上启动 TDengine
|
||||||
|
|
||||||
|
@ -360,11 +354,7 @@ test-docker_td-2_1 /tini -- /usr/bin/entrypoi ... Up
|
||||||
test-docker_td-3_1 /tini -- /usr/bin/entrypoi ... Up
|
test-docker_td-3_1 /tini -- /usr/bin/entrypoi ... Up
|
||||||
```
|
```
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
4. 用 TDengine 查看 dnodes
|
|
||||||
=======
|
|
||||||
4. 用 TDengine CLI 查看 dnodes
|
4. 用 TDengine CLI 查看 dnodes
|
||||||
>>>>>>> 30903ba80fe488b3b8e96db7f599052a05f7c025
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue