使用 z/OS 迁移管理工具迁移 Deployment Manager 时使用的配置变量

迁移 WebSphere® Application Server for z/OS® 前,必须创建实际迁移期间将在 z/OS 上运行的作业控制语言 (JCL) 作业(CNTL 和 DATA 数据集)。可以使用 z/OS 迁移管理工具来创建迁移定义和上载适当的迁移作业。z/OS 迁移管理工具提供了一组配置变量,供在创建 Deployment Manager 迁移定义时使用。

支持的配置 支持的配置:

本文是关于概要文件配置迁移。要将应用程序迁移到最新版本,请使用 WebSphere Application Server Migration Toolkit。有关更多信息,请参阅 WASdev 上的 Migration Toolkit

sptcfg

选择迁移节点类型

迁移节点类型
要迁移的 WebSphere Application Server 节点类型

迁移定义名称

本节标识包含将用于迁移 WebSphere Application Server for z/OS 节点的批处理作业和指示信息的迁移定义名称和目录路径。
迁移定义名称
z/OS 迁移定义的名称

此名称仅在工作站上用于标识所生成的迁移作业和指示信息。选择的名称不会影响 WebSphere Application Server for z/OS 配置。

响应文件路径名(可选)
响应文件(包含要在工具中预装入的缺省值)的完整路径名

每次创建 z/OS 迁移定义时都会写响应文件。它包含用于创建迁移定义的所有变量数据,可用于在定义类似的迁移定义时预装入缺省值。给定迁移定义的响应文件写至该迁移定义的根目录中的 migration_definition_name.responseFile 文件。

通常应从具有要定义的类型的迁移定义中指定响应文件。

注: .DATA 数据集中包括了响应文件的副本,而该数据集包括在上载至 z/OS 目标系统的迁移定义中。此响应文件未在 z/OS 系统上使用,它仅供参考。该数据集的成员名为 ZMMTDMGR。

目标数据集

高级限定词 (HLD)
目标 z/OS 数据集(将包含生成的作业和指示信息)的高级限定词
当将 z/OS 迁移定义上载到目标 z/OS 系统时,会将迁移作业和文件写至分区数据集对。虽然可以复用这些数据集,但最安全的作法是为要迁移的每个 z/OS 系统创建单独的数据集。
  • HLQ.CNTL - 具有固定块为 80 个字节记录的分区数据集,用来包含迁移作业
  • HLQ.DATA - 具有变长数据的分区数据集,用来包含迁移定义中含有的其他数据
注意:可将多级别的高级限定词指定为数据集的高级限定词。

数据集名称和产品目录

JCL 过程库数据集名称
要将 WebSphere Application Server for z/OS 已编目过程复制到的现有过程库
WebSphere Application Server 产品目录
WebSphere Application Server V9.0 已安装产品文件系统的位置
中间符号链接
选择此选项以允许设置中间符号链接,如果您选择了中间符号链接,那么还要指定该链接的路径名。

如果指定中间符号链接,那么会创建从配置文件系统到该中间符号链接的符号链接;否则,会创建直接指向产品文件系统的链接。

选择此选项将允许您指定中间符号链接的路径名。此链接将由定制作业创建,并指向产品文件系统目录。
中间符号链接的路径名
中间符号链接的路径名

配置文件系统

配置文件系统是所迁移节点的配置的物理存储位置。如果要迁移的节点上已具有适当的文件系统,那么可以选择使用现有的 V9.0 文件系统。如果您选择使用现有的 V9.0 文件系统,那么需要先确保此处指定的安装点已存在,然后才运行通过使用此工具创建的迁移实用程序(BBOMDHFS、BBOMDZFS 或 BBOMDCP 等)。如果您选择在要迁移的节点上创建新的 V9.0 文件系统,那么在实际迁移过程中运行可选的 BBOMBHFS 或 BBOMBZFS 作业之后,才会实际创建这个新文件系统。在任何情况下,都必须在此处指定安装点的正确值。

有关设置对配置安装点的正确所有权和许可权的特定信息,请参阅此工具生成的定制指示信息。有关指定这些变量的更多信息,请参阅所生成的指示信息和迁移 z/OS Deployment Manager

安装点
写入应用程序数据和环境文件的读/写文件系统目录安装点

如果此安装点尚未存在,那么迁移过程会在运行可选的 BBOMDHFS 或 BBOMDZFS 作业时进行创建。

名称
在以上安装点将创建并安装的文件系统数据集
对 SMS 指定卷或“*”
指定要包含上述数据集的 DASD 卷序列号,或者指定“*”以让 SMS 选择卷。

使用“*”则要求 SMS 自动类选择 (ACS) 例程在原位以选择卷。如果未设置 SMS 来自动处理数据集分配,那么会显式地列出卷。

初始分配(按柱面计)
为配置文件系统数据集初始分配的大小(按柱面计)

在应用程序服务器中,此数据集所需的总空间随所安装的应用程序的大小和数量增加而增加。

