본문 바로가기
Troubleshooting

Multicast Address

by 꽃도련 2022. 4. 27.

신규 서버 구성시 기존 서버 이미지를 복제하여 작업할 때 WAS 미들웨어가 Multicast 방식으로 클러스터링 되어 있을 경우 Multicast address 또는 Multicast port를 변경해주어야 한다.

 

신규 서버와 기존 서버의 Multicast address(port)가 같을 경우, 동일한 클러스터로 인식하여 서로의 인스턴스 상태 및 기동, 중지 신호를 공유하므로 예기치 않은 문제가 발생할 수 있다.

 

 

Multicast Address 변경 예

 

  • WebLogic
    • console 접속 → 환경 → 클러스터 → 구성 → 메시징 → 멀티캐스트 주소, 멀티캐스트 포트 수정
    • WEBLOGIC_DOMAIN/config/config.xml 수정
<cluster>
	<multicast-address>xxx.xxx.xxx.xxx</multicast-address>
	<multicast-port>xxxx</multicast-port>

       

  • Jeus
    • console 접속 → Domain → 고급 → Heartbeat Address, Heartbeat Port 수정
    • JEUS_DOMAIN/config/domain.xml 수정
<id>xxxxxxxxx</id>
...
<system-clustering-frameworkt>
	<heartbeat-address>xxx.xxx.xxx.xxx</heartbeat-address>
	<heartbeat-port>xxxx</heartbeat-port>