7.240. RegistrationLunMapping struct
此类型描述了如何在对象注册过程中映射 LUN。对象可以是虚拟机、模板等。
外部 LUN 磁盘是不驻留于存储域中的实体。必须指定它,因为它不需要存在于对象注册的环境中。使用这个映射的 XML 表述示例:
<action> <registration_configuration> <lun_mappings> <registration_lun_mapping> <lun_mappings> <registration_lun_mapping> <from id="111"> </from> <to id="222"> <alias>weTestLun</alias> <lun_storage> <type>iscsi</type> <logical_units> <logical_unit id="36001405fb1ddb4b91e44078f1fffcfef"> <address>44.33.11.22</address> <port>3260</port> <portal>1</portal> <target>iqn.2017-11.com.name.redhat:444</target> </logical_unit> </logical_units> </lun_storage> </to> </registration_lun_mapping> </lun_mappings> </registration_configuration> </action>
名称 | 类型 | 概述 |
---|---|---|
| 引用原始 LUN。 | |
| 引用要添加到虚拟机的 LUN。 |
7.240.1. 来自
引用原始 LUN。这必须使用 id
属性指定。