应用场景: 三台服务器分别做三组存储,并且需要两台tracker地址做主备关系,当一台down机后需要另外一台可以提供正常的访问连接

#注:此处不考虑存储数据安全性,如果需要保障数据不丢失,可以分别每台存储配置两组group(相同group之间数据会自动备份) ,三台服务器group分别为:

第一台服务器:group1  group2

第二台服务器:group1 group3

第三台服务器:group2 group3

需求图如下:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAxQAAAISCAIAAADazx5vAAAgAElEQVR4nO2d36skx3n+929qW2Cw7E12CJHAi7E6wiwIFhpyIQiB9ghMFKHQuliwIwd5FJYMghMQCHQTNAQUcmEwBAw2weiQm5gQcL4Kgx0wLBzQxcLC+V70r6rqququ6u63+/R8iudid84zPU93z1R/5q3qmnu3fe3m5qbX07Tz+TzcHLTl+cxkljGTWcZMZhlzmfnFixeffvrp48ePHzx4kNBotDvSHjx48Pjx448//vjFixdxXcG9m0nb+XyedoMCjcwyjcwyjcwy7Xw+P3v2LMuypa8CNBotvj169OjZs2cRPcC9Ob6NDWxBW57PTGYZM5llzGSWMZ/P508//TRJkpf/5OW3Pn/rp89+erw9IoTuhH767Kc//NkP73/nfpIkH330UURX4ISnphz9x3/8x0ujIY1Gi2zjq9MC5jsKT48fP06S5K3P31r8SoAQitA7v3gnSZJHjx5FdAV2eHrx4sWf//mfL93t02i0ydobb7zR5af1gMgaYoRmfvjwYZIkP/rtjxa/BiCEIvST3/0kSZJXX301oiuwwxPlaIS2ofHVaQHzHYWnkkoXP8UIoWiVn+KIrsAOT5SjEdqSxlSnBczAE0JoEU0MT5SjEdqSxlSnBczAE0JoEU0MT3QKCG1M0X2EgBl4QggtIuAJIeQT8DStGXhCaAMCnhBCPgFP05qBJ4Q2IOAJIeQT8DStGXhCDhVZmiRJkuzzpZOgfgFPCCGfgKdpzcDT8ZQ2q4ilp+rB4rBLOm13KI63x+NtniqPZdeWbeb7dpO5+qfrrN2uF0rqAPrTK9VYo2dWN15H7eaxB1ZfdHcotJzdNgNOlQnbfRmuMmqaFYu/k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CaD4BT2PMZA41A09kFjIDTwih+QQ8jTGTOdQMPJFZyAw8IYTmE/A0xkzmUDPwRGYhM/CEEJpPwNMYM5lDzcATmYXMwBNCaD4BT2PMZA413zv3tZubm15PXAva8nzmoEbmaHNQG75l4AkhdKzhaY5OJtQc1LbdP89qDmqTx6DyRGYh80yZgSeE0JHK0zgzmUPNwBOZhczAE0JoPgFPY8xkDjUDT2QWMgNPCKH5BDyNMZM51Aw8kVnIDDwhhOYT8DTGTOZQM/BEZiEz8IQQmk/A0xgzmUPNwBOZhczAE0JoPgFPY8xkDjUDT2QWMgNPCKH5BDyNMZM51Aw8kVnIDDwhhOYT8DTGTOZQM/BEZiEz8IQQmk/A0xgzmUPNwBOZhcwzZX748GGSJD/+fz9evO9GCC2ln/zuJ0mS/Omf/ukcnUyomf5Zxgw8LWwms4x5psyPHz9OkuSHP/vh4t03Qmgpvfurd5MkSdN0jk4m1Ez/LGMGnhY2k1nGPFPmq6urJEnuf+f+u79698ObDxfvxBFCkvrw5sN3f/Xug9ceJEnywQcfzNHJhJrpn2XMwNPCZjLLmGfK/OLFi0ePHiU0Gu2y22uvvfaHP/xhjk4m1Ez/LGMGnhY2k1nGPF/mZ8+effTRR48ePbp///7SHTiNRhNt9+/ff/31158+ffr8+fPN93VkVtvC8HQzaTufz9NuUKCRWaaRWaaRWaaRWaaRWaaRObRReSKzkJnMMmYyy5jJLGMms4yZzKFm4InMQmYyy5jJLGMms4yZzDJmMoeagScyC5nJLGMms4yZzDJmMsuYyRxq/v+jbEKL611rkgAAAABJRU5ErkJggg==" alt="" />

