I would recommend that you follow this part of the documentation and use the mentioned
.bat. file to create your services and see if it works.
Also, you need to set everything in your
elasticsearch.yml file, you are not setting the
path.logs and your warm not are not setting the
transport.tcp port, in this scenario if for some reason the warm node starts first it will try to bind to the port
9300 and your hot node will not be able to start as it will also try to bind to the same port.
You are also missing the
The first part of your hot node configuration should look like this:
node.roles: [master, data, ingest, remote_cluster_client]
And your warm node should have a configuration like this:
You also have limited resources, you should configure the
jvm.options of each node and set the
Xmx options to no more than 4 GB for each node.
I rarely use windows, but the above configuration should help to isolate the nodes datas and logs.