您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

在私有云上为 VMware vRealize Automation 设置 vCenterSet up vCenter on your Private Cloud for VMware vRealize Automation

可以将 CloudSimple 私有云上的 VMware vCenter 服务器设置为 VMware vRealize 自动化的终结点。You can set up a VMware vCenter server on your CloudSimple Private Cloud as an endpoint for VMware vRealize Automation.

开始之前Before you begin

在配置 vCenter 服务器之前完成以下任务:Complete these tasks before configuring the vCenter server:

特性值Attribute Value 权限Permission
数据存储Datastore 分配空间Allocate Space
浏览数据存储Browse Datastore
数据存储群集Datastore Cluster 配置数据存储群集Configure a Datastore Cluster
FolderFolder 创建文件夹Create Folder
删除文件夹Delete Folder
全球Global 管理自定义属性Manage Custom Attributes
设置自定义属性Set Custom Attribute
网络Network 分配网络Assign Network
权限Permissions 修改权限Modify Permissions
资源Resource 将 VM 分配到资源池Assign VM to Resource Pool
迁移关闭的虚拟机Migrate Powered Off Virtual Machine
迁移已启动的虚拟机Migrate Powered On Virtual Machine
虚拟机清单Virtual Machine Inventory 从现有创建Create from existing
新建Create New
移动Move
删除Remove
虚拟机交互Virtual Machine Interaction 配置 CD 媒体Configure CD Media
控制台交互Console Interaction
设备连接Device Connection
关闭电源Power Off
开机Power On
重置Reset
挂起Suspend
工具安装Tools Install
虚拟机配置Virtual Machine Configuration 添加现有磁盘Add Existing Disk
添加新磁盘Add New Disk
添加或删除Add or Remove
删除磁盘Remove Disk
高级Advanced
更改 CPU 计数Change CPU Count
更改资源Change Resource
扩展虚拟磁盘Extend Virtual Disk
磁盘更改跟踪Disk Change Tracking
内存Memory
修改设备设置Modify Device Settings
重命名Rename
设置批注 (版本5.0 及更高版本) Set Annotation (version 5.0 and later)
设置Settings
交换文件位置Swapfile Placement
设置Provisioning 自定义Customize
克隆模板Clone Template
克隆虚拟机Clone Virtual Machine
部署模板Deploy Template
读取自定义规范Read Customization Specs
虚拟机状态Virtual Machine State 创建快照Create Snapshot
删除快照Remove Snapshot
还原到快照Revert to Snapshot

在本地环境中安装 vRealize 自动化Install vRealize Automation in your on-premises environment

  1. 以 CloudSimple 支持为你创建的 IaaS 管理员身份登录到 vRealize Automation IaaS 服务器设备。Sign in to the vRealize Automation IaaS server appliance as the IaaS administrator that CloudSimple Support created for you.
  2. 为 vRealize 自动化终结点部署 vSphere 代理。Deploy a vSphere Agent for the vRealize Automation endpoint.
    1. 中转到 https://vra-url: 5480/installer,其中 vra 是用于访问 vRealize 自动化管理 UI 的 url。Go to https://vra-url:5480/installer, where vra-url is the URL that you use to access the vRealize Automation administration UI.

    2. 单击 IaaS 安装 程序以下载安装程序。Click the IaaS Installer to download the installer.
      安装程序文件的命名约定为 setup_ vra-url @5480.exe 。The naming convention for the installer file is setup_ vra-url@5480.exe.

    3. 运行安装程序。Run the installer. 在欢迎屏幕上,单击 " 下一步"。On the Welcome screen, click Next.

    4. 接受 EULA,并单击 " 下一步"。Accept the EULA and click Next.

    5. 提供登录信息,单击 " 接受证书",然后单击 " 下一步"。Provide the sign-in information, click Accept Certificate, and then click Next. vRA 凭据vRA credentials

    6. 选择 " 自定义安装代理 代理" 并单击 " 下一步"。Select Custom Install and Proxy Agents and click Next. vRA 安装类型vRA install type

    7. 输入 IaaS 服务器登录信息,然后单击 " 下一步"。Enter the IaaS server sign-in information and click Next. 如果使用 Active Directory,请以 domain\user 格式输入用户名。If you are using Active Directory, enter the username in domain\user format. 否则,使用 user@domain 格式。Otherwise, use user@domain format. vRA 登录信息vRA login info

    8. 对于 "代理设置",输入 vSphere 作为 代理类型For the proxy settings, enter vSphere for Agent type. 输入代理名称。Enter a name for the agent.

    9. 管理器服务主机 和 " 模型管理器 Web 服务主机 " 字段中输入 IaaS 服务器 FQDN。Enter the IaaS server FQDN in the Manager Service Host and the Model Manager Web Service Host fields. 单击 " 测试 " 以测试每个 FQDN 值的连接。Click Test to test the connection for each of the FQDN values. 如果测试失败,请修改你的 DNS 设置,以便解析 IaaS 服务器主机名。If the test fails, modify your DNS settings so that the IaaS server hostname is resolved.

    10. 为私有云输入 vCenter 服务器终结点的名称。Enter a name for vCenter server endpoint for the Private Cloud. 记录名称以供稍后在配置过程中使用。Record the name for use later in the configuration process.

      vRA 安装代理

    11. 单击“下一步” 。Click Next.

    12. 单击“安装” 。Click Install.

