如果已随 CM Server 一起安装了 Rational® ClearCase® 或 Rational ClearQuest®(WebSphere Application Server V6.1 已安装且正在运行 CM Server),或者如果已安装了 WebSphere Application Server 且希望 CM Server 在不同于所提供的 WebSphere Application Server V6.1 的 WebSphere Application Server 版本中运行,那么以下指示信息适用于此种情况。
有关 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/rational $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
(可选)可以从 Windows® 服务控制面板重新启动 server1。
禁用现有 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