【VMware VCF】VCF 5.2:部署整合架构的SDDC。
VMware 前不久发布了 VMware Cloud Foundation 5.2 版本,并带来了很多功能的升级,比如支持 vSAN Max 分解存储,管理工作负载域支持 vSAN ESA 延伸集群,通过 VCF Import 工具将现有环境中的 vSphere/vSAN 集群直接转换成管理域大概导入为 VI 工作负载域等,这应该是 VMware by Broadcom 首次针对各项产品的调整以及各个部门的整合后的一次重量级更新,有关更多功能介绍和内容消息请查看 VMware Cloud Foundation 5.2 发行说明以及发布介绍。VMware Cloud Foundation 5.2 版本的 BOM 物料清单如下图所示,集合了 VMware 所发布的最新主要产品,如 vSphere 8 U3、vSAN 8 U3 以及 NSX 4.2 等。https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240820142258407-1998047092.png
VMware Cloud Foundation(简称 VCF)支持标准和整合部署架构,之前(“VMware Cloud Foundation Part 05:部署 SDDC 管理域。”和“VMware Cloud Foundation Part 06:部署 VI 工作负载域。”)分享了标准架构的部署过程,现在正好借 VCF 5.2 的发布,让我们来部署一套整合架构的 SDDC。着实,我感觉标准架构和整合架构的部署过程并没有太大区别,关于这两种架构的功能和用途,完全也是你作为用户对于使用理念上的界定。在部署配置后,整合架构的 VCF 会将管理相关组件和工作负载虚拟机放在同一个工作负载域里并通过资源池的方式举行隔离,而在标准架构中,VI 域专门用来承载工作负载虚拟机。其他的并没有什么太大分别,而且你可以随时将整合架构调整为标准架构,只需要新部署一个 VI 工作负载域,然后将管理域上面的工作负载迁移到这个 VI 域皆可。
一、环境准备
不管是任何一种部署架构的 VCF,前期的环境准备都是一样的。安装工作负载域中的 ESXi 主机并配置 ESXi 主机的相关基础服务,规划 VCF 解决方案的网络拓扑和存储架构并准备相关部署参数工作簿,末了安装自动化部署工具 VMware Cloud Builder 后,即可开始你的 VCF 构建过程。
1)DNS/NTP 服务器
DNS 和 NTP 服务器对于 VCF 环境来说非常重要,请根据实际环境的情况,规划好管理相关组件所在信息后,在 DNS 服务器上配置好正反向域名分析。假如这些基础服务有哪个地方不对,大概会导致部署失败以及环境的不稳固。
组件名称主机名IP所在子网掩码网关DNS/NTP 服务器ESXivcf-mgmt01-esxi01.mulab.local192.168.32.61255.255.255.0192.168.32.254192.168.32.3vcf-mgmt01-esxi02.mulab.local192.168.32.62255.255.255.0192.168.32.254192.168.32.3vcf-mgmt01-esxi03.mulab.local192.168.32.63255.255.255.0192.168.32.254192.168.32.3vcf-mgmt01-esxi04.mulab.local192.168.32.64255.255.255.0192.168.32.254192.168.32.3vCenter Servervcf-mgmt01-vcsa01.mulab.local192.168.32.65255.255.255.0192.168.32.254192.168.32.3NSX Managervcf-mgmt01-nsx01.mulab.local(VIP)192.168.32.66255.255.255.0192.168.32.254192.168.32.3vcf-mgmt01-nsx01a.mulab.local192.168.32.67255.255.255.0192.168.32.254192.168.32.3SDDC Managervcf-mgmt01-sddc01.mulab.local192.168.32.70255.255.255.0192.168.32.254192.168.32.3
2)ESXi 主机
根据 VCF 5.2 BOM 清单要求准备用于部署 VCF 管理域的 ESXi 主机。由于是嵌套虚拟化环境,假如是部署 vSAN ESA 存储架构,请根据实际环境创建自界说 vSAN ESA HCL 文件。更多内容和细节请查看:VMware Cloud Foundation Part 04:准备 ESXi 主机。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240820141223648-857196663.png
3)JSON 配置文件
根据实际环境情况准备用于构建 VCF 管理域的 JSON 配置文件。License 许可证已经过处理,VCF 5.1.1 版本开始在未指定许可证的情况下以评估模式部署后支持 60 天试用期。请注意 SDDC Manager 用户的密码复杂度最低要求提高至 15 位字符。更多内容和细节请查看:VMware Cloud Foundation Part 03:准备 Excel 参数表。
{
"deployWithoutLicenseKeys": false,
"skipEsxThumbprintValidation": true,
"managementPoolName": "vcf-mgmt01-np01",
"sddcManagerSpec": {
"secondUserCredentials": {
"username": "vcf",
"password": "Vcf520@password"
},
"ipAddress": "192.168.32.70",
"hostname": "vcf-mgmt01-sddc01",
"rootUserCredentials": {
"username": "root",
"password": "Vcf520@password"
},
"localUserPassword": "Vcf520@password"
},
"sddcId": "vcf-mgmt01",
"esxLicense": "00000-00000-00000-00000-00000",
"taskName": "workflowconfig/workflowspec-ems.json",
"ceipEnabled": false,
"fipsEnabled": false,
"ntpServers": ["192.168.32.3"],
"dnsSpec": {
"subdomain": "mulab.local",
"domain": "mulab.local",
"nameserver": "192.168.32.3"
},
"networkSpecs": [
{
"networkType": "MANAGEMENT",
"subnet": "192.168.32.0/24",
"gateway": "192.168.32.254",
"vlanId": "0",
"mtu": "1500",
"portGroupKey": "vcf-mgmt01-vds01-pg-mgmt",
"standbyUplinks":[],
"activeUplinks":[
"uplink1",
"uplink2"
]
},
{
"networkType": "VMOTION",
"subnet": "192.168.40.0/24",
"gateway": "192.168.40.254",
"vlanId": "40",
"mtu": "9000",
"portGroupKey": "vcf-mgmt01-vds01-pg-vmotion",
"includeIpAddressRanges": [{"endIpAddress": "192.168.40.4", "startIpAddress": "192.168.40.1"}],
"standbyUplinks":[],
"activeUplinks":[
"uplink1",
"uplink2"
]
},
{
"networkType": "VSAN",
"subnet": "192.168.41.0/24",
"gateway": "192.168.41.254",
"vlanId": "41",
"mtu": "9000",
"portGroupKey": "vcf-mgmt01-vds02-pg-vsan",
"includeIpAddressRanges": [{"endIpAddress": "192.168.41.4", "startIpAddress": "192.168.41.1"}],
"standbyUplinks":[],
"activeUplinks":[
"uplink1",
"uplink2"
]
},
{
"networkType": "VM_MANAGEMENT",
"subnet": "192.168.32.0/24",
"gateway": "192.168.32.254",
"vlanId": "0",
"mtu": "1500",
"portGroupKey": "vcf-mgmt01-vds01-pg-vm-mgmt",
"standbyUplinks":[],
"activeUplinks":[
"uplink1",
"uplink2"
]
}
],
"nsxtSpec":
{
"nsxtManagerSize": "medium",
"nsxtManagers": [
{
"hostname": "vcf-mgmt01-nsx01a",
"ip": "192.168.32.67"
}
],
"rootNsxtManagerPassword": "Vcf520@password",
"nsxtAdminPassword": "Vcf520@password",
"nsxtAuditPassword": "Vcf520@password",
"vip": "192.168.32.66",
"vipFqdn": "vcf-mgmt01-nsx01",
"nsxtLicense": "33333-33333-33333-33333-33333",
"transportVlanId": 42,
"ipAddressPoolSpec": {
"name": "vcf01-mgmt01-tep01",
"description": "ESXi Host Overlay TEP IP Pool",
"subnets":[
{
"ipAddressPoolRanges":[
{
"start": "192.168.42.1",
"end": "192.168.42.8"
}
],
"cidr": "192.168.42.0/24",
"gateway": "192.168.42.254"
}
]
}
},
"vsanSpec": {
"licenseFile": "11111-11111-11111-11111-11111",
"vsanDedup": "false",
"esaConfig": {
"enabled": true
},
"hclFile": "/opt/vmware/bringup/tmp/all.json",
"datastoreName": "vcf-mgmt01-vsan-esa-datastore01"
},
"dvsSpecs": [
{
"dvsName": "vcf-mgmt01-vds01",
"vmnics": [
"vmnic0",
"vmnic1"
],
"mtu": 9000,
"networks":[
"MANAGEMENT",
"VMOTION",
"VM_MANAGEMENT"
],
"niocSpecs":[
{
"trafficType":"VSAN",
"value":"HIGH"
},
{
"trafficType":"VMOTION",
"value":"LOW"
},
{
"trafficType":"VDP",
"value":"LOW"
},
{
"trafficType":"VIRTUALMACHINE",
"value":"HIGH"
},
{
"trafficType":"MANAGEMENT",
"value":"NORMAL"
},
{
"trafficType":"NFS",
"value":"LOW"
},
{
"trafficType":"HBR",
"value":"LOW"
},
{
"trafficType":"FAULTTOLERANCE",
"value":"LOW"
},
{
"trafficType":"ISCSI",
"value":"LOW"
}
],
"nsxtSwitchConfig": {
"transportZones": [
{
"name": "vcf-mgmt01-tz-vlan01",
"transportType": "VLAN"
}
]
}
},
{
"dvsName": "vcf-mgmt01-vds02",
"vmnics": [
"vmnic2",
"vmnic3"
],
"mtu": 9000,
"networks":[
"VSAN"
],
"nsxtSwitchConfig": {
"transportZones": [ {
"name": "vcf-mgmt01-tz-overlay01",
"transportType": "OVERLAY"
},
{
"name": "vcf-mgmt01-tz-vlan02",
"transportType": "VLAN"
}
]
}
}
],
"clusterSpec":
{
"clusterName": "vcf-mgmt01-cluster01",
"clusterEvcMode": "",
"clusterImageEnabled": true,
"vmFolders": {
"MANAGEMENT": "vcf-mgmt01-fd-mgmt",
"NETWORKING": "vcf-mgmt01-fd-nsx",
"EDGENODES": "vcf-mgmt01-fd-edge"
},
"resourcePoolSpecs": [{
"name": "vcf-mgmt01-cluster01-rp-sddc-mgmt",
"type": "management",
"cpuReservationPercentage": 0,
"cpuLimit": -1,
"cpuReservationExpandable": true,
"cpuSharesLevel": "normal",
"cpuSharesValue": 0,
"memoryReservationMb": 0,
"memoryLimit": -1,
"memoryReservationExpandable": true,
"memorySharesLevel": "normal",
"memorySharesValue": 0
}, {
"name": "vcf-mgmt01-cluster01-rp-sddc-edge",
"type": "network",
"cpuReservationPercentage": 0,
"cpuLimit": -1,
"cpuReservationExpandable": true,
"cpuSharesLevel": "normal",
"cpuSharesValue": 0,
"memoryReservationPercentage": 0,
"memoryLimit": -1,
"memoryReservationExpandable": true,
"memorySharesLevel": "normal",
"memorySharesValue": 0
}, {
"name": "vcf-mgmt01-cluster01-rp-user-edge",
"type": "compute",
"cpuReservationPercentage": 0,
"cpuLimit": -1,
"cpuReservationExpandable": true,
"cpuSharesLevel": "normal",
"cpuSharesValue": 0,
"memoryReservationPercentage": 0,
"memoryLimit": -1,
"memoryReservationExpandable": true,
"memorySharesLevel": "normal",
"memorySharesValue": 0
}, {
"name": "vcf-mgmt01-cluster01-rp-user-vm",
"type": "compute",
"cpuReservationPercentage": 0,
"cpuLimit": -1,
"cpuReservationExpandable": true,
"cpuSharesLevel": "normal",
"cpuSharesValue": 0,
"memoryReservationPercentage": 0,
"memoryLimit": -1,
"memoryReservationExpandable": true,
"memorySharesLevel": "normal",
"memorySharesValue": 0
}]
},
"pscSpecs": [
{
"adminUserSsoPassword": "Vcf520@password",
"pscSsoSpec": {
"ssoDomain": "vsphere.local"
}
}
],
"vcenterSpec": {
"vcenterIp": "192.168.32.65",
"vcenterHostname": "vcf-mgmt01-vcsa01",
"licenseFile": "22222-22222-22222-22222-22222",
"vmSize": "small",
"storageSize": "",
"rootVcenterPassword": "Vcf520@password"
},
"hostSpecs": [
{
"association": "vcf-mgmt01-datacenter01",
"ipAddressPrivate": {
"ipAddress": "192.168.32.61"
},
"hostname": "vcf-mgmt01-esxi01",
"credentials": {
"username": "root",
"password": "Vcf5@password"
},
"vSwitch": "vSwitch0"
},
{
"association": "vcf-mgmt01-datacenter01",
"ipAddressPrivate": {
"ipAddress": "192.168.32.62"
},
"hostname": "vcf-mgmt01-esxi02",
"credentials": {
"username": "root",
"password": "Vcf5@password"
},
"vSwitch": "vSwitch0"
},
{
"association": "vcf-mgmt01-datacenter01",
"ipAddressPrivate": {
"ipAddress": "192.168.32.63"
},
"hostname": "vcf-mgmt01-esxi03",
"credentials": {
"username": "root",
"password": "Vcf5@password"
},
"vSwitch": "vSwitch0"
},
{
"association": "vcf-mgmt01-datacenter01",
"ipAddressPrivate": {
"ipAddress": "192.168.32.64"
},
"hostname": "vcf-mgmt01-esxi04",
"credentials": {
"username": "root",
"password": "Vcf5@password"
},
"vSwitch": "vSwitch0"
}
]
}
4)Cloud Builder
安装 VMware Cloud Builder 工具,用于部署 VMware Cloud Foundation 的第一个初始工作负载域(管理域),请注意 Cloud Builder 用户的密码复杂度最低要求提高至 15 位字符。更多内容和细节请查看:VMware Cloud Foundation Part 02:部署 Cloud Builder。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240820141259620-1428864735.png
二、部署过程
假如环境一切准备就绪,可以开始 VCF 的构建过程。登录到部署工具 VMware Cloud Builder UI。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240820142510022-791631916.png
选择 VMware Cloud Foundation。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240820142622440-1483770222.png
已知晓并点击 NEXT。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240820164300023-1716166303.png
已完成并点击 NEXT。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240820164341786-391139130.png
上传当地 JSON 配置文件。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240820164429458-719208852.png
验证配置文件与部署环境。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240820172548569-976204151.png
点击确定部署 SDDC。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240820172619082-97707435.png
开始构建过程(Bring-up)。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240820172924418-973609409.png
部署成功。假如遇到 NSX Manager 因为 CPU 负载过高导致任务失败,可以多重试(RETRY)几次应该就好了。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821100707805-830705734.png
点击登录 SDDC Manager。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821100735675-588401159.png
已成功部署 VCF 5.2 。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821100959709-916886370.png
三、环境信息
1)SDDC Manager
[*]SDDC Manager 仪表板。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821103314981-33744070.png
[*]工作负载域清单。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821103437562-1023417486.png
[*]管理域择要信息。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821103510742-990629103.png
[*]SDDC Manager 主机清单。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821103549507-1113690682.png
[*]SDDC Manager 支持独立更新。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821103608024-192616215.png
[*]VCF 发行版本。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821103624850-1374956364.png
[*]支持脱机库设置。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821103708515-107466782.png
2)vCenter Server
[*]域中的主机和集群。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821101518972-863038633.png
[*]vSAN ESA 存储架构。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821101607570-180857110.png
[*]域管理组件虚拟机。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821101742245-420188722.png
[*]vSAN ESA 存储配置。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821101806423-1096760520.png
[*]VDS 分布式交换机。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821101847341-807296959.png
3)NSX Manager
[*]NSX Manager 系统概览。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821104143063-1915934837.png
[*]NSX Manager 部署节点。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821104217214-521314216.png
[*]NSX 传输节点主机。
https://img2024.cnblogs.com/blog/2313726/202408/2313726-20240821104249616-1306822873.png
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]