Abiquo Documentation Cookies Policy

Our Documentation website uses cookies to improve your experience. Please visit our Cookie Policy page for more information about cookies and how we use them.


Documentation

Skip to end of metadata
Go to start of metadata

Multi-disk in OVF files

OVF support for multiple files with 1 disk per file

  • Advanced tab in UI, which enables you to:
    • select operating system
    • enter version
  • Disk tab in UI, which enables you to: 
    • select disk controller type
    • enter controller

OVF Support for multiple disk files

When adding templates as OVF files, create a File element for each disk file. Then create a Disk element with the disk file details.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ovf:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:abiquo="http://www.abiquo.com/appliancemanager/repositoryspace" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common">
	<ovf:References>
    	<ovf:File ovf:id="0" ovf:href="grml-sync.qcow2" ovf:size="1073741824"/>
    	<ovf:File ovf:id="1" ovf:href="otherdisk.vmdk" ovf:size="209715200"/>
	</ovf:References>
	<ovf:Section xsi:type="ovf:DiskSection_Type">
    	<ovf:Disk ovf:diskId="0" ovf:fileRef="0" ovf:capacity="1024" ovf:capacityAllocationUnits="MegaBytes" ovf:format="http://people.gnome.org/~markmc/qcow-image-format.html#monolithic_sparse"/>
    	<ovf:Disk ovf:diskId="1" ovf:fileRef="1" ovf:capacity="1" ovf:capacityAllocationUnits="MegaBytes" ovf:format="http://unknown"/>
	</ovf:Section>
	<ovf:VirtualSystem ovf:id="promm">
    	<ovf:Info>GRML Small with sync to disk. Used for the functional tests.</ovf:Info>
    	<ovf:Name>promm</ovf:Name>
    	
….
</ovf:Envelope>

OVF Support for disk controllers

Create a RASD element for the disk controller. And create a child element for each disk.

<ovf:Section xsi:type="ovf:VirtualHardwareSection_Type">
        	<ovf:System>
            	<vssd:VirtualSystemType>abiquo</vssd:VirtualSystemType>
        	</ovf:System>
…. CPU … RAM …. ethernetDriver
        	<ovf:Item>
            	<rasd:ElementName>SCSI Controller</rasd:ElementName>
            	<rasd:InstanceID>SCSI.lsilogic</rasd:InstanceID>
            	<rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
            	<rasd:ResourceType>6</rasd:ResourceType>
        	</ovf:Item>
        	<ovf:Item>
            	<rasd:AddressOnParent>0</rasd:AddressOnParent>
            	<rasd:AllocationUnits>MB</rasd:AllocationUnits>
            	<rasd:ElementName>Hd</rasd:ElementName>
            	<rasd:HostResource>ovf:/disk/0</rasd:HostResource>
            	<rasd:InstanceID>1000</rasd:InstanceID>
            	<rasd:Parent>SCSI.lsilogic</rasd:Parent>
            	<rasd:ResourceType>17</rasd:ResourceType>
            	<rasd:VirtualQuantity>1024</rasd:VirtualQuantity>
        	</ovf:Item>
        	<ovf:Item>
            	<rasd:AddressOnParent>1</rasd:AddressOnParent>
            	<rasd:AllocationUnits>MB</rasd:AllocationUnits>
            	<rasd:ElementName>Hd</rasd:ElementName>
            	<rasd:HostResource>ovf:/disk/1</rasd:HostResource>
            	<rasd:InstanceID>1001</rasd:InstanceID>
            	<rasd:Parent>SCSI.lsilogic</rasd:Parent>
            	<rasd:ResourceType>17</rasd:ResourceType>
            	<rasd:VirtualQuantity>1</rasd:VirtualQuantity>
        	</ovf:Item>
…. product section ….
</ovf:Envelope>

 

 

  • No labels