Howto: run several robinhood instances on multiple filesystems
来源:互联网 发布:js实现滑动选择日期 编辑:程序博客网 时间:2024/06/05 10:45
原文来自:http://sourceforge.net/apps/trac/robinhood/wiki/MultiFS
"service roibinhood start" starts 1 robinhood instance for each configuration file in "/etc/robinhood.d/tmpfs".
Each of these files must have a different fs_path and a different database name.
1) create 1 DB for each filesystem to be managed:
rbh-config create_db robinhood_lustre1 clnt_host passwordrbh-config create_db robinhood_lustre2 clnt_host password...
2) create 1 config file for each FS (you can use the "include" directive to have all common parameters in the same file):
in "/etc/robinhood.d/tmpfs/lustre1.conf" :
General { fs_path = /mnt/lustre1;...}ListManager { MySQL { server = "dbhost"; db = "robinhood_lustre1"; ... }}%include "includes/common_params.conf"
in "/etc/robinhood.d/tmpfs/lustre2.conf" :
General { fs_path = /mnt/lustre2;...}ListManager { MySQL { server = "dbhost"; db = "robinhood_lustre2"; ... }}%include "includes/common_params.conf"
3) Start them all:
[root@robinhost: ~]# service robinhood start Starting Robinhood for /etc/robinhood.d/tmpfs/lustre1.conf [ OK ] Checking process status... [ OK ] Starting Robinhood for /etc/robinhood.d/tmpfs/lustre2.conf [ OK ] Checking process status... [ OK ]
4) Querying:
When monitoring several filesystems, you need to specify a config file to "rbh-report" to query the right DB:
rbh-report -i -f /etc/robinhood.d/tmpfs/lustre1.conf
- Howto: run several robinhood instances on multiple filesystems
- How to Run Multiple Tomcat Instances on One Server?
- HOWTO Create Filesystems on DaVinci
- Preparing multiple tomcat instances
- .JBOSS 4.3.0 EAP Clustering with multiple instances running on Same machine balanced with Apache HTT
- Install multiple instances of Reporting Services on the same computer (for use with Microsoft Dynami
- Creating filesystems on removable media
- Several notes on Redis
- Avoiding Multiple Instances of an Application
- Avoiding Multiple Instances of an Application
- Several Topics On C++ fstream
- Proxy for multiple cloud instances with multiple portals
- HOWTO: Django on Windows
- HOWTO on Optimizing PHP
- Robot: Run Multiple Keywords
- instances
- 14.4.3.1 Invocations on boxed instances
- Running 2 jboss instances on same server
- 类似百度文库在线预览文档flash版(支持word、excel、ppt、pdf)+在线预览文档html版
- W3 JMail 邮件组件
- 如何将Launcher项目导入到Eclipse中(其他项目的导入可以参考)
- iQuery Android tutorial
- js 新增和删除表格
- Howto: run several robinhood instances on multiple filesystems
- PHP如何获得电脑的MAC地址!
- linux日志管理应该知晓的5大命令详解
- keepalived配置文件详解
- 编写自己的sniffer(一)
- Perl threads join 返回值
- Java类学习
- jxl 遭遇读取sheet错误,不能getRows jxl.common.AssertionFailed
- 网络编程的一些函数