建议: 最小建议大小是 420 个柱面。
辅助分配(按柱面计)
每个辅助扩展数据块的大小(按柱面计)
建议: 最小建议大小是 100 个柱面。
文件系统类型
分层文件系统 (HFS)
使用 HFS 分配和安装配置文件系统
zSeries 文件系统 (ZFS)
使用 ZFS 分配和安装配置文件系统

服务器定制(第一部分)

源配置位置
安装点
从中进行迁移的配置的安装点
主目录
从中进行迁移的配置的主目录
目标配置位置
安装点
迁移到的配置的安装点

此项先前在配置文件系统面板上指定。

主目录
迁移到的配置的主目录
守护过程名称
用于启动已迁移守护程序的 JCL 已启动过程的名称

迁移到 V9.0 时,必须升级 JCL 已启动过程。在迁移期间,将生成新的已启动过程。可为该守护程序过程指定新名称,也可以使用旧名称。

控制器过程名称
用于启动已迁移控制器的 JCL 已启动过程的名称

迁移到 V9.0 时,必须升级 JCL 已启动过程。在迁移期间,将生成新的已启动过程。可为该控制器过程指定新名称,也可以使用旧名称。

服务方过程名称
用于启动已迁移服务方的 JCL 已启动过程的名称

迁移到 V9.0 时,必须升级 JCL 已启动过程。在迁移期间,将生成新的已启动过程。可为该服务方过程指定新名称,也可以使用旧名称。

替换已启动过程命令名称
如果为 JCL 过程指定新的名称,那么必须更新 WebSphere Application Server 配置中相应的 START 命令以便与新过程名称相匹配。选择此选项以执行此配置更新。

如果选择使用相同的过程名称,那么不要选择此选项。如果未将一致过程名称用于要迁移节点的给定进程类型(例如,所有服务方)的所有服务器,那么建议您不要选择此选项。在这种情况下,将需要保留相同的 START 命令并将使用迁移时生成的过程用作模板来手动替换过程。

注意:
  • V9.0 配置所使用的 JCL 过程必须与 V7.0 配置所使用的不同。迁移过程将使用此处指定的过程名称来创建新的 V9.0 JCL 过程。
  • 如果您使用 V7.0 配置中所使用的那些名称,那么迁移过程会覆盖现有过程。如果使用相同的名称,那么在运行这些迁移作业之前,务必先备份现有的 V7.0 过程,以便在将来需要回滚时使用。
WebSphere 管理员用户标识
迁移过程需要使用管理客户机。指定管理客户机可用于认证的有效 WebSphere 管理员用户标识。

如果愿意,可以在此时延迟输入用户标识,稍后手动编辑 BBOWMG3D、BBOWDPRO、BBOWDPRE 或 BBOWDPOS 作业。为此,在提交作业之前,请用正确的用户标识更新 TO_AdminUserid 变量。

WebSphere 管理员密码
迁移过程需要使用管理客户机。指定管理客户机可用于认证的有效 WebSphere 管理员密码。

如果愿意,可以在此时延迟输入密码,稍后手动编辑 BBOWMG3D、BBOWDPRO、BBOWDPRE 或 BBOWDPOS 作业。为此,在提交作业之前,请用正确的密码更新 TO_AdminPassword 变量。

服务器定制(第二部分)

禁用先前的 Deployment Manager
在迁移期间是否禁用先前的 Deployment Manager
如果未禁用源 Deployment Manager,那么可以在迁移完成后继续使用。
注意: 务必谨慎地使用此选项。停止并禁用 WebSphere Application Server Deployment Manager 通常是为了防止多个 Deployment Manager 管理相同的节点。在开始使用 V9.0 Deployment Manager 之前,必须先停止源 Deployment Manager。取消选择此选项意味着迁移期间对旧配置所作的任何更改都可能不会被迁移。
应用程序迁移首选项
想要如何迁移已安装的应用程序
注: 无论此处设置的值如何,WebSphere Application Server 系统应用程序都将迁移。
迁移应用程序并使用缺省的应用程序安装目录
在迁移过程中,将用户企业应用程序安装到缺省的应用程序安装目录中
迁移应用程序并使用指定的应用程序安装目录
在迁移过程中,将用户企业应用程序安装到指定的应用程序安装目录中
应用程序安装目录
WebSphere Application Server 安装企业应用程序的位置

此位置在指定想要迁移和安装应用程序作为应用程序迁移首选项时使用。您可以选择特定于定制环境的位置,也可以使用缺省位置。

