80
ProRule 설치 안내서 Tmax ProRule TM Version 3.3 Business Process Management Solution Copyright © 2006 TmaxSoft Co., Ltd. All Rights Reserved.

ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서

Tmax ProRuleTM Version 3.3

Business Process Management Solution Copyright © 2006 TmaxSoft Co., Ltd. All Rights Reserved.

Page 2: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

Copyright Notice Copyright©2006 TmaxSoft Co., Ltd. All Rights Reserved. TmaxSoft Co., Ltd. 대한민국 서울시 강남구 대치동 946-1 글라스타워 18층 우)135-708 Restricted Rights Legend This software and documents are made available only under the terms of the Tmax Soft license agreement and may be used or copied only in accordance with the terms of this agreement. No part of this document may be reproduced, transmitted, or translated in any form or by any means, electronic, mechanical, manual, or optical, without the prior written permission of TmaxSoft Co., Ltd. 이 프로그램과 문서는 TmaxSoft 라이선스 동의 하에서만 만들거나, 사용되거나, 복사될 수 있습니다. TmaxSoft Co., Ltd.의 허락 없이 이 문서의 일부분이나 전체를 전자적, 기계적, 광학적, 수작업 등 어떤 방법으로든 복사, 재생산, 번역 등을 할 수 없습니다. Trademarks Tmax, ProRule, WebtoB, WebT, and JEUS are registered trademarks of TmaxSoft Co., Ltd. All other product names may be trademarks of the respective companies with which they are associated. Tmax, ProRule, WebtoB, WebT, JEUS는 TmaxSoft Co., Ltd의 등록 상표입니다. 기타 모든 제품들과 회사 이름은 각각 해당 소유주의 상표로서 참조용으로만 사용됩니다. Document info Document name: “ProRule 설치 안내서” Document date: 2007-02-20 Manual release version: 3 Software Version: ProRule 3.3

Page 3: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

차례 1 소개........................................................................................................... 13

2 ProRule 설치 구성 요소.......................................................................... 15

2.1 ProRule 패키지 구성 ................................................................... 15

2.2 CD-ROM 의 폴더 구성................................................................ 15

2.3 평가판 ProRule 소프트웨어의 배포 .......................................... 16

3 ProRule Server 의 설치 및 제거 ............................................................ 19

3.1 시스템 요구사항.......................................................................... 19

3.2 ProRule Server 구성 ..................................................................... 21

3.3 License 정책 ................................................................................. 23

3.4 Windows 에서 설치 ..................................................................... 24

3.4.1 소개 .................................................................................. 24

3.4.2 Windows 에서 Java 2 SDK 설치 ..................................... 24

3.4.3 설치 툴 실행 .................................................................... 25

3.4.4 데이터 베이스 관련 정보 확인 ...................................... 38

3.4.5 기동 확인 ......................................................................... 38

3.5 Windows 에서 제거 ..................................................................... 39

3.6 UNIX 에서 설치........................................................................... 42

3.6.1 소개 .................................................................................. 42

3.6.2 Java 2 SDK 설치 .............................................................. 42

3.6.3 콘솔 인스톨러 실행 ........................................................ 43

3.6.4 환경 설정 확인 ................................................................ 51

3.6.5 기동 확인 ......................................................................... 53

3.7 UNIX 에서 제거........................................................................... 54

TmaxSoft 3

Page 4: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

4 ProRule RuleManger 의 설치 및 제거 .................................................. 57

4.1 시스템 요구사항.......................................................................... 57

4.2 ProRule RuleManger 의 설치....................................................... 58

4.3 ProRule RuleManger 의 제거 ...................................................... 64

A. ProRule 수동 설치.......................................................................................... 67

A.1 JEUS 4.2 에서 ProRule 수동 설치 ................................................... 67

B.2 JEUS 5.x 에서 ProRule 수동 설치.................................................... 73

B. ProRule 설치 작업일지 ................................................................................. 80

TmaxSoft 4

Page 5: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

그림목차

그림 1. ProRule 3.3 인스톨 CD의 폴더 구조 ............................................................... 16

그림 2 ProRule server 구성 화면.................................................................................. 21

그림 3. Introduction.......................................................................................................... 25

그림 4. License Agreement .............................................................................................. 26

그림 5. 설치 폴더 변경.................................................................................................... 28

그림 6.Choose Install Set ................................................................................................ 29

그림 7. Get Host Name..................................................................................................... 30

그림 8. Choose DBMS type ............................................................................................. 31

그림 9. Configuration property 1...................................................................................... 32

그림 11. Configuration property 2.................................................................................... 33

그림 12. Pre-Installation Summary .................................................................................. 34

그림 13. Installation.......................................................................................................... 35

그림 14. Create Table ....................................................................................................... 36

그림 15. Complete ............................................................................................................ 37

그림 16. ProRule Server 설치 확인 ................................................................................. 38

그림 17. Uninstall ............................................................................................................. 39

그림 18. Uninstall Server ................................................................................................. 40

그림 19. Uninstall Complete ............................................................................................ 41

그림 20. Introduction........................................................................................................ 58

그림 21. License Agreement ............................................................................................ 59

그림 23. Choose Install Folder ......................................................................................... 60

그림 24. 설치 폴더 변경.................................................................................................. 61

그림 26. Installing RuleManger ....................................................................................... 62

그림 27. Install Complete ................................................................................................. 63

TmaxSoft 5

Page 6: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

그림 28. RuleManger 설치 확인...................................................................................... 63

그림 29. Uninstall ............................................................................................................. 64

그림 30. Uninstall RuleManger........................................................................................ 65

그림 31. Uninstall Complete ............................................................................................ 66

TmaxSoft 6

Page 7: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

표목차

표 1. ProRule Server 설치를 위한 필요 환경................................................................. 19

표 2. 지원 환경. ............................................................................................................... 19

TmaxSoft 7

Page 8: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

TmaxSoft 8

Page 9: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

매뉴얼에 대해서

매뉴얼의 대상 본 매뉴얼은 ProRule 의 운영을 모니터링하고 관리하는 관리자를 대상으로 한다.

관리자는 ProRule RuleManager3.3 을 사용하여 ProRule 서버의 동작을 확인

하고 관련 정보를 조회하고, 다양한 설정을 변경할 수 있다. 본 매뉴얼에서는 ProRule 의 설치법을 기술함으로써 관리자가 ProRule 서버를 관리할 수 있도

록 안내한다.

부록을 통하여 ProRule 서버의 설치 과정을 기술한다. 서버 설치과정은 Windows 환경과 Unix 환경으로 나뉘어 각각 설명한다

ProRule 의 서버 환경 구성 파일의 내용을 부록으로 첨부한다.

일러두기

표기 예 내용

텍스트 본문, 12 포인트, 바탕체 Times New Roman

텍스트 본문 강조

CTRL+C CTRL과 동시에 C를 누름

참조: / 주의: 참조 사항과 주의할 사항

[ 파라미터 ] 옵션 파라미터

TmaxSoft 9

Page 10: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

표기 예 내용

< xyz > ‘<’와 ‘>’ 사이의 내용이 실제 값으로 변경됨.

예) <node name>은 실제 hostname 으로 변경해서 사용

| 선택 사항. 예) A|B: A 나 B 중 하나

… 파라미터 등이 반복되어서 나옴

?, +, * 보통 XML 문서에 각각 “없거나, 한 번”, “한 번 이상”, “없거나, 여러 번”을 나타낸다.

. . . XML 이나 코드 등의 생략

<<FileName.ext>> 코드의 파일명

1.그림 그림 이름이나 표 이름

TmaxSoft 10

Page 11: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

연락처 TmaxSoft TmaxSoft Co.,Ltd. 18F Glass Tower, 946-1, Daechi-Dong, Kangnam-Gu, Seoul, South Korea TEL: 82-2-6288-2114 FAX : 82-2-6288-2115 Email : [email protected](Korea) http://www.tmax.co.kr

Tmax Global 560 Sylvan Avenue, Englewood Cliffs, NJ 07632, USA TEL : 1-201-567-8266 FAX : 1-201-567-7339 Email : [email protected](English) http://www.tmaxsoft.comhttp://www.tmaxglobal.com Tmax Japan 6-7, Sanbancho, Chiyoda-ku, Tokyo 102-0075, JAPAN TEL : 81-3-5210-9270 FAX : 81-3-5210-9277 Email : [email protected](Japanese) http://www.tmaxsoft.co.jp Tmax China 1508, 2# North Rd Dong San Huan , Chao Yang District, Beijing, PRC 100027, China TEL : 86-10-6410-6148 FAX : 86-10-6410-6144 Email : [email protected] (Chinese) http://www.tmaxchina.com.cn

TmaxSoft 11

Page 12: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

TmaxSoft 12

Page 13: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

1 소개

이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은 Windows 와 Unix 로 나눠서 설명한다.

Windows 와 Unix 환경에서 ProRule 을 설치하고자 하는 관리자는 반드시 숙지해야 한다.

TmaxSoft 13

Page 14: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

TmaxSoft 14

Page 15: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

2 ProRule 설치 구성 요소

본 장에서는 ProRule 시스템을 설치하기 전에 사용자가 사전에 점검하고 준비해야 할 사항들에 대해 기술한다.

ProRule 패키지 구성

ProRule 인스톨 CD 의 폴더 구조

평가판 ProRule 소프트웨어의 배포

ProRule 인스톨러에 대하여

2.1 ProRule 패키지 구성 ProRule 설치 CD-ROM

- ProRule Server for UNIX

- ProRule RuleManger for Windows

- ProRule Documents

2.2 CD-ROM 의 폴더 구성 ㈜티맥스 소프트에서 제공하는 ProRule Installation CD-ROM 은 다음과 같은 폴더 구조를 가지고 있다. (ProRule 이 지원하는 플랫폼이 추후에 더 증가할 수 있으므로 달라질 수도 있다)

TmaxSoft 15

Page 16: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

Root

manuals(Ko)

ProRule

ProRule RuleManger WINDOWS

그림 1. ProRule 3.3 CD 인스톨 의 폴더 구조

CD-ROM 의 각 폴더들은 다음과 같은 내용을 포함한다.

Manuals(Ko): ProRule 의 매뉴얼(일문 및 영문 메뉴얼은 필요에 따라

제공)

ProRule: Prorule Server 엔진이 포함된 각 플랫폼별 폴더

ProRule RuleManger: Windows 용 플랫폼 지원 ProRule 클라이언트

지원 플랫폼 : HP32, HP64, IBM32, IBM64, SUN32, SUN64, Linux32, Linux64, Windows

2.3 평가판 ProRule 소프트웨어의 배포 ProRule 제품은 인터넷을 통해 사용자가 직접 다운로드 하여 테스트 할 수 있는 기회를 제공하고 있다. 제품을 내려 받을 수 있는 URL은 다음과 같다.

http://technet.tmax.co.kr

ProRule 의 경우 제품을 받아 설치는 할 수 있으나 실제 ProRule 의 운용을 위해서는 ㈜티맥스 소프트로부터 평가판 라이센스를 발급 받아야 하며 평가판 라이센스의 사용 기간은 최대 3 개월이다.

다음은 ProRule 제품과 관련해서 연락을 취할 수 있는 이메일 주소이다.

버그리포트 : [email protected]

TmaxSoft 16

Page 17: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

라이센스 발급 : [email protected]

기술지원 홈페이지 : http://technet.tmax.co.kr

TmaxSoft 17

Page 18: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

TmaxSoft 18

Page 19: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

3 ProRule Server 의 설치 및 제거

다음은 ProRule Server 의 개괄적인 설치순서를 설명한다.

설치순서의 내용은 다음과 같다.

• 시스템 요구사항

• ProRule 설치 후 디렉토리 구성

• ProRule 라이센스 정책

3.1 시스템 요구사항 ProRule Server 설치를 위해서 필요한 H/W, S/W 는 다음과 같다.

표 1. ProRule Server 설치를 위한 필요 환경.

플랫폼 설치 시 필요 환경

Windows 2003/XP Windows 2000 Windows NT

Java 2 SDK v.1.4.2_x (추천) 300M 이상의 하드디스크 여유 공간

Solaris, HP-UX, AIX, Linux

Java 2 SDK v.1.4.2_x (추천) 300M 이상의 하드디스크 여유 공간.

플랫폼 별 ProRule 동작에 필요한 표준 하드웨어 지원 환경은 다음과 같다.

표 2. 지원 환경.

TmaxSoft 19

Page 20: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

(GB:Giga Byte, MB:Mega Byte)

OS Version CPU RAM Memory

Hard Disk Space

JDK Version

Solaris 7, 8, 9 UltraSPARC 1 GB 20 GB JDK 1.4.x 이상

HP-UX 11.0 HP-PA series 512 MB 20 GB JDK 1.4.x 이상

AIX 4.x AIX 5L RS6000 512 MB 20 GB JDK 1.4.x

이상

Linux 7.x 이상 Kernal 2.4 이상

INTEL Pentium 3 1GHZ 이상 512 MB 20 GB JDK 1.4.x

이상

MS Windows NT 이상

INTEL Pentium 3 1GHZ 이상 512 MB 20 GB JDK 1.4.x

이상

TmaxSoft 20

Page 21: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

3.2 ProRule Server 구성 JEUS 를 기반으로 ProRule Server 구성을 설명한다.

설치가 완료되고 ProRule Server 구성을 살펴보면 다음과 같다.

그림 2 ProRule server 구성 화면.

(1) lib/application 디렉터리

ProRule 엔진을 구동하기 위한 라이브러리 디렉토리이다. Third-party library 인 필수라이브러리 와 ProRule Server 의 핵심 바이너리가 포함되어 있다.

(2) rbms 디렉터리

ProRule Server 를 위한 환경설정 디렉토리이다.

config Config 디렉토리에는 prorule.xml, ruleEngineConfig.xml 파일인 환경

설정파일을 가진다. 또한, 소스 생성을 위한 템플릿 디렉토리인 codetmpls 를 포함하고 있다.

TmaxSoft 21

Page 22: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

logs 로그가 놓이는 위치이다.

sqls 최초 DB 에 실행할 DB Scripts 가 있는 디렉토리이다.

prorule ProRule Server 와 통신을 위한 웹 컨텍스트 디렉토리이다.

(3) rule_classes 디렉터리

소스가 생성될 위치를 지정한다.

TmaxSoft 22

Page 23: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

3.3 License 정책 ProRule Server 를 사용하기 위해서는 TmaxSoft Co., Ltd. 에서 발급하는 라이센스키(LicenseKey) 파일이 있어야 한다. 현재, 디폴트로 데모 라이센스가 포함 되어있다.

데모 라이센스 파일은 JEUS_HOME\license 위치에 ‘license’ 라는 파일로 존재한다.

라이센스종류는 Demo, Base, Base Plus, Standard, Enterprise 라이센스가 있으며 기능 및 사용 기한에 차이가 있다.

라이센스를 업그레이드 또는 데모 라이센스를 취득하기 위해서는 본사 TmaxSoft 라이센스 센터에 문의하여 라이센스 파일을 다운로드 받은 뒤, JEUS_HOME\license 아래에 다운로드 받은 라이센스키(LicenseKey) 파일을 복사하면 된다.

참고: 이때, 다운로드 된 파일명을 ‘license’로 변경하여야 한다.

TmaxSoft 23

Page 24: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

3.4 Windows 에서 설치 3.4.1 소개

이 절에서는 Windows 운영체제에서 ProRule Server 를 설치하는 방법에 대해 설명한다. Windows 상에 ProRule Server 를 설치하지 않는 경우는 이 절을 건너 뛰어도 좋다.

Windows 환경에서 ProRule Server 설치는 GUI 설치 툴을 통하여 이루어진다. Windows 에서 ProRule Server 설치는 다음 작업절차로 이루어진다.

1. Java 2 SDK 설치

2. GUI 모드에서 ProRule Server 설치

3. 환경변수 설정과 검증

4. 설치 검증(동작 확인)

ProRule Server 제거는 다음 절차로 이뤄진다

1. GUI 를 통한 ProRule Server 제거

2. 제거 확인

