我正在尝试使用 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
1:你需要确定,资源代理就在那里
2:我在你之前的输出中没有看到 nginx
3:我使用的是 Suse 11 Sp2,我安装了 nginx,没有使用额外的包
我知道 Redhat 已经删除了很多资源代理,更多信息,你可以使用 clusterlabs 邮件列表存档