---------------------------------------------------------- ---- JBoss Server Migration Tool ----------------------- ----------------------------------------------------------Retrieving servers... INFO SOURCE server name: EAP, version: 6.4.0.GA. INFO TARGET server name: JBoss EAP, version: 7.2.5.GA.---------------------------------------------------------- ----------------------------------------------------------Server migration starting... INFO --- Migrating modules requested by environment... INFO Module org.mariadb:main migrated.Migrate the source's standalone server? yes/no?yes INFO --- Migrating standalone server... INFO No source's standalone content found to migrate. INFO Source's standalone configurations found: [standalone.xml]Migrate all configurations? yes/no?yes INFO Migrating standalone configuration standalone.xml... INFO Unsupported extensions removed: [org.jboss.as.threads] INFO Unsupported subsystems removed: [urn:jboss:domain:threads:1.1] INFO Module com.mariadb:main migrated. INFO Subsystem elytron added. INFO Subsystem web migrated. INFO Subsystem undertow updated. INFO Subsystem infinispan updated. INFO Subsystem ee updated. INFO Subsystem ejb3 updated. INFO Subsystem remoting updated. INFO Subsystem batch-jberet added. INFO Subsystem core-management added. INFO Subsystem request-controller added. INFO Subsystem security-manager added. INFO Subsystem singleton added. INFO Subsystem discovery added. INFO Subsystem ee-security added. INFO Subsystem microprofile-config-smallrye added. INFO Subsystem microprofile-health-smallrye added. INFO Subsystem microprofile-opentracing-smallrye added. INFO HTTP Upgrade Management configured. INFO Socket binding's port expressions added. INFO Security realms migrated. INFO Security realm ApplicationRealm SSL server identity configured. INFO Persistent deployments found: [test_page.war]This tool is not able to assert if persistent deployments found are compatible with the target server, skip persistent deployments migration? yes/no?no INFO Persistent deployment test_page.war migrated.Migrate the source's managed domain? yes/no?noServer migration done. INFO ------------------------------------------------------------------------------------------- Task Summary ------------------------------------------------------------------------------------------- server ........................................................................... SUCCESS modules.migrate-modules-requested-by-user ....................................... SUCCESS modules.migrate-modules-requested-by-user.migrate-module(id=org.mariadb:main) .. SUCCESS standalone ...................................................................... SUCCESS standalone-configurations ...................................................... SUCCESS standalone-configuration(source=standalone.xml) ............................... SUCCESS------------------------------------------------------------------------------------------- Migration Result: SUCCESS -------------------------------------------------------------------------------------------
5.jboss-eap 6.4의 실행/종료 스크립트 jboss-eap 7.2로 복사 후 환경에 맞게 수정
weblogic 12c는 GUI환경에서 기본적으로 설치가 가능하며, console에서 설치할 경우 silent를 사용해야 한다.
1)fmw_12.1.3.0.0_wls.jar과 install.asp 파일을 동일한 경로에 업로드 한다.
2)install.asp파일의 ORACLE_HOME에 weblogic 엔진을 설치 할 경로를 추가한다.(ORACLE_HOME=/SW/was/weblogic12c)
3)oraInst.loc 파일 작성 (root 계정으로 수행) vi /etc/oraInst.loc (아래 2줄 추가) ---------------------------------------- inventory_loc=/SW/Inst_log inst_group=weblogic ---------------------------------------- #inventory_loc -> 설치로그 경로 #inst_group -> 설치 계정 그룹명
4)weblogic 엔진 설치 수행 java -jar fmw_12.1.3.0.0_wls.jar -silent -responseFile /SW/app/install.rsp (responseFile 절대경로 입력) (java -jar fmw_12.1.3.0.0_wls.jar -silent -invPtrLoc /etc/oraInst.loc -responseFile /SW/app/install.rsp -logfile ./wlsInstall.log) ※ 사용할 java의 절대경로를 포함하여 입력
5)도메인 구성 [엔진경로]/wlserver/common/bin 에 wls_install.sh 파일 업로드 후 실행
$ sh wls_install.sh
1)Input IpAddress -> IP입력 2)Input ListenPort(Default:7001) -> Port 입력 3)Input SSLPort(Default:7002) -> SSL Port 입력 4)Input StartMode(dev/prod) -> 개발/운영 모드 입력 5)Input Account -> 관리자 ID 입력 6)Input Password -> 관리자 Password 입력 7)Input Domain Home -> 도메인 설치 경로 입력
#!/bin/sh
cd /home/wls/domains/testDomain
DATEPRE=`date +%Y%m%d%H%M%S`
if [[ -a ADminServer.log ]] then
mv AdminServer.log ./logs/AdminServer/$DATEPRE.log
fi
nohup ./startWeblogic.sh > AdminServer.log & 2>&1
1) cd ~ [도메인 경로] 입력 2) logs 디렉토리 생성
2. 기동 스크립트(Windows) <startA.cmd>
@ECHO OFF
cd C:\WAS\Weblogic\user_projects\domains\testDomain
set LOG_DIR=C:\WAS\Weblogic\user_projects\domains\testDomain\logs
set DATEPRE=%date:~0,10%_%TIME:~0,2%%TIME:~3,2%%TIME:~6,2%
cd %LOG_DIR%
if EXIT %LOG_DIR%\AdminServer.log ren AdminServer.log
AdminServer .%DATEPRE%.log
cd C:\WAS\Weblogic\user_projects\domains\testDomain
rem ECHO "웹로직 어드민 서버를 start합니다."
start /B startWebLogic.cmd > %LOG_DIR%\AdminServer.log 2>&1