레이블이 clm인 게시물을 표시합니다. 모든 게시물 표시
레이블이 clm인 게시물을 표시합니다. 모든 게시물 표시

2011년 12월 28일 수요일

CLM 설치 - 4.0 M6로의 업그레이드

CLM 4.0 M6 Upgrade 위키

1) CLM 4.0M6에서는 톰캣 7을 설치합니다. 따라서 톰캣 5.5의 설정 파일을 그대로 복사하기 보다는 가이드에 따라서 복사하시기 바랍니다.

2) 하나의 애플리케이션 서버에 다수의 째즈 애플이 있는 경우는 한꺼번에 업그레이드를 하시기 바랍니다.
   째즈 애플이 별도의 애플리케이션 서버에 각각 있는 경우에는 독립적으로 업그레이드 할 수 있습니다. 가이드를 참고하세요.
   (그래도 항상 JTS 애플을 먼저 업그레이드 하세요.)

3) 기존의 CLM용 데이터베이스를 업그레이드 할 경우에는 addTables나 createWarehouse 커맨드를 사용하여 최신 형식으로 데이터베이스를 바꾸시기 바랍니다.

4) If your environment does not support a converter, for example AIX or Solaris, you must install the 3.0.1.1 version of the converter.war on the dedicated converter. For detailed information see: https://jazz.net/wiki/bin/view/Main/DelegatedConverterApplication.

2011년 12월 1일 목요일

CLM 설치 - 서버 구성 토폴로지

http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/index.jsp?topic=/com.ibm.jazz.install.doc/topics/c_topology_overview.html

단일 서버 CLM 평가 토폴로지 예제
이 토폴로지 예제는 Tomcat 및 Derby를 포함하는 단일 서버 CLM(Collaborative Lifecycle Management)용 Rational® 솔루션 평가 토폴로지용입니다.




WAS 서버, DB2 서버 토폴로지





완전히 분산된 CLM 엔터프라이즈 토폴로지 예제
이 예제는 IBM WebSphere® Application Server 및 엔터프라이즈 데이터베이스 관리 시스템(예: IBM DB2®, z/OS®용 DB2 및 i용 DB2)을 포함하는 CLM(Collaborative Lifecycle Management)용 Rational® 솔루션 엔터프라이즈 토폴로지의 완전히 분배된 배치용입니다.


DB2와 같은 엔터프라이즈 데이터베이스 관리 시스템 및 Websphere Application Server를 포함하는 엔터프라이즈 토폴로지 예제


2011년 11월 28일 월요일

CLM HA 지원 계획

https://jazz.net/library/article/722


Background

As deployments of Rational's Jazz products become larger and support a larger community of users, and the delivery of software and systems becomes more and more critical to enterprise success, demands for availability of the CLM systems increase dramatically. For this reason, IBM Rational takes the High Availability and Disaster Recovery capabilities of the CLM products very seriously. In this article, we will discuss the concepts of High Availability and Disaster Recovery, identify the currently available options for achieving these qualities of services, and also discuss some of the future capabilities we are pursuing.
We are openly discussing our desires and intentions in order to help you plan for the future and to get your feedback. That said, things do change, and we cannot guarantee that these future features will be delivered exactly as described.

High availability

High Availability is defined in Wikipedia as “a system design approach and associated service implementation that ensures a prearranged level of operational performance will be met during a contractual measurement period.” It is usually implied that the desired level of availability is very high, with low to zero planned unavailability.
Increased availability is achieved by having redundant providers of a service or capability. Ideally, the failover from one provider to another is transparent to the user or client of a service, but in some cases a failure of a primary provider will require a manual switch. Rational Team Concert pioneered High Availability for Jazz products in its 2.0 release with an “idle standby” solution, described here. This year we have broadened support to all of the current CLM products. The details are described in this article in the InfoCenter.
How does this solution work for CLM, and what are the limitations? We won't go into all of the details here, but the basic solution looks like this:
Basic solution

CLM 설치 - IHS/Plugin/WAS를 이용한 Reverse Proxy