迁移并生成管理脚本以便以后安装应用程序
WebSphere Application Server V9.0 installableApps 目录中准备要安装的用户企业应用程序,而不在迁移期间对它们进行实际安装
这将生成可用于安装这些应用程序的脚本,并且会将这些脚本保存在迁移备份目录中。对于 WebSphere Application Server for z/OS,此备份目录的位置相对于您在这个相同面板上指定的临时目录。该备份目录的位置同时还由派生的迁移标识及正被迁移的节点类型确定。例如,如果您指定 /tmp/migrate 作为临时目录,而且派生的迁移标识是 55449,那么生成的脚本的位置是:
/tmp/migrate/55449/nodetype_backup/
where nodetype is dmgr, fed, or base depending on the type of node that you are migrating.

You can then run these files at any point and in any combination after migration has completed. You can also reorganize and combine these files for better application installation efficiency. Read the "Wsadmin tool" article in the documentation for additional information.

Migrate applications and use the previous application installation directory
Install user enterprise applications as part of the migration, and keep the same application installation directories as the previous version
Restrictions: If you select this option, the location is shared by the existing WebSphere Application Server installation and the V9.0 installation. If you keep the migrated applications in the same locations as those of the previous version, the following restrictions apply:
  • The WebSphere Application Server V9.0 mixed-node support limitations must be followed. This means that the following support cannot be used when evoking the wsadmin command:
    • Precompile JSP
    • Use Binary Configuration
    • Deploy EJB
  • You risk losing the migrated applications unintentionally if you later delete applications from these locations when administering (uninstalling for example) your older installation.
  • Any application that is installed relative to a variable in the source release will be installed relative to the location assigned to that variable in V9.0. In other words, the absolute location is not preserved—the application is migrated to the relative location within the new V9.0 environment.
    If the binariesURL in the deployment.xml file for an application being migrated has a path that is relative to WebSphere Application Server—that is, it begins with $(APP_INSTALL_ROOT), $(WAS_INSTALL_ROOT), and so on—the new WebSphere Application Server variable value is used to resolve the path when the application is installed in the new location. This leads to the following results when you select this option:
    • Any application that is installed in a directory location relative to a WebSphere Application Server variable is installed under that variable value in V9.0.
    • Any application that is installed in a directory location that is not relative to a WebSphere Application Server variable is migrated and overwritten in that same directory. If an application is installed in the /employee_records/retrieval_Apps directory, for example, the application is migrated and overwritten in the /employee_records/retrieval_Apps directory.
Do not migrate applications
Do nothing with user enterprise applications
Migrate administrative console customized "My tasks" settings
"My tasks" is only supported in WebSphere Application Server V7.0 或更高版本.
Migrate the settings for "My tasks" saved in the default workspace user root location (wstemp)
Migrate the settings for "My tasks" saved in a user defined workspace root location
User defined workspace root location

Migration Process Options

Migration trace options

If you choose to enable tracing, it will remain enabled throughout the entire migration process.

Enable script tracing
Enable or disable trace of the home creation, profile and migration tooling invocation, and final processing phases of migration
Enable profile creation tracing
Enable or disable trace trace during profile creation
Enable pre-upgrade tracing
Enable or disable trace during the WASPreUpgrade process
Enable post-upgrade tracing
Enable or disable trace during the WASPostUpgrade process
JVM options for migration processes
Initial heap size (MB)
The initial memory allocated for the JVM heap.
Maximum heap size (MB)
The maxiumum heap size that can be allocated for the JVM heap.
Temporary directory location
The directory where the backup of your previous configuration and the migration trace are written.

During migration, a backup copy of the previous version's configuration is required. The default location of this backup is /tmp/migrate. If the /tmp file system does not have adequate space to store the backup configuration, you can specify another location. If you choose to override the default location of the backup copy, the best practice is to keep the same naming convention and just replace the /tmp portion with another path, /myTemp/migrate for example.

Migration definition identifier
Identifier that will be used to create a directory under the temporary directory that will contain the temporary migration datasets and backup configuration data
Java temporary directory
You can specify a Java temporary directory that is used by the Java virtual machine to create and story temporary files during migration.
Set the Java temporary directory
Java temporary directory location

Port values

Define which port values to use in the new profile and how to handle port conflicts. If you reuse port values from the old profile, the new profile cannot run at the same time as the old profile because of port conflicts. If you intend to run both profiles concurrently, make sure that each profile uses different ports.

Use the same ports that the old profile used
Reuse the port values that are defined in the source profile.
Select ports manually
Set custom values for each port in the target profile on the following panel.
Generate new ports, incrementing from a common starting port value
Generate new ports from the specified port value. Conflicting ports are automatically resolved.
Port conflict resolution
Choose how to resolve port conflicts.
Increment from the conflicted port value
If a port conflict is detected, the port value is incremented from the conflicting port to the next available port value.
Increment from a common starting port value
If a port conflict is detected, the port value is incremented from the specified value to the next available port value.

Job Statement Definition

All the migration jobs that will be tailored for you will need a job statement.

Enter a valid job statement for your installation. The migration creation process will update the job name for you in all the generated jobs, so you do not need to be concerned with that portion of the job statement. If continuation lines are needed, replace the comment lines with continuation lines.


指示主题类型的图标 概念主题



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