HA클러스터 apache timed out 문제 발생. > 질문답변

본문 바로가기
사이트 내 전체검색

질문답변

HA클러스터 apache timed out 문제 발생.

페이지 정보

profile_image
작성자 알식스
댓글 1건 조회 5,294회 작성일 21-10-06 13:23

본문

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

댓글목록

profile_image

jekim1님의 댓글

jekim1 작성일

아파치 resource의 timeout 시간을 늘려주면 괜찮지 않을까 생각됩니다.

회원로그인

회원가입

사이트 정보

회사명 : (주)리눅스데이타시스템 / 대표 : 정정모
서울본사 : 서울특별시 강남구 봉은사로 114길 40 홍선빌딩 2층 / tel : 02-6207-1160
대전지사 : 대전광역시 유성구 노은로174 도원프라자 5층 / tel : 042-331-1161

접속자집계

오늘
549
어제
1,872
최대
3,935
전체
808,403
Copyright © www.linuxdata.org All rights reserved.