This part of the guide will explain how to setup and configure an example CLM environment using WebSphere Application Server (WAS), IBM HTTP Server (IHS) and the WAS web server plugins for IHS, such that users will be able to access the various CLM applications simply by changing the context root of a central URL which is processed by IHS. IHS will take care of sending the requests to the appropriate JTS/CCM/QM/RM application servers living behind the proxy.



Configuring the WebSphere and HTTP Server plugin method

There are two methods used to deploy the WAS Web Server plugins depending on whether IHS and the WAS profiles are local or remote. To demonstrate both methods, we will assume that the JTS, RM and CCM application server profiles are co-located with the IHS server (local), with the QM application on it's own server (remote).

CLM 설치 - Reverse Proxy 구성 이유


One crucial piece to a successful deployment of the reverse proxy configuration is understanding what you are going to accomplish and what problems this will not solve for you. First and formost the benefit of using a reverse proxy is the ability to mask the complexity of the underlying deployment from your end users.
Fully distributed
          CLM enterprise topology example
Figure 1: Fully distributed CLM enterprise topology example1


In order to fully distribute your deployment we have added some complexity in that a user of the CLM solution needs to connect to 4+ different servers, as well as manage the different ports and context roots involved. The benefit here is the simplicity of the deployment, we allow for a fully distributed topology the deployment details are transparent to the user and there is a minimum amount of complexity in how to connect the applications together. The big downside is that the implementation details have become part of the deployment, this may include ports and machine names that are not standard and with the underlying requirement to never change the Public URL2 this can make infrastructure level changes difficult tasks.


One alternative approach is to use a Reverse Proxy server to "listen" on your Public URL and allow for the underlying deployment to vary. This is a common technique for hosting applications for security and load balancing reasons and a standard feature of the IBM WebSphere and HTTP Server plugin architecture that we will look at a bit further on in the article.
Using a reverse proxy
          in your topology
Figure 2: Using a reverse proxy in your topology3

Now this approach gives the deployment more flexibility at the added complexity of managing an additional system to host the reverse proxy itself. The added complexity is has been the main stubmling point for many clients who have avoided this type of deployment, this article is intended to provide some additional to help overcome the intial hurdles to a successful reverse proxy deployment.

CLM 설치 - CCM 애플리케이션 등록해제 및 재등록

1. JTS 어드민 UI에서 '서버' 관리 페이지로 이동합니다. 그리고, '등록된 애플리케이션' 페이지로 이동합니다. 그리고 왼쪽 메뉴를 줄여서 '조치' 칼럼이 나타나도록 합니다. 'CCM 애플리케이션'을 '조치'에서 '애플리케이션 제거'를 실행합니다. (이제 CCM에 저장된 데이터는 더 이상 사용할 수 없습니다.)

2. 좀전에 줄였던 왼쪽 메뉴를 원복합니다. 그리고 '이용자(인바운드)' 페이지로 이동합니다. 권한 부여 키에서 'CCM' 권한 부여 이용자 키를 제거합니다. 


3. 이제는 CCM 어드민 UI로 이동합니다. '동반자(아웃바운드)' 페이지로 이동합니다. JTS와 관련된 항목을 제거합니다. 

4. CCM 어드민 UI에서 '이용자(인바운드)' 페이지로 이동합니다. JTS와 관련된 키를 제거합니다.

5. 어드민 UI에서 로그아웃을 하고 CCM 애플리케이션 서버를 셧다운합니다.
6. CCM 애플리케이션의 teamserver.properties 파일을 수정합니다.(예. server/conf/ccm/teamserver.properties)
만약 "com.ibm.team.repository.server.jts.url" 라인을 있으면 삭제합니다.

7. "pending-jts-friend.rdf" 파일이 있으면 삭제합니다.
Tomcat의 경우, server/tomcat/work/Catalina/localhost 폴더를 검색합니다.
WAS의 경우, WebSphere/AppServer/profiles/ 폴더를 검색합니다.