一: 为三台服务器分别部署FASTDFS + Nginx-fastdfs模块

1. 安装所需依赖:

 1. 安装libfastcommon
cd /opt
yum install git xz gcc g++ gcc-c++ autoconf automake make unzip -y
git clone https://github.com/happyfish100/libfastcommon.git
cd libfastcommon/
./make.sh
./make.sh install #设置环境变量或创建软链接
export LD_LIBRARY_PATH=/usr/lib64/
ln -s /usr/lib64/libfastcommon.so /usr/local/lib/libfastcommon.so 2. 安装libevent
cd /opt
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar zxvf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure --prefix=/usr/local/
make clean
make && make install
ls –al /usr/lib | grep libevent(或ls –al /usr/local/lib | grep libevent)
#如果有返回结果则安装正常 ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5
ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5

2. 安装配置FastDFS

 1.下载安装fastdfs
https://sourceforge.net/projects/fastdfs/files/?source=navbar(该网址下载所需版本FastDFS 此处使用4.0.6为例)
cd /opt
tar -zxvf FastDFS_4.06.tar.gz
cd FastDFS
./make.sh
./make.sh install 2. 创建文件存放路径
mkdir -p /home/fastdfs/tracker #创建tracker文件存放路径
mkdir -p /home/fastdfs/storage #创建storage 文件存放路径
mkdir -p /home/fastdfs/client #创建client 文件存放路径 cd /etc/fdfs/ #查看目录下文件是否齐全,应该有client.conf http.conf mime.types storage.conf tracker.conf 5个文件,如果没有,libevent 安装有问题 3. 修改配置文件(172.18.4.217-218 由于每台均作为tracker 所以需要全部配置,而172.18.4.219只作为存储服务器所以不需要配置tracker.conf ;每台服务器配置内容如组名,存放路径等按真实情况填入 ) vim /etc/fdfs/tracker.conf #编辑tracker配置文件
disabled=false #启用配置文件
bind_addr= #解析主机地址,空则解析所有主机
port=22122 #tracker服务端口
connect_timeout=30 #连接超时时间30S
network_timeout=60 #网络超时时间60S
base_path=/usr/share/fastdfs/tracker #tracker基础数据存储路径及日志存放路径
max_connections=256 #最大并发连接数
work_threads=4 #工作线程数,最好和cpu核数保持一致
store_lookup=0 #选择上传文件模式 0代表group轮询 1指定特定group 2选择空间最大的group
#store_group= #上传文件组,如果模式为1,则必须设置成核特定group一致的组名
store_server=0 #选择存储服务器上传文件 0代表轮询,1根据通过IP第的顺序 2通过优先级
store_path=0 #选择哪块存储盘上传文件 0代表轮询,2代表优先最大存储空间盘(路径)
download_server=0 #选择哪台存储服务器下载文件0代表轮询,1代表当前文件上传的源服务器
reserved_storage_space = 10% #系统保留存储空间10%
######其余都默认就好 vim /etc/fdfs/storage.conf #编辑存储配置文件
group_name=group1 #存储组名
client_bind=true #当连接其他服务器时解析该主机地址
port=23000 #storage端口 23000
base_path=/usr/share/fastdfs/storage #基础存储数据和日志文件
store_path0=/usr/share/fastdfs/storage #group 所占用的目录或硬盘,有几个写几个
tracker_server=172.18.4.217:22122 #指定tracker1服务器
tracker_server=172.18.4.218:22122 #指定tracker2服务器 vim /etc/fdfs/client.conf
base_path=/usr/share/fastdfs/client #基础数据和日志文件
tracker_server=172.18.4.217:22122 #tracker1服务器
tracker_server=172.18.4.218:22122 #tracker2服务器

  3. 下载安装nginx 及 nginx-fastdfs模块

 1. 下载安装配置fastdfs-nginx
