Solution/webMethods

webMethods 10.5 설치 for Linux

유가엘 2019. 9. 23. 17:48

Integration Server 10.5 를 설치하기 위해서 OS , RDBMS 버전에 영향이 있을 수 있습니다..

 

Oracle JVM 유료화 선언으로 인하여 Empower.SoftwareAG 는 Linux 설치용으로 더 이상 Jar 파일을 지원하지 않습니다.

 

System Requirement 를 통한 운영 환경 확인                                                               

(1) OS 버전 확인

null

(2)RDBMS 확인

null

 (3)내장된 JDK

null

 Linux 환경에서의 webMethods 설치

1.  설치 파일이 있는 경로에 접근해서 아래와 같이 입력한다.

    -Xmx512m은 옵션으로 JVM 메모리를 선언해주는 것이므로 , 추가 하지 않아도 가능하다.

    java –jar –Xmx512m <installer파일명> –readIimage <이미지 파일명> -console    [jar 파일을 사용할 경우]

    ./{SoftwareAGInstaller.bin} -readImage {Full_Path_Image.zip} -console               [bin 파일을 사용할 경우]

예시 )

java -jar -Xmx512m SoftwareAGInstaller20181016.j ar -readImage wM_IS_API_Linux.zip -console

./SoftwareAGInstaller20191015-LinuxX86.bin -readImage /home/wmuser/SAG_10.5/ wm105_full_Linux_20191015.zip -console

null

2. 위와 같이 정상 실행되었다면 Proxy 서버가 아닌 Image 파일의 목록을 추출합니다.

   또한 설치 경로와 IP를 지정합니다.

null

3. 설치 할 Product 선택합니다.

null

4. 써드파티 이용약관 동의 여부를 확인합니다. [N] 입력합니다.

null

5. Sudo 사용 유무 선택합니다.

일반적으로 관리자 권한이 필요하지 않으므로 [N]을 선택합니다.

null

 

6. 라이센스 파일 등록 , Server Instance 이름 및 운영 port 설정합니다.

해당 Instance의 서버를 자동 실행시킬지 여부를 선택합니다.

null

7. 선택된 Product를 생성될 Instance에 설치 유무를 결정합니다.

null

8. 사용할 DB를 선택합니다.

DB가 존재하지 않는 경우 , Embedded Database 선택 후, (N)을 입력합니다.

null

9. Command Central 제품을 사용할 계획이 있는지 여부를 확인합니다.

계획이 없는 경우 , (T)버튼을 이용하여 선택 해지합니다..

null

10. 설치가 완료된 폴더의 목록을 출력합니다.

null


Software AG Update Manager 를 이용한 Fix 적용                                         

1. Empower에서 다운로드 받은 bin 파일에서 아래와 같이 실행합니다.

./{UpdateInstaller.bin} –accept-license -d {설치할 경로} -i { UpdateInstaller 이미지가 존재한다면 해당 zip파일명}

./SoftwareAGUpdateManagerInstaller20191018\(LinuxX86\).bin --accept-license -d /home/wmuser/SH/SoftwareAG/wm105/IS57_Update -i /home/wmuser/SAG_10.5/udm_image_Linux_20191018.zip

null

2. Off-line 상태에서 Fix Image를 적용하는 방법은 아래와 같습니다.

{UpdateManager Directory}/bin/UpdateManagerCMD.sh 입력합니다.

null

3. 아래와 같이 UpdateManager가 실행되며 관리선택 버튼이 출력됩니다. [1] Manage Fixes 를 선택해주세요.

null

4. [2]fix Image를 선택 후, 설치할 이미지가 있는 경로를 설정해 줍니다.

null

5. 설치 될 이미지 경로를 지정 후 [N]을 입력합니다.

null

6. Fix를 적용 시킬 항목을 선택 후 [N]을 입력합니다.

null

7. 설치가 완료되면 목록을 출력하고 [X]버튼을 통해 UpdateManager를 종료합니다.

null

8. Web 환경에서 Update 적용 확인을 진행합니다. [About 화면]

null


DB Configurator를 이용한 Repository 설치 매뉴얼                                              

 

1.{SAG_Directory}\common\db\bin으로 이동하여 dbConfigurator.sh 를 이용하여 생성합니다.

파라메터는 아래와 같습니다.

dbConfigurator.sh

-a {수행할 액션}                 –d {DBMS 종류}                   -l {RDBMS_URL}

-u {DB 사용자}                 -p {사용자 비밀번호}               -au {DBA 권한이 있는 계정명}