첫 번째로 Windows 에서 Java 2 SDK 설치방법을 알아볼 것이다.

3.4.2 Windows 에서 Java 2 SDK 설치

http://java.sun.com/j2se/1.4.2/download.html 사이트에서Java 2 SDK v1.4.2, Standard Edition 을 다운로드 받을 수 있다.

http://java.sun.com/j2se/1.4.2/install-docs.html 에서 설치 가이드를 참고하기 바란다.

항상 SDK 가 설치 되었는지 확인한다. 그리고 설치된 JDK 의 ‘bin’ 디렉토리를 환경변수 PATH 에 추가 한다.

참고: ProRule Server 실행을 위해 Java 2 SDK 1.4. 2_x 이상을 권고한다.

TmaxSoft 24

Page 25: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

3.4.3 설치 툴 실행

ProRule 설치프로그램을 실행시켜 ProRule Server 의 설치를 시작한다.

1. Server Installer 의 첫 화면

그림 3. Introduction

진행도중 언제라도 Cancel 버튼을 누르면 설치 작업을 종료할 수 있으며, Previous 버튼을 누르면 전 단계로 돌아갈 수 있다.

TmaxSoft 25

Page 26: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

2. License Agreement 확인

그림 4. License Agreement

Next 버튼을 누르면 license Agreement 확인 대화상자가 나타난다.

동의를 한다면 Next 버튼이 활성화되고, 만약 동의하지 않는다면 다음으로 진행할 수 없다.

Next 버튼을 누르면 설치 폴더를 변경하는 대화상자가 나타난다.

TmaxSoft 26

Page 27: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

3. 설치 폴더 변경

그림 5. Installation Folder

기본 설치 폴더는 C:\TmaxSoft\ProRule3.3\Server 이다.

설치 폴더를 변경하고자 하는 경우, 화면에서 Choose 버튼을 클릭하여 나타난 Select a Folder 대화상자에서 원하는 폴더를 선택해 변경할 수 있다.

TmaxSoft 27

Page 28: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

그림 5. 설치 폴더 변경

설치 폴더를 다시 기본 설치 폴더로 변경하고자 하는 경우, Restore Default Folder 버튼을 클릭하면 C:\TmaxSoft\ProRule3.3\Server 으로 변경된다.

Next 버튼을 누르면 Install set 을 설정하는 화면을 보여준다.

TmaxSoft 28

Page 29: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

4. Install Set 선택

그림 6.Choose Install Set

설치할 Install Set 에 대해 설정하는 화면이다. Full Install 을 하게 되면 ProRule 서버와 J2EE 서버, ProRule 매뉴얼이 설치되며 Typical 로 설치하면 매뉴얼은 설치되지 않는다.

TmaxSoft 29

Page 30: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

5. HostName 설정

그림 7. Get Host Name

HostName 은 인스톨시 설정되는 노드 이름으로 해당 호스트 머신의 네트워크 ID 명이다. 윈도우상에서는 hostname 이라는 명령어를 통해 유닉스에서는 uname -an 이라는 명령어를 통해 이 이름을 알아낼 수 있다.

TmaxSoft 30

Page 31: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

6. DBMS 타입 선정

그림 8. Choose DBMS type

ProRule Server 가 지원하는 DBMS 타입을 선정한다. 현재, ProRule Server 는 Oracle, DB2 를 지원하고 있다. 해당 시스템에 적합한 DBMS 를 선정한다.

TmaxSoft 31

Page 32: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

7. Configuration property 입력 1

그림 9. Configuration property 1

서버가 사용할 데이터 베이스의 설정 및 환경파일을 설정하는 화면이다.

ProRule 서버는 Oracle(8i 이상), DB2(UDB 8.2 이상) 데이터 베이스를 지원하고 있으며 현재 설치 본은 Oracle 데이터베이스 설정을 입력 받는다.

DB2 인 경우는 필요한 jdbc 라이브러리를 설치하여야 한다.

TmaxSoft 32

Page 33: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

8. Configuration property 입력 2

그림 10. Configuration property 2

Database URL 에서 사용할 데이터 베이스에 대한 설정이다.

각 데이터베이스에 대한 올바른 설정을 한 후에 Next 버튼을 클릭하면 Installation 설정 정보를 보여준다.

TmaxSoft 33

Page 34: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

9. Installation 설정 내용 확인

그림 11. Pre-Installation Summary

이 화면에서는 지금까지 설정한 내용을 확인할 수 있다.

변경하고자 하는 정보가 있으면 Previous 버튼을 눌러서 원하는 화면으로 이동한 후에 설정을 다시 할 수 있다.

Install 버튼을 누르면 Install 이 진행되며, 진행 정도를 대화상자에 보여준

다.

TmaxSoft 34

Page 35: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

10. Installing

그림 12. Installation

서버가 Install 되고 있는 화면이다. Install 이 진행되면서 ProRule 에 대한 설명 그림이 나오게 된다.

TmaxSoft 35

Page 36: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

11. SQL 실행 정보(Create state tables)

그림 13. Create Table

ProRule 인스톨이 끝난 이후에는 꼭 JEUS Home 디렉터리 아래 ProRule_rbms\config\sql 에 있는 SQL 파일을 실행시켜서 ProRule 에서 사용할 데이터 베이스를 생성해야 한다.

테이블을 만들지 않으면 ProRule Server 를 실행하여도 제대로 동작 하지 않으므로 주의할 필요가 있다.

Next 버튼을 클릭하면 Install Complete 화면이 출력된다.

TmaxSoft 36

Page 37: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

12. Install 완료

그림 14. Complete

TmaxSoft 37

Page 38: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

3.4.4 데이터 베이스 관련 정보 확인

ProRule 인스톨이 끝난 이후에는 꼭 JEUS Home 디렉터리 아래 rbms\config\sqls 디렉토리에 있는 각 컴포넌트별 환경 파일들의 데이터베이스 관련 정보를 확인해야 한다.

3.4.5 기동 확인

설치 확인은 아래와 같이 시작 메뉴의 pboot.cmd 를 선택하여 ProRule Server 를 구동시킬 수 있다.

그림 15. ProRule Server 설치 확인

TmaxSoft 38

Page 39: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

3.5 Windows 에서 제거 설치 프로그램을 사용하여 ProRule Server 을 설치했다면, 제거 프로그램을 사용하여 안전하게 제거할 수 있다.

제거 프로그램은 Windows 의 시작 메뉴 프로그램 TmaxSoft ProRule3 Server Uninstall 을 실행하면 된다.

그림 16. Uninstall

제거프로그램을 실행한 초기 화면이며, 제거에 대한 간략한 소개를 하고 있다.

Cancel 버튼을 누르면 모든 제거 작업을 취소하고, Uninstall 버튼을 누르면 제거 작업을 진행한다.

TmaxSoft 39

Page 40: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

그림 17. Uninstall Server

설치한 후에 추가된 파일들에 대해서는 제거 시에 삭제하지 않는다. 따라서 작업한 프로젝트들은 삭제되지 않고 남는다. 만약 작업한 프로젝트, 파일 등의 자료를 제거하고 싶다면 탐색기에서 사용자가 별도로 삭제해 주어야 한다.

TmaxSoft 40

Page 41: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

그림 18. Uninstall Complete

설치작업이 모두 끝난 후 완료화면을 보여주며, 여기에서 Done 버튼을 누르면 모든 설치작업이 종료된다.

TmaxSoft 41

Page 42: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

3.6 UNIX 에서 설치 3.6.1 소개

UNIX 환경에서는 별도의 GUI 인스톨러를 제공하지 않는다.

이 절에서는 UNIX 운영체제에서 ProRule 을 설치하는 방법에 대해 설명한다. UNIX 상에 ProRule 을 설치하지 않는 경우는 이 절을 건너 뛰어도 좋다.

어떠한 경우이든 ProRule Server 설치 시에는 다음의 작업절차를 수행하게 된다.

1. Java 2 SDK 설치

2. ProRule Server 설치

3. 환경변수 설정과 검증

4. 설치 검증 (동작 확인)

ProRule Server 를 제거 하기 위해서는 다음 절차를 수행한다.

