heartbeat CRM管理程序功能示例
来源:互联网 发布:淘宝卖手机需要3c 编辑:程序博客网 时间:2024/06/04 19:20
http://blog.sina.com.cn/s/blog_628961a101011lne.html
heartbeat 2.x使用CRM进行集群资源和管理的工作,除了提供hb_gui图形管理工具外,还可以使用crm_resource程序进行管理。以下内容截取自:分享:heartbeat 2.x style的配置,供参考。
1)查看所有资源
2)查看资源跑在哪个节点上
4)启动/停止资源
5)查看资源在cib.xml中的定义
6)将资源从当前节点移动向另个节点
7)将资源移向指定节点
允许资源回到正常的节点
引用
NOTE: the values of resource_stickiness and default_resource_stickiness may mean that it doesnt move back. In such cases, you should use -M to move it back and then run this command.
9)将资源从CRM中删除
10)将资源组从CRM中删除
11)将资源从CRM中禁用
12)将资源从新从CRM中启用
13)Resetting a failed resource after having been manually cleaned up
14)检查所有节点上未在CRM中的资源
15)检查指定节点上未在CRM中的资源
引用
Querying a parameter of a resource. Say the resource is the following:
<primitive id="example_mail" class="ocf" type="MailTo" provider="heartbeat">
<instance_attributes id="example_mail_inst">
<attributes>
<nvpair id="example_mail_inst_attr0" name="email" value="root"/>
<nvpair id="example_mail_inst_attr1" name="subject" value="Example Failover"/>
</attributes>
</instance_attributes>
</primitive>
<primitive id="example_mail" class="ocf" type="MailTo" provider="heartbeat">
</primitive>
You could query the email address using the following:
16)设置资源的某个属性
crm_resource -r example_mail -p email -v "myemailaddress@somedomain.com"
- heartbeat CRM管理程序功能示例
- Heartbeat 的CRM
- Heartbeat 的CRM
- heartbeat之crm资源管理
- 使用CRM方式管理heartbeat
- heartbeat v2 crm 配置高可用集群
- CRM ||单机呼叫中心 ||QT CRM 示例||SQLite CRM 示例
- Android之——流量管理程序示例
- 控制heartbeat通过crm控制httpd的检测时间
- LVS学习笔记 7 heartbeat基于CRM进行资源管理
- CRM系统哪家好?CRM系统功能介绍
- CRM 4.0 报表代码示例
- heartbeat
- heartbeat
- heartbeat
- Heartbeat
- heartbeat
- HeartBeat
- Java 一个问题
- log4j.properties配置详解
- 安装使用yum的downloadonly插件
- Windows环境下VMware虚拟机的自启动与自动关机
- android 图片效果相关
- heartbeat CRM管理程序功能示例
- android schedule policy
- 低版本IE如何调试JavaScript?
- sql中子查询
- firebug
- 恢复之全部在线日志组丢失
- CISCO和华为交换机修改密码
- 云计算数据中心的特点
- MySQL:message from server: "Host xxx is not allowed to connect to this MySQL server"