使用迁移工具可以从 WebSphere® Application Server
V7.0 或更高版本 迁移到新的 V9.0 独立应用程序服务器概要文件。
过程
- 创建 WebSphere Application Server V9.0 概要文件以接收源配置。
- 启动 Qshell 环境,以便能够运行 WebSphere Application Server 脚本。
- 运行 dspwasinst 脚本,以获取要迁移的 V7.0 或更高版本 实例或概要文件的节点名和服务器名称。
使用以下参数:
app_server_root/bin/dspwasinst
-instance 70_profile_name
其中:
- app_server_root 是包含要迁移的实例或概要文件的源安装的位置
- 70_profile_name 是要迁移的源实例或概要文件的名称
节点的名称列示在
节点部分,服务器的名称列示在
服务器信息部分。
- 运行 manageprofiles 脚本。
使用以下参数:
app_server_root/bin/manageprofiles
-create
-profileName 90_profile_name
-startingPort starting_port_number
-templatePath app_server_root/profileTemplates/default
-serverName 70_application_server_name
-nodeName 70_node_name
其中:
有关 manageprofiles 命令的语法和参数的详细信息,请参阅 manageprofiles 命令。
- 保存源 WebSphere Application Server 安装中的配置。
- 启动 Qshell 环境,以便能够运行 WebSphere Application Server 脚本。
- 运行 WASPreUpgrade 命令。
使用以下参数:
app_server_root/bin/WASPreUpgrade
backup_directory_name
profile_root
其中:
有关 WASPreUpgrade 命令及其参数的完整说明,请参阅WASPreUpgrade 命令。
- 将 WebSphere Application Server 源配置复原到目标 V9.0 概要文件。
- 启动 Qshell 环境,以便能够运行 WebSphere Application Server 脚本。
- 运行 WASPostUpgrade 命令。
使用以下参数:
app_server_root/bin/WASPostUpgrade
backup_directory_name
-profileName 90_profile_name
[-setPorts useOld | generateNew | port_starting_number]
其中:
有关 WASPostUpgrade 命令及其参数的完整说明,请参阅WASPostUpgrade 命令。
- 请验证是否已正确迁移配置和应用程序。
如果正确迁移了配置,但是未安装任何应用程序,那么可以运行 WASMigrationAppInstaller 命令来仅安装未迁移的应用程序。有关更多信息,请参阅WASMigrationAppInstaller 命令。
- 启动已接收到已迁移的配置的 WebSphere Application Server
V9.0 概要文件。
- 如果 QWAS9 子系统尚未启动,请将其启动。
在命令行上输入以下命令:
STRSBS QWAS9/QWAS9
- 启动 Qshell 环境,以便能够运行 WebSphere Application Server 脚本。
- 运行 startServer 脚本。
使用以下参数:
app_server_root/bin/startServer
-profileName 90_profile_name
70_server_name
其中:
- app_server_root 是
V9.0 的安装位置
- 90_profile_name 是先前步骤中创建的 V9.0 概要文件的名称
- 70_server_name 是已迁移的 V7.0 或更高版本 应用程序服务器的名称