FastDFS使用指南:启动monitor

假设我们在机器101上

mv /etc/fdfs/client.conf.sample /etc/fdfs/client.conf

修改tracker配置项

tracker_server=192.168.56.1:22122

执行

/usr/bin/fdfs_monitor /etc/fdfs/client.conf

-------------------------------------------------打印如下:

[2015-04-20 19:18:42] DEBUG - base_path=/home/yuqing/fastdfs, 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

server_count=1, server_index=0

tracker server is 192.168.56.101:22122

group count: 1

Group 1:
group name = group1
disk total space = 7430 MB
disk free space = 3089 MB
trunk free space = 0 MB
storage server count = 2
active server count = 2
storage server port = 23000
storage HTTP port = 8888
store path count = 1
subdir count per path = 256
current write server index = 0
current trunk file id = 0

Storage 1:
  id = 192.168.56.102
  ip_addr = 192.168.56.102 (qiangzigege-VirtualBox.local)  ACTIVE
  http domain =
  version = 5.05
  join time = 2015-04-20 18:19:34
  up time = 2015-04-20 18:20:50
  total storage = 7430 MB
  free storage = 3089 MB
  upload priority = 10
  store_path_count = 1
  subdir_count_per_path = 256
  storage_port = 23000
  storage_http_port = 8888
  current_write_path = 0
  source storage id =
  if_trunk_server = 0
  connection.alloc_count = 256
  connection.current_count = 1
  connection.max_count = 1
  total_upload_count = 0
  success_upload_count = 0
  total_append_count = 0
  success_append_count = 0
  total_modify_count = 0
  success_modify_count = 0
  total_truncate_count = 0
  success_truncate_count = 0
  total_set_meta_count = 0
  success_set_meta_count = 0
  total_delete_count = 0
  success_delete_count = 0
  total_download_count = 0
  success_download_count = 0
  total_get_meta_count = 0
  success_get_meta_count = 0
  total_create_link_count = 0
  success_create_link_count = 0
  total_delete_link_count = 0
  success_delete_link_count = 0
  total_upload_bytes = 0
  success_upload_bytes = 0
  total_append_bytes = 0
  success_append_bytes = 0
  total_modify_bytes = 0
  success_modify_bytes = 0
  stotal_download_bytes = 0
  success_download_bytes = 0
  total_sync_in_bytes = 0
  success_sync_in_bytes = 0
  total_sync_out_bytes = 0
  success_sync_out_bytes = 0
  total_file_open_count = 0
  success_file_open_count = 0
  total_file_read_count = 0
  success_file_read_count = 0
  total_file_write_count = 0
  success_file_write_count = 0
  last_heart_beat_time = 2015-04-20 19:18:40
  last_source_update = 1970-01-01 08:00:00
  last_sync_update = 1970-01-01 08:00:00
  last_synced_timestamp = 1970-01-01 08:00:00
 Storage 2:
  id = 192.168.56.103
  ip_addr = 192.168.56.103 (qiangzigege-VirtualBox-3.local)  ACTIVE
  http domain =
  version = 5.05
  join time = 2015-04-20 18:51:28
  up time = 2015-04-20 18:52:42
  total storage = 7430 MB
  free storage = 3947 MB
  upload priority = 10
  store_path_count = 1
  subdir_count_per_path = 256
  storage_port = 23000
  storage_http_port = 8888
  current_write_path = 0
  source storage id = 192.168.56.102
  if_trunk_server = 0
  connection.alloc_count = 256
  connection.current_count = 1
  connection.max_count = 1
  total_upload_count = 0
  success_upload_count = 0
  total_append_count = 0
  success_append_count = 0
  total_modify_count = 0
  success_modify_count = 0
  total_truncate_count = 0
  success_truncate_count = 0
  total_set_meta_count = 0
  success_set_meta_count = 0
  total_delete_count = 0
  success_delete_count = 0
  total_download_count = 0
  success_download_count = 0
  total_get_meta_count = 0
  success_get_meta_count = 0
  total_create_link_count = 0
  success_create_link_count = 0
  total_delete_link_count = 0
  success_delete_link_count = 0
  total_upload_bytes = 0
  success_upload_bytes = 0
  total_append_bytes = 0
  success_append_bytes = 0
  total_modify_bytes = 0
  success_modify_bytes = 0
  stotal_download_bytes = 0
  success_download_bytes = 0
  total_sync_in_bytes = 0
  success_sync_in_bytes = 0
  total_sync_out_bytes = 0
  success_sync_out_bytes = 0
  total_file_open_count = 0
  success_file_open_count = 0
  total_file_read_count = 0
  success_file_read_count = 0
  total_file_write_count = 0
  success_file_write_count = 0
  last_heart_beat_time = 2015-04-20 19:18:14
  last_source_update = 1970-01-01 08:00:00
  last_sync_update = 1970-01-01 08:00:00
  last_synced_timestamp = 1970-01-01 08:00:00

