▶ Contents #
– MCCS 호스트 네임 변경 가이드 입니다.
– hostname 변경 / 상태확인 순으로 진행 하겠습니다.
▶ Precheck #
① 양 서버 Hostname 확인
– 10.20.112.101 (현재 주소 : Active-Server / 변경될 주소 : Active-Node)

– 10.20.112.102 (현재 주소 : Standby-Server / 변경될 주소 : Standby-Node)

② MCCS 등록된 Hostname 정보 확인
– MCCS 콘솔 접속 / 노드 관리 메뉴 클릭

▶ Step-by-step-guide #
1. Hostname 변경 작업 #
① Hostname 변경작업을 위해 온라인중인 노드 그룹 잠금 설정


② 양 서버 MCCS Agent 서비스 종료(mccs config 수정필요)
– Linux7 : systemctl stop mccs_agent
– Linux7 : service mccs_agent stop

③ OS 상에서 hostname 변경작업 진행(생략)
– 10.20.112.101 (현재 주소 : Active-Server / 변경될 주소 : Active-Node)

– 10.20.112.102 (현재 주소 : Standby-Server / 변경될 주소 : Standby-Node)

④ MCCS Config File 수정(hb.json / main.json)
※ Active / Standby 서버 양쪽 다 수행 필요
파일 경로 : /opt/MCCS/config/
– hb.json 파일 변경 (해당 hostname 부분 변경)
Active-Server > Active-Node / Standby-Server > Standby-Node 수정 후 저장

– main.json 파일변경 (해당 hostname 부분 변경)
Active-Server > Active-Node / Standby-Server > Standby-Node 수정 후 저장

⑤ 양 서버 MCCS서비스 기동
– Linux7 : systemctl start mccs_agent
– Linux7 : service mccs_agent start

⑤ MCCS 웹 페이지에서 변경된 hostname 적용 유무 확인