https://sourceforge.net/projects/fastdfs/files/?source=navbar 下载nginx-fastdfs模块压缩包
cd /opt/
tar zxvf fastdfs-nginx-module-v1.16.tar.gz
cd fastdfs-nginx-module/src
cp mod_fastdfs.conf /etc/fdfs/ #将mod_fastdfs.conf 拷贝到fdfs下进行配置
vim /etc/fdfs/mod_fastdfs.conf
base_path=/home/fastdfs/storage #修改成和storage 存放路径一致
tracker_server=172.12.4.201:22122 #配置成tracker server 地址和端口
url_have_group_name = true #url 中是否包组名
store_path0=/home/fastdfs/storage #文件存放路径,与storage 一致
group_count = 0 #0代表单组,非零代表多组,一般设置几就为几组
group_count = 1
[group1]
group_name=group1
storage_server_port=23000
store_path_count=1
store_path0=/usr/share/fastdfs/storage 2. 下载所需依赖库
https://sourceforge.net/projects/pcre/files/ #下载所需PCRE
cd /opt
tar xf pcre-8.12.tar.gz
https://sourceforge.net/projects/zlib/ #下载zlib
tar xf zlib-1.2.8.tar.xz 3. 下载安装nginx
wget http://nginx.org/download/nginx-1.8.1.tar.gz #下载nginx
tar -zxvf ngin-1.8.1.tar.gz
cd nginx-1.8.1 ./configure --prefix=/usr/local/nginx --with-zlib=/opt/zlib-1.2.8 --with-pcre=/opt/pcre-8.12 --add-module=/opt/fastdfs-nginx-module/src
make && make install

  4. 配置nginx

  172.18.4.217  

 172.18.4.217 nginx配置

 vim /usr/local/nginx/conf/nginx.conf
