可以将外部独立 Automation Orchestrator 7.x 实例迁移到 Automation Orchestrator 8.x 环境。使用 vSphere 或 VMware Aria Automation 7.x 进行身份验证的 Automation Orchestrator 7.x 实例支持迁移。
重要说明: 不支持将
Automation Orchestrator 7.x 或更低版本升级到
Automation Orchestrator 8.x。
迁移会将外部独立
Automation Orchestrator 7.x 配置传输到
Automation Orchestrator 8.x 环境。迁移涉及覆盖
Automation Orchestrator 8.x 环境中的所有现有元素,例如,工作流、操作、配置和资源元素,包括工作流和配置元素中的安全字符串、软件包、任务、策略、证书和受信任的证书、插件和插件配置、
js-io-rights.conf 文件中的自定义记录、控制中心系统属性。通过
vSphere 进行身份验证的
Automation Orchestrator 实例的迁移还包括当前正在运行的实体(如工作流执行令牌、已调度任务、策略运行)的状态。对于通过
VMware Aria Automation 进行身份验证的
Automation Orchestrator 实例,当前正在运行的实体在目标
Automation Orchestrator 环境中显示为失败状态。迁移包括
Automation Orchestrator 的内置内容和自定义内容。
注: 不支持将集群
Automation Orchestrator 7.x 部署迁移到
Automation Orchestrator 8.x。可以通过在运行迁移脚本之前停止副本节点的服务来迁移集群部署的主节点。
service vco-server stop service vco-configurator stop
在
Automation Orchestrator Appliance 上使用
vro-migrate 命令执行迁移。
注: 迁移脚本会自动停止
Automation Orchestrator 服务。
前提条件
- 支持迁移 Automation Orchestrator 7.3 或更高版本。
- 下载并部署 Automation Orchestrator 8.x 环境。请参见《安装和配置 Automation Orchestrator》中的下载并部署 Automation Orchestrator Appliance。
- 配置目标 Automation Orchestrator 环境的身份验证提供程序。源 Automation Orchestrator 实例的身份验证提供程序不会迁移。请参见《安装和配置 Automation Orchestrator》中的配置独立的 Automation Orchestrator 服务器。
- 备份目标 Automation Orchestrator 环境。
- 确认已在源 Automation Orchestrator 实例和目标 Automation Orchestrator 环境中启用 SSH 访问。请参见《安装和配置 Automation Orchestrator》中的激活或停用对 Automation Orchestrator Appliance 的 SSH 访问。
- 确认源 Automation Orchestrator 数据库可从目标 Automation Orchestrator 环境进行访问。
过程
- 通过 SSH 以 root 用户身份登录到目标环境的 Automation Orchestrator Appliance 命令行。
- 要开始迁移,请运行 vro-migrate 命令。
- 按照命令提示提供源 Automation Orchestrator 实例的完全限定域名 (FQDN) 和凭据。
- (可选) 要了解迁移进度,请访问迁移日志:
- 以 root 用户身份通过单独的 SSH 会话登录到目标 Automation Orchestrator Appliance 命令行。
- 运行 tail -f /var/log/vmware/prelude/vro-migration.log 命令。
注: 迁移日志文件的名称包括生成迁移日志的日期和时间。
vro-migration-YYYY-MM-DD-HH-MM-SS.log
- (可选) 如果要在迁移后访问源 Automation Orchestrator 7.x 环境,请重新启动源系统上的
vco-server
和vco-configurator
服务。
结果
迁移过程将开始。迁移结束后,目标 Automation Orchestrator Appliance 上将显示相应通知。