본문 바로가기

IIS EAP 연동

IIS && EAP 연동

2018. 5. 30.

테스트에 앞서 용도에 맞는 ISAPI 모듈을 다운받아 준비한다.

나는 내 구성에 맞게 jboss-eap-native-webserver-connectors-6.4.0-win6.x86_64.zip 을 준비했고

isapi_redirect.dll 모듈을 사용했다.



  1. 시작 -> 실행 -> windows 기능
 

  1.  시작 -> 실행 -> inetmgr  (IIS인터넷 정보 서비스) 관리자 실행

  1. ISAPI 및 CGI 제한 


  1. ISAPI 필터


  1. 처리기 매핑



  1. 처리기 매핑 사용권한편집


  1. 가상 디렉터리 추가


  1. 가상 디렉터리 편집


  1. workers.properties 설정 ( 로드밸런싱)

worker.nodelb.type=lb
worker.nodelb.balance_workers=node11,node12
worker.list=nodelb

# Node Configure
worker.template.type=ajp13
worker.template.lbfactor=1
worker.template.socket_timeout=30
worker.template.reply_timeout=7000
worker.template.socket_keepalive=true
worker.template.recovery_options=7
worker.template.ping_mode=A
worker.template.ping_timeout=10000
worker.template.connection_pool_size=25
worker.template.connection_pool_minsize=25
worker.template.connection_pool_timeout=15


# An entry that lists all the workers defined
worker.list=node11,node12

# Entries that define the host and port associated with these workers

# First JBoss EAP 6 server definition, port 8009 is standard port for AJP in EAP
worker.node11.host=10.65.40.100
worker.node11.port=8009
worker.node11.type=ajp13

# First JBoss EAP 6 server definition, port 8109 is standard port for AJP in EAP
worker.node12.host=10.65.40.100
worker.node12.port=8109
worker.node12.type=ajp13

worker.nodelb.sticky_session=false



  1. uriworkers.properties

/*=nodelb
# images and css files for path /status are provided by node11
/status=nodelb
/images/*=nodelb
/css/*=nodelb

# Path /web-console is provided by node11
# IIS (customized) error page is used for http errors with number greater or equal to 400
# css files are provided by node11
/web-console/*=node11;use_server_errors=400
/web-console/css/*=node11

# Example of exclusion from mapping, logo.gif won't be displayed  
# /web-console/images/logo.gif=*

# Requests to /app-01 or /app-01/something will be routed to node11
/app-01|/*=node11

# Requests to /app-02 or /app-02/something will be routed to node11
/app-02|/*=node12


  1. isapi_redirect.properties

# Configuration file for the ISAPI Connector
# Extension uri definition
extension_uri=/jboss/isapi_redirect.dll

# Full path to the log file for the ISAPI Connector
log_file=c:\connectors\isapi_redirect.log

# Log level (debug, info, warn, error or trace)
log_level=info

# Full path to the workers.properties file
worker_file=c:\connectors\workers.properties

# Full path to the uriworkermap.properties file
worker_mount_file=c:\connectors\uriworkermap.properties

#Full path to the rewrite.properties file
rewrite_rule_file=c:\connectors\rewrite.properties


  1.  최종 화면



  1. 연동화면












댓글