내 문제는 맥박 조정기에 관한 것입니다. 예를 들어, 맥박 조정기 클러스터에는 두 개의 자원이 있으며 그 중 하나는 3 분간 필요하고 다음 3 분간은 다른 자원 모니터에 장애가 발생하면 즉시 다시 시작/중지 방법을 호출하지 않고 처음으로 대기합니다 리소스가 완료를 시작합니다. 첫 번째 리소스가 완전히 시작된 후 두 번째 리소스가 다시 시작되기 시작합니다. 이유를 알고 있습니까? 정말 고마워요! 내 클러스터 버전 : corosync 1.1.13시작하는 맥박 조정기 자원의 의존성
-1
A
답변
0
내 클러스터 구성이 디버그 follows.And 같다 2.3.4 심장 박동기, 나는 OCF의 시작을 기능 추가 "수면 (60)"이있다.
crm configure show
node 168002177: 192.168.2.177
node 168002178: 192.168.2.178
node 168002179: 192.168.2.179
primitive fm_mgt fm_mgt \
op monitor interval=20s timeout=120s \
op stop interval=0 timeout=120s on-fail=restart \
op start interval=0 timeout=120s on-fail=restart \
meta target-role=Started
primitive logserver logserver \
op monitor interval=20s timeout=120s \
op stop interval=0 timeout=120s on-fail=restart \
op start interval=0 timeout=120s on-fail=restart \
meta target-role=Started
clone fm_mgt_replica fm_mgt
clone logserver_replica logserver
property cib-bootstrap-options: \
have-watchdog=false \
dc-version=1.1.13-10.el7-44eb2dd \
cluster-infrastructure=corosync \
stonith-enabled=false \
start-failure-is-fatal=false
0
나는이 minite에, LogServer를 완전히 fm_mgt 복구 될 때까지 다시 시작되지 않습니다, 적어도 하나의 minite 필요 시작 fm_mgt, 177 노드에서 fm_mgt 서비스를 죽이고, 다음 177에 LogServer를 서비스를 죽일 때.
crm status
Last updated: Thu Oct 26 06:40:24 2017 Last change: Thu Oct 26 06:36:33 2017 by root via crm_resource on 192.168.2.177
Stack: corosync
Current DC: 192.168.2.179 (version 1.1.13-10.el7-44eb2dd) - partition with quorum
3 nodes and 6 resources configured
Online: [ 192.168.2.177 192.168.2.178 192.168.2.179 ]
Full list of resources:
Clone Set: logserver_replica [logserver]
logserver (ocf::heartbeat:logserver): FAILED 192.168.2.177
Started: [ 192.168.2.178 192.168.2.179 ]
Clone Set: fm_mgt_replica [fm_mgt]
Started: [ 192.168.2.178 192.168.2.179 ]
Stopped: [ 192.168.2.177 ]
구성을 제공하고 구성에서 지정된 이름의 리소스를 특별히 참조하십시오. 구성이없는 이유를 추론하는 것은 매우 어렵습니다. – Dok
응답에 클러스터 및 리소스를 붙여 넣었습니다. 그 이유를 아십니까? 나는이 문제를 며칠 동안 혼란스러워했다. 고마워요! – James