利用している機能を変更したい場合や他製品で使用されているパッケージを残してInterstageをアンインストールしたい場合などには、uninstall.shを使用することで、選択したパッケージのみをアンインストールすることができます。
以下の手順でアンインストールしてください。
1) スーパユーザへの変更
アンインストールを行う場合、スーパユーザになります。
# su -<RETURN>
2) uninstall.shの実行
アンインストールシェルスクリプト(uninstall.shシェル)を実行し、アンインストールを行います。
# /opt/FJSVisas/uninstall/uninstall.sh <RETURN>
3) パッケージの選択
Interstageを構成するパッケージの一覧が表示されます。アンインストールするパッケージの番号を“,”で区切って入力してください(例: 1,2,3 <RETURN>)。すべてのパッケージをアンインストールする場合はall <RETURN>を入力してください。
+----------------------------------------------------------+ | Interstage Application Server Standard-J Edition V11.0.0 | | | | Copyright 1995-2012 FUJITSU LIMITED | +----------------------------------------------------------+ Packages: 1 FJSVisje6 Interstage Java EE 6 (for application development) 2 FJSVjssrc Interstage JServlet Session Registry Client 3 FJSVisspl Interstage Sample Integration 4 FJSVisgui Interstage Management Console 5 FJSVsvmon Web Service Monitor 6 FJSVjs5 Interstage JServlet (Tomcat 5.5 based servlet service) 7 FJSVj2eer Interstage J2EE RI Resource 8 FJSVj2ee Interstage J2EE Common Resource 9 FJSVjms Interstage JMS 10 FJSVejb Interstage EJB Service 11 FJSVisjmx Interstage JMX Service 12 FJSVapcst Interstage Apcoordinator - Struts 13 FJSVwebc Interstage Apcoordinator - Webcoordinator 14 FJSVbcco Interstage Apcoordinator - Bccoordinator 15 FJSVihs Interstage HTTP Server 16 FJSVes ObjectDirector/EventService 17 FJSVjs2su Interstage JServlet (OperationManagement) 18 FJSVssofs Interstage Single Sign-on Federation Service 19 FJSVfsvl Single Sign-on Federation Service Library Package 20 FJSVssocm Interstage Single Sign-on Common Library 21 FJSVssoaz Interstage Single Sign-on Business server 22 FJSVssoac Interstage Single Sign-on Authentication server 23 FJSVssosv Interstage Single Sign-on Repository server 24 FJSVporb ObjectDirector[Portable-ORB] 25 FJSVots ObjectTransactionService 26 FJSVod ObjectDirector 27 FJSVtd TransactionDirector 28 FJSVjdk7 Fujitsu Java Development Kit 7 * 29 FJSVxmlpc Fujitsu XML Processor * 30 FJSVisscs Interstage Secure Communication Service * 31 FJSVsmee S/MIME & EE Certificate Management Package * 32 FJSVsclr Securecrypto Library RunTime * 33 FJSVena Interstage data store for enterprise content knowledge and document management * 34 FJSVirep Interstage Directory Service * 35 FJSVirepc Interstage Directory Service Software Development Kit * 36 FJSVisjee Interstage Java EE * 37 FJSVjdk6 Fujitsu Java Development Kit 6 * 38 FJSVextp Transaction Processing Monitor * 39 FJSVtdis The operational commands for Interstage * 40 FJSVisas Interstage Application Server Management Function * 41 FJSVisco Interstage Collective Information Collection Function パッケージを選択してください。複数選択する場合、","で区切って指定してください。[?,??,all,q]:
注意
インストール済みのパッケージは番号の左横に“*”が表示されます。
all指定などでインストールされていないパッケージが選択された場合、インストール済みのパッケージのみアンインストールされます。
アンインストール時のパッケージ番号は、インストール時のパッケージ番号と逆となっていますので、注意してください。
FJSVisasおよびFJSViscoは、保守やトラブル調査で必要なパッケージです。他のパッケージを残す場合は、削除しないでください。特にFJSVisasを削除した場合は、uninstall.shおよび「アンインストールと管理(ミドルウェア)」に登録されている製品情報が削除されます。他製品で使用するためにパッケージを残す場合を除いて実施しないでください。
4) アンインストールの実行
アンインストール情報が以下のように表示されます。内容を確認し、表示された情報でアンインストールを開始する場合はy <RETURN>を入力してください。
アンインストール情報: アンインストールパッケージ: FJSVjssrc FJSVxmlpc FJSVisscs FJSVsmee FJSVsclr FJSVena FJSVirep FJSVirepc FJSVisjee FJSVjdk6 FJSVextp FJSVtdis FJSVisas FJSVisco アンインストールを開始しますか? [y,q]:
注意
FJSVjs2suをアンインストールする場合、以下の警告メッセージが出力されることがありますが、無視してください。
警告: /etc/opt/FJSVjs2su/jswatch.conf saved as /etc/opt/FJSVjs2su/jswatch.conf.rpmsave
警告: /etc/opt/FJSVjs2su/jsgw_apapi.conf saved as /etc/opt/FJSVjs2su/jsgw_apapi.conf.rpmsave
警告: /etc/opt/FJSVjs2su/jscontainer.xml saved as /etc/opt/FJSVjs2su/jscontainer.xml.rpmsave
一部の機能を残してアンインストールする場合、依存を持つパッケージも残す必要があります。
また、一部の機能を再インストールするためにアンインストールする場合、依存するパッケージも同時にアンインストールする必要があります。
パッケージの依存関係については、“1.4.3 必要なパッケージ”を参照してください。
3) システムのリブート
アンインストール完了後、システムの再起動を行います。
# cd / <RETURN> # shutdown -r now <RETURN>