The XML definition of the disk resource configuration information for virtual L-Servers is shown below.
<?xml version="1.0" encoding="utf-8"?> <Storage> <Pool name="Storage Pool Name"/> <VmHosts> <VmHost ip="Global Zone IP Address"> <Disks> <Disk name="Disk Name" path="Mount Point of RAW Device or Partition" size="Disk Size"/> </Disks> </VmHost> <VmHost ip="Global Zone IP Address"> <Disks> <Disk name="Disk Name" path="Mount Point of RAW Device or Partition" size="Disk Size"/> </Disks> </VmHost> </VmHosts> </Storage> |
Element Name | Description | Remarks (Possible Values, Examples) |
---|---|---|
Storage pool name (Pool name) | Storage pool name for disk registration | Specify the resource name of an existing storage pool. If there are storage pools with the same name on different levels, the level must also be specified. Resource_folder/Resource_pool When modifying the disk resource registration information for the non-global zone, the Pool element cannot be used. |
Global zone IP address (VmHost IP) | IP address of a global zone that recognizes the raw device or partition | Specify the IP address. |
Disk name (Disk name) | Disk name to register in the storage pool | Specify a character string beginning with an alphanumeric character and containing up to 32 alphanumeric characters, underscores ("_"), and hyphens ("-"). When specifying a raw device or partition shared between multiple global zones, the same name must be used. |
Mount point of a raw device or partition (Disk path) | Mount point of a raw device or partition | Specify a mount point of a raw device or partition connected to a non-global zone, which is described in the /etc/vfstab file in the global zone. Example /ror/zones/zone1 When specifying a raw device or partition shared between multiple global zones, specify as many VmHost elements as there are VM hosts. |
Disk size (Disk size) | Disk size to register in the storage pool | Specify a number with up to one decimal place, in units of gigabytes. For details on the scope which can be specified, refer to "16.3.3 [Disk] Tab" in the "User's Guide for Infrastructure Administrators (Resource Management) CE". |
Example
<?xml version="1.0" encoding="utf-8"?> <Storage> <Pool name="StoragePool"/> <VmHosts> <VmHost ip="192.168.0.100"> <Disks> <Disk name="test4-0-disk0" path="/ror/zones/zone1" size="10.1"/> </Disks> </VmHost> <VmHost ip="192.168.0.101"> <Disks> <Disk name="test4-0-disk0" path="/ror/zones/zone2" size="10.1"/> </Disks> </VmHost> </VmHosts> </Storage> |