Home > OS >  Has not in effect with PCS build WEB cluster, how to solve!
Has not in effect with PCS build WEB cluster, how to solve!

Time:11-22

problem for several days, please help!
/root @ rs1 ~ # PCS resource create Website ocf: heartbeat: apache configfile=/etc/HTTPD/conf/HTTPD. Conf \
Statusurl="http://localhost/server-status" \
Op the monitor interval=1 min


/root @ rs1 ~ # PCS status
Cluster name: cluster1
Stack: corosync
The Current DC: rs1 (version 1.1.20-5. El7-3 c4c782f70) - partition with quorum
Last updated: Sat May 9 02:29:59 2020
The Last change: the Sat May 9 02:28:36 2020 by root via cibadmin on rs1

2 nodes configured
2 the resources configured

Online: [rs1 rs2]

The Full list of resources:

VirtualIP (ocf: : heartbeat: IPaddr2) : Started rs1
Website (ocf: : heartbeat: apache) : Stopped

Failed Resource Actions:
* Website_start_0 o
N rs1 'unknown error' (1) : call=19, status=Timed Out, exitreason=",
Last - rc - change='Sat May 9 02:29:17 2020, queued=0, ms exec=40004 ms
* Website_start_0 on rs2 'unknown error' (1) : call=14, status=Timed Out, exitreason=",
Last - rc - change='Sat May 9 02:28:36 2020, queued=0, ms exec=40006 ms


The Daemon Status:
Corosync: active/disabled
Pacemaker: active/disabled
PCSD: active/enabled

A log file is put in
May 9 02:29:48 b apache (Website) [12391] : the INFO: waiting for apache/etc/HTTPD/conf/HTTPD. Conf to last come up
May 9 02:29:49 b apache (Website) [12391] : the INFO: apache not running
May 9 02:29:49 b apache (Website) [12391] : the INFO: waiting for apache/etc/HTTPD/conf/HTTPD. Conf to last come up
May 9 02:29:50 b apache (Website) [12391] : the INFO: apache not running
May 9 02:29:50 b apache (Website) [12391] : the INFO: waiting for apache/etc/HTTPD/conf/HTTPD. Conf to last come up
May 9 02:29:51 b apache (Website) [12391] : the INFO: apache not running
May 9 02:29:51 b apache (Website) [12391] : the INFO: waiting for apache/etc/HTTPD/conf/HTTPD. Conf to last come up
May 9 02:29:52 b apache (Website) [12391] : the INFO: apache not running
May 9 02:29:52 b apache (Website) [12391] : the INFO: waiting for apache/etc/HTTPD/conf/HTTPD. Conf to last come up
May 9 02:29:53 b apache (Website) [12391] : the INFO: apache not running
May 9 02:29:53 b apache (Website) [12391] : the INFO: waiting for apache/etc/HTTPD/conf/HTTPD. Conf to last come up
May 9 02:29:54 b apache (Website) [12391] : the INFO: apache not running
May 9 02:29:54 b apache (Website) [12391] : the INFO: waiting for apache/etc/HTTPD/conf/HTTPD. Conf to last come up
May 9 02:29:55 b apache (Website) [12391] : the INFO: apache not running
May 9 02:29:55 b apache (Website) [12391] : the INFO: waiting for apache/etc/HTTPD/conf/HTTPD. Conf to last come up
May 9 02:29:56 b apache (Website) [12391] : the INFO: apache not running
May 9 02:29:56 b apache (Website) [12391] : the INFO: waiting for apache/etc/HTTPD/conf/HTTPD. Conf to last come up
May 9 02:29:57 b LRMD [9228] : warning: Website_start_0 process (PID 12391) timed out
May 9 02:29:57 b LRMD [9228] : warning: Website_start_0:12391 - timed out after 40000 ms
May 9 02:29:57 b CRMD [9231] : error: the Result of the start operation for Website on rs1: Timed Out
May 9 02:29:57 b CRMD [9231] : warning: the Action of 5 (Website_start_0) on rs1 failed (target: 0 vs. rc: 1) : Error
May 9 02:29:57 b CRMD [9231] : notice: the Transition aborted by operation Website_start_0 'modify' on rs1: Event failed
May 9 02:29:57 b CRMD [9231] : notice: the Transition of 16 (Complete=2, Pending=0, Fired=0, Skipped=0, Incomplete=1, Source=/var/lib/pacemaker/pengine/PE - input - 16..bz2) : Complete
May 9 02:29:57 b pengine [9230] : warning: Processing failed start of Website on rs1: unknown error
May 9 02:29:57 b pengine [9230] : warning: Processing failed start of Website on rs1: unknown error
May 9 02:29:57 b pengine [9230] : warning: Processing failed start of Website on rs2: unknown error
May 9 02:29:57 b pengine [9230] : warning: Forcing Website away from rs1 after 1000000 failures (Max=1000000)
May 9 02:29:57 b pengine [9230] : warning: Forcing Website away from rs2 after 1000000 failures (Max=1000000)
May 9 02:29:57 b pengine [9230] : notice: * Stop Website (rs1) due to the node the availability
May 9 02:29:57 b pengine [9230] : notice: Calculated the transition 17, saving inputs in/var/lib/pacemaker/pengine/PE - input - 17..bz2
  • Related