Hi All Could some help in pointing out which step I am wrongly configuring due to which HA for Apache doesnot start. Followed the steps in cluster from scratch doc to provide HA for Apache, but it doesnot work.
*Setup*: Fedora 18, Openstack Grizzly, Pacemaker1.1.9/Corosync 2 node cluster. *Configuration*: 1.) In Resource agents "/usr/lib/ocf/resource.d/heartbeat/apache" a) changed IP address to ClusterIP or VirtualIp WGETOPTS="-O- -q -L --no-proxy --bind-address=10.102.228.60 b) changed to point to httpd.conf DEFAULT_NORMCONFIG="/etc/httpd/conf/httpd.conf" 2.) In "/etc/httpd/conf/httpd.conf" a) changed IP address to ClusterIP or VirtualIp Listen 10.102.228.60:80 ServerAdmin root@10.102.228.60 ServerName 10.102.228.60 b) added these lines at the end of httpd.conf <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from 10.102.228.60 </Location> ExtendedStatus On 3. ) In "/etc/openstack-dashboard/local_settings" a) changed IP address to ClusterIP or VirtualIp OPENSTACK_HOST = "10.102.228.60" 4.) pcs cluster cib apache.cfg pcs -f apache.cfg resource create openstack_dashboard ocf:heartbeat:apache \ configfile=/etc/httpd/conf/httpd.conf \ statusurl="http://10.102.228.60/server-status" op monitor interval=1min pcs -f apache.cfg constraint colocation add openstack_dashboard ClusterIP INFINITY pcs -f apache.cfg constraint order ClusterIP then openstack_dashboard pcs cluster push cib apache.cfg After all the configuration changes pcs status displays ClusterIP (ocf::heartbeat:IPaddr2): Started cirrus openstack_dashboard (ocf::heartbeat:apache): Stopped -- Regards Gopi Krishna Mobile: +358 4 5150 4499
_______________________________________________ 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