我试图使用virtualbox通过两个vm构建集群--我遵循本教程http://www.tokiwinter.com/clustering-with-drbd-corosync-and-pacemaker/
并按以下方式键入命令
[root@node1 data]# crm configure primitive nginx_res ocf:heartbeat:nginx params configfile=/etc/nginx/nginx.conf httpd=/usr/sbin/nginx op monitor interval=60s timout=10s op start timeout=40s op stop timeout=60s
error: unpack_resources: Resource start-up disabled since no STONITH resources have been defined
error: unpack_resources: Either configure some or disable STONITH with the stonith-enabled option
error: unpack_resources: NOTE: Clusters with shared data need STONITH to ensure data integrity
Errors found during check: config not valid
ERROR: ocf:heartbeat:nginx: got no meta-data, does this RA exist?
ERROR: ocf:heartbeat:nginx: got no meta-data, does this RA exist?
ERROR: ocf:heartbeat:nginx: no such resource agent
Do you still want to commit (y/n)?这些错误消息正常吗?在我按下“是”之后,我如何恢复?命令会做什么?
[root@node2 ~]# crm ra list ocf heartbeat
CTDB Delay Dummy Filesystem IPaddr
IPaddr2 IPsrcaddr LVM MailTo Route
SendArp Squid VirtualDomain Xinetd apache
conntrackd dhcpd ethmonitor exportfs mysql
named nfsserver pgsql postfix rsyncd
symlink 发布于 2014-11-05 11:18:47
1:你需要确定的是,资源代理在那里。
/usr/lib/ocf/resource.d/heartbeat/nginx他说:我在之前的输出中没有看到nginx
他说:我使用的是Suse 11 Sp2,我安装了nginx,没有使用额外的软件包
node01:~ # rpm -qf /usr/lib/ocf/resource.d/heartbeat/nginx
resource-agents-3.9.2-0.25.5我知道Redhat已经删除了许多资源代理,有关更多信息,您可以使用集群邮件列表存档。
https://serverfault.com/questions/642086
复制相似问题