Compute

FDM Overview

haewon83 2023. 2. 26. 17:10

 

 

HA 주요 Component

  • FDM
  • HOSTD
  • vCenter

 

FDM(Fault Domain Manager) ## HA Agent

  • Host Resource 정보, VM 상태, HA 속성 정보 교환
  • Heartbeat, VM Placement, VM 재시작 작업 처리
  • FDM은 단일 프로세스로 동작하며, Watchdog 프로세스 생성
  • 로그 파일은 ESXi Host의 /var/log/fdm.log

 

HOSTD

  • FDM은 HOSTD와 vCenter와 직접 통신(VPXA와는 별개)
  • HOSTD가 정상 동작하지 않으면, ESXi Host는 FDM에 참여 불가, FDM은 HOSTD가 정상 동작될 때까지 대기
  • FDM은 ESXi Host에 등록된 VM에 대한 정보를 HOSTD API를 이용하여 획득

 

vCenter

  • vCenter는 ESXi Host에 FDM Agent를 Push 해주는 역할
  • Cluster 내에 변경 사항이 있는 경우 FDM Master 역할을 하는 ESXi Host에게 전달
  • vCenter는 VM들의 Protect/Unprotect를 담당하고, 만약 한 ESXi Host가 vCenter로 부터 연결이 끊어지는 경우 vCenter가 FDM Master 역할을 하는 ESXi Host에게 영향 받은 VM들을 Unprotect 요청

 

[관련 로그]

/var/run/log/fdm.log

## 각 Host의 FDM Agent 로그

 

/var/run/log/hostd.log

## VM Register/Reconfigure/Power-On 관련 작업 로그

 

/var/run/log/esxupdate.log

## FDM agent 설치 로그

 

/var/run/log/vobd.log

## APD, PDL 관련 로그

 

/opt/vmware/fdm/fdm/prettyPrint.sh hostlist(Support Bundle에서는 commands 폴더 하위에 prettyPrint.sh_hostlist.txt)

## Cluster 내 Host 목록, FDM agent에 의해서 사용되는 HOST ID 확인

 

/opt/vmware/fdm/fdm/prettyPrint.sh vmmetatdata(Support Bundle에서는 commands 폴더 하위에 prettyPrint.sh_vmmetadata.txt)

## HA에 의해 Protect 된 VM 목록(Compat list)

 

/opt/vmware/fdm/fdm/prettyPrint.sh clusterconfig(Support Bundle에서는 commands 폴더 하위에 prettyPrint.sh_clusterconfig.txt)

## Cluster 수준의 HA 설정