-ap {DBA 계정의 비밀번호}       -t {테이블 스페이스 생성경로}      -c {설치할 컴포넌트 명}

-tsdata {테이블스페이스 폴더명}  -tsindex{테이블스페이스 인덱스명}  -v {설치 할 버전}

-pr {설치할 제품군 명}

 

설치 시, 해당 옵션에 대한 목록은 아래와 같이 확인 할 수 있습니다.

.{SAG_Directory}\common\db\bin\dbConfigurator.sh—printComponents

null

.{SAG_Directory}\common\db\bin\dbConfigurator.sh –printProducts

null

.{SAG_Directory}\common\db\bin\dbConfigurator.sh –printActions

null

(1) 저장공간 생성 [ TableSpace ]

/dbConfigurator.sh -a create -d oracle -c storage -v latest -l {database url} -u {userid} -p {user password} -au {system account} -ap {system account password} -t {Tablespace 폴더} -tsdata {Table space data} -tsindex {Table space index} 

예시 : ./dbConfigurator.sh -a create -d oracle -c storage -v latest -l jdbc:wm:oracle://192.168.31.80 :1521;serviceName=orcl -u WM105 -p WM105 -au kyle -ap 1234 -t C:\app\NOHSUHYUK\oradata\orcl\ORCL -tsdata MYDATA -tsindex MYINDEX

null

(2) 1번에서 생성된 Table SpaceComponent 생성

./dbConfigurator.sh -a create -d oracle -pr MwS,IS -v latest -l {database url} -u {userid} -p {user password}  -tsdata {Table space data} -tsindex {Table space index} 

예시 : ./dbConfigurator.bat -a create -d oracle -pr MwS,IS -v latest -l jdbc:wm:oracle://192.168.31.80 :1521;serviceName=orcl -u WM105 -p WM105  -tsdata MYDATA -tsindex MYINDEX 

null


1. 서버가 정상 가동됬을 경우, {IntegrationServer Directory}\instances\default\logs\server.log가 생성됩니다.

[wmuser@localhost~/SoftwareAG/profiles/IS_SH/bin]$sh startup.sh 
Checking is started... 
Software AG Integration Server 10.4 (SH) is not running. 
Starting daemon using Tanuki Wrapper... 
Starting Software AG Integration Server 10.4 (SH)... 
wrapper  | Base configuration file is /home/wmuser/SoftwareAG/profiles/IS_SH/configuration/wrapper.conf 
wrapper  | Found #include file in /home/wmuser/SoftwareAG/profiles/IS_SH/configuration/wrapper.conf: %OSGI_INSTALL_AREA%/config                                                              uration/wrapper-license.conf 
wrapper  |   After environment variable replacements: /home/wmuser/SoftwareAG/profiles/IS_SH/configuration/wrapper-license.conf 
wrapper  |   Reading included configuration file, /home/wmuser/SoftwareAG/profiles/IS_SH/configuration/wrapper-license.conf 
wrapper  | Found #include file in /home/wmuser/SoftwareAG/profiles/IS_SH/configuration/wrapper.conf: %OSGI_INSTALL_AREA%/config                                                              uration/custom_wrapper.conf 
wrapper  |   After environment variable replacements: /home/wmuser/SoftwareAG/profiles/IS_SH/configuration/custom_wrapper.conf 
wrapper  |   Reading included configuration file, /home/wmuser/SoftwareAG/profiles/IS_SH/configuration/custom_wrapper.conf 
Waiting for Software AG Integration Server 10.4 (SH)...... 
running: PID:22849 

2. 만일 server.log 파일이 생성 되지 않았다면, wrapper.log에서 에러 여부를 확인합니다.

java.io.IOException: User limit of inotify instances reached or too many open files 
INFO   | jvm 1    | 2019/09/03 04:25:09 |       at sun.nio.fs.LinuxWatchService.(LinuxWatchService.java:64) 
INFO   | jvm 1    | 2019/09/03 04:25:09 |       at sun.nio.fs.LinuxFileSystem.newWatchService(LinuxFileSystem.java:47) 
INFO   | jvm 1    | 2019/09/03 04:25:09 |       at com.wm.app.b2b.server.ShutdownWatcher.(ShutdownWatcher.java:35) 
INFO   | jvm 1    | 2019/09/03 04:25:09 |       at com.wm.app.b2b.server.Server.run(Server.java:387) 
java.io.IOException: User limit of inotify instances reached or too many open files at sun.nio.fs.LinuxWatchService.