Configure 2 nodes to access to the same log files

i mean that i wana configure a cluster wich has 2 nodes each one is in a virtual machine and i dont know what should i install on each one of them??