i'm trying to build cluster by two vm using virtualbox i follow this tutorial http://www.tokiwinter.com/clustering-with-drbd-corosync-and-pacemaker/
and type the command as below
[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)?
is it normal for these error messages? how can i restore after i press yes? what the command will do?
-----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
resource-agents-3.9.2-40.el6_5.10.x86_64 – hkguile Nov 06 '14 at 03:48