时间: 2024-10-10 11:05:13

FastDFS使用指南:启动monitor的相关文章

GDB调试指南-启动调试

前言 GDB(GNU Debugger)是UNIX及UNIX-like下的强大调试工具,可以调试ada, c, c++, asm, minimal, d, fortran, objective-c, go, java,pascal等语言.本文以C程序为例,介绍GDB启动调试的多种方式. 哪类程序可被调试 对于C程序来说,需要在编译时加上-g参数,保留调试信息,否则不能使用GDB进行调试.但如果不是自己编译的程序,并不知道是否带有-g参数,如何判断一个文件是否带有调试信息呢? gdb 文件 例如:

FastDFS的介绍与相关知识,以及集群搭建

FastDFS相关知识 什么是FastDFS? FastDFS是一个开源的轻量级分布式文件系统.它解决了大数据量存储和负载均衡等问题.特别适合以中小文件(建议范围:4KB < file_size <500MB)为载体的在线服务,如相册网站.视频网站等等. FastDFS的角色: Tracker server:Tracker server作为中心结点,其主要作用是负载均衡和调度.Tracker server在内存中记录分组和Storage server的状态等信息,不记录文件索引信息,占用的内存

FastDFS&#160;集群的安装、配置、使用

FastDFS 集群的安装.配置.使用 FastDFS 介绍(参考:http://www.oschina.net/p/fastdfs) FastDFS 是一个开源的分布式文件系统,它对文件进行管理,功能包括:文件存储.文件同步.文件 访问(文件上传.文件下载)等,解决了大容量存储和负载均衡的问题.特别适合以文件为载体的在线服务,如相册网站.视频网站等等. FastDFS 服务端有两个角色:跟踪器(tracker)和存储节点(storage).跟踪器主要做调度工作,在访问上起负载均衡的作用.存储节

FastDFS分布式文件系统集群安装

文档修订记录 跟踪服务器: Tracker Server1 IP:  10.10.16.201 FASTDFS-TRACKER-01 Tracker Server2 IP:  10.10.16.202 FASTDFS-TRACKER-02 存储服务器: Storage Server1 IP:  10.10.16.203 FASTDFS-STORAGE-01 Storage Server2 IP:  10.10.16.204 FASTDFS-STORAGE-02 集群中各操作系统环境设置: (1)

FastDFS分布式文件系统的安装与使用(单节点) 吴水成

跟踪服务器:192.168.4.121 (edu-dfs-tracker-01) 存储服务器:192.168.4.125 (edu-dfs-storage-01) 环境:CentOS 6.6 用户:root                                                    数据目录:/fastdfs   (注:数据目录按你的数据盘挂载路径而定) 安装包: FastDFS v5.05 libfastcommon-master.zip(是从FastDFS和Fast

Ubuntu+FastDFS+Nginx

一.安装libfastcommon 1.wget https://github.com/happyfish100/libfastcommon/archive/V1.0.7.tar.gz 2.tar -xvf V1.0.7.tar.gz 3.cd libfastcommon-1.0.7 4../make.sh 5../make.sh install 6.创建软链接: ln -s /usr/lib64/libfastcommon.so /usr/local/lib/libfastcommon.so

FastDFS 和nginx整合

失败的经历:     从昨晚到今晚,一直在配置这FastDFS 和nginx整合这两个东西.听了黑马的讲师说一个人第一次做这个,光是搭建一个最简单的分布式文件系统至少需要1天时间.其实看来,果然没错.不过大部分时间都花在了执行错误的方法上面. 可能有人是看过了传智播客的讲师错误配置方法之后才来网上寻找答案的,没错.拜托那个错误的配置文档之后,重新开启一台虚拟机,铛!!!!!花了4个小时左右,配置成功了. 下面是效果图: 总有一个体会,每次对一件事物感到深刻是对它想吐之后才会有.这次是真的恶心到我

FastDFS介绍与安装

目录 FastDFS. 1 1     介绍.... 1 2     安装.... 4 2.1      安装libfastcommon. 4 2.1.1      下载安装包并解压.... 4 2.2      安装FastDFS. 5 2.3      安装nginx. 8 2.3.1      更新nginx安装库.... 8 2.3.2      安装nginx. 8 2.4      存储服务器(storage server)安装并配置nginx. 10 2.4.1      安装fa

CentOS 6.5上安装并配置FastDFS

一.下载并安装libfastcommon cd /opt/tools git clone https://github.com/happyfish100/libfastcommon.git  cd libfastcommon/ ./make.sh  ./make.sh install 二.下载并安装fastdfs cd ../ wget https://github.com/happyfish100/fastdfs/archive/V5.05.tar.gz  tar -zxf V5.05.tar