要从 vRealize Automation、vRealize Orchestrator 或外部 vRealize Orchestrator 源环境脱机收集数据,请使用该数据捕获实用程序。

使用数据捕获实用程序,您无需部署完整的 VMware Aria Automation 实例,即可对源环境执行数据收集和迁移评估。数据捕获实用程序可用于 vRealize Automation 和 vRealize Orchestrator 源环境,但对于外部 vRealize Orchestrator 源环境尤其有用。在运行时,将收集源数据并保存为 ZIP 包。

前提条件

需要 Java 才能运行独立的数据捕获实用程序。

过程

  1. Automation Assembler 中从“入门”页面的“迁移”选项卡下载 capture_utility 项目的 capture.jar 文件。
  2. 运行 java -Dcontext="shell" -Dspring.liquibase.enabled=false -jar capture.jar命令。
    注: 默认情况下,该命令在端口 8080 上启动 spring-shell。要更改 spring-shell 使用的端口,请运行 -Dserver.port=<portid>命令,其中 <portid> 是所需可用端口的名称/标识符。进行此修改后,初始命令将变为: java -Dcontext="shell" -Dspring.liquidbase.enabled=false -Dserver.port=<portid> -jar capture.jar
    注: 如果在 Windows 上运行,要替代默认字符集,请运行 -Dfile.encoding=UTF-8命令。进行此修改后,初始命令将变为 java -Dcontext="shell" -Dspring.liquidbase.enabled=false -Dfile.encoding=UTF-8 -Dserver.port=<portid> -jar capture.jar
    capture jar 和 spring-shell 将启动,并针对数据库升级和检查禁用 liquibase。
  3. 提供包含源环境服务器详细信息的属性文件:
    服务器详细信息
    服务器 vRA/vRO 服务器的 fqdn 或 IP 地址
    vraUser vRA 租户用户名
    vraPassword vRA 租户密码
    vroUser vRO 用户名
    vroPassword vRO 密码
    注: 要捕获外部 vRealize Orchestrator 数据,请使用属性文件中的外部 vRealize Orchestrator 详细信息。
    属性文件示例:
    server=cava.n.88.087.eng.vmware.com
    [email protected]
    vraPassword=VMware1!
    [email protected]
    vroPassword=VMware1!
  4. 要捕获所需的源环境数据,请运行适用的命令:
    要从以下位置收集数据... 运行...
    vRealize Automation 和 vRealize Orchestrator capture
    仅 vRealize Automation captureVra
    仅 vRealize Orchestrator captureVro
    注: 对于外部 vRealize Orchestrator,请提供服务器的端口号。例如, captureVro server:port
    注: 要查看帮助消息,请在运行 capturecaptureVracaptureVro 命令后运行 capture --help
  5. 运行 capture 或 captureVra 命令后,运行部署捕获命令:
    注: 无论是否需要捕获部署信息,都必须运行部署命令。
    操作 命令
    捕获部署…

    capture --serverFile /tmp/server.txt --tenant qe --filepath /Users/bsopariwala/Desktop --deployments true

    captureVra --serverFile /tmp/server.txt --tenant qe --filepath /Users/bsopariwala/Desktop --deployments true
    不捕获部署…

    capture --serverFile /tmp/server.txt --tenant qe --filepath /Users/bsopariwala/Desktop --deployments false

    captureVra --serverFile /tmp/server.txt --tenant qe --filepath /Users/bsopariwala/Desktop --deployments false

结果

将收集源环境数据并保存为源包。要对源包运行迁移评估,请参见 对 vRealize Automation 源包运行迁移评估