The new node cannot add to the cluster but creating a separate new cluster instead

Hi. I am trying to add a new node to an existing cluster(only has one node in it). After configuring in .yml and running the elasticsearch on both nodes, the new node creates a new cluster instead of joining the original cluster.

Here is my configuration on the node 1(master node):
#give your cluster a name.

cluster.name: my-cluster
node.name: "es-node-1"
node.master: true
node.data: true
network.host: 10.2.0.4
http.port: 9200
discovery.zen.ping.unicast.hosts: ["10.2.0.6", "10.2.0.4"]

The configuration of node 2(the new node):

cluster.name: my-cluster
node.name: "es-node-2"
node.master: true
node.data: true
network.host: 10.2.0.6
http.port: 9200
discovery.zen.ping.unicast.hosts: ["10.2.0.6", "10.2.0.4"]

Both nodes are win10 virtual machines on Azure.
10.2.0.4 is the private IP address of node 1.

Node 1 has 16 indices, each index has 1 shard and 0 replica

These are the status of both nodes:
10.2.0.4:9200

{
  "name" : "es-node-1",
  "cluster_name" : "my-cluster",
  "cluster_uuid" : "bDQI-T3QTbaz7rPMwd4Yxg",
  "version" : {
    "number" : "7.13.2",
    "build_flavor" : "default",
    "build_type" : "zip",
    "build_hash" : "4d960a0733be83dd2543ca018aa4ddc42e956800",
    "build_date" : "2021-06-10T21:01:55.251515791Z",
    "build_snapshot" : false,
    "lucene_version" : "8.8.2",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

10.2.0.6:9200

{
  "name" : "es-node-2",
  "cluster_name" : "my-cluster",
  "cluster_uuid" : "073Mt0szSpeVBMDIJjWCIQ",
  "version" : {
    "number" : "7.13.3",
    "build_flavor" : "default",
    "build_type" : "zip",
    "build_hash" : "5d21bea28db1e89ecc1f66311ebdec9dc3aa7d64",
    "build_date" : "2021-07-02T12:06:10.804015202Z",
    "build_snapshot" : false,
    "lucene_version" : "8.8.2",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

care to share logs of both nodes in a gist/pastebin, to see if they are able to reach each other on startup?

Thank you for replying.
This is the startup logs for es-w1(original node)

[2021-07-12T02:01:23,691][INFO ][o.e.n.Node               ] [es-node-1] version[7.13.2], pid[6780], build[default/zip/4d960a0733be83dd2543ca018aa4ddc42e956800/2021-06-10T21:01:55.251515791Z], OS[Windows Server 2019/10.0/amd64], JVM[AdoptOpenJDK/OpenJDK 64-Bit Server VM/16/16+36]
[2021-07-12T02:01:23,706][INFO ][o.e.n.Node               ] [es-node-1] JVM home [E:\elasticsearch-7.13.2\jdk], using bundled JDK [true]
[2021-07-12T02:01:23,706][INFO ][o.e.n.Node               ] [es-node-1] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -XX:+UseG1GC, -Djava.io.tmpdir=C:\Users\zfeng13\AppData\Local\Temp\2\elasticsearch, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Xms1024m, -Xmx1024m, -XX:MaxDirectMemorySize=536870912, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Delasticsearch, -Des.path.home=E:\elasticsearch-7.13.2, -Des.path.conf=E:\elasticsearch-7.13.2\config, -Des.distribution.flavor=default, -Des.distribution.type=zip, -Des.bundled_jdk=true]
[2021-07-12T02:01:33,971][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [aggs-matrix-stats]
[2021-07-12T02:01:33,971][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [analysis-common]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [constant-keyword]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [frozen-indices]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [ingest-common]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [ingest-geoip]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [ingest-user-agent]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [kibana]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [lang-expression]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [lang-mustache]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [lang-painless]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [mapper-extras]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [mapper-version]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [parent-join]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [percolator]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [rank-eval]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [reindex]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [repositories-metering-api]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [repository-encrypted]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [repository-url]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [runtime-fields-common]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [search-business-rules]
[2021-07-12T02:01:33,986][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [searchable-snapshots]
[2021-07-12T02:01:34,005][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [snapshot-repo-test-kit]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [spatial]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [transform]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [transport-netty4]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [unsigned-long]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [vectors]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [wildcard]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-aggregate-metric]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-analytics]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-async]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-async-search]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-autoscaling]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-ccr]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-core]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-data-streams]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-deprecation]
[2021-07-12T02:01:34,006][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-enrich]
[2021-07-12T02:01:34,022][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-eql]
[2021-07-12T02:01:34,022][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-fleet]
[2021-07-12T02:01:34,022][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-graph]
[2021-07-12T02:01:34,022][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-identity-provider]
[2021-07-12T02:01:34,022][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-ilm]
[2021-07-12T02:01:34,022][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-logstash]
[2021-07-12T02:01:34,022][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-ml]
[2021-07-12T02:01:34,022][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-monitoring]
[2021-07-12T02:01:34,022][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-ql]
[2021-07-12T02:01:34,022][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-rollup]
[2021-07-12T02:01:34,022][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-security]
[2021-07-12T02:01:34,022][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-shutdown]
[2021-07-12T02:01:34,022][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-sql]
[2021-07-12T02:01:34,037][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-stack]
[2021-07-12T02:01:34,037][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-text-structure]
[2021-07-12T02:01:34,037][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-voting-only-node]
[2021-07-12T02:01:34,037][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-watcher]
[2021-07-12T02:01:34,037][INFO ][o.e.p.PluginsService     ] [es-node-1] no plugins loaded
[2021-07-12T02:01:34,787][INFO ][o.e.e.NodeEnvironment    ] [es-node-1] using [1] data paths, mounts [[New Volume (E:)]], net usable_space [710.1gb], net total_space [1.8tb], types [NTFS]
[2021-07-12T02:01:34,787][INFO ][o.e.e.NodeEnvironment    ] [es-node-1] heap size [1gb], compressed ordinary object pointers [true]
[2021-07-12T02:01:35,100][INFO ][o.e.n.Node               ] [es-node-1] node name [es-node-1], node ID [sveJAqHbSYa_wi08tiOH7Q], cluster name [my-cluster], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]
[2021-07-12T02:01:40,204][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [es-node-1] [controller/7464] [Main.cc@117] controller (64 bit): Version 7.13.2 (Build 4d6c6f14d75f39) Copyright (c) 2021 Elasticsearch BV
[2021-07-12T02:01:40,802][INFO ][o.e.x.s.a.s.FileRolesStore] [es-node-1] parsed [0] roles from file [E:\elasticsearch-7.13.2\config\roles.yml]
[2021-07-12T02:01:41,749][INFO ][o.e.i.g.LocalDatabases   ] [es-node-1] initialized default databases [[GeoLite2-Country.mmdb, GeoLite2-City.mmdb, GeoLite2-ASN.mmdb]], config databases [[]] and watching [E:\elasticsearch-7.13.2\config\ingest-geoip] for changes
[2021-07-12T02:01:41,749][INFO ][o.e.i.g.DatabaseRegistry ] [es-node-1] initialized database registry, using geoip-databases directory [C:\Users\zfeng13\AppData\Local\Temp\2\elasticsearch\geoip-databases\sveJAqHbSYa_wi08tiOH7Q]
[2021-07-12T02:01:42,557][INFO ][o.e.t.NettyAllocator     ] [es-node-1] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=4mb, heap_size=1gb}]
[2021-07-12T02:01:42,635][INFO ][o.e.d.DiscoveryModule    ] [es-node-1] using discovery type [zen] and seed hosts providers [settings]
[2021-07-12T02:01:43,229][INFO ][o.e.g.DanglingIndicesState] [es-node-1] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
[2021-07-12T02:01:43,791][INFO ][o.e.n.Node               ] [es-node-1] initialized
[2021-07-12T02:01:43,791][INFO ][o.e.n.Node               ] [es-node-1] starting ...
[2021-07-12T02:01:43,807][INFO ][o.e.x.s.c.f.PersistentCache] [es-node-1] persistent cache index loaded
[2021-07-12T02:01:43,967][INFO ][o.e.t.TransportService   ] [es-node-1] publish_address {10.2.0.4:9300}, bound_addresses {10.2.0.4:9300}
[2021-07-12T02:01:44,498][INFO ][o.e.b.BootstrapChecks    ] [es-node-1] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2021-07-12T02:01:44,514][INFO ][o.e.c.c.Coordinator      ] [es-node-1] cluster UUID [bDQI-T3QTbaz7rPMwd4Yxg]
[2021-07-12T02:01:44,691][INFO ][o.e.c.s.MasterService    ] [es-node-1] elected-as-master ([1] nodes joined)[{es-node-1}{sveJAqHbSYa_wi08tiOH7Q}{H5-J_2-JRmOFbps9AyzxTg}{10.2.0.4}{10.2.0.4:9300}{cdfhilmrstw} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 19, version: 605, delta: master node changed {previous [], current [{es-node-1}{sveJAqHbSYa_wi08tiOH7Q}{H5-J_2-JRmOFbps9AyzxTg}{10.2.0.4}{10.2.0.4:9300}{cdfhilmrstw}]}
[2021-07-12T02:01:44,863][INFO ][o.e.c.s.ClusterApplierService] [es-node-1] master node changed {previous [], current [{es-node-1}{sveJAqHbSYa_wi08tiOH7Q}{H5-J_2-JRmOFbps9AyzxTg}{10.2.0.4}{10.2.0.4:9300}{cdfhilmrstw}]}, term: 19, version: 605, reason: Publication{term=19, version=605}
[2021-07-12T02:01:44,921][INFO ][o.e.h.AbstractHttpServerTransport] [es-node-1] publish_address {10.2.0.4:9200}, bound_addresses {10.2.0.4:9200}
[2021-07-12T02:01:44,937][INFO ][o.e.n.Node               ] [es-node-1] started
[2021-07-12T02:01:45,526][INFO ][o.e.l.LicenseService     ] [es-node-1] license [3e29c994-8fc6-41b7-ab35-93a33238397c] mode [basic] - valid
[2021-07-12T02:01:45,526][INFO ][o.e.x.s.s.SecurityStatusChangeListener] [es-node-1] Active license is now [BASIC]; Security is disabled
[2021-07-12T02:01:45,526][WARN ][o.e.x.s.s.SecurityStatusChangeListener] [es-node-1] Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.13/security-minimal-setup.html to enable security.
[2021-07-12T02:01:45,558][INFO ][o.e.g.GatewayService     ] [es-node-1] recovered [16] indices into cluster_state
[2021-07-12T02:01:51,801][INFO ][o.e.c.r.a.AllocationService] [es-node-1] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[aminer_10][0]]]).

