HA클러스터 apache timed out 문제 발생.
페이지 정보
본문
CentOS7.9버전 VM웨어 2대를 이용하여 HA 구성 중 아래와 같은 문제가 발생 하였습니다.
[root@cluster1 ~]# pcs status
Cluster name: mycluster
Stack: corosync
Current DC: cluster1 (version 1.1.23-1.el7_9.1-9acf116022) - partition with quorum
Last updated: Wed Oct 6 12:58:03 2021
Last change: Wed Oct 6 12:56:18 2021 by root via cibadmin on cluster1
2 nodes configured
2 resource instances configured
Online: [ cluster1 cluster2 ]
Full list of resources:
VirtualIP (ocf::heartbeat:IPaddr2): Started cluster1
WebService (ocf::heartbeat:apache): Stopped
Failed Resource Actions:
* WebService_start_0 on cluster2 'unknown error' (1): call=10, status=Timed Out, exitreason='',
last-rc-change='Wed Oct 6 12:56:01 2021', queued=0ms, exec=40005ms
* WebService_start_0 on cluster1 'unknown error' (1): call=27, status=Timed Out, exitreason='',
last-rc-change='Wed Oct 6 12:56:42 2021', queued=0ms, exec=40003ms
Daemon Status:
corosync: active/enabled
pacemaker: active/enabled
pcsd: active/enabled
VIP는 정상적으로 작동중이며 cluster1, cluster2서버 아파치가 타임아웃이 발생하나, 웹브라우저로 index.htmp 파일도 정상출력되며 httpd 서비스 상태도 active 상태입니다.
apache 리소스 등록은 아래 명령어로 진행하였습니다.
pcs resource create WebService ocf:heartbeat:apache configfile=/etc/httpd/conf/httpd.conf statusurl="http://localhost/server-status" op monitor interval=1min
[root@cluster1 ~]# pcs status
Cluster name: mycluster
Stack: corosync
Current DC: cluster1 (version 1.1.23-1.el7_9.1-9acf116022) - partition with quorum
Last updated: Wed Oct 6 12:58:03 2021
Last change: Wed Oct 6 12:56:18 2021 by root via cibadmin on cluster1
2 nodes configured
2 resource instances configured
Online: [ cluster1 cluster2 ]
Full list of resources:
VirtualIP (ocf::heartbeat:IPaddr2): Started cluster1
WebService (ocf::heartbeat:apache): Stopped
Failed Resource Actions:
* WebService_start_0 on cluster2 'unknown error' (1): call=10, status=Timed Out, exitreason='',
last-rc-change='Wed Oct 6 12:56:01 2021', queued=0ms, exec=40005ms
* WebService_start_0 on cluster1 'unknown error' (1): call=27, status=Timed Out, exitreason='',
last-rc-change='Wed Oct 6 12:56:42 2021', queued=0ms, exec=40003ms
Daemon Status:
corosync: active/enabled
pacemaker: active/enabled
pcsd: active/enabled
VIP는 정상적으로 작동중이며 cluster1, cluster2서버 아파치가 타임아웃이 발생하나, 웹브라우저로 index.htmp 파일도 정상출력되며 httpd 서비스 상태도 active 상태입니다.
apache 리소스 등록은 아래 명령어로 진행하였습니다.
pcs resource create WebService ocf:heartbeat:apache configfile=/etc/httpd/conf/httpd.conf statusurl="http://localhost/server-status" op monitor interval=1min
- 이전글crash 명령어 오류 발생 21.10.06
- 다음글Q. 디렉터리 권한 부여 21.10.05
댓글목록
jekim1님의 댓글
jekim1 작성일아파치 resource의 timeout 시간을 늘려주면 괜찮지 않을까 생각됩니다.