1. 콘솔 모드를 통해 ProRule Server 제거

2. 제거 확인

콘솔 인스톨러는 쉘 스크립트로 만들어 졌으며 ps, grep, sed 등의 콘솔 명령어를 사용한다. 그러므로 인스톨러를 실행하기 전에 사용자는 적절한 PATH 를 설정해 줘야 한다. 이들 명령어를 찾지 못하면 인스톨러는 정상적으로 수행되지 않는다.

다음 절은 콘솔모드로 설치하는 방법을 설명한다.

3.6.2 Java 2 SDK 설치

http://java.sun.com/j2se/1.4.2/download.html 사이트에서Java 2 SDK v1.4.2, Standard Edition 을 다운로드 받을 수 있다.

http://java.sun.com/j2se/1.4.2/install-docs.html 에서 설치 가이드를 참고하기 바란다.

TmaxSoft 42

Page 43: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

3.6.3 콘솔 인스톨러 실행

ProRule 계정을 만든다. root 계정으로 설치해도 되지만, 보통 ProRule 관리자 계정을 따로 만들 것을 권장한다.

설치 스크립트를 실행하기 전에 여러분의 시스템에 대해 몇 가지 확인해야 할 사항이 있다. 부록 B 에 수록된 " ProRule 설치 작업일지"를 미리 작성해서 설치작업을 진행하면 수월하게 진행할 수 있다.

참고: 콘솔 인스톨러는 설치 시 값을 입력 받을 때 기본값을 제시한다. 쉘은 이전 단계로 돌아가는 것이 기본적으로 불가능하므로 설치가 완료된 후에 값을 변경하면 된다. 하지만 어느 단계까지는 ‘back’ <ENTER>입력을 통해 전 단계로 갈 수 있다.

다음의 하위 절은 텍스트 기반 쉘을 실행하는 방법을 설명한다:

1. ProRule 관리자 계정으로 로그인 한다.

Red Hat Enterprise Linux AS release 4 (Nahant Update 1)

Kernel 2.6.9-11.ELsmp on an x86_64

login: prorule

Password:

Last login: Thu Oct 20 14:02:51 from 192.168.1.176

hostname:~>

2. ProRule 3.3 Server 설치 CD 를 넣고 마운트 한다.

3. CD 의 “ProRule _3_3_unix_generic.bin” 파일이 있는 곳으로 이동한다.

4. CD 에서 실행을 하거나, 다른 곳에 있는 설치 콘솔 인스톨러가 실행이 가능하도록 하려면 “ProRule_ 3_3_unix_generic.bin” 파일의 실행 권한을 준다.

(chmod u+x ProRule_3_3_unix_generic.bin)

5. 콘솔로부터 “ProRule_3_3_unix_generic.bin” 를 실행한다.

(“./ ProRule_3_3_unix_generic.bin” 입력 후 <ENTER> 키를 누른다)

TmaxSoft 43

6. ProRule 설치의 진행을 확인한다. quit 를 입력하면 Intall 을 중단하고 콘솔창으로 빠져나오며, 설치를 진행하기 위해서는 <Enter>를 누른다.

Page 44: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

============================================================== (created with InstallAnywhere by Zero G) -------------------------------------------------------------- =============================================================== Introduction ------------ Welcome to Setup for ProRule. The setup wizard guides you through installation of ProRule. It is strongly recommended that you quit all programs before continuing with this installation. Respond to each prompt to proceed to the next step in the installation. If you want to change something on a previous step, type 'back'. You may cancel this installation at any time by typing 'quit'. PRESS <ENTER> TO CONTINUE:

7. 라이센스 준수 화면이 나타난다. ‘ PRESS <ENTER> TO CONTINUE:’ 가 보일 경우, <ENTER> 키를 누르면 라이선스 준수에 대한 다음 정보를 보여준다.

=============================================================== License Agreement ----------------- Installation and use of ProRule Server 3.3 requires acceptance of the following License Agreement: ProRule This Software is made by 'TmaxSoft Co.,Ltd.' and this software is distributed under our license agreement. Software End-User License Agreement Product : ProRule This is a legal agreement between you (either an individual or an entity) and TmaxSoft, Incorporated. By opening the sealed software package and/or by using the software, you agree to be bound by the terms of this agreement. ProRule Software License 1. Grant of License: This ProRule Software License Agreement

TmaxSoft 44

Page 45: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

("License") permits you to use one copy of the TmaxSoftware product Tmax, on any single computer, provided the software is in use on only one computer at any one time. If this package is a license pack, you may make and use additional copies of the software up to the number of licensed copies authorized. If you have multiple licenses for the software, then at any time you may have as many copies of the software in use as you have licenses. The software is "in use" on a computer when it is loaded into the temporary memory (i.e., RAM) or installed into the permanent memory (e.g., hard disk, CD-ROM, or other storage device) of that computer, except that a copy installed on a network server for the sole purpose of distribution to other computers is not "in use". If the anticipated number of users of the software will exceed the number of applicable licenses, then you must have a reasonable mechanism or process in place to ensure that the number of persons using the software concurrently does not exceed the number of licenses. 2. Copyright: The software (including any images, applets, photographs, animations, video, audio, music and text incorporated into the software) is owned by TmaxSoft or its suppliers and international treaty provisions. Therefore, you must treat the software like any other copyrighted material (e.g., a book or musical recording) except that you may either (a) make one copy of the software solely for backup or archival purposes, or (b) transfer the software to a single hard disk provided you keep the original solely for backup or archival purposes. You may not copy the printed materials accompanying the software, nor print copies of any user documentation provided in "online" or electronic form. 3. Other restrictions: This license is your proof of license to exercise the rights granted herein and must be retained by you. You may not rent or lease the software, but you may transfer your rights under this license on a permanent basis provided you transfer this license, the software, and all accompanying printed materials, retain no copies, and the recipient agrees to the terms of this license. You may not reverse engineer, decompile, or disassemble the software, except to the extent that the foregoing restriction is expressly prohibited by applicable law. TmaxSoft Co., Ltd.

8. 라이선스 동의 여부를 묻게 된다. 받아들인다면 ‘y’를 입력 후 <ENTER>키를 누르고, 아니면 ‘n’을 입력 후 <ENTER>키를 누른다.

TmaxSoft 45

Page 46: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N): Y

9. 설치할 플랫폼에 해당하는 번호를 입력한다. 기본 Default 값(HP-UX PA-RISC)을 선택하려면 <ENTER> 키를 누르면 된다.

=================================================================Choose Platform --------------- Choose current system ( platform-architecture ) 1)HP-UX PA-RISC 2)HP-UX ITANIUM 3)Solaris Ultra-Sparc 4)Solaris x86 5)AIX 4.x PowerPC 6)AIX 5.x PowerPC 7)Linux i386 8)Linux ITANIUM 9)Linux x86_64 Quit) Quit Installer Choose Current System (DEFAULT: 1):

10. 커널 모드를 선택한다. 기본적으로 디폴트 값(32Bit)을 사용하려면 <ENTER>를 누르고, 64Bit 커널모드로 설치를 원하시면 ‘2’를 입력 후 <ENTER>키를 누른다.

================================================================= Choose Kernel Bit ----------------- Please Choose Kernel Bit? ->1- 32Bit 2- 64Bit ENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE DEFAULT: 1

TmaxSoft 46

Page 47: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

11. 설치 디렉토리를 선택한다. 기본적으로 디폴트 값을 사용하려면 <ENTER>를 누르고 , 디렉토리 변경 시 설치하고자 하는 폴더의 절대경로를 입력한다.

=============================================================== Choose Install Folder --------------------- Where would you like to install? Default Install Folder: /home/jmlee/prorule3/was ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT : /home/jmlee/prorule3/was

ProRule 시스템 폴더는 ProRule 에서 사용하는 WAS(Web Application Server)와 ProRule 수행에 필요한 각종 실행파일과 라이브러리, 기타 환경설정 파일이 저장되는 폴더다.

ProRule 는 슈퍼유저 또는 일반유저 계정으로 설치할 수 있다. 보기에 나오는 디렉터리는 인스톨러를 수행하는 유저 홈디렉터리의 기본 설치 디렉터리를 보여준다.

12. 설치 유형을 선택한다. 1 번을 입력하면 JEUS 관련 문서들도 모두 설치되므로, 문서들을 보기 원한다면 1 번을 입력한다.

=============================================================== Choose Install Set ------------------ Please choose the Install Set to be installed by this installer. ->1- WAS 2- WAS/TP 3- Customize... ENTER THE NUMBER FOR THE INSTALL SET, OR PRESS <ENTER> TO ACCEPT THE DEFAULT : 1

TmaxSoft 47

Page 48: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

13. DBMS 정보입력

Oracle hostname (DEFAULT: oracle): 192.168.1.43

Oracle SID (DEFAULT: orcl): ora10g

Oracle User Name (DEFAULT: scott): biuser

Oracle Password (DEFAULT: tiger): userbi

Oracle TNS listener port number (DEFAULT: 1521): 1532

ProRule 기본엔진에서 내부적으로 사용하는 DBMS 에 관한 정보를 지정한다. 본 예는 오라클을 기준으로 호스트명, SID, 사용자명, 비밀번호, TNS 리스너 포트를 입력받는다. 예에서는 192.168.1.43 장비에 있는 'ORA10G' SID 를 지정하였으며 사용자는 'biuser', 비밀번호는 'userbi', TNS 리스너 포트는 1532 번을 지정했다.

14. JDK 경로설정과 데이터베이스 어댑터 DBMS 정보 입력

===============================================================

Get ProRule JDBC URL

---------------------

oracle JDBC URL (DEFAULT:

jdbc:oracle:thin:@192.168.1.43:1532:ora10g)

: jdbc:oracle:thin:@192.168.1.43:1532:ora10g

ProRule 설치 및 운영 시에 사용할 JDK 의 경로를 설정한다. 현재 ProRule 3.3 의 경우 JDK 1.4.2_x 버젼을 사용하고 있다. JDK 경로가 잘못 설정되면 이후 설치가 정상적으로 수행되지 않을 수 있다. 예에서는 ' /opt/java1.4.2_05 ' 로 값을 지정하였다

ProRule 의 DBMS 에 관한 정보를 입력한다. JDBC connection URL, JDBC 드라이버 클래스, DBMS 사용자, 비밀번호 등 연결하려는 DBMS 에 관한 정보와 데이터베이스 어댑터 자체의 이름에 관한 정보를 입력 받는다.

TmaxSoft 48

Page 49: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

예에서는 'jdbc:oracle:thin:@192.168.1.43:1532:ORA10G' 에 있는 DBMS 에 사용자 'biuser', 비밀번호 'userbi'를 통해서 연결하며 JDBC 드라이버 클래스는 'oralce.jdbc.OracleDriver'로 지정하였다.

15. Install 의 마지막 단계에서는 설정한 사항들에 대한 확인을 받는다. <Enter>를 입력하면 ProRule 서버의 설치를 시작한다.

========================================================== Pre-Installation Summary ------------------------ Please Review the Following Before Continuing: Product Name: ProRule Server 3.3 Install Folder: /home/jmlee/prorule3 JAVA HOME /usr OS Solaris Architecture SPARC Kernel Bit 32 Disk Space Information (for Installation Target): Required: 117,451,099 bytes Available: 3,275,112,448 bytes PRESS <ENTER> TO CONTINUE:

TmaxSoft 49

Page 50: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

16. 진행 바와 함께 인스톨이 진행된다.

