Saturday, April 21, 2007

Why search function does not work?

After I copy all code to gridfarm001 and run all maze server components, I found that search functionality does not well. However, in my lab linux machine, search functionality works!! There must be something wrong.
I checked for a long time. At last, I found out the reason. In IndexSvr.cpp file, the heartbeat server ip address is hard coded. I must change it manually to the corresponding ip address of gridfarm001.
Note: the port number if also hard coded, so if the port number in client configuration file is modified this port number must be modified as well.

No comments: