티베로 데모 라이센스 갱신

merci·2024년 1월 22일
0

ZEUS 라이센스 갱신

라이센스가 만료되어도 기존의 가동중인 서버는 사용이 가능하다
단, 만료가 되면 재기동이 되지 않는다
개발을 위한 ZEUS 서버는 만료기간이 2달이므로 2달에 한번 재발급을 받아야 한다

먼저 ZEUS 서버를 위한 유저로 로그인한다

su - testwas

라이센스 확인한다.

[testwas@TESTWAS:/]$ jeusadmin -licenseinfo
=====================  LICENSE INFORMATION =====================
=== EDITION : Enterprise (Demo License)
=== DUE-DAY : 2024/1/13
=== ISSUE-DAY : 2023/11/13
=== CPU : unlimited
=== HOST-NAME : TESTWAS
=== Max. Number of Clients : unlimited
=== LICENSE SEQNO : JDE-xxxx-xxx-xxxx
================================================================

버전만 확인할 경우

[testwas@TESTWAS:/]$ jeusadmin -fullversion
8.5.0.0-b266025

[testwas@TESTWAS:/]$ jeusadmin -version
JEUS 8.5

호스트 아이디 호스트 이름 확인

[testwas@TESTWAS:/]$ hostid
a8cxxxxx
[testwas@TESTWAS:/]$ hostname
TESTWAS

기존의 ZEUS 버전과 hostname을 알았으므로 데모 라이센스를 신청해보자

데모 라이센스 신청 방법
https://www.tmaxsoft.com/kr/download/demo-license/apply

신청을 하면 메일로 라이센스가 오게 된다.

기존 라이센스는 백업을 해두고 라이센스 디렉토리로 이동

$ cd /software/jeus/license

[testwas@TESTWAS:/software/jeus/license]$ ll
합계 12
-rw-r--r-- 1 root     root   350  1월 22 13:11 license
-rwx------ 1 testwas testwas 350  8월 29 12:55 license_2
-rwx------ 1 testwas testwas 350  8월 29 13:52 license_trial

메일로 받은 license로 교체한 뒤 서버를 재기동하면 된다.

WEBtoB 라이센스 갱신

wsadmin 입력 후 wi 입력

[testweb@TESTWEB:/]$ wsadmin
[COM-00054] The license has expired. Expiration=2024/01/13
--- Welcome to WebtoB Admin (Type "quit" to leave) ---

$$1 TESTWEB (wsadm) [2024-01-22T13:22:52]: wi

License: DEMO Enterprise edition
Version=WebtoB 5.0 SP 0 Fix #4 Linux-K2.6_x64 FD16384 B279 epoll 2023/05/28

         expiration date = 2024/1/13
         maxuser = UNLIMITED,
         node_count = 1,
         svgrpcount = 1,
         svr_count = 1, svc_alloc_count = 512,
         start_time = 1704882952.000000

WebtoB All Node Info: node_count = 1:
--------------------------------------------------------------------------
  no   name     nodeport  racport  shmkey  shmsize0 shmsize1 shmsize2 shmsize3 hth
--------------------------------------------------------------------------
   0   TESTWEB   7777     3333     54000    337740  6053232   868024  7680002   1

라이센스 발급과정은 위와 동일하다.

데모를 받은 후 갱신을 위해선 기존 라이센스를 백업 후 서버를 종료한다.

wsdown

라이센스 디렉토리로 이동 후 메일로 받은 license.bat로 교체한다.

$ cd /software/webtob/license

[root@TESTWEB license]# ll
-rwx------ 1 testweb testweb  2738  8월 29 13:16 WebtoB_License.txt
-rw-r--r-- 1 root     root      80  1월 30 18:57 license.dat
-rwx------ 1 testweb testweb    80  8월 29 13:16 license.dat_trial
-rw-r--r-- 1 testweb testweb    80  1월 22 13:27 license_back.dat
-rw-r--r-- 1 testweb testweb    80  1월 22 13:52 license_bak_20240130.dat
-rwx------ 1 testweb testweb 12301  8월 29 13:16 ncpu

다시 웹서버를 실행할 때 wsboot로 아래 에러가 나온다면 설정파일을 다시 컴파일 한다.

[testweb@TESTWEB:/software/webtob/license]$ wsboot
[BOOT-00017] License appears to have changed. Check the license and re-run wscfl.

WebtoB 설정파일 컴파일 -> wscfl -i http.m

[testweb@TESTWEB:/software/webtob/license]$ wscfl -i http.m
[CFL-00560] Configuration uses SSL/TLS.
[CFL-00368] Configuration uses privileged listen ports (those below 1024). These ports generally require root privilege. The user may run WebtoB as a superuser, or change the owner of htl to root and enable the setuid (sticky) bit on htl.

Current configuration:
        Number of client handler(HTH) = 1
        Supported maximum user per node = 16299
        Supported maximum user per handler = 16299

Successfully created the configuration file (/software/webtob/config/wsconfig) for node TESTWEB.
The host name of the running machine is TESTWEB.

다시 실행하면 갱신이 된다.

wsboot
profile
작은것부터

0개의 댓글