このセクションには、primary ドメインに割り当てられた仮想ディスクサーバーによってエクスポートされたデバイス (vdsdev) が記述されます。
<Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>vds_volume</rasd:OtherResourceType> <gprop:GenericProperty key="vol_name">vdsdev0</gprop:GenericProperty> <gprop:GenericProperty key="service_name">primary-vds0</gprop:GenericProperty> <gprop:GenericProperty key="block_dev">/opt/SUNWldm/domain_disks/testdisk1</gprop:GenericProperty> <gprop:GenericProperty key="vol_opts">ro</gprop:GenericProperty> <gprop:GenericProperty key="mpgroup">mpgroup-name</gprop:GenericProperty> </Item> </Section> |
各表記の意味は次のとおりです。
XML のキープロパティーであるボリューム名 (vol_name) とサービス名 (service_name) は、CLI コマンドでは組み合わせて使用します (この場合は、vdsdev0@primary-vds0)。
XML のキープロパティー block_dev は、相当する CLI コマンドでの backend 引数となります。これは、仮想ディスクのデータの格納場所を示し、この場合は、/opt/SUNWldm/domain_disks/testdisk1 となります。
XML の省略可能なキープロパティー vol_opts は、{ro,slice,excl} のように、これらの項目の 1 つ以上がコンマで区切られて、1 つの文字列となっているものです。
XML の省略可能なキープロパティー mpgroup は、マルチパス (フェイルオーバー) グループの名前を示します。
このセクションは、次の CLI コマンドに相当します。
# ldm add-vdsdev options=ro mpgroup=mpgroup-name /opt/SUNWldm/domain_disks/testdisk1 vdsdev0@primary-vds0 |