Cluster replication

Hi,

How can i join two elasticsearch instances running on different servers to a single host?
Should i update my .yml files?