Rational® ライセンス サーバー ソフトウェアをサーバーから削除する手順について説明します。
オンライン ライセンス管理ツールの IBM Rational License Key Center を使用して、IBM Rational アカウントのライセンス キーを返却します。ライセンスの移動または返却については、UNIX システム サーバーでのライセンス キーの移動または削除 を参照してください。
cd /opt/rational/config ./start_lmgrd_on_server stop
rational_dir/base/cots/flexlm.version/platform/lmdown -c [port@host |licnse-file]
rational-dir が /opt/rational、version が 7.0f、および platform が sun4_solaris2 の lmdown コマンドの例を以下に示します。
# lmdown specifying port@host:
/opt/rational/base/cots/flexlm.7.0f/sun4_solaris2/lmdown -c 27000@pluto
# lmdown specifying the license file:
/opt/rational/base/cots/flexlm.7.0f/sun4_solaris2/lmdown -c /opt/rational/config/rational.dat
% ps -e | grep lmgrd #
応答: 331 ? 0:15 lmgrd
% kill 311 (311 は lmgrd のプロセス ID です)。
% ps -e | grep lmgrd #
応答: 331 ? 0:15 lmgrd
lmgrd プロセスがまだ実行中とします。
% kill -9 311
kill -9 pid コマンドにより作成されたロック ファイルおよび制御ファイルを削除するには:
rm -fr /usr/tmp/lock* /usr/tmp/.flexlm
cd rational-dir/base/cots/flexlm.version/platform
rm -fr rational_dir/base/cots/flexlm.version/platform
rm -fr rational_dir/base/cots/flexlm.version
rational-dir が /opt/rational、version が 7.0f、platform が sun4_solaris2 の例を以下に示します。
1 つのプラットフォーム: rm -fr /opt/rational/base/cots/flexlm.7.0f/sun4_solaris2
すべてのプラットフォーム: rm -fr /opt/rational/base/cots/flexlm.7.0f
すべてのバージョンおよびプラットフォーム: rm -fr /opt/rational/base/cots/flexlm.*