标签:ESS 自定义 group pre dfs _id section name 配置
fastdfs添加新group注意事项[TOC]
若使用了storage_ids.conf
,则需要修改所有的storeage、tracker的storage_ids.conf
。
在所有storage机器上,修改/etc/fdfs/mod_fastdfs.conf
,
group_name=group1/group2/group3 # 所有组名
group_count = 3 # 组的总数
# 把所有组和目录都添加上
[group1]
group_name=group1
storage_server_port=23000
store_path_count=3
store_path0=/opt/fastdfs/data/group1/M00
store_path1=/opt/fastdfs/data/group1/M01
store_path2=/opt/fastdfs/data/group1/M02
# group settings for group #2
# since v1.14
# when support multi-group, uncomment following section as neccessary
[group2]
group_name=group2
storage_server_port=23000
store_path_count=3
store_path0=/opt/fastdfs/data/group2/M00
store_path1=/opt/fastdfs/data/group2/M01
store_path2=/opt/fastdfs/data/group2/M02
[group3]
group_name=group3
storage_server_port=23000
store_path_count=3
store_path0=/opt/fastdfs/data/group3/M00
store_path1=/opt/fastdfs/data/group3/M01
store_path2=/opt/fastdfs/data/group3/M02
在所有storage机器上,创建所有组的store_path目录,重启nginx服务。
略
标签:ESS 自定义 group pre dfs _id section name 配置
原文地址:http://blog.51cto.com/ygqygq2/2136589