user root;
worker_processes 4;
events {
worker_connections 40960;
use epoll;
}
error_log /usr/local/nginx/logs/error.log;
pid /usr/local/nginx/logs/nginx.pid; http {
server_names_hash_bucket_size 128;
client_header_buffer_size 32k;
large_client_header_buffers 4 32k;
client_max_body_size 300m;
sendfile on;
tcp_nopush on;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 16k;
proxy_buffers 4 64k;
proxy_busy_buffers_size 128k;
proxy_temp_file_write_size 128k; log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"'; access_log /usr/local/nginx/logs/access.log main; upstream fdfs_group1 {
server 172.18.4.217:8080 weight=1 max_fails=2 fail_timeout=30s;
} upstream fdfs_group2 {
server 172.18.4.218:8080 weight=1 max_fails=2 fail_timeout=30s;
} upstream fdfs_group3 {
server 172.18.4.219:8080 weight=1 max_fails=2 fail_timeout=30s; }
include /usr/local/nginx/conf.d/*.conf;
}
 172.18.4.217 tracker.conf 配置
vim /usr/local/nginx/conf.d/tracker.conf server {
listen 80;
server_name 172.18.4.217; location ~ /group1/M00 {
proxy_next_upstream http_502 http_504 error timeout invalid_header;
proxy_pass http://fdfs_group1;
expires 30d;
} location ~ /group2/M00 {
proxy_next_upstream http_502 http_504 error timeout invalid_header;
proxy_pass http://fdfs_group2;
expires 30d;
} location ~ /group3/M00 {
proxy_next_upstream http_502 http_504 error timeout invalid_header;
proxy_pass http://fdfs_group3;
expires 30d;
}
}
 172.18.4.217 storage.conf配置
server {
listen 8080;
server_name 172.18.4.217; location ~ /group1/M00 {
root /usr/share/fastdfs/storage/data;
index index.html index.htm;
ngx_fastdfs_module;
}
}

    172.18.4.218

 vim /usr/local/nginx/conf/nginx.conf

 user root;
worker_processes 4;
events {
worker_connections 40960;
use epoll;
}
error_log /usr/local/nginx/logs/error.log;
pid /usr/local/nginx/logs/nginx.pid; http {
server_names_hash_bucket_size 128;
client_header_buffer_size 32k;
large_client_header_buffers 4 32k;
client_max_body_size 300m;
sendfile on;
tcp_nopush on;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 16k;
proxy_buffers 4 64k;
proxy_busy_buffers_size 128k;
proxy_temp_file_write_size 128k; log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"'; access_log /usr/local/nginx/logs/access.log main; upstream fdfs_group1 {
server 172.18.4.217:8080 weight=1 max_fails=2 fail_timeout=30s;
} upstream fdfs_group2 {
server 172.18.4.218:8080 weight=1 max_fails=2 fail_timeout=30s;
} upstream fdfs_group3 {
server 172.18.4.219:8080 weight=1 max_fails=2 fail_timeout=30s; }
include /usr/local/nginx/conf.d/*.conf;
}
 vim /usr/local/nginx/conf.d/tracker.conf

 server {
listen 80;
server_name 172.18.4.218; location ~ /group1/M00 {
proxy_next_upstream http_502 http_504 error timeout invalid_header;
proxy_pass http://fdfs_group1;
expires 30d;
} location ~ /group2/M00 {
proxy_next_upstream http_502 http_504 error timeout invalid_header;
proxy_pass http://fdfs_group2;
expires 30d;
} location ~ /group3/M00 {
proxy_next_upstream http_502 http_504 error timeout invalid_header;
proxy_pass http://fdfs_group3;
expires 30d;
}
}
 vim /usr/local/nginx/conf.d/storage.conf

 server {
listen 8080;
server_name 172.18.4.218; location ~ /group2/M00 {
root /usr/share/fastdfs/storage/data;
index index.html index.htm;
ngx_fastdfs_module;
}
}

    172.18.4.219

 vim /usr/local/nginx.conf
user root;
worker_processes 4; events {
worker_connections 40960;
} http {
include mime.types;
default_type application/octet-stream; sendfile on;
keepalive_timeout 65; server {
listen 8080;
server_name 172.18.4.219; location / {
root html;
index index.html index.htm;
} location ~ /group3/M00 {
root /usr/share/fastdfs/storage/data;
index index.html index.htm;
ngx_fastdfs_module;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}

#配置完成,接下来启动服务并测试:

172.18.4.217-218 三个进程全启动,172.18.4.219 只需要启动storage 和nginx 即可

usr/local/bin/fdfs_trackerd /etc/fdfs/tracker.conf

/usr/local/bin/fdfs_storaged /etc/fdfs/storage.conf

/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf

检查是否启动成功:

ps aux |grep fdfs

netstat -ntpl |grep fdfs

ps aux |grep nginx

netstat -ngpl |grep nginx

fdfs_monitor /etc/fdfs/client.conf 查看状态是否正常

  1. 编辑3个文件: echo “1111” >>/opt/1.txt && echo “2222” >>/opt/2.txt && echo “3333” >>/opt/3.txt
  2. 上传文件:

      /usr/local/bin/fdfs_test /etc/fdfs/client.conf upload 1.txt
      /usr/local/bin/fdfs_test /etc/fdfs/client.conf upload 2.txt
      /usr/local/bin/fdfs_test /etc/fdfs/client.conf upload 3.txt

      #返回结果中会把上传完成的url 打印出来,看三个上传的url group是否轮询变化,如果停掉172.18.4.217 的tracker 返回url是不是地址变成172.18.4.218,

如都成功则 复制URL在浏览器中打开看是否正常

FastDFS 双tracker负载均衡 及多组存储配置的更多相关文章

  1. Ubuntu 10.04下实现双网卡负载均衡

    摘要:本文主要介绍和配置 在Ubuntu下 实现 bonding,双网卡负载,bonding模式为0,好处是负载平衡,另一网卡断了,也能工作. 什么是bonding Linux bonding 驱动提 ...

  2. Nginx+keepalived构建双主负载均衡代理服务器

    引言 Nginx是一个高性能的代理服务器,单台Nginx容易出现单点故障,使用keepalived可以实现Nginx的故障转移,保证了网站的高可用性 一.使用Nginx+keepalived的两种方案 ...

  3. Keepalived+Nginx实现高可用和双主节点负载均衡

    简介 Nginx可以实现高并发反向代理,lvs集群可以实现负载均衡,但是他们都有一个共同的弊端,就是Nginx,lvs架构中Director是单点故障,有没有一个好的方案解决这个问题呢?答案是有.通过 ...

  4. Tomcat+nginx+keepalived+memcached实现双VIP负载均衡及Session会话保持

    准备好tomcat 第一台 tar vxf apache-tomcat-7.0.54.tar.gz mv apache-tomcat-7.0.54 /usr/local/tomcat tar vxf ...

  5. Windows 2008 Server R2双网卡负载均衡

    源文档 <http://blog.sina.com.cn/s/blog_6025f5690101apwd.html>

  6. HAProxy(二):HAProxy的ACL规则实现智能负载均衡详解与示例

    一.HAProxy的ACL的功能 ACL(Access Control List)访问控制列表,HAProxy中的ACL的匹配条件和控制条件有许多种,功能很强大,可以通过源地址.源端口.目标地址.目标 ...

  7. 从零开始入门 | Kubernetes 中的服务发现与负载均衡

    作者 | 阿里巴巴技术专家  溪恒 一.需求来源 为什么需要服务发现 在 K8s 集群里面会通过 pod 去部署应用,与传统的应用部署不同,传统应用部署在给定的机器上面去部署,我们知道怎么去调用别的机 ...

  8. Kubernetes 中的服务发现与负载均衡

    原文:https://www.infoq.cn/article/rEzx9X598W60svbli9aK (本文转载自阿里巴巴云原生微信公众号(ID:Alicloudnative)) 一.需求来源 为 ...

  9. 干货 | 京东云应用负载均衡(ALB)多功能实操

    应用负载均衡(Application Load Balancer,简称ALB)是京东云自主研发的一款七层负载均衡产品,主要面向HTTP和HTTPS流量的WEB应用程序,提供灵活的功能配置.应用负载均衡 ...

随机推荐

  1. solr入门之參考淘宝搜索提示功能优化拼音加汉字搜索功能

    首先看一下从淘宝输入搜索keyword获取到的一些数据信息: 第一张:使用拼音的全程来查询 能够看到提示的是匹配的转换的拼音的方式,看最后一个提示项 这里另一个在指定分类文件夹下搜索的功能,难道后台还 ...

  2. 微信公众帐号开发教程第4篇-----开发模式启用及接口配置Java

    欢迎加入群:347245650   345531810 进行讨论相互交流  我的微信号:572839485 我的微信公众账号  我的微社区欢迎关注 索取源码←请点击 图床:没有服务器 拖拽图片 外网即 ...

  3. MySQL中删除数据的两种方法

    转自:http://blog.csdn.net/apache6/article/details/2778878 1. 在MySQL中有两种方法可以删除数据: 一种是delete语句,另一种是trunc ...

  4. Eclipse如何安装插件,查看已经安装的插件

    文件-帮助-About Eclipse,然后点击Installation Details   查看Installed Software找到已安装的插件   如果要安装新的插件,点击Help,Insta ...

  5. Unity协程(Coroutine)原理深入剖析再续

    Unity协程(Coroutine)原理深入剖析再续 By D.S.Qiu 尊重他人的劳动,支持原创,转载请注明出处:http.dsqiu.iteye.com 前面已经介绍过对协程(Coroutine ...

  6. hunnu11546:Sum of f(x)

    Problem description   令f(x)为x的全部约数之和,x的约数即能够被x整除的数.如f(24)=1+2+3+4+6+8+12+24=60),求 f(l) + f(l + 1) + ...

  7. [Swift A] - Welcome to Swift

    Swift is a new object-oriented programming language for iOS and OS X development. Swift is modern, p ...

  8. UML学习(一)-工具介绍

    这里用于学习UML的工具是StarUML,没有什么原因为什么要用它,或许仅仅是有人说好用和比较小. 首先介绍下这个工具,来张图. 1.菜单栏(最上面) 2.快捷工具栏(菜单栏下面) 3.工具项(Too ...

  9. ftp protocol

    RFC http://www.w3.org/Protocols/rfc959/4_FileTransfer.html http://blog.chinaunix.net/uid-17238776-id ...

  10. OFBiz:解析doRequest()

    这里的doRequest()是指RequestHandler中的同名函数: public void doRequest(HttpServletRequest request, HttpServletR ...