Error while Configuring Cluster

Getting Error elasticsearch.MasterNotDiscovered Exception after configuring Cluster in elasticsearch.yml

Whats the easiest way to configure a Cluster . I am having three servers in LAN. do i need to restart all the servers, once Cluster configured i am not able to do a bulk indexing .