=============================================================== Installing... ------------- [==============|==============|==============|==============] [--------------|----------

설치의 진행 정도를 보여주기 위해 화면에 프로그래스 바를 보여준다.

17. 설치가 종료되면, 사용자가 수행해야 하는 작업에 대한 안내 메시지를 출력한다.

===============================================================

create state tables

-------------------

After installing Prorule Server, you need to create state

tables.

files,

/home/jmlee/prorule3/rbms/sqls

has all information.

PRESS <ENTER> TO CONTINUE:

18. ProRule 설치가 종료되었음을 알리는 메시지를 출력한다.

===============================================================

Installation Complete

---------------------

ProRule Server 3.3 installation is completed successfully.

Thank you for using TmaxSoft Product!

Technical Support Center

Homepage: http://www.tmax.co.kr

E-mail : [email protected]

TmaxSoft 50

Page 51: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

PRESS <ENTER> TO EXIT THE INSTALLER:

3.6.4 환경 설정 확인

설치 시 적용되는 환경변수는 .profile/.cshrc, 나머지 환경변수는 $JEUS_HOME/bin/jeus.properties 파일에서 확인할 수 있다. 설치된 환경(플랫

폼, 버전)에 따라 다르며 수정할 수 있다.

환경설정 갱신

hostname:~/work> . $HOME/.profile

설치과정을 통해서 ProRule 수행에 필요로 하는 항목을 환경파일에 추가해 놓은 내용을 반영하기 위해서 해당 환경파일을 읽어들인다. 읽어들일 파일과 읽어들이는 방법은 사용하는 쉘에 따라 다르다. 예에서는 본쉘이나 콘쉘 사용자의 경우에 수행할 작업을 보였다. 실제 추가되는 정보는 vi 에디터를 통해 파일을 열어 확인할 수 있다.

hostname:~/work> vi $HOME/.profile

############ ProRule 3.3 Environment ###############

... ...

JAVA_HOME= /opt/java1.4.2_05; export JAVA_HOME

... ...

# New environment setting added by ProRule Server 3.3 on Tue Jul

25 14:52:49 MDT 2006 1.

# The unmodified version of this file is saved in

/home/jmlee/.profile497527234.

# Do NOT modify these lines; they are used to uninstall.

PATH="/home/jmlee/prorule3/bin:${PATH}"

export PATH

# End comments by InstallAnywhere on Tue Jul 25 14:52:49 MDT 2006

1.

... ...

TmaxSoft 51

Page 52: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

DB 테이블 생성

ProRule Engine 에서 사용하는 DB 테이블을 생성하기 위해서 $JEUS_HOME/rbms/config/sqls/ 문을 수행시킨다.

hostname:~/work> cd $JEUS_HOME/rbms/config/sqls

hostname:~/prorule3/rbms/config/sqls> sqlplus biuser/userbi

SQL*Plus: Release 10.1.0.2.0 - Production on 화 10 월 25 20:04:24 2005

Copyright (c) 1982, 2004, Oracle. All rights reserved.

Connected to:

Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production

With the Partitioning option

JServer Release 9.2.0.1.0 - Production

SQL>@ l3kc_init.sql

Table created.

...

Table created.

...

Table created.

...

SQL> quit

hostname:~/BizMaster4/bizmaster_config/sql>

TmaxSoft 52

Page 53: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

3.6.5 기동 확인

모든 설치가 정상적으로 수행되었다면 ProRule 을 기동시킨다.

hostname:~/prorule3/bin> pboot

TmaxSoft 53

Page 54: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

3.7 UNIX 에서 제거 이 절에서는 앞 절에서 설치한 ProRule Server 를 제거하는 방법에 대해 설명한다. UNIX 상에 Prorule 을 설치하지 않은 경우는 이 절을 건너 뛰어도 좋다.

설치한 ProRule 을 제거하기 위해 UninstallerData 폴더로 이동한 후 Uninstall 을 진행한다.

hostname:~> cd prorule3

hostname:~/prorule3~> cd UninstallerData

hostname:~/prorule3/UninstallerData>

===============================================================

(created with InstallAnywhere by Zero G)

---------------------------------------------------------------

===============================================================

Uninstall ProRule Server 3.3

------------------------------

About to uninstall...

ProRule Server 3.3

This will remove features installed by InstallAnywhere. It will

not remove files and folders created after the installation.

PRESS <ENTER> TO CONTINUE:

Quit 를 입력하면 ProRule 서버의 제거가 중단되고 콘솔창으로 빠져나오며, <Enter>를 누르면 Prorule 서버의 제거가 진행된다.

TmaxSoft 54

===============================================================

Uninstalling...

---------------

...*

*

Page 55: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

*************************

*************************

...*

*************************

*************************

*************************

*************************

......

===============================================================

Uninstall Complete

------------------

Some items could not be removed.

ProRule 을 설치할 때와 마찬가지로, 진행 정도를 프로그레스 바 형태로 출력해주며, 제거가 완료되었다는 메시지를 출력해준다.

제거 완료 후 콘솔창 에서 ProRule 이 설치되 있던 폴더를 검색해보면, 제거가 된 것을 확인할 수 있다.

설치한 후에 추가된 파일들에 대해서는 제거 시에 삭제하지 않는다. 만약 파일들을 제거하고 싶다면 콘솔창에서 직접 삭제해야 한다.

TmaxSoft 55

Page 56: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

TmaxSoft 56

Page 57: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

4 ProRule RuleManger 의 설치 및 제거

ProRule RuleManger 는 Java 기반이기 때문에, JVM(자바 가상 머신)이 설치되어 있어야 한다.

ProRule RuleManger 는 Eclipse IDE 기반으로 개발되었다. Eclipse 와 RuleManger 는 동시에 설치할 수 있으나, 이를 원하지 않는 경우에는 이미 설치되어 있는 Eclipse Platform 에 ProRule RuleManger Plug-in 들만 별도로 설치할 수 있다.

Plug-in 들만 별도로 설치하는 경우에는 Eclipse 3.2.0 버전이 설치되어 있어야 하고 JDK 는 1.5 이상에서만 동작합니다.

4.1 시스템 요구사항 RuleManger 를 설치하기 위해서는 다음과 같은 사항이 필요하다.

OS : Windows 계열(2000, XP)

200M 이상의 하드 드라이브 여유공간

Sun Java 2 SDK, Standard Edition, version 1.4.2_05 for Microsoft Windows 또는 IBM 32-bit SDK for Windows, Java 2 Technology Edition, Version 1.4.1 이상의 버전이 설치되어 있어야 한다.

TmaxSoft 57

Page 58: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

4.2 ProRule RuleManger 의 설치 RuleManager3.3 은 별도의 Installer 를 사용하여 설치하거나 단순히 바이너리

를 복사하여 설치할 수 있다.

RuleManager3.3 는 ProRule 서버와 통신하여 동작하기 때문에 ProRule 서버

와 연결이 되어 있지 않으면 시작할 수 없다.

ProRule 서버에 접속하기 위해서는 사용자 계정과 암호가 필요하다. ProRule 서버는 기본적으로 admin 계정에 admin 패스워드를 제공한다. 기타 사용자 계정의 관리를 위해서는 RuleManager3.3 의 사용자 관리 화면을 사용해야 한다.

ProRule 제품의 설치 프로그램을 실행시켜 RuleManager 의 설치를 시작한다.

ProRule 로고가 적힌 제품 CD 를 CD-ROM 에 넣는다. 그러면 다음과 같은 화면이 나타난다.

그림 19. Introduction

TmaxSoft 58

Page 59: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

이 화면에서는 RuleManager 와 Installer 에 대해 간략한 설명을 다루고 있다.

진행도중 언제라도 “Cancel” 버튼을 누르면 Install 작업을 종료할 수 있으며, “Previous” 버튼을 누르면 전 단계로 돌아갈 수 있다.

* 이 화면이 뜨지 않는 경우에는 CD-ROM 안에 있는 install.exe 를 직접 실행하여야 한다.

“Next” 버튼을 누르면 다음과 같은 화면이 나타난다.

그림 20. License Agreement

이 화면은 TmaxSoft 의 License 정책을 나타내는 화면이므로, 주의 깊게 읽어 본 후, 약관에 동의하면 “I accept the terms of the License Agreement” 을 선택한다.

이렇게 하면 “Next” 버튼이 활성화되고, 만약 동의하지 않는다면 다음으로 진행할 수 없다.

TmaxSoft 59

Page 60: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

“Next” 버튼을 누르면 아래와 같이 RuleManger 홈 디렉토리 설정 단계가 나타난다.

그림 21. Choose Install Folder

기본 설치 폴더는 “C:\TmaxSoft\RuleManager3.3” 이다.

설치 폴더를 변경하고자 하는 경우, 화면에서 “Choose…”버튼을 누르면 아래와 같은 화면이 나타난다. 여기에서 원하는 폴더를 선택한 후 “Select” 버튼을 누르면 설치 폴더를 변경할 수 있다.

TmaxSoft 60

Page 61: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

그림 22. 설치 폴더 변경

설치 폴더를 기본 설치 폴더로 다시 변경하고자 하는 경우에는 “Restore Default Folder” 버튼을 클릭하면, 원래대로 설치 폴더를 “C:\TmaxSoft\RuleManager3.3”로 변경할 수 있다.

TmaxSoft 61

Page 62: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

앞 단계에서 폴더를 설정한 후 “Next” 버튼을 누르면 아래의 화면이 나타난다.

“Next” 버튼을 누르면 인스톨 화면이 나타난다.

그림 23. Installing RuleManger

TmaxSoft 62

Page 63: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

Install 작업이 모두 끝난 후에는 다음과 같이 완료 화면이 나타나며, 여기에서 “Done” 버튼을 누르면 모든 설치작업이 종료된다.

그림 24. Install Complete

설치 확인은 다음과 같이 “시작”메뉴의 “프로그램”에서 확인할 수 있다.

RuleManager 에 서버 주소와 포트를 기입하고 admin 계정에 admin 패스워드로 로그인 하여 접속을 확인한다.

그림 25. RuleManger 설치 확인

TmaxSoft 63

Page 64: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

4.3 ProRule RuleManger 의 제거 설치 프로그램을 사용하여 RuleManger 를 설치하면, 제거 시에도 설치 제거 프로그램을 사용하여 안전하게 RuleManger 를 제거할 수 있다.

설치 제거 프로그램은 Windows 의 “시작”메뉴 “프로그램” “TmaxSoft” “RuleManger3.3” “Uninstall” 을 실행하면 된다.

그림 26. Uninstall

위의 화면은 Uninstall 을 실행했을 때의 초기 화면이다.

TmaxSoft 64

Page 65: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

Uninstall 에 대한 간략한 소개를 하고 있으며, 여기에서 “Uninstall” 버튼을 누르면 다음과 같이 Uninstall 작업을 진행한다.

그림 27. Uninstall RuleManger

Install 한 후에 추가된 파일들에 대해서는 Uninstall 시에 제거하지 않는다. 따라서 작업한 프로젝트들은 삭제하지 않는다.

만약 삭제하고 싶다면 탐색기에서 사용자가 별도로 삭제해 주어야 한다.

TmaxSoft 65

Page 66: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

UnInstall 이 완료되면 Uninstall Complete 화면을 보여준다. Done 버튼을 클릭하면 UnInstal 을 종료한다.

그림 28. Uninstall Complete

TmaxSoft 66

Page 67: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

A. ProRule 수동 설치

A.1 JEUS 4.2 에서 ProRule 수동 설치 ProRule 은 제우스 웹 애플리케이션 서버(이하 JEUS)에 기반하고 있다. 미리 JEUS 4.2 가 설치되어 있다고 가정한다.

PRORULE 3.3 라이브러리 복사및 JEUS 설정

Jeus 4.2 설치(jeus4.2, jeus5 등)

Jeus 4.2 을 기준으로 설치한다. 다음 jeus 설정을 적절히 수정한다.

$JEUS_BASEPORT

$JEUS_HOME/bin/jeus.properties

필수 라이브러리, jdbc 드라이버 반영(복사)하기

$JEUS_HOME/lib/application/~

$JEUS_HOME/lib/datasource/~ (오라클 공개용 드라이버이므로 무시하여도 된다.)

ProRule server 반영(복사)하기.

$JEUS_HOME/rbms/~

$JEUS_HOME/rule_classes/~

JEUS 4.2 에서 JEUSMain.xml 환경 설정하기(DB 설정)

export-name, database-name,port-number, server-name, user, password 를 적절히 반영한다.

<!-- 해당 경로및 prorule 설정를 넣어준다. start -->

<resource>

<data-source>

TmaxSoft 67 <database>

Page 68: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

<vendor>oracle</vendor>

<export-name>TRBMS_DS</export-name>

<data-source-class-

name>oracle.jdbc.pool.OracleConnectionPoolDataSource</data-source-

class-name>

<database-name>orcl</database-name>

<data-source-

name>oracle.jdbc.pool.OracleConnectionPoolDataSource</data-source-

name>

<port-number>1521</port-number>

<server-name>192.168.12.177</server-name>

<user>rule</user>

<driver-type>thin</driver-type>

<password>rule</password>

<data-source-type>ConnectionPoolDataSource</data-source-

type>

<connection-pool>

<pooling>

<min>1</min>

<max>1</max>

<step>1</step>

<period>600000</period>

</pooling>

<wait-free-connection>

<enable-wait>true</enable-wait>

</wait-free-connection>

</connection-pool>

</database>

</data-source>

</resource>

<!-- 해당 경로및 prorule 설정를 넣어준다. end -->

표 : JEUS 4.2 에서 JEUSMain.xml 환경 설정하기(DB 설정)

jeus4.2 http listener 에 prorule context 등록하기(http, webtob, tomcat, apache 등)

http listener 기준으로 설정한다.

TmaxSoft 68

Page 69: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

- $JEUS_HOME/rbms/prorule~

상위단계에서 prorule context 가 복사되어 있다.

- WebMain.xml 설정

<!-- 해당 경로및 prorule 설정를 넣어준다. -->

<context>

<context-name>prorule</context-name>

<context-path>/prorule</context-path>

</context>

...

<!-- RuleManager 접속 포트이다. -->

<port>8088</port>

표 : JEUS 4.2 에서 WebMain.xml 환경 설정하기

- jeus-web-dd_prorule.xml 파일 복사(생성)하기

<?xml version="1.0"?>

<!DOCTYPE jeus-web-dd PUBLIC "-//Tmax Soft., Inc.//DTD JEUS

WEB Deployment Info 4.0//EN"

"http://www.tmaxsoft.com/jeus/dtd/4.0/jeus-web-dd.dtd">

<jeus-web-dd>

<context>

<context-name>Prorule</context-name>

<!-- 해당 경로및 prorule 설정를 넣어준다. -->

<docbase>C:\grace99\PROD\JEUS4.2\rbms\prorule</docbase>

<auto-reload>

<enable-reload>true</enable-reload>

<check-on-demand>true</check-on-demand>

</auto-reload>

</context>

</jeus-web-dd>

표 : JEUS 4.2 에서 jeus-web-dd_prorule.xml 환경 설정하기

TmaxSoft 69

Page 70: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

PRORULE 3.3 설정 반영하기

prorule 환경 설정하기(prorule.xml, ruleEngineConfig.xml)

- $JEUS_HOME/rbms/config/prorule.xml

<!-- 해당 경로및 prorule 설정를 넣어준다. -->

<jndi>

<principal>administrator</principal>

<credentials>jeusadmin</credentials>

</jndi>

<!--

현재는 Oracle 과 MS-SQL 만 지원. 왜냐하면 h-rule 에서 사용하는

query 가

db 에 따라 틀려지기 때문.

-->

<!-- 해당 경로및 prorule 설정를 넣어준다. -->

<database use="TRBMS_DS">

<!--

db 에 맞는 url 사용.

Oracle 의 경우

jdbc:oracle:thin:@[host]:[port]:[sid]

-->

<!-- 해당 경로및 prorule 설정를 넣어준다. -->

<jdbcUrl>jdbc:oracle:thin:@192.168.1.44:1521:ORCL</jdbcUrl>

<username>pilot</username>

<password>pilot</password>

<jdbcDriver>oracle.jdbc.driver.OracleDriver</jdbcDriver>

<type>ORACLE</type>

<ecology>

<creatureList>

...

<!--

<creature cid="ENGINE_REMOTE"

type="ENGINE"

TmaxSoft 70

Page 71: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

className="com.tmax.prorule.server.impl.engine.RemoteEngine"/>

-->

...

<!--

<creature cid="SERVICE_MONITOR"

type="SERVICE"

className="com.tmax.prorule.server.impl.service.MonitorService"/>

-->

표 : JEUS 4.2 에서 prorule.xml 환경 설정하기

- $JEUS_HOME/rbms/config/ruleEngineConfig.xml

<!--

<logDirectory>log</logDirectory>

-->

<log level="DEBUG">

<console>true</console>

<file>true</file>

</log>

<locationList>

<!--

소스가 생성될 위치. 절대경로를 써준다.

target 이 여러 개면 첫번째 경로에서만 compile 이 이루어진다.

나머지 경로에는 소스만 생성된다.

-->

<!-- 해당 경로및 prorule 설정를 넣어준다. -->

<target>/home/pilot/prod/jeus4.2/rule_classes</target>

</locationList>

<proframe>

<version>2.0</version>

<!--

여기 아래 내용은 language 가 JAVA 인 경우에만 사용한다.

language 가 C 인 경우에는 없어도 상관없다.

-->

TmaxSoft 71

Page 72: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

<use>false</use>

<encoding>KSC5601</encoding>

<address>localhost</address>

<port>9700</port>

<classpathList>

<!-- 해당 경로및 prorule 설정를 넣어준다. -->

<cp>/home/pilot/prod/jeus4.2/lib/application/proframe.jar</cp>

<cp>/home/pilot/prod/jeus4.2/lib/application/Server.jar</cp>

<cp>/home/pilot/prod/jeus4.2/lib/application/log4j-

1.2.9.jar</cp>

<cp>/home/pilot/prod/jeus4.2/lib/application/commons-

logging-1.1.jar</cp>

<cp>/home/pilot/prod/jeus4.2/lib/application/RuleParser.jar</cp>

<cp>/home/pilot/prod/jeus4.2/rule_classes</cp>

</classpathList>

</proframe>

<!-- Code Generator Template Directory -->

<codeGenerator generate="true">

<templateDirectory>config/codetmpls/</templateDirectory>

</codeGenerator>

<remoteCall isUse="false">

<target

address="192.168.1.44"

port="2710" />

</remoteCall>

<!--

<cluster server="192.168.1.44" port="2790" />

-->

<momoryLoad>false</momoryLoad>

<!--

이관용 데이터가 저장될 위치. 절대경로를 써준다.

-->

<tclocation>/home/jmlee/tclocation</tclocation>

표 : JEUS 4.2 에서 ruleEngineConfig.xml 환경 설정하기

TmaxSoft 72

Page 73: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

DBSCRIPTS 실행및 RULEMANAGER 실행

DBscripts 반영하기.($JEUS_HOME/rbms/sqls)

ruleDB 를 위한 user/passwd 를 생성하고 관련 테이블과 시퀀스(lkc~, seqence)를 정리하고 다음 순서대로 DBscripts 를 수행한다.

- user_manage.sql

- notice_init.sql

- l3kc_init.sql

RuleManager3.3 실행하기

서버 주소와 포트를 기입하고 admin 계정에 admin 패스워드로 로그인 한다.

B.2 JEUS 5.x 에서 ProRule 수동 설치 ProRule 은 티맥스 제우스 웹 애플리케이션 서버(이하 JEUS)에 기반하고 있다. 미리 JEUS 5 가 설치되어 있다고 가정한다.

PRORULE 3.3 라이브러리 복사및 JEUS 설정

Jeus5 설치(jeus4.2, jeus5 등)

Jeus5 을 기준으로 설치한다. 다음 jeus 설정을 적절히 수정한다.

$JEUS_HOME/bin/jeus.properties

$JEUS_HOME/config/vhost.xml

필수 라이브러리, jdbc 드라이버 반영(복사)하기

$JEUS_HOME/lib/application/~

$JEUS_HOME/lib/datasource/~ (오라클 공개용 드라이버이므로 무시하여도 된다.)

TmaxSoft 73

Page 74: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

prorule server 반영(복사)하기.

$JEUS_HOME/rbms/~

$JEUS_HOME/rule_classes/~

JEUS 5 에서 JEUSMain.xml 환경 설정하기(DB 설정)

export-name, database-name,port-number, server-name, user, password 를 적절히 반영한다.

<resource>

<data-source>

<database>

<vendor>oracle</vendor>

<!-- 변경사항을 넣어준다. -->

<export-name>TRBMS_DS</export-name>

<data-source-class-

name>oracle.jdbc.pool.OracleConnectionPoolDataSource</data-source-

class-name>

<data-source-type>ConnectionPoolDataSource</data-source-

type>

<!-- 변경사항을 넣어준다. -->

<database-name>ORCL</database-name>

<data-source-

name>oracle.jdbc.pool.OracleConnectionPoolDataSource</data-source-

name>

<description>BI Team 44 Datasource</description>

<port-number>1521</port-number>

<!-- 변경사항을 넣어준다. -->

<server-name>192.168.1.44</server-name>

<!-- 변경사항을 넣어준다. -->

<user>pilot</user>

<!-- 변경사항을 넣어준다. -->

<password>pilot</password>

<driver-type>thin</driver-type>

<connection-pool>

<pooling>

<min>2</min>

<max>30</max>

TmaxSoft 74

Page 75: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

<step>1</step>

<period>600000</period>

</pooling>

<wait-free-connection>

<enable-wait>true</enable-wait>

<wait-time>10000</wait-time>

</wait-free-connection>

</connection-pool>

</database>

</data-source>

</resource>

<application>

<name>prorule</name>

<!-- 변경사항을 넣어준다. -->

<path>/home/pilot/prod/jeus5/rbms/prorule</path>

<deployment-target>

<target>

<!-- 변경사항을 넣어준다. -->

<engine-container-name>tmaxs4_container1</engine-

container-name>

<web-context-group>

<name>MyGroup</name>

</web-context-group>

</target>

</deployment-target>

<deployment-type>COMPONENT</deployment-type>

<classloading>ISOLATED</classloading>

<web-component/>

</application>

표 : JEUS 5 에서 JEUSMain.xml 환경 설정하기(DB 설정)

Jeus 5 http listener 에 prorule context 등록하기(http, webtob, tomcat, apache 등)

http listener 기준으로 설정한다.

- $JEUS_HOME/config/tmaxs4/JEUSMain.xml

TmaxSoft 75

Page 76: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

방금 전 상위단계에서 설명한 <application> 로 prorule context 가 이미 반영되어 있다.

- $JEUS_HOME/rbms/prorule~

방금 전 상위단계에서 설명한 prorule context 가 이미 복사되어 있다.

- WebMain.xml 설정

<!-- RuleManager 접속 포트이다. -->

<port>8088</port>

표 : JEUS 5 에서 WebMain.xml 환경 설정하기

PRORULE 3.3 설정 반영하기

prorule 환경 설정하기(prorule.xml, ruleEngineConfig.xml)

-$JEUS_HOME/rbms/config/prorule.xml

<!-- 해당 경로및 prorule 설정를 넣어준다. -->

<jndi>

<principal>administrator</principal>

<credentials>jeusadmin</credentials>

</jndi>

<!--

현재는 Oracle 과 MS-SQL 만 지원. 왜냐하면 h-rule 에서 사용하는

query 가

db 에 따라 틀려지기 때문.

-->

<!-- 해당 경로및 prorule 설정를 넣어준다. -->

<database use="TRBMS_DS">

<!--

db 에 맞는 url 사용.

Oracle 의 경우

jdbc:oracle:thin:@[host]:[port]:[sid]

-->

TmaxSoft 76

Page 77: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

<!-- 해당 경로및 prorule 설정를 넣어준다. -->

<jdbcUrl>jdbc:oracle:thin:@192.168.1.44:1521:ORCL</jdbcUrl>

<username>pilot</username>

<password>pilot</password>

<jdbcDriver>oracle.jdbc.driver.OracleDriver</jdbcDriver>

<type>ORACLE</type>

<ecology>

<creatureList>

...

<!--

<creature cid="ENGINE_REMOTE"

type="ENGINE"

className="com.tmax.prorule.server.impl.engine.RemoteEngine"/>

-->

...

<!--

<creature cid="SERVICE_MONITOR"

type="SERVICE"

className="com.tmax.prorule.server.impl.service.MonitorService"/>

-->

표 : JEUS 5 에서 prorule.xml 환경 설정하기

- $JEUS_HOME/rbms/config/ruleEngineConfig.xml

<!--

<logDirectory>log</logDirectory>

-->

<log level="DEBUG">

<console>true</console>

<file>true</file>

</log>

TmaxSoft 77

Page 78: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

<locationList>

<!--

소스가 생성될 위치. 절대경로를 써준다.

target 이 여러 개면 첫번째 경로에서만 compile 이 이루어진다.

나머지 경로에는 소스만 생성된다.

-->

<!-- 해당 경로및 prorule 설정를 넣어준다. -->

<target>/home/pilot/prod/jeus5/rule_classes</target>

</locationList>

<proframe>

<version>2.0</version>

<!--

여기 아래 내용은 language 가 JAVA 인 경우에만 사용한다.

language 가 C 인 경우에는 없어도 상관없다.

-->

<use>false</use>

<encoding>KSC5601</encoding>

<address>localhost</address>

<port>9700</port>

<classpathList>

<!-- 해당 경로및 prorule 설정를 넣어준다. -->

<cp>/home/pilot/prod/jeus5/lib/application/proframe.jar</cp>

<cp>/home/pilot/prod/jeus5/lib/application/Server.jar</cp>

<cp>/home/pilot/prod/jeus5/lib/application/log4j-

1.2.9.jar</cp>

<cp>/home/pilot/prod/jeus5/lib/application/commons-

logging-1.1.jar</cp>

<cp>/home/jmlee/jeus5/lib/application/RuleParser.jar</c

p>

<cp>/home/pilot/prod/jeus5/rule_classes</cp>

</classpathList>

</proframe>

<!-- Code Generator Template Directory -->

<codeGenerator generate="true">

<templateDirectory>config/codetmpls/</templateDirectory>

</codeGenerator>

<remoteCall isUse="false">

TmaxSoft 78

Page 79: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule 설치 안내서 ProRule

<target

address="192.168.1.44"

port="2710" />

</remoteCall>

<!--

<cluster server="192.168.1.44" port="2790" />

-->

<momoryLoad>false</momoryLoad>

<!--

이관용 데이터가 저장될 위치. 절대경로를 써준다.

-->

<tclocation>/home/jmlee/tclocation</tclocation>

표 : JEUS 5 에서 ruleEngineConfig.xml 환경 설정하기

DBSCRIPTS 실행및 RULEMANAGER 실행

DBscripts 반영하기.($JEUS_HOME/rbms/sqls)

ruleDB 를 위한 user/passwd 를 생성하고 관련 테이블과 시퀀스(lkc~, seqence)를 정리하고 다음 순서대로 DBscripts 를 수행한다.

- user_manage.sql

- notice_init.sql

- l3kc_init.sql

RuleManager3.3 실행하기

서버 주소와 포트를 기입하고 admin 계정에 admin 패스워드로 로그인 한다.

TmaxSoft 79

Page 80: ProRule 설치 안내서 - TmaxSoft · 2019-04-09 · 이 매뉴얼에서는 ProRule Server, ProRule RuleManager 의 설치 방법을 설명한다. ProRule Server 의 설치방법은

ProRule ProRule 설치 안내서

B. ProRule 설치 작업일지

작업수행일시 : _______년 ___월 ___일 ______

작 업 자 : __________________________

I. 사전준비 설치할 플랫폼의 OS 종류, 버젼, bit 수 ______________________________________

OS 상의 ProRule 계정명 _______________________

계정생성여부

JDK 설치버젼과 위치 (JDK 1.4.2_x 필요) ___________________________________

JDK 설치여부

ProRule 설치할 폴더 __________________________________________

ProRule Engine 에서 사용할 DBMS 정보

호스트주소 ___________________________ SID ___________________________

사용자명 ___________________________

사용자 비밀번호 ______________________

데이터베이스 어댑터 DBMS 정보

JDBC 드라이버 클래스명 _____________________________________ JDBC connection URL ________________________________________ 사용자명 ___________________________

사용자 비밀번호 ______________________

II. 설치 후 조치 라이센스 설치

환경설정파일 읽기

TmaxSoft 80