WebSphere Application Server v8.0 부터는 Installation Manager(IM)를 통해서만 설치가 가능합니다. GUI 환경을 사용할 수 없는 서버에서
imcl명령어를 사용하여 IM, WAS ND, JDK, Fix Pack을 순차적으로 설치하는 절차를 정리합니다.
1. 사전 준비 (Prerequisites)
설치를 진행하기 위해 각 제품의 설치 파일(Repository)이 서버에 준비되어 있어야 합니다.
- Installation Manager: 설치 에이전트
- WAS ND v8.5: 애플리케이션 서버 본체
- IBM SDK Java 7: JDK 1.7 (WAS 8.5 기본은 JDK 1.6)
- Fix Pack: 최신 패치 파일
2. Installation Manager 설치
WAS를 설치하기 위한 엔진인 Installation Manager를 먼저 설치합니다.
설치 명령어
- 설치 경로:
C:\IBM\InstallationManager\eclipse - Repository 경로:
D:\WASV8.5\agent.installer...\repository.config
:: Installation Manager 설치
C:\IBM\InstallationManager_Setup\imcl.exe install com.ibm.cic.agent ^
-repositories "D:\WASV8.5\agent.installer.win32.win32.x86_1.6.0.20120831_1216\repository.config" ^
-installationDirectory "C:\IBM\InstallationManager\eclipse" ^
-acceptLicense ^
-showProgress -sP
3. WebSphere Application Server (WAS) 설치
Step 1: Package ID 확인
설치할 제품의 정확한 ID를 파악해야 합니다. listAvailablePackages 명령어를 사용합니다.
:: 패키지 ID 조회
cd C:\IBM\InstallationManager\eclipse\tools
imcl.exe listAvailablePackages -repositories "D:\WASV8.5\was\was_img" -features -long
:: 출력 예시: com.ibm.websphere.ND.v85_8.5.0.20120501_1108
Step 2: WAS ND 설치 실행
- 설치 경로:
C:\IBM\WAS_85 - 공유 리소스 경로:
C:\IBM\IMShared
:: WAS ND 설치
imcl.exe install com.ibm.websphere.ND.v85_8.5.0.20120501_1108 ^
-repositories "D:\WASV8.5\was\was_img" ^
-installationDirectory "C:\IBM\WAS_85" ^
-sharedResourcesDirectory "C:\IBM\IMShared" ^
-acceptLicense ^
-properties cic.selector.nl=ko ^
-showProgress -sP
4. JDK 7 설치 (Optional)
WAS 8.5는 기본적으로 JDK 6을 사용하므로, JDK 7이 필요한 경우 별도 설치가 필요합니다.
Step 1: Package ID 확인
:: JDK 패키지 ID 조회
imcl.exe listAvailablePackages -repositories "D:\WASV8.5\jdk7\jdk7" -features -long
:: 출력 예시: com.ibm.websphere.IBMJAVA.v70_7.0.1000.20120424_1539
Step 2: JDK 7 설치 실행
이미 설치된 WAS 경로(C:\IBM\WAS_85)에 추가 설치하는 방식입니다.
:: JDK 7 추가 설치
imcl.exe install com.ibm.websphere.IBMJAVA.v70_7.0.1000.20120424_1539 ^
-repositories "D:\WASV8.5\jdk7\jdk7" ^
-installationDirectory "C:\IBM\WAS_85" ^
-acceptLicense ^
-showProgress -sP
5. Fix Pack 업데이트
설치된 WAS 버전을 최신 Fix Pack으로 업데이트합니다.
Step 1: Package ID 확인
:: Fix Pack ID 조회
imcl.exe listAvailablePackages -repositories "D:\WASV8.5\fix\was" -features -long
:: 출력 예시: com.ibm.websphere.ND.v85_8.5.2.20130327_1831
Step 2: 업데이트 실행
:: Fix Pack 적용
imcl.exe install com.ibm.websphere.ND.v85_8.5.2.20130327_1831 ^
-repositories "D:\WASV8.5\fix\was" ^
-installationDirectory "C:\IBM\WAS_85" ^
-acceptLicense ^
-showProgress -sP
6. 설치 검증 (Verification)
모든 설치가 완료되면 versionInfo 명령어로 설치된 제품과 버전을 확인합니다.
cd C:\IBM\WAS_85\bin
versionInfo.bat
Next Step:
설치가 정상적으로 완료되었다면 manageprofiles 명령어를 사용하여 프로파일(Dmgr, AppSrv)을 생성하고 startNode 등으로 프로세스를 기동하십시오.