서버 설치

본 장에서는 AnyLink 서버를 설치하는 방법에 대해서 설명합니다. JEUS9 FIX#1 먼저 설치 후, AnyLink 7.5를 설치해야 합니다. (jeus9100_unix_generic_ko.bin)

1. 설치

Unix/Linux 환경에서 제품을 설치하기 위해서 Console Installer를 실행해야 합니다. Console Installer는 설치 과정에서 값을 입력받을 때 기본값을 제시합니다. 셸은 이전 단계로 돌아가는 것이 기본적으로 불가능하므로 설치가 완료된 후에 값을 변경합니다.

다음은 Unix/Linux 환경에서 AnyLink를 설치하는 과정을 설명합니다.

  1. AnyLink 설치 파일(anylink7.5_generic.bin)을 서버에 업로드하고 파일이 위치한 디렉터리로 이동합니다.

  2. 설치 파일이 실행 가능하도록 파일의 실행 권한을 다음과 같이 부여합니다.

    chmod u+x anylink7.5_generic.bin
  3. 콘솔에서 설치 파일명을 입력한 후 <ENTER> 키를 누릅니다.

    anylink@node:~$ ./anylink7.5_generic.bin
  4. 라이선스 동의 여부를 결정합니다.

    동의를 하면 'y’를 입력한 후 <ENTER> 키를 누르고, 아니면 'n’을 입력한 후 <ENTER> 키를 누릅니다.

    ===============================================================================
    License Agreement
    -----------------
    
    Installation and Use of AnyLink 7.5 Requires Acceptance of the Following License
    Agreement:
    
    Release AnyLink7.5
    TmaxSoft Co., Ltd. (hereafter, TmaxSoft) End-User License Agreement
    
    Product : AnyLink
    
    This is a legal agreement between you (either an individual or an company) 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.
    
    TmaxSoft License
    1. Grant of License: This License permits you to use one copy of the software
    on any single computer.
    
    PRESS <ENTER> TO CONTINUE:
    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 is owned by TmaxSoft or its suppliers.
    
    3. Other restrictions: You may not reverse engineer, decompile, or disassemble
    the software, except where expressly permitted by law.
    
    PRESS <ENTER> TO CONTINUE:
    DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N): y
  5. jeus9가 설치된 경로를 입력합니다.

    ===============================================================================
    JEUS Environment Configuration
    ------------------------------
    
    Please enter the following information for the AnyLink 7.5 installation.
    
    - JEUS_HOME : Absolute path of the JEUS installation directory
    - Admin User Name : Alphanumeric characters only (case-sensitive)
    - Admin Password : At least 7 characters
    Enter JEUS_HOME absolute path [default: /home/anylink/jeus9]:
    
    [INFO] JEUS_HOME set to: /home/anylink/jeus9
  6. jeus9 설치 시 설정했던 관리자 계정과 비밀번호를 입력합니다.

    Admin User Name (Default: administrator):
    Admin Password:
    Confirm Admin Password:
    
    [INFO] JEUS Admin User set to: administrator
    [INFO] JEUS Admin password set.
    [INFO] DOMAIN_NAME set to: any9_domain
    [INFO] MASTER_SERVER_NAME set to: MasterServer
    [INFO] Backup created: /home/anylink/jeus9/domains/any9_domain/config/domain.xml.bak.20251229_163942
    [INFO] domain.xml generated successfully: /home/anylink/jeus9/domains/any9_domain/config/domain.xml
    [INFO] dis-config.xml generated successfully: /home/anylink/jeus9/dis_config/dis-config.xml
    [INFO] Copied dir: /home/anylink/jeus9/domains/any9_domain/lib/application
    [INFO] Copied dir: /home/anylink/jeus9
    [INFO] Copied dir: /home/anylink/jeus9/lib
    [INFO] Copied file: /home/anylink/jeus9/domains/any9_domain/.applications/anylink-admin/anylink-admin-dev-jeus9.war
    [INFO] Copied file: /home/anylink/jeus9/domains/any9_domain/.applications/anylink-http-servlet/AnyLink_Http_Servlet.war
    [INFO] Copied file: /home/anylink/jeus9
    
    ===============================================================================
    Installation Summary
    ------------------------
    Product Name:
        AnyLink 7.5
    
    Environment Environment:
       - JEUS_HOME           : /home/anylink/jeus9
       - Domain Name         : any9_domain
       - Master Server Name  : MasterServer
       - Anylink Admin User  : admin
       - Anylink Admin Passwd: admin
       - Jeus Admin User     : administrator
       - Jeus Admin Passwd   : anylink7
    
    -------------------------------------------------------------------------------
    Server Startup Instructions
    
    1. Start the JEUS Master Server:
     startMasterServer -u administrator -p anylink7 -domain any9_domain -server MasterServer
    
    2. Start the AnyLink Managed Server:
     startManagedServer -masterurl 192.168.19.117:9736 -domain any9_domain -server clustsvr1 -u administrator -p anylink7
    
    -------------------------------------------------------------------------------
    Access URLs (after server startup)
    Jeus9 Admin Console:
       http://192.168.19.117:9736/webadmin/
    
    AnyLink Admin Console:
       http://192.168.19.117:8808/anylink-admin/
    
    ===============================================================================
    NOTE: Before starting the server, configure the AnyLink database datasource and generate the database ERD.
           The ERD scripts are located at:
           /home/anylink/jeus9/anylink7.5_binary/db_script
    [INFO] Installation flow finished.