8. CCM 애플리케이션 서버를 다시 시작합니다.

9. CCM 애플리케이션을 JTS에 등록합니다.
JTS와 CCM이 같은 서버에 있다면, JTS 셋업 마법사를 재실행하여 탐지할 수 있습니다.
JTS와 CCM이 다른 서버에 있다면, JTS의 어드민 UI의 '등록된 애플리케이션'에 CCM 애플리케이션을 등록하고 CCM 셋업 마법사를 수행한 뒤에 CCM 응용프로그램 설정 종료를 완료합니다.

2011년 11월 27일 일요일

JTS 서버 백업 및 복원

repotools 명령행 도구를 사용하여 Jazz™ Team Server를 백업 및 복원할 수 있습니다.

2011년 11월 26일 토요일

CLM 설치 - 백업 서버 설정 방법


1. [JTS 셋업 전] 기본 및 백업 서버에 CLM 애플리케이션 배치

1.1 기본 및 백업 서버에 CLM 애플리케이션을 배치

디폴트로 배치를 한 경우에는 Windows의 기본 위치는 C:\Program Files\IBM\JazzTeamServer입니다. AIX 또는 Linux 시스템의 경우 기본 위치는 /opt/IBM/JazzTeamServer입니다.

윈도우 <JazzInstallDir> = C:\Program Files\IBM\JazzTeamServer
AIX 또는 Linux <JazzInstallDir> = /opt/IBM/JazzTeamServer


1.2 기본 서버에서 전체 텍스트 색인의 동일한 위치를 참조하도록 teamserver.properties 파일를 수정

<JazzInstallDir>/server/conf/jts/teamserver.properties 파일 변경
<JazzInstallDir>/server/conf/ccm/teamserver.properties 파일 변경
<JazzInstallDir>/server/conf/qm/teamserver.properties 파일 변경

CLM 설치 - HTTPS 대신 HTTP 설정하기 (WAS)

출처 ; https://jazz.net/library/article/207,http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/topic/com.ibm.jazz.install.doc/topics/t_disable_server_certificates.html

보안인증서 사용 안함
시스템이 설정되고 보안 공용 URI를 사용하는 경우, 서버가 이미 보안 공용 URI를 캐시했으므로 애플리케이션에 대한 보안을 사용 불가능하게 할 수 없습니다. 즉, 설치 마법사를 실행하여 서버를 구성하기 전에 이 지시사항을 실행해야 합니다.



  1. IBM WebSphere® Application Server에 설치된 jts.war 파일에서 web.xml 파일을 수정하십시오. 파일을 검색하려면 우선 .war 파일의 압축을 임시 영역에 푸십시오.
  2. 모든 CONFIDENTIAL을 NONE으로 변경하고 파일을 저장하십시오.
  3. WebSphere Application Server가 실행 중인지 확인하고 https://localhost:9043/ibm/console/logon.jsp로 이동하십시오.
  4. 애플리케이션 > 엔터프라이즈 애플리케이션을 클릭하십시오.
  5. jts_war을 선택하고 업데이트를 클릭하십시오.
  6. 단일 파일 바꾸기 또는 추가를 선택하십시오.
  7. 설치된 애플리케이션 아카이브 파일로 시작하는 경로를 바꾸거나 추가할 파일에 지정 필드에jts.war/WEB-INF/web.xml을 입력하십시오.
  8. 찾아보기를 클릭하고 이전 단계에서 수정한 동일한 web.xml 파일을 선택하십시오.
  9. 다음을 클릭하고 애플리케이션이 저장될 때까지 따르십시오.
  10. Enterprise Applications 패널로 되돌아가서 jts_war 애플리케이션을 중시시킨 후 시작하십시오.
  11. 설치된 다른 애플리케이션(ccm.war, qm.war, rm.war, converter.war, admin.war 및 clmhelp.war)에 대해 이전 단계를 반복하십시오.
  12. 브라우저를 열고 http://hostname.example.com:9080/jts/setup으로 이동하여 설정 마법사를 계속하십시오. 또한 경로가 https://hostname.example.com:9443/jts/setup으로 재지정되지 않았는지도 확인하십시오.

