- 论坛徽章:
- 1
|
是这样的,有多台tracker,然后在硬负载上有一个VIP指向这几台tracker。
但是在client.conf中的tracker_server配置成VIP时,去上传图片时会报错:
[root@localhost fdfs]# /usr/local/bin/fdfs_test /etc/fdfs/client.conf upload /tmp/hehe.jpg
This is FastDFS client test program v5.01
Copyright (C) 2008, Happy Fish / YuQing
FastDFS may be copied only under the terms of the GNU General
Public License V3, which may be found in the FastDFS source kit.
Please visit the FastDFS Home Page XXX.csource.org
for more detail.
[2014-12-04 10:03:30] DEBUG - base_path=/tmp/test, connect_timeout=30, network_timeout=60, tracker_server_count=1, anti_steal_token=0, anti_steal_secret_key length=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s, use_storage_id=0, storage server id count: 0
[2014-12-04 10:04:30] ERROR - file: tracker_proto.c, line: 37, server: 192.168.1.1:33333, recv data fail, errno: 110, error info: Connection timed out
[2014-12-04 10:05:30] ERROR - file: tracker_proto.c, line: 37, server: 192.168.1.2:33333, recv data fail, errno: 110, error info: Connection timed out
tracker_query_storage fail, error no: 110, error info: Connection timed out
把client.conf换成其中一个tracker的IP后没问题了,图片正式上传,求大神们帮忙看一下。
另外,如果VIP可以支持的话,那用域名可以支持么? |
|