起搏器为nginxconfiguration资源

我试图build立两个虚拟机使用virtualbox集群我按照这个教程http://www.tokiwinter.com/clustering-with-drbd-corosync-and-pacemaker/

并input如下命令

[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)? 

这些错误信息是正常的吗? 我按是的后,如何恢复? 这个命令会做什么?

—– UDPATE ——

 [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:你需要确定,资源代理在那里

 /usr/lib/ocf/resource.d/heartbeat/nginx 

2:我以前的输出中没有看到nginx

3:我正在使用Suse 11 Sp2,并且安装了nginx,而不使用额外的软件包

 node01:~ # rpm -qf /usr/lib/ocf/resource.d/heartbeat/nginx resource-agents-3.9.2-0.25.5 

我知道Redhat已经删除了许多资源代理,有关更多信息,可以使用clusterlabs邮件列表归档