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!
ISO library on SMB/CIFS
The ISO type handles CD images stored as files in ISO format. This storage repository (SR) type is useful for creating shared ISO libraries.
The ISO SR type cifs uses the Windows File Sharing (SMB/CIFS) SR type to handle CD images stored as files in ISO format available as a Windows (SMB/CIFS) share.
If you do not specify the storage type to use for the SR, XenServer uses the location device config parameter to decide the type.
Device-config parameters for ISO SRs on CIFS/SMB:
| Parameter Name | Description | Required? |
|---|---|---|
location |
Path to the mount. | Yes |
type |
Storage type to use for the SR: For CIFS/SMB, set to cifs. |
No |
vers |
For the storage type CIFS/SMB, the version of SMB to use: 1.0 or 3.0. The default is 3.0. | No |
username |
For the storage type CIFS/SMB, if a user name is required for the Windows file server. | No |
cifspassword_secret |
(Recommended) For the storage type CIFS/SMB, you can pass a secret instead of a password for the Windows file server. | No |
cifspassword |
For the storage type CIFS/SMB, if a password is required for the Windows file server. We recommend that you use the cifspassword_secret parameter instead. |
No |
Note:
When running the
sr-createcommand, we recommend that you use thedevice-config:cifspassword_secretargument instead of specifying the password on the command line. For more information, see Secrets.
For more information about using the SMB SR type, see SMB storage.
Create an ISO SR on CIFS/SMB
xe CLI
We recommend that you use SMB version 3 to mount ISO SR on a Windows file server. Version 3 is selected by default because it is more secure and robust than SMB version 1.0.
Create an SMB version 3 ISO SR (using the recommended cifspassword_secret option) as
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-->
If SMB version 1 is required due to filer limitations, you can mount ISO SR using SMB version 1 using the following command:
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-->
In XenCenter®
- Open the New Storage Repository wizard: click New Storage on the toolbar.
- Under ISO library, select Windows File Sharing (SMB/CIFS) as the storage type, then click Next.
-
On the Name page, enter the name of the new SR. By default, the wizard generates a description of the SR. This description includes a summary of the configuration options you select as you progress through the wizard. To enter your own description, clear the Auto-generate description check box and type in the Description box.
Click Next to continue.
- On the Location page, specify the ISO storage target details:
-
Share Name: For example,
\\server\sharenamewhereserveris the DNS name or IP address of the server computer, andsharenameis a folder or file name. - Use different user name: If you want to connect to an SMB server using a different user name, select this check box and then enter your login user name and password.
-
Share Name: For example,
- Click Finish to complete the new SR configuration and close the wizard.
Share
Share
In this article
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.