随笔分类 - 分布式文件系统
FastDFSD等
摘要:FastDFS配置说明1)tracker.conf# is this config file disabled# false for enabled# true for disableddisabled=false#用于说明这个配置文件是否可用,false为可用。# bind an address of this host# empty for bind all addresses of this hostbind_addr=#是否绑定ip#bind_addr=后面即为绑定的ip地址,常用于一台服务器有多个ip地址,希望其中的一个ip地址提供服务。不设置时,绑定所有的地址。一般情况下保持默认的
阅读全文
摘要:问题1: 增加分组后,新的storge不可用。 增加一个分组group2,发现上传文件失败。在group2中的storage中使用netstat -anp|grep fdfs,发现端口状态为CLOSE_WAIT。查了一下,tracker和storage的日志文件,也没有发现有什么错误的输出。使用fdfs_monitor 发现group1下的storage状态都是active,而group2下的storage状态都是INIT。查了配置信息,也没发现有什么错误的地方。 原因:之前在新加group2之前,我在group1中新加一个storage,但是不小心将这个storage的状态设置为gro...
阅读全文
摘要:1: 启动FastDFS tracker: /usr/local/bin/fdfs_trackered /etc/fdfs/tracker.conf storage:/usr/local/bin/fdfs_storaged /etc/fdfs/storage.conf2:关闭FastDFS tracker:/usr/local/bin/stop.sh/usr/local/bin/fdfs_tracker storage:/usr/local/bin/stop.sh/usr/local/bin/fdfs_storage 或者 killall fdfs_tra...
阅读全文
摘要:文件服务器分布式系统安装手册本文档详细的介绍了FastDFS的最小集群安装过程。集群环境如下:tracker:20.2.64.133 。用于调度工作,在访问上起负载均衡的作用。group1: storage1: 20.10.129.150。存储节点存储文件,完成文件管理的所有功能。 storage2: 20.12.1.73。group2: storage2:20.12.1.74 以下将详细的介绍此分布式的安装过程,针对不同的系统,安装过程中部分细节(存储路径设置等)可能稍有不同,但基本步骤相同。第一步安装libevent在搭建分布式环境之前,需要确保已经安装了libevent,FastDFS安
阅读全文

浙公网安备 33010602011771号