Hardware
Hope This Helps.
LVM
1) PowerHA Best Practice 권장 구성
Figure1) PowerHA Best Practice 구성도
1) 노드 구성 계획
2) Inter-Connect(Heartbeat) Interface
3) LUN 구성방식
4) 가상화
5) CAA Repository Disk
1) /etc/hosts에 상호 노드 등록
2) PowerHA 패키지 설치
3) /.rhosts & /etc/cluster/rhosts 에 PowerHA 대상 노드 IP 입력
4) 디스크 속성 변경
5) netmon.cf 설정
#chdev -l ent0 -a poll_uplink=yes
1) Cluster 구성
2) CAA Repository Disk 등록
3) Backup Repository disk 등록
5) Heartbeat Network 정의
A) 자동 Discovery된 Heartbeat Interface 제거. (node1 - en1, node2 - en1)
- Cluster Nodes And Networks > Manage Networks and Network Interfaces > Network Interfaces > Remove a Network Interface > en1 삭제
B) Heartbeat Network 생성
- Cluster Nodes And Networks > Manage Networks and Network Interfaces > Network > Add a Network > HB_Network 생성
C) Heartbeat Network Interface를 HB_Network에 등록
- Cluster Nodes And Networks > Manage Networks and Network Interfaces > Network Interfaces > Add a Network Interface > HB_Network에 "en1" 등록
6) PowerHA VG 구성
7) Service IP 등록
8) 기동/종료 스크립트 등록
9) Resource Group 생성
▷ 클러스터 노드가 down상태에서 시작했을 때, 우선순위가 높은 노드에서만 Resource Group Bring up.
▷ Fallover(=Takeover)될 때, 다음 우선순위의 노드로 Fallover
▷ Fallover(=TakeoveR)된 이후, 다른 노드가 정상화되더라도, 다시 원복하지 않음.
10) Resource Group 속성 추가
11) Cluster 정보 동기화 및 설정 검증
10) PowerHA Cluster 기동.
1) PowerHA Cluster Daemon 상태 확인
- Current state: ST_STABLE
2) Active Node에서 파일시스템 마운트 여부 확인
- Active Node에서 Resource group 포함한 VG의 hdisk가 "Concurrent"인지 확인.
3) Active Node에서 Service IP alias 확인.
4) Resource Group 상태 확인
5) Repository 구성확인
▪ Time zone은 NTP Server와 동일하게 설정 [KORST-9]
▪ NTP daemon은 Server / Client간 1000초(16분) 이상 차이가 나면 동기화 되지 않는다.
▪ 그러므로, Server / Client 간에 16분 이상 차이 나지 않게 설정해준다.
✓ 권장사항은 NTP Server와 가장 근소한 시간으로 맞추는 것.
▪ NTP Server Hostname / IP : ntp_server / 192.168.0.10
▪ ntpq 명령어를 통해, Local NTP 서버를 구분하기 위해, /etc/hosts에 정보등록
▪ NTP Server의 정보 등록.
▪ 만약, 참조하는 Time server이 현재 시간보다 과거시점으로 시간이 변경되었을 때, 해당 Time server를 참조하는 클라이언트 측에서 시간이 뒤로 돌아가는 것을 방지하기 위해서, Daemon 시작시, -x option을 준다.
✓ Tme backward 방지, 클라이언트 시간흐름을 조절하여 동기화
▪ /etc/rc.tcpip ➟ xntpd 항목 수정
✓ 재부팅 후에 NTP daemon이 기동될 때도 "-x" option 적용 설정.
▪ SCSI Command TIME-OUT 으로 인한, 일시적인 에러.
✓ FC Frame을 서버의 HBA카드에서는 Target 장비에 전송을 하였으나, 이에 대한 수신을 받지 못한 상태.
✓ 이로 인해, 일시적으로 SCSI 장치의 재설정 명령이 수행되며, Path has failed와 Disk Operation 에러가 발생.
▪주로 발생하는 시점.
✓ FC 통신의 일시적인 Failure이 있을 때. ( Server <-> SAN <-> Storage 구간)
✓ 특정 디스크 영역에 Data Traffic의 High I/O Load가 발생하는 경우.
▪ 지속적인 "DISK OPERATION ERROR 및 PATH HASH FAILED"가 발생한다면, 하기와 같은 조치 필요.
✓ Server HBA 카드, SAN GBIC, Storage Port의 에러 카운트 확인 및 교체.
✓ 구간별 케이블 점검.