Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-28-2017, 06:23 AM   #1
Registered: Oct 2015
Posts: 79

Rep: Reputation: Disabled
Apache resource not starting - Pacemaker Cluster


I am working on deploying a 2 node cluster environment using the pacemaker. In that, I have created resource group having LVM, Filesystem, IPaddr2, apache. Once implemented, I see all the resource starts in the DS node (node1). However, when I put node-1 in standby, I see all the resource except apache starts at node2.

Below are my resources ,

Group: apachegroup
Resource: my_lvm (class=ocf provider=heartbeat type=LVM)
Attributes: volgrpname=pradeep-vg exclusive=true
Operations: start interval=0s timeout=30 (my_lvm-start-interval-0s)
stop interval=0s timeout=30 (my_lvm-stop-interval-0s)
monitor interval=10 timeout=30 (my_lvm-monitor-interval-10)
Resource: my_fs (class=ocf provider=heartbeat type=Filesystem)
Attributes: device=/dev/pradeep-vg/pradeep-lv directory=/var/www fstype=ext4
Operations: start interval=0s timeout=60 (my_fs-start-interval-0s)
stop interval=0s timeout=60 (my_fs-stop-interval-0s)
monitor interval=20 timeout=40 (my_fs-monitor-interval-20)
Resource: Virtual-IP (class=ocf provider=heartbeat type=IPaddr2)
Attributes: ip= cidr_netmask=24
Operations: start interval=0s timeout=20s (Virtual-IP-start-interval-0s)
stop interval=0s timeout=20s (Virtual-IP-stop-interval-0s)
monitor interval=10s timeout=20s (Virtual-IP-monitor-interval-10s)
Resource: Website (class=ocf provider=heartbeat type=apache)
Attributes: configfile=/etc/httpd/conf/httpd.conf statusurl=
Operations: monitor interval=10 timeout=20s (Website-monitor-interval-10)
start interval=0s timeout=240s (Website-start-interval-0s)
stop interval=0s timeout=300s (Website-stop-interval-0s)
Error message in the logs,

Jun 28 03:19:06 pengine[1376]: warning: Processing failed op start for Website on unknown error (1)
Jun 28 03:19:06 pengine[1376]: warning: Forcing Website away from after 1000000 failures (max=1000000)
[root@node1 ~]# pcs status
Cluster name: mycluster
Stack: corosync
Current DC: (version 1.1.15-11.el7_3.4-e174ec8) - partition with quorum
Last updated: Wed Jun 28 07:23:42 2017 Last change: Tue Jun 27 23:03:36 2017 by root via crm_attribute on

2 nodes and 6 resources configured

Node standby
Online: [ ]

Full list of resources:

fence-2 (stonith:fence_vmware_soap): Started
fence-1 (stonith:fence_vmware_soap): Started
Resource Group: apachegroup
my_lvm (ocf::heartbeat:LVM): Started
my_fs (ocf::heartbeat:Filesystem): Started
Virtual-IP (ocf::heartbeat:IPaddr2): Started
Website (ocf::heartbeat:apache): Stopped

Failed Actions:
* Website_start_0 on 'unknown error' (1): call=98, status=Timed Out, exitreason='none',
last-rc-change='Tue Jun 27 13:06:24 2017', queued=0ms, exec=40003ms

Daemon Status:
corosync: active/enabled
pacemaker: active/enabled
pcsd: active/enabled

I have verified the configs which looks good to me. But since I am new to this, I am not sure what else to be checked for further troubleshooting. Could some shed light on this, please?
Old 07-01-2017, 07:40 PM   #2
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I noticed this has been here a while. The only thing I can think of is that when you put the one machine in standby, the services that were on the first machine, start on the other machine.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
glusterfs volume mount options in a pacemaker cluster resource ogniemi Linux - Software 0 04-29-2017 05:54 PM
pacemaker does not failover the resource when eth1 interface goes down Satheesh.kv13 Linux - Server 0 09-10-2014 05:44 PM
[SOLVED] pacemaker - how to start a resource eantoranz Linux - Server 1 10-03-2012 01:33 PM
Building some sort of cluster: slurm, pacemaker, cluster-glue or .... kaz2100 Linux - Software 2 07-21-2011 12:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration