注意
本文档适用于 Ceph 开发版本。
VMware ESX 的 NVMe/TCP 初始化器
前提条件
运行 VMware vSphere 虚拟化程序 (ESXi) 7.0U3 版本或更高版本的 VMware ESXi 主机。
部署 Ceph NVMe-oF 网关。
具有NVMe-oF配置的 Ceph 集群。
网关中定义的子系统。
配置
以下说明将使用默认的 vSphere 网页客户端和 esxcli。
在网卡上启用 NVMe/TCP:
esxcli nvme fabric enable --protocol TCP --device vmnicN
将
N
使用网卡的编号。标记 VMKernel 网卡以允许 NVMe/TCP 流量:
esxcli network uip interface tag add --interface-nme vmkN --tagname NVMeTCP
将
N
使用 VMkernel 的 ID。为 VMware ESXi 主机配置 NVMe/TCP:
列出 NVMe-oF 适配器:
esxcli nvme adapter list
可选:发现 NVMe-oF 子系统:
esxcli nvme fabric discover -a NVME_TCP_ADAPTER -i GATEWAY_IP -p 4420
连接到 NVMe-oF 网关子系统:
esxcli nvme fabrics discover -a NVME_TCP_ADAPTER -i GATEWAY_IP -p 8009 -c - This command discovers the NVMe-oF gateways in the gateway group and then connects to the gateways providing multipath access
列出 NVMe/TCP 控制器:
esxcli nvme controller list
列出子系统中的 NVMe-oF 命名空间:
esxcli nvme namespace list
验证初始化器是否已正确设置:
从 vSphere 客户端进入 ESXi 主机。
在存储页面转到设备选项卡。
验证 NVMe/TCP 磁盘是否列在表格中。
由 Ceph 基金会带给您
Ceph 文档是一个社区资源,由非盈利的 Ceph 基金会资助和托管Ceph Foundation. 如果您想支持这一点和我们的其他工作,请考虑加入现在加入.