如果您已隨 CM Server 安裝 Rational® ClearCase® 或 Rational ClearQuest®(並已安裝 WebSphere Application Server 6.1 版且 CM Server 在執行中),或者也安裝了 WebSphere Application Server 且要 CM Server 在不同版本的 WebSphere Application Server 而非提供的 WebSphere Application Server 6.1 版內執行,則適用下列指示。
如需 WebSphere Application Server 的相關資訊,請參閱 http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp
#!/bin/sh WAS_BIN=/opt/IBM/WebSphere/AppServer/bin export WAS_BIN; cd /opt/IBM/RationalSDLC/common/CM/scripts $WAS_BIN/wsadmin.sh -f installAll.jacl -rationalDir /opt/ibm/RationalSDLC $WAS_BIN/stopServer.sh server1 $WAS_BIN/startServer.sh server1
停用現有的 WebSphere Application Server
/opt/IBM/RationalSDLC/common/eWAS/bin/stopServer.sh server1 cmprofile cd /etc find . -name '*ewas*' -print
./init.d/ewas_startup ./init.d/ewas_shutdown ./rc0.d/K30ewas_shutdown ./rc3.d/S99ewas_startup移除所有開機及關機檔案。
將 IBM HTTP Server 重新導向至 WebSphere Application Server
依預設,IBM HTTP Server 會將某些 URL 重新導向至 WebSphere Application Server 埠。要使 IBM HTTP Server 重新導向至您的 WebSphere Application Server 安裝架構,請編輯 plugin-cfg.xml (/opt/rational/common/eWAS/profiles/plugin-cfg.xml)。這是從 /opt/rational/common/IHS/conf/httpd.conf 參照的檔案。如果想要外掛程式檔案出現在別處,您可以移動它並更新 httpd.conf。
/opt/IBM/RationalSDLC/common/IHS/bin/ihs_restart您可利用此 URL 來驗證更新項目:http://localhost/TeamWeb/services/Team
set WAS_BIN=C:\Progra~1\IBM\WebSphere\AppServer\bin c: cd "Program Files\IBM\RationalSDLC\common\CM\scripts" call %WAS_BIN%/wsadmin.bat -f installAll.jacl -rationalDir "C:/Program Files/IBM/RationalSDLC" call %WAS_BIN%/stopServer.bat server1 call %WAS_BIN%/startServer.bat server1
server1 可以選擇性地從「Windows® 服務控制台」重新啟動。
停用現有的 WebSphere Application Server
如果要停用 WebSphere Application Server,請使用「Windows 服務控制台」來停止及停用 WebSphere Application Server 設定檔(名稱為 cmserver)。您可停止及停用服務,或刪除該服務。
將 IBM HTTP Server 重新導向至 WebSphere Application Server
依預設,IBM HTTP Server 會將某些 URL 重新導向至 WebSphere Application Server 埠。要使 IBM HTTP Server 重新導向至您的 WebSphere Application Server 安裝架構,請編輯 plugin-cfg.xml (C:\Program Files\IBM\RationalSDLC\ common\eWAS\profiles\plugin-cfg.xml)。這是從 httpd.conf(例如 C:\Program Files\IBM\RationalSDLC\ common\IHS\conf\httpd.conf)參照的檔案。如果想要外掛程式檔案出現在別處,您可以移動它並更新 httpd.conf。
C:\Program Files\IBM\RationalSDLC\common\IHS\bin\ihs_restart您可利用此 URL 來驗證更新項目:http://localhost/TeamWeb/services/Team