Link

VMware vLCM 安装及使用

目录

  1. VMware vLCM 安装及使用
    1. 目录
  2. 1. 通过 vRealize Easy Installer 快速部署 vLCM
    1. 1.1. 兼容性
    2. 1.2. 部署资源需求
    3. 1.3. DNS配置
    4. 1.4. 部署配置
    5. 1.5. 安装过程
    6. 1.6. 安装完后检查
  3. 2. 导入已有的方案
    1. 2.1. 导入vRLI
    2. 2.2. 导入vRNI
    3. 2.3. 升级测试
    4. 2.4. Patch
  4. 3. 安装 vRops

1. 通过 vRealize Easy Installer 快速部署 vLCM

vRealize Life Cycle Management 是用于快速部署、管理其他vRealize产品的生命周期管理工具,比如vRealize Operations、vRealize Automation等。vLCM也支持将已经部署好的vRealize产品导入到其中进行管理。

在下载页面,vLCM有两个Installer,一个是包含vRA和vIDM(Workspace ONE Access)的完整installer,另一个是仅安装vLCM的installer,本文使用前者。

image-20230724103203551

1.1. 兼容性

不同的vLCM支持的其他vRealize产品版本不一样,详细可查看兼容性列表:

https://interopmatrix.vmware.com/Interoperability?col=337,&row=35,%26114,%2688,

Graphical user interface, table Description automatically generated

1.2. 部署资源需求

资源需求vLCMvIDMvRA-中型vRA-超大型
数量111或者31或者3
磁盘大小78G100G246G246G
CPU281224
内存6164296
网络延迟  5ms(集群部署下)5ms(集群部署下)
存储延迟  20ms20ms

1.3. DNS配置

Text, letter Description automatically generated

在安装过程中遇到Failed to send http data错误,这个是ovftools的bug,在本地添加hosts记录后解决:

https://kb.vmware.com/s/article/78541

1.4. 部署配置

Installer使用方式和vCenter vcsa appliance一致,将下载好的ISO挂载到Windows机器中,运行Installer:

Graphical user interface, text, application, email Description automatically generated

Graphical user interface, application, Word Description automatically generated

Graphical user interface, application Description automatically generated

Graphical user interface, text, application, email Description automatically generated

Graphical user interface, email Description automatically generated

Graphical user interface, text, application Description automatically generated

Graphical user interface, text, application, email Description automatically generated

Graphical user interface, text, application, email Description automatically generated

Graphical user interface Description automatically generated

Graphical user interface, text, application Description automatically generated

Graphical user interface Description automatically generated

Graphical user interface Description automatically generated

Graphical user interface Description automatically generated

Hostname不能使用.corp.local结尾的域名:

Graphical user interface, application Description automatically generated

Graphical user interface, website Description automatically generated

1.5. 安装过程

Graphical user interface Description automatically generated

在第三步时过程比较耗时,原因是Installer在讲vRA的介质传输到vLCM:

Graphical user interface, website Description automatically generated

日志中可以看到下列项目:

img

通过ssh登录vlcm,查看/data下介质的大小在不断增加。

Text Description automatically generated

等待第三步完成后,会自动部署vIDM虚拟机和vRA虚拟机:

Graphical user interface, text, application, email Description automatically generated

Graphical user interface, text Description automatically generated

之后系统会提示vLCM已经就绪,可以登录访问。

img

我们通过admin@local用户访问vLCM,在环境中可以看到正在自动部署vRA:

Graphical user interface, application Description automatically generated

点开后可以查看到部署详情:

Graphical user interface, diagram Description automatically generated

1.6. 安装完后检查

部署完成后,会显示下列界面:

Graphical user interface, text, application, email Description automatically generated

在vLCM安装完成后,会自动创建Default-DC,并自动完成vCenter对接:

Graphical user interface, text, application, email Description automatically generated

vIDM和VRA的二进制安装镜像会放在下列位置:

Graphical user interface, application Description automatically generated

vIDM会被自动部署并完成对接:

Graphical user interface, application, website Description automatically generated

Graphical user interface, application Description automatically generated

在环境中可以查看vIDM的节点情况:

Graphical user interface, text, application, email Description automatically generated

img

查看vRA的部署情况:

Graphical user interface, text, application Description automatically generated

img

2. 导入已有的方案

2.1. 导入vRLI

环境中已经手动部署好vRLI和vRNI,我们可以通过vLCM的导入功能将VRLI和VRNI加入到vLCM统一管理。

导入前,需要在Locker>密码中添加vRLI的密码信息:

Graphical user interface, application Description automatically generated

Graphical user interface, application Description automatically generated

点击首页的Lifecycle Operations:

Graphical user interface, application, website Description automatically generated

创建新的环境,设置名称、默认密码、数据中心:

Graphical user interface, website Description automatically generated

勾选vRealize Log Insight,选择类型为导入:

Graphical user interface, application, website Description automatically generated

Graphical user interface, text, application Description automatically generated

接着等待导入完成即可:

Graphical user interface, application Description automatically generated

Graphical user interface, text, application, email Description automatically generated

2.2. 导入vRNI

Graphical user interface, application Description automatically generated

设置VRNI Platform IP、管理员账户、密码等信息:

Graphical user interface, text, application Description automatically generated

等待任务完成后,可以在环境中看到vRNI:

Graphical user interface, text, application, email Description automatically generated

2.3. 升级测试

通过SSH将vRLI升级介质放置在vLCM的/data目录下

在vLCM的设置中点击“二进制文件映射”

Table Description automatically generated

Graphical user interface, application Description automatically generated

Graphical user interface Description automatically generated

Graphical user interface, application Description automatically generated

Graphical user interface, text, application, email Description automatically generated

Graphical user interface, application Description automatically generated

Graphical user interface, text, application, email Description automatically generated

Graphical user interface, text, application, email Description automatically generated

Graphical user interface, text, application Description automatically generated

升级完成:

Graphical user interface, application Description automatically generated

2.4. Patch

在下列位置联机查看更新:

Graphical user interface, text, application Description automatically generated

之后在清单中找到需要下载的Patch,点击下载按钮:

Table Description automatically generated

等待系统下载结束

img

Graphical user interface, application Description automatically generated

3. 安装 vRops

通过SSH将vRops安装介质放置在vLCM的/data目录下(需要注意每个vLCM支持的版本有限,需要在二进制文件映射中查看支持的版本)

在vLCM的设置中点击“二进制文件映射”:

img

稍等片刻即可在清单中看到二进制文件:

Graphical user interface, text, application Description automatically generated

Graphical user interface, text, application, email Description automatically generated

Graphical user interface, application Description automatically generated

Graphical user interface, application Description automatically generated

Graphical user interface, application Description automatically generated

Graphical user interface, text, application Description automatically generated

Graphical user interface, text, application Description automatically generated

Graphical user interface, text, application, email Description automatically generated

Graphical user interface, text, application Description automatically generated

Graphical user interface, text, application Description automatically generated

Graphical user interface, text, application, email Description automatically generated

Graphical user interface, text, application Description automatically generated

Graphical user interface, application Description automatically generated

Graphical user interface, text, application Description automatically generated

Graphical user interface, text, application Description automatically generated