7.241. RegistrationLunMapping 構造体
このタイプは、オブジェクト登録の一部として 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.241.1. from
元の LUN への参照。これは、id
属性で指定する必要があります。