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!
基于 SMB/CIFS 的 ISO 库
ISO 类型处理以 ISO 格式存储为文件的 CD 映像。此存储库 (SR) 类型可用于创建共享 ISO 库。
ISO SR 类型 cifs 使用 Windows 文件共享 (SMB/CIFS) SR 类型来处理以 ISO 格式存储为文件的 CD 映像,这些映像作为 Windows (SMB/CIFS) 共享提供。
如果您未指定要用于 SR 的存储类型,XenServer 将使用 location 设备配置参数来决定类型。
适用于 CIFS/SMB 上的 ISO SR 的设备配置参数:
| 参数名称 | 说明 | 是否必需? |
|---|---|---|
location |
挂载路径。 | 是 |
type |
要用于 SR 的存储类型:对于 CIFS/SMB,设置为 cifs。 |
否 |
vers |
对于存储类型 CIFS/SMB,要使用的 SMB 版本:1.0 或 3.0。默认值为 3.0。 | 否 |
username |
对于存储类型 CIFS/SMB,如果 Windows 文件服务器需要用户名。 | 否 |
cifspassword_secret |
(推荐) 对于存储类型 CIFS/SMB,您可以传递一个密钥而不是密码给 Windows 文件服务器。 | 否 |
cifspassword |
对于存储类型 CIFS/SMB,如果 Windows 文件服务器需要密码。我们建议您改用 cifspassword_secret 参数。 |
否 |
注意:
运行
sr-create命令时,我们建议您使用device-config:cifspassword_secret参数,而不是在命令行上指定密码。有关详细信息,请参阅 密钥。
有关使用 SMB SR 类型的更多信息,请参阅 SMB 存储。
在 CIFS/SMB 上创建 ISO SR
xe CLI
建议您使用 SMB 版本 3 将 ISO SR 挂载到 Windows 文件服务器上。默认选择版本 3,因为它比 SMB 版本 1.0 更 安全、更稳定。
创建一个 SMB 版本 3 ISO SR(使用推荐的 cifspassword_secret 选项)如下:
xe secret-create description="SMB ISO SR" value=<password>
xe sr-create content-type=iso type=iso shared=true device-config:location=<path_to_mount> \
device-config:username=<username> device-config:cifspassword_secret=<uuid returned from secret-create> \
device-config:type=cifs name-label="Example ISO SR"
<!--NeedCopy-->
如果由于文件管理器限制需要 SMB 版本 1,您可以挂载 使用 SMB 版本 1 的 ISO SR,方法是使用以下命令:
xe sr-create content-type=iso type=iso shared=true device-config:location=<path_to_mount> \
device-config:username=<username> device-config:cifspassword=<password> \
device-config:type=cifs device-config:vers=1.0 name-label="Example ISO SR"
<!--NeedCopy-->
在 XenCenter® 中
- 打开新建存储库向导:点击工具栏上的新建存储。
- 在ISO 库下,选择Windows 文件共享 (SMB/CIFS)作为存储类型,然后点击下一步。
-
在名称页面上,输入新 SR 的名称。默认情况下,向导会生成 SR 的描述。此描述包含您在向导中进行操作时选择的配置选项的摘要。要输入您自己的描述,请清除自动生成描述复选框,并在描述框中输入。
点击下一步继续。
- 在位置页面上,指定 ISO 存储目标详细信息:
-
共享名称:例如,
\\server\sharename,其中server是服务器计算机的 DNS 名称或 IP 地址,sharename是文件夹或文件名。 - 使用其他用户名:如果您想使用其他用户名连接到 SMB 服务器,请选择此复选框,然后输入您的登录用户名和密码。
-
共享名称:例如,
- 点击完成以完成新 SR 配置并关闭向导。
共享
共享
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.