Can FQDN be replaced by IP address in TDengine?

55 Views Asked by At

We built a test environment with TDengine, with a 4 nodes cluster. We configured the FQDN(Fully Qualified Domain Name) according the document. It's OK.

Now we have a requirement to use IP, not FQDN. However, I didn't find the instructions through the web.

How do I fix it?

2

There are 2 best solutions below

0
stackover1024 On

I think you can simply replace host name with IP, it works in my test env.

0
zitsen On

You should set the fqdn option in taos.cfg file as ip, for example:

fqdn 192.168.1.10

And set the firstEp in client or another dnode with:

firstEp 192.168.1.10:6030