分布式文件系统FastDFS实战(下)——FastDFS使用
1. 本地命令使用
配置client.conf文件
[root@linux-node1 /etc/fdfs]# cp client.conf.sample client.conf # the base path to store log files base_path=/tmp...Continue reading >>
配置client.conf文件
[root@linux-node1 /etc/fdfs]# cp client.conf.sample client.conf # the base path to store log files base_path=/tmp...Continue reading >>
安装环境准备:
CentOS Linux release 7.2.1511 (Core)
fastdfs-5.11
nginx-1.10.1
php 5.6.22
fastdfs-nginx-module Version 1.20
libfastcommon Version 1.36
FastDFS是一款开源的轻量级分布式文件系统,由国人余庆所开发,其项目地址:https://github.com/happyfish100
纯C实现,支持Linux,FreeBSD等UNIX系统
类google FS,不是通用的文件系统,只能通过专有API访问,目前提供了C、Java和PHP API等
FastDFS可以看做是基于文件的key value pair存储系统,称作...
因为底层做了raid配置,有硬件故障,直接更换硬盘,会自动同步数据。
如果没有做raid的处理方法:
正常node执行gluster volume status 记录故障节点uuid
执行getfattr -d -m '.*' /brick
记录 trusted.glusterfs.volume-id及trusted.gfid
演示
(1) 查看gv2卷信息...
Continue reading >>一般在企业应用中Linux防火墙是打开的,GlusterFS需要开通一些服务器之间访问的端口
iptables -I INPUT -p tcp --dport 24007:24011 -j ACCEPT(服务监听端口)
iptables -I INPUT -p&n...
Continue reading >>