taosdata / TDengine

High-performance, scalable time-series database designed for Industrial IoT (IIoT) scenarios
https://tdengine.com
GNU Affero General Public License v3.0
23.37k stars 4.86k forks source link

can taos only connect to the mnode #28420

Open iwanlebron opened 2 weeks ago

iwanlebron commented 2 weeks ago

image As shown in the figure, when using other servers to connect to the TDEngine cluster, if the connected node is not mnode, an error will be reported

iwanlebron commented 2 weeks ago

ny-wlw-0009.novalocal mnode ny-wlw-0010.novalocal dnode ny-wlw-0011.novalocal dnode the client of taos is ny-wlw-0016.novalocal

yu285 commented 1 week ago

can you show us the hosts file in your client server?

iwanlebron commented 1 week ago

sure image

yu285 commented 1 week ago

all the taosd process has been stared ,right ?

and you can connect to TDengine from these three servers?

ny-wlw-0009.novalocal mnode ny-wlw-0010.novalocal dnode ny-wlw-0011.novalocal dnode

iwanlebron commented 1 week ago

no image

iwanlebron commented 1 week ago

Can only connect to ny-wlw-0009.novalocal mnode

yu285 commented 1 week ago

can you make sure all the hosts information recorded uniformly in all servers ?

like:

ip1 ny-wlw-0009.novalocal ip2 ny-wlw-0010.novalocal ip3 ny-wlw-0011.novalocal

you should put them in all the database server.