add write_haproxy_conf.py to conf haproxy to conduct loadbalance