8.6. 部署 overcloud
确保 DPDK 计算角色的参数在
network-environment.yaml中填充。如果需要,它们可以从 派生的 OVS-DPDK 参数复制:# DPDK compute node. ComputeOvsDpdkParameters: KernelArgs: default_hugepagesz=1GB hugepagesz=1G hugepages=32 iommu=pt intel_iommu=on isolcpus=1-7,17-23,9-15,25-31 TunedProfileName: "cpu-partitioning" IsolCpusList: "1-7,17-23,9-15,25-31" NovaVcpuPinSet: ['2-7,18-23,10-15,26-31'] NovaReservedHostMemory: 4096 OvsDpdkSocketMemory: "1024,1024" OvsDpdkMemoryChannels: "4" OvsDpdkCoreList: "0,16,8,24" OvsPmdCoreList: "1,17,9,25"使用
openstack overcloud deploy命令部署 overcloud。- 包含角色文件以及特定于您的环境的所有环境文件。
通过将 /usr/share/openstack-tripleo-heat-templates/environments 中的
host-config-and-reboot.yaml文件从/usr/share/openstack-tripleo-heat-templates/environments中包含 host-config-and-reboot.yaml 文件来应用KernelArgs和TunedProfile参数:TEMPLATES_HOME=”/usr/share/openstack-tripleo-heat-templates” CUSTOM_TEMPLATES=”/home/stack/templates” openstack overcloud deploy --templates \ -r ${CUSTOM_TEMPLATES}/roles_data.yaml \ -e ${TEMPLATES_HOME}/environments/host-config-and-reboot.yaml \ -e ${CUSTOM_TEMPLATES}/network-environment.yaml \ -e ${CUSTOM_TEMPLATES}/controller.yaml -e ${CUSTOM_TEMPLATES}/computeovsdpdk.yaml \ ...