This is the startup logs for es-w2(new node)

[2021-07-12T02:02:31,624][INFO ][o.e.n.Node               ] [es-node-2] version[7.13.3], pid[4796], build[default/zip/5d21bea28db1e89ecc1f66311ebdec9dc3aa7d64/2021-07-02T12:06:10.804015202Z], OS[Windows Server 2019/10.0/amd64], JVM[AdoptOpenJDK/OpenJDK 64-Bit Server VM/16/16+36]
[2021-07-12T02:02:31,639][INFO ][o.e.n.Node               ] [es-node-2] JVM home [E:\elasticsearch-7.13.3\jdk], using bundled JDK [true]
[2021-07-12T02:02:31,639][INFO ][o.e.n.Node               ] [es-node-2] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -XX:+UseG1GC, -Djava.io.tmpdir=C:\Users\zfeng13\AppData\Local\Temp\2\elasticsearch, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Xms1024m, -Xmx1024m, -XX:MaxDirectMemorySize=536870912, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Delasticsearch, -Des.path.home=E:\elasticsearch-7.13.3, -Des.path.conf=E:\elasticsearch-7.13.3\config, -Des.distribution.flavor=default, -Des.distribution.type=zip, -Des.bundled_jdk=true]
[2021-07-12T02:02:40,311][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [aggs-matrix-stats]
[2021-07-12T02:02:40,311][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [analysis-common]
[2021-07-12T02:02:40,311][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [constant-keyword]
[2021-07-12T02:02:40,311][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [frozen-indices]
[2021-07-12T02:02:40,311][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [ingest-common]
[2021-07-12T02:02:40,311][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [ingest-geoip]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [ingest-user-agent]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [kibana]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [lang-expression]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [lang-mustache]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [lang-painless]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [mapper-extras]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [mapper-version]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [parent-join]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [percolator]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [rank-eval]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [reindex]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [repositories-metering-api]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [repository-encrypted]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [repository-url]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [runtime-fields-common]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [search-business-rules]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [searchable-snapshots]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [snapshot-repo-test-kit]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [spatial]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [transform]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [transport-netty4]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [unsigned-long]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [vectors]
[2021-07-12T02:02:40,327][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [wildcard]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-aggregate-metric]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-analytics]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-async]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-async-search]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-autoscaling]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-ccr]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-core]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-data-streams]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-deprecation]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-enrich]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-eql]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-fleet]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-graph]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-identity-provider]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-ilm]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-logstash]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-ml]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-monitoring]
[2021-07-12T02:02:40,343][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-ql]
[2021-07-12T02:02:40,358][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-rollup]
[2021-07-12T02:02:40,358][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-security]
[2021-07-12T02:02:40,358][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-shutdown]
[2021-07-12T02:02:40,358][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-sql]
[2021-07-12T02:02:40,358][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-stack]
[2021-07-12T02:02:40,358][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-text-structure]
[2021-07-12T02:02:40,358][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-voting-only-node]
[2021-07-12T02:02:40,358][INFO ][o.e.p.PluginsService     ] [es-node-2] loaded module [x-pack-watcher]
[2021-07-12T02:02:40,358][INFO ][o.e.p.PluginsService     ] [es-node-2] no plugins loaded
[2021-07-12T02:02:40,936][INFO ][o.e.e.NodeEnvironment    ] [es-node-2] using [1] data paths, mounts [[New Volume (E:)]], net usable_space [1.8tb], net total_space [1.8tb], types [NTFS]
[2021-07-12T02:02:40,936][INFO ][o.e.e.NodeEnvironment    ] [es-node-2] heap size [1gb], compressed ordinary object pointers [true]
[2021-07-12T02:02:41,030][INFO ][o.e.n.Node               ] [es-node-2] node name [es-node-2], node ID [AAaX5dCKSnGQvEzlChs5tg], cluster name [my-cluster], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]
[2021-07-12T02:02:46,065][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [es-node-2] [controller/8976] [Main.cc@117] controller (64 bit): Version 7.13.3 (Build d74de47cfda9c3) Copyright (c) 2021 Elasticsearch BV
[2021-07-12T02:02:46,705][INFO ][o.e.x.s.a.s.FileRolesStore] [es-node-2] parsed [0] roles from file [E:\elasticsearch-7.13.3\config\roles.yml]
[2021-07-12T02:02:47,846][INFO ][o.e.i.g.LocalDatabases   ] [es-node-2] initialized default databases [[GeoLite2-Country.mmdb, GeoLite2-City.mmdb, GeoLite2-ASN.mmdb]], config databases [[]] and watching [E:\elasticsearch-7.13.3\config\ingest-geoip] for changes
[2021-07-12T02:02:47,846][INFO ][o.e.i.g.DatabaseRegistry ] [es-node-2] initialized database registry, using geoip-databases directory [C:\Users\zfeng13\AppData\Local\Temp\2\elasticsearch\geoip-databases\AAaX5dCKSnGQvEzlChs5tg]
[2021-07-12T02:02:48,657][INFO ][o.e.t.NettyAllocator     ] [es-node-2] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=4mb, heap_size=1gb}]
[2021-07-12T02:02:48,720][INFO ][o.e.d.DiscoveryModule    ] [es-node-2] using discovery type [zen] and seed hosts providers [settings]
[2021-07-12T02:02:49,251][INFO ][o.e.g.DanglingIndicesState] [es-node-2] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
[2021-07-12T02:02:49,736][INFO ][o.e.n.Node               ] [es-node-2] initialized
[2021-07-12T02:02:49,736][INFO ][o.e.n.Node               ] [es-node-2] starting ...
[2021-07-12T02:02:49,752][INFO ][o.e.x.s.c.f.PersistentCache] [es-node-2] persistent cache index loaded
[2021-07-12T02:02:49,893][INFO ][o.e.t.TransportService   ] [es-node-2] publish_address {10.2.0.6:9300}, bound_addresses {10.2.0.6:9300}
[2021-07-12T02:02:50,174][INFO ][o.e.b.BootstrapChecks    ] [es-node-2] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2021-07-12T02:02:50,189][INFO ][o.e.c.c.Coordinator      ] [es-node-2] cluster UUID [073Mt0szSpeVBMDIJjWCIQ]
[2021-07-12T02:02:50,329][INFO ][o.e.c.s.MasterService    ] [es-node-2] elected-as-master ([1] nodes joined)[{es-node-2}{AAaX5dCKSnGQvEzlChs5tg}{U2mEEnKWSJOrHivCG1IZeA}{10.2.0.6}{10.2.0.6:9300}{cdfhilmrstw} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 4, version: 42, delta: master node changed {previous [], current [{es-node-2}{AAaX5dCKSnGQvEzlChs5tg}{U2mEEnKWSJOrHivCG1IZeA}{10.2.0.6}{10.2.0.6:9300}{cdfhilmrstw}]}
[2021-07-12T02:02:50,470][INFO ][o.e.c.s.ClusterApplierService] [es-node-2] master node changed {previous [], current [{es-node-2}{AAaX5dCKSnGQvEzlChs5tg}{U2mEEnKWSJOrHivCG1IZeA}{10.2.0.6}{10.2.0.6:9300}{cdfhilmrstw}]}, term: 4, version: 42, reason: Publication{term=4, version=42}
[2021-07-12T02:02:50,539][INFO ][o.e.h.AbstractHttpServerTransport] [es-node-2] publish_address {10.2.0.6:9200}, bound_addresses {10.2.0.6:9200}
[2021-07-12T02:02:50,539][INFO ][o.e.n.Node               ] [es-node-2] started
[2021-07-12T02:02:50,820][INFO ][o.e.l.LicenseService     ] [es-node-2] license [e317cff4-116e-4ea1-aeb6-496ed20b9a6b] mode [basic] - valid
[2021-07-12T02:02:50,820][INFO ][o.e.x.s.s.SecurityStatusChangeListener] [es-node-2] Active license is now [BASIC]; Security is disabled
[2021-07-12T02:02:50,820][WARN ][o.e.x.s.s.SecurityStatusChangeListener] [es-node-2] Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.13/security-minimal-setup.html to enable security.
[2021-07-12T02:02:50,820][INFO ][o.e.g.GatewayService     ] [es-node-2] recovered [0] indices into cluster_state

The configuration you are using is for Elasticsearch 6.x and earlier. Note that it has changed for Elasticsearch 7.0 and onwards. Have a look in the documentation for the correct version for examples.

I read the v7.13 documentation. It does not gives an example of .yml. it is hard to understand(I am new to ES). Could you give me an example please, based on my current nodes settings?