본문 바로가기
WAS/JBOSS_WILDFLY

24. instance id 설정하기

by coldplayer83 2025. 9. 15.
728x90
반응형

https://access.redhat.com/solutions/2442971

 

Configure instance-id on EAP 7 - Red Hat Customer Portal

We're working on setting up mod_jk in front of EAP 7. How to configure the jvmRoute or instance-id for each node?

access.redhat.com

 

mod_proxy, mod_cluster, mod_jk같은 로드밸런서는 쿠키에 route ID를 사용하여 sticky session을 유지함

jboss에서는 undertow의 instance-id에 그 값을 세팅함

 

instance-id 설정하는 방법)

1. jboss-cli.sh 실행 후 다음과 같이 입력

/subsystem=undertow:write-attribute(name=instance-id,value=${instance-name})

 

2. standalone-ha.xml 파일에서 내용 확인

728x90
반응형