WAS 싱글 사이온 설정시

WebSphere Application Server Integration Solutions Console에서 다음 단계를 완료하십시오.
  1. 왼쪽 사이드바의 보안 메뉴에서 글로벌 보안 섹션을 여십시오.
  2. 인증 섹션에서 LTPA 옵션을 선택하십시오.
  3. 웹 및 SIP 보안을 펼치고 싱글 사인온을 클릭하십시오.
  4. 도메인 이름을 입력하십시오. 이는 참여하는 서버를 포함하는 도메인이며, 모든 서버가 동일한 도메인에 있어야 합니다. (예를 들어, 네 개의 서버(system1.sample.domain, system2.sample.domain, system3.sample.domain 및 system4.sample.domain)에 대한 도메인 이름은 sample.domain입니다.)
  5. "SSL 필요"를 선택을 취소합니다. (HTTP 프로토콜을 사용할 때는 선택을 취소함)
  6. 확인을 클릭한 후 저장을 클릭하십시오.


출처 ; http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/topic/com.ibm.jazz.install.doc/topics/t_ports_change.html

WAS의 기본 포트번호 변경 (옵션)
애플리케이션의 공용 URI를 설정한 후에는 공용 URI를 변경할 수 없습니다. URL 안정성을 유지보수하는 동안에도 포트 번호를 변경해야 하는 경우 적절한 새 위치로 이전 포트 번호를 사용하여 요청 경로를 지정하도록 리버스 프록시 사용을 고려하십시오. 즉, 설치 마법사를 실행하여 서버를 구성하기 전에 이 지시사항을 실행해야 합니다.


  1. 애플리케이션 서버를 시작하십시오.
  2. 애플리케이션 서버 관리자로 Integrated Solutions Console에 로그인하십시오.
  3. 서버 > 서버 유형 > WebSphere Application Servers > server_name > 포트를 클릭하십시오.
  4. 비보안 HTTP 연결에 사용할 새 포트 번호로 WC_defaulthost 값을 수정하십시오. 애플리케이션 서버에서 사용할 다른 포트 번호와 이 값이 동일하지 않은지 확인하십시오.
  5. 보안 HTTPS 연결에 사용할 새 포트 번호로 WC_defaulthost_secure 값을 수정하십시오. 애플리케이션 서버에서 사용할 다른 포트 번호와 이 값이 동일하지 않은지 확인하십시오.
  6. 적용을 클릭한 후 마스터 구성에 직접 저장을 클릭하십시오.
  7. 애플리케이션 서버를 중지한 후 다시 시작하십시오.

CLM 설치 - AIX에 커맨드로 설치하기


1. FTP로 CLM 웹 설치 및 로컬 repo 이미지를 AIX로 업로드

2. CLM 웹 설치 이미지 및 로컬 repo 압축풀기

  • mkdir install
  • cd install
  • jar -xvf  RTC-Web-Installer-AIX-3.0.1.1.zip
  • cd <ExtractedDir>/im
  • mkdir repo
  • cd repo
  • jar -xvf JTS-CCM-QM-RM-repo-3.0.1.1.zip

3. <ExtractedDir>/im/aix.motif.ppc로 이동


두 개의 샘플 응답 파일(silent-install-server.xml 및 silent-install-server2.xml)은 Jazz™ Team Server 및 Jazz 기반 애플리케이션 설치용입니다.

4(옵션1). silent-install-server.xml 응답 파일을 이용한 설치


silent-install-server.xml 응답 파일은 압축하여 파일 시스템의 다른 곳 또는 동일한 운영 체제 및 아키텍처의 다른 시스템에 재배치할 수 있는 Rational 솔루션의 설치를 생성합니다.
    
   4.1 /tmp/silent-install/JazzTeamServer 디렉토리에 서버 설치하는 명령  :
         ./userinstc -acceptLicense -dataLocation /tmp/silent-install/data -silent -showVerboseProgress -nosplash -input silent-install-server.xml



