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
반응형
'WAS > JBOSS_WILDFLY' 카테고리의 다른 글
| 26. jboss-cli.sh connection (0) | 2025.11.03 |
|---|---|
| 25. jboss-deployment-structure.xml (0) | 2025.10.21 |
| 23. [JBoss 6, 7]웹서버 없이 세션 복제 테스트 하기 (0) | 2025.09.11 |
| 22. [JBoss 7] JDK 17 update (0) | 2025.09.05 |
| 21. DB 종류별 Datasource 설정 (1) | 2025.08.11 |