Create multiple nodes elasticsearch 5.4

I have put two separate log4j2.properties and jvm.option file in both config folder

and for log4j2.properties it will take it from config folder automatically

for jvm.option file please check this post -