설치 예정인 Repository를 ../repo에 압축을 풀어놨죠. (jar -xvf JTS-CCM-QM-RM-repo-3.0.1.1.zip)
        <server>

                <!--
                TODO: Download and unzip the IM repositories for the server and
                trial activation keys from the "All Downloads" section of the
                product release page on jazz.net.  Verify that the repository
                locations shown below point to the unzipped IM repositories.
                -->
                <repository location='../repo' temporary='true' />

        </server>

설치 예정인 애플리케이션을 제거하려면, 다음 행을 검색하고 쉼표로 구분된 목록에서 해당 애플리케이션을 제거하십시오.
        <!--
        TODO: Add/remove feature identifiers from the 'features' attribute
        below to control which features will be installed.
            jazz - Installs the Jazz Team Server
            rtc - Installs the Change and Configuration Management app
            rdm - Installs the Requirements Management app
            rqm - Installs the Quality Management app
            com.ibm.team.install.jfs.offering.feature.id.tomcat - Installs the Tomcat application server
        -->
        <offering
            features='jazz,rtc,rdm,rqm,com.ibm.team.install.jfs.offering.feature.id.tomcat'
            id='com.ibm.team.install.calm'
        />
   4.2 (옵션)  /tmp/silent-install 디렉토리에서 ZIP를 생성하는 명령  :
        cd JazzTeamServer 
jar -cvf ../JazzTeamServer.zip *


4(옵션2). silent-install-server2.xml 응답 파일을 이용한 설치


silent-install-server2.xml 응답 파일은 플랫폼용 기본 Installation Manager 설치 위치를 사용하여 Jazz Team Server를 설치합니다.
    4.1 관리자로 공유 영역에 설치하는 명령 :
         ./installc -acceptLicense -showVerboseProgress -input silent-install-server2.xml --launcher.ini silent-install.ini
    4.2 사용자 특정 위치로 설치하는 명령 :
         ./userinstc -acceptLicense -showVerboseProgress -input silent-install-server2.xml --launcher.ini user-silent-install.ini

2011년 11월 18일 금요일

CLM 설치 - 설치 및 구성 절차


 C:\WINDOWS\system32\drivers\etc\hosts 편집 x.x.x.x ldap.clm.upgrade.ws
x.x.x.x db2.clm.upgrade.ws
x.x.x.x ccmwas.clm.upgrade.ws
x.x.x.x qmwas.clm.upgrade.ws
x.x.x.x rmwas.clm.upgrade.ws
x.x.x.x jtswas.clm.upgrade.ws
x.x.x.x www.clm.upgrade.ws

WAS7을 구성함
  1. 서버 > 서버 유형 > WebSphere Application Server > Server1
  2. 서버 인프라에서 Java 및 프로세스 관리 > 프로세스 정의
  3. 추가 특성 > JVM(Java Virtual Machine)
    • 초기 힙 크기 = 100
    • 최대 힙 크기 = 4096 (주: 32비트 컴퓨터의 경우, 최대 힙 크기를 1229MB로 설정하십시오.)
  4. JVM(Java Virtual Machine) > 추가 특성 > 사용자 정의 특성 > 새로 작성
    • JAZZ_HOME = file:///C:/IBM/JazzTeamServer/server/conf
    • java.awt.headless = true
    • org.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin = true
    • log4j.configuration = file:///C:/IBM/JazzTeamServer/server/conf/startup_log4j.properties
  5. 변경사항을 적용하려면 애플리케이션 서버를 다시 시작하십시오.

C:\IBM\WebSphere\AppServer\profiles\AppSrv01\config\
cells\PCNode01Cell\nodes\PCNode01\servers\server1\server.xml