配置 vSphere 代理Configure the vSphere agent

  1. 请参阅 https://vra-url/vcac 并以 ConfigurationAdmin 身份登录。Go to https://vra-url/vcac and sign in as ConfigurationAdmin.
  2. 选择 基础结构 > 终结 > Select Infrastructure > Endpoints > Endpoints.
  3. 选择 "新建 > 虚拟 > vSphere"。Select New > Virtual > vSphere.
  4. 输入在前面的过程中指定的 vSphere 终结点名称。Enter the vSphere endpoint name that you specified in the previous procedure.
  5. 对于 " 地址",以 https://vcenter-fqdn/Sdk 格式输入私有云 vCenter Server URL,其中 vcenter-fqdn 是 vcenter 服务器的名称。For Address, enter the Private Cloud vCenter Server URL in the format https://vcenter-fqdn/sdk, where vcenter-fqdn is the name of the vCenter server.
  6. 输入 CloudSimple 支持为你创建的 vRealize Automation IaaS 管理用户的凭据。Enter the credentials for the vRealize Automation IaaS administrative user that CloudSimple Support created for you.
  7. 单击 " 测试连接 " 以验证用户凭据。Click Test Connection to validate the user credentials. 如果测试失败,请验证 URL、帐户信息和 终结点名称 ,然后再次测试。If the test fails, verify the URL, account information, and endpoint name and test again.
  8. 成功测试后,单击 "确定" 以创建 vSphere 终结点。After a successful test, click OK to create the vSphere endpoint. vRA 终结点配置访问vRA endpoint config access

验证端点名称Verify the endpoint name

若要标识正确的 vCenter 服务器终结点名称,请执行以下操作:To identify the correct vCenter server endpoint name, do the following:

  1. 在 IaaS 设备上打开命令提示符。Open a command prompt on the IaaS appliance.
  2. 将目录更改为 C:\Program 文件 (x86) \VMware\vCAC\Agents\agent-name,其中 代理名称 是分配给 vCenter 服务器终结点的名称。Change directory to C:\Program Files (x86)\VMware\vCAC\Agents\agent-name, where agent-name is the name you assigned to the vCenter server endpoint.
  3. 运行以下命令。Run the following command.
..\..\Server\DynamicOps.Vrm.VRMencrypt.exe VRMAgent.exe.config get

输出如下所示。The output is similar to the following. 该字段的值 managementEndpointName 为终结点名称。The value of the managementEndpointName field is the endpoint name.

managementEndpointName: cslab1pc3-vc
doDeletes: true