how to connect 2 hosts in zookeeper on ubuntu?

view full story

http://askubuntu.com – we started zookeeper on two different hosts using bin/zkServer.sh start then we found the inet address of each host using ifconfig command.. Then we executed the following line on one host using inet address of other host(192.168..) bin/zkCli.sh -server 192.168..:2181 we did same thing on other host also..both got connected..Then we created a node on one host using create api..But its not getting reflected on the other host...Please suggest the solution to this asap.. (HowTos)