LNA Web Application Server

Guides -LENA 운영자 가이드

Server 복제

Application Server와 Web Server는 기 설치된 서버를 이용하여 새로운 서버를 생성하는 복제 기능을 수행할 수 있다.

  1. install.sh 스크립트 실행
  • Web Server : ${LENA_HOME}/bin/install.sh clone lena-web
  • Application Server(Standard Edition): ${LENA_HOME}/bin/install.sh clone lena-se
  • Application Server(Enterprise Edition) : ${LENA_HOME}/bin/install.sh clone lena-ee
[lena@RNDTOMCAT1V bin]$ ./install.sh clone lena-se
*************************
* LENA Server Install ! *
*************************
+-------------------------------------------------------------------------------------
| 1. SERVER_ID means business code of system and its number of letter is from 3 to 5.
| ex : tom1, tc01, svr01
| 2. CLONE_SERVER_ID is clone target server's id
| ex : tom2, tc02, svr02
| 3. CLONE_SERVICE_PORT is the target server's port number used by HTTP Connector.
| ex : 8090
+-------------------------------------------------------------------------------------
  1. 설치 항목
Input SERVER_ID for installation. (q:quit)
lenawas1
Input CLONE_SERVER_ID for installation. (q:quit)
lenawas2
Input CLONE_SERVICE_PORT for installation. (q:quit)
8180

========================= Execution Result ========================
LENA_HOME : /engn001/lena/1.2
JAVA_HOME : /engn001/java/jdk1.7.0_80/jre
SERVER_ID : lenawas1
SERVICE_PORT : 8080
CLONE_SERVER_ID : lenawas2
CLONE_SERVICE_PORT : 8180
INSTALL_PATH : /engn001/lena/1.2/servers/lenawas2
RESULT : Success
MESSAGE : clone succeeded
===================================================================

clone is completed.!!
[bin]$
항목설명비고
SERVER_ID복제해 올 Server의 ID
CLONE_SERVER_ID복제할 Server의 ID
CLONE_SERVICE_PORT복제할 Service Port