I followed the below steps to implement that
1 - I just commented the cluster line in server.xml file for both tomcat instances so that I can use the default configs for clustering
2 - VM1 (192.168.0.233) .... the tomcat gives this log enter image description here
3 - VM2 (192.168.0.248) .... the tomcat gives this log enter image description here
4 - so I quite sure that every tomcat instance recognizes the other
5 - I deployed 2 wars on both and configured it to be distributed
6 - The 2 wars has a page prints the session ID
7 - The issue is that the session IDs are different
8 - They are the same if these 2 instances of tomcat are deployed in the same physical machine.