2. 설치 확인

본 절에서는 설치가 완료된 후 설치된 정보를 확인하고 서버를 기동하는 방법에 대해서 설명합니다.

2.1. 디렉터리 구조

AnyLink 서버가 설치되면 다음과 같은 디렉터리가 생성됩니다.

$AnyLink_HOME/jeus9
   +---- bin
   +---- dis_config
   +---- domains
   |----lib
         +----anylink
         +----client
         +----csp
         +----etc
         +----licenses
         +----modules
         +----schemas
         +----shared
         +----systemapps
         +----thirdparty
         +----datasource
         +----system
   +---- license
   |---- logs
           +---- AnyLink
   +---- nodemanager
   +---- anylink7.5_binary
   +---- anylink-licenses
   +---- server
bin

서버의 시작 및 종료 스크립트인 startMasterServer, startManagedServer, stopServer와 JEUS 콘솔 툴(jeusadmin)과 같은 실행 파일들이 위치합니다.

dis_config

dis-config.xml 파일이 위치한 곳으로 DIS 서버의 환경정보가 위치합니다.

domains

하위에 도메인별로 DOMAIN_HOME과 JEUS_HOME에서 사용하는 노드 정보가 포함된 nodes.xml이 존재합니다.

lib

JEUS가 기동하는 데 필요한 라이브러리가 존재합니다. shared 디렉터리를 제외한 나머지 디렉터리들은 사용자가 접근할 필요가 없습니다.

license

JEUS 라이선스 파일이 위치합니다. 라이선스 파일은 JEUS가 실행되기 위해서 반드시 필요한 파일입니다.

logs

AnyLink 로그 파일들이 위치합니다.

nodemanager

JEUS 노드 매니저를 위한 설정 파일인 jeusnm.properties 파일이 위치합니다.

anylink7.5_binary

AnyLink db_script,apm,webservice 바이너리가 존재합니다.

anylink-licenses

AnyLink에서 사용하는 라이선스 원문 파일들이 위치합니다.

server

DIS 서버에서 사용되는 파일들이 위치합니다.

2.2. 서버 기동

모든 설치가 정상적으로 수행되었다면 다음과 같이 AnyLink 서버를 기동합니다.

  • 데이터 통합서버(DIS) 기동

    JEUS 서버의 DAS 서버 기동 방식과 동일하게 DIS 서버를 기동합니다.

    $startMasterServer -domain <domain_name> -u administrator -p <password>

    예)

    $startMasterServer -domain AnyLink_domain -u administrator -p administrator
  • 런타임 엔진(RTE) 기동

    JEUS 서버의 MS 서버 기동 방식과 동일하게 RET 서버를 기동합니다.

    $startManagedServer -domain <domain_name> -server <server_name> -u administrator -p <password>

    예)

    $startManagedServer -domain AnyLink_domain -server server1 -u administrator -p administrator