WAS7에 LDAP구성함  
참조 : https://jazz.net/library/article/479/
  1. 보안 > 글로벌 보안 > 웹 및 SIP 보안 > 일반 설정
    • 보호 설정되지 않은 URI에 액세스할 때 사용 가능한 인증 데이터 사용 = on
  2. 보안 > 글로벌 보안
  3. 보안 설정
    • 관리 보안 사용 = on
    • 응용프로그램 보안 사용 가능 = on
    • Java 2 보안 사용 = off
    • 사용자 계정 저장소/사용 가능 범주 정의 = 독립형 LDAP 레지스트리
    • 독립형 LDAP 레지스트리 > 구성... > 일반 특성
      • 1차 관리 사용자 이름 = wasadmin
      • 서버 사용자 ID = 자동으로 생성된 서버 ID
      • LDAP 서버 유형 = 사용자 정의
      • 호스트 = ldap.clm.upgrade.ws
      • 포트 = 10389
      • 기본 식별 이름(DN) : dc=upgrade,dc=ws
      • 검색 제한시간 = 120 (초)
      • 연결 테스트
    • 추가 특성 섹션 > 고급 LDAP(Lightweight Directory Access Protocol) 사용자 레지스트리 설정 > 일반 특성
    • 독립형 LDAP 레지스트리 > 현재로 설정
  4. 변경사항을 적용하려면 애플리케이션 서버를 다시 시작하십시오.

CLM을 WAS에 배치
  1. 응용프로그램> 새 응용프로그램> 새 엔터프라이즈 응용프로그램
  2. 새 응용프로그램 경로 > 원격 파일 시스템
  3. 전체 경로 = jts.war 웹 애플리케이션 파일의 경로
  4. 웹 모듈에 대한 가상 호스트 맵핑 = default_host
  5. 사용자 또는 저장소 그룹에 보안 역할 맵핑 > 모든 Jazz 저장소 그룹에 맞은 LDAP 그룹을 맵핑
    • JazzAdmins
    • cn=MyJazzAdmins,ou=Groups,dc=upgrade,dc=ws
    • JazzDWAdmins
    • cn=MyJazzDWAdmins,ou=Groups,dc=upgrade,dc=ws
    • JazzUsers
    • cn=MyJazzUsers,ou=Groups,dc=upgrade,dc=ws
    • JazzGuests
    • cn=MyJazzGuests,ou=Groups,dc=upgrade,dc=ws
    • JazzProjectAdmins
    • cn=MyJazzProjectAdmins,ou=Groups,dc=upgrade,dc=ws
  6. CCM과 QM은 LDAP 그룹 보안 매핑이 필요합니다.
C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\PCNode01\server1\jts_war


CLM을 Setup함 
https://www.clm.upgrade.ws/jts/setup
  • 공용 URI 루트 : https://www.clm.upgrade.ws/jts
  • JTS JDBC 위치 : 
    • //db2.clm.upgrade.ws:50000/JTS:user=db2admin;password={password};
  • 애플리케이션 등록 : 
    • RM: https://www.clm.upgrade.ws/rm/scr 
    • QM: https://www.clm.upgrade.ws/qm/scr
    • CCM: https://www.clm.upgrade.ws/ccm/scr
    • Admin: https://www.clm.upgrade.ws/admin/scr
  • Jazz Team Server의 ADS LDAP 구성
    • LDAP 레지스트리 위치 : ldap://ldap.clm.upgrade.ws:10389
    • 기본 사용자 DN : ou=Users,dc=upgrade,dc=ws
    • 사용자 특성 이름 맵핑 : userId=uid,name=cn,emailAddress=mail
    • 기본 그룹 DN : ou=Groups,dc=upgrade,dc=ws
    • Jazz 대 LDAP 그룹 맵핑 : JazzAdmins=MyJazzAdmins, JazzUsers=MyJazzUsers, JazzDWAdmins=MyJazzDWAdmins, JazzProjectAdmins=MyJazzProjectAdmins, JazzGuests=MyJazzGuests
    • 그룹 이름 특성 : cn
    • 그룹 멤버 특성 : uniquemember
    • 연결테스트
  • CCM JDBC 위치 :
    • //db2.clm.upgrade.ws:50000/CCM:user=db2admin;password={password};