SDO 存储库卸载脚本

使用此脚本来卸载先前安装的或者未能正确安装的服务数据对象(SDO)存储库。

安装和配置 SDO 存储库所述,您将在每个计划用于一个或多个支持服务集成总线的 Web Service 角色的服务器或集群中安装 SDO 存储库应用程序。

如果该数据源已存在,或者 SDO 存储库应用程序的安装先前已中断或只完成了一部分,那么 installSdoRepository.jacl 脚本将无法完成,并且不会保存配置更改。在这些情况下,需要运行 uninstallSdoRepository.jacl 脚本。此脚本在发现意外结果时会继续运行,因此可以清除已中断的安装或部分安装。

[IBM i]注: 在 Qshell 中运行此脚本。
app_server_root/bin 目录中提供了此脚本,其中 app_server_rootWebSphere® Application Server 的安装根目录。如果您选择从另一个目录中运行 wsadmin 脚本编制客户机,那么请在命令选项中指定脚本的完整路径。例如,要使用缺省概要文件以外的概要文件,请切换至 app_server_root/profiles/profile_name/bin 目录,然后指定以下脚本路径:[AIX Solaris HP-UX Linux Windows][z/OS]
wsadmin.ext -f app_server_root/bin/uninstallSdoRepository.jacl
[IBM i]
wsadmin -f app_server_root/bin/uninstallSdoRepository.jacl
[AIX Solaris HP-UX Linux Windows][z/OS]其中 .ext 是 Windows 系统的文件扩展名 .bat,对于 UNIX、Linux 或 z/OS® 系统,则为 .sh

SDO 存储库脚本安装和卸载对

以下是安装和卸载命令对,其中每个卸载命令会取消相关安装命令的操作。如果尝试卸载时使用的参数集不同于先前与 installSdoRepository.jacl 脚本一起使用的参数集,您就会发现卸载操作无法移除任何内容,或者在尝试移除不存在的设置时显示警告消息。

[IBM i][AIX Solaris HP-UX Linux Windows]对于独立服务器上的 SDO 存储库配置而言,-createDb 标志指示安装命令创建缺省 (Apache Derby) 数据库并对其进行配置,以便与此应用程序服务器配合使用。-removeDb 标志指示卸载命令从应用程序服务器中移除数据库配置,但不删除 Apache Derby 数据库:
wsadmin -f installSdoRepository.jacl -createDb
wsadmin -f uninstallSdoRepository.jacl -removeDb
注:
  • 如果运行安装程序时出于某些其他用途配置了 Apache Derby 数据库而未指定 -createDb,那么不应对卸载程序使用 -removeDb 标志。
  • 为了避免删除您想保留的数据,-removeDb 标志不会删除 Apache Derby 数据库。如果您确定要删除该数据库,那么可以手工删除它。Apache Derby 数据库是文件系统上的目录。指定了 -createDb 标志的安装程序所创建的数据库在 profile_root/databases/SdoRepDb 目录中,其中 profile_root特定于概要文件的信息的存储目录。如果未删除该数据库,并且您尝试使用 -createDb 标志再次进行安装,那么安装过程会失败并指出 SdoRepDb 目录已存在。
独立服务器上安装 SDO 存储库应用程序或者从中移除该应用程序:
wsadmin -f installSdoRepository.jacl
wsadmin -f uninstallSdoRepository.jacl
WebSphere Application Server Network Deployment 环境中,要为未包含在集群中的 Deployment Manager 或服务器安装或移除 SDO 存储库应用程序:
wsadmin -f installSdoRepository.jacl node_name server_name
wsadmin -f uninstallSdoRepository.jacl node_name server_name
WebSphere Application Server Network Deployment 环境中,要为集群安装或移除 SDO 存储库应用程序:
wsadmin -f installSdoRepository.jacl -cluster cluster_name
wsadmin -f uninstallSdoRepository.jacl -cluster cluster_name

指示主题类型的图标 参考主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rjw_uninstall_sdo
文件名:rjw_uninstall_sdo.html