[root@node1 yum.repos.d]# crm configure show node node1 node node2 primitive Apache ocf:heartbeat:apache \ params configfile="/etc/httpd/conf/httpd.conf" \ op monitor interval="30s" \ op start timeout="40s" interval="0" \ op stop timeout="60s" interval="0" primitive Cluster_Server ocf:heartbeat:IPaddr2 \ params ip="132.65.56.250" cidr_netmask="24" \ op monitor interval="30s" property $id="cib-bootstrap-options" \ dc-version="1.1.10-14.el6_5.2-368c726" \ cluster-infrastructure="classic openais (with plugin)" \ expected-quorum-votes="2" \ stonith-enabled="false" \ default-action-timeout="240"
On Sun, Mar 30, 2014 at 3:23 PM, emmanuel segura <emi2f...@gmail.com> wrote: > where is your cluster config? > > > 2014-03-30 13:52 GMT+02:00 Dennis Zheleznyak <den...@eshkol.com.co>: > >> Hi, >> >> I had no experience with Corosync / Pacemaker before, therefore, I >> followed the following guide to setup a Corosync/Pacemaker HA solution for >> an apache website: >> >> http://www.unixmen.com/adding-deleting-cluster-resources-corosync-pacemaker-2/ >> >> I have two machines that run CentOS 6.5. >> >> I've done everything that is said in the guide but I see the following >> regarding the Apache: >> [root@node1 yum.repos.d]# crm status >> Last updated: Sun Mar 30 14:51:27 2014 >> Last change: Sun Mar 30 14:24:05 2014 via cibadmin on node1 >> Stack: classic openais (with plugin) >> Current DC: node1 - partition with quorum >> Version: 1.1.10-14.el6_5.2-368c726 >> 2 Nodes configured, 2 expected votes >> 2 Resources configured >> >> >> Online: [ node1 node2 ] >> >> Cluster_Server (ocf::heartbeat:IPaddr2): Started node1 >> >> Failed actions: >> Apache_start_0 on node2 'unknown error' (1): call=13, >> status=complete, last-rc-change='Sun Mar 30 14:30:02 2014', queued=1298ms, >> exec=0ms >> Apache_start_0 on node1 'unknown error' (1): call=19, >> status=complete, last-rc-change='Sun Mar 30 14:30:03 2014', queued=3118ms, >> exec=0ms >> >> Thank you, >> Dennis. >> >> >> _______________________________________________ >> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker >> >> Project Home: http://www.clusterlabs.org >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >> Bugs: http://bugs.clusterlabs.org >> >> > > > -- > esta es mi vida e me la vivo hasta que dios quiera > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org > >
_______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org