This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
XenServer 9 上的 Dom0 网络接口命名
概述
XenServer® 9 新增功能:控制域 (dom0) 采用 systemd 可预测的网络接口名称,并将接口处理整合到 Toolstack networkd 中。在以前的版本中,多个组件将 dom0 接口重命名为传统的 ethN 模式。在 XenServer 9 中,dom0 接口名称不再强制更改为 ethN。
此更改提高了稳定性、可维护性,并使 dom0 与行业标准命名保持一致。
XenServer 9 中的新功能
- dom0 中基于稳定硬件属性的可预测接口名称(例如,eno12429np0)。
- Toolstack networkd 中整合的接口管理。
- 取消强制重命名为 ethN(例如,eth0、eth1)。
与 XenServer 8.4 的区别
- XenServer 8.4:多个组件协同工作,对 dom0 接口进行排序并重命名为 ethN。
- XenServer 9:Dom0 使用 systemd 可预测的名称,并且单个组件管理接口命名和状态。
注意:
可预测的名称源自硬件和拓扑。具体名称因平台而异。
您在产品中看到的内容
- dom0 中的接口名称遵循 systemd 约定。例如,eth0 可能会显示为 eno12429np0。XAPI PIF 的设备字段反映了新名称。
- 与 eth0 关联的池范围网络的默认网络名称标签现在是 Pool-wide network 0。
优点
- 整合的接口管理提高了产品的稳定性和可维护性。
- 可预测的名称减少了重启和硬件更改时的歧义。
迁移您的自动化和脚本
当您升级到 XenServer 9 时,假定 ethN 设备名称的脚本或工具可能会失败。请更新自动化以动态发现接口,而不是硬编码 ethN。
示例:
- 使用 Linux 工具列出 dom0 接口:
ip -o link show
<!--NeedCopy-->
- 使用 xe 发现 PIF 和设备:
xe pif-list host-uuid=<host-uuid> params=uuid,device,MAC,management
xe network-list params=uuid,name-label
<!--NeedCopy-->
重要提示:
请勿在文档或脚本中依赖 ethN 名称。Dom0 接口名称不保证使用 ethN 模式。
故障排除
- 脚本在升级后失败,因为它引用了 eth0 或 eth1。
- 更新脚本以通过 MAC 地址、管理标志或网络名称标签发现 PIF。
- 找不到管理接口。
- 在 dom0 中,运行
ip -o link show以列出设备。在 XenCenter 中,检查“主机属性”>“网卡”。在 xe 中,运行xe pif-list management=true params=uuid,device,MAC。
- 在 dom0 中,运行
如果问题仍然存在,请收集日志并联系支持人员。
共享
共享
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.