Top
ServerView Resource Orchestrator Cloud Edition V3.1.1 Reference Guide (Command/XML)
ServerView

15.4.1 Disk Resources [KVM]

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="VM Host IP Address">
      <Disks>
        <Disk name="Disk Name" path="RAW Device or Partition Path" size="Disk Size"/>
      </Disks>
    </VmHost>
    <VmHost ip="VM Host IP Address">
      <Disks>
        <Disk name="Disk Name" path="RAW Device or Partition Path" size="Disk Size"/>
      </Disks>
    </VmHost>
  </VmHosts>
</Storage>
Table 15.7 List of Items Specified in Disk Resource Configuration Information XML Definitions for Virtual L-Servers

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 VM guest, the Pool element cannot be used.

VM host IP address

(VmHost IP)

IP address of a VM host 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 VM hosts, the same name must be used.

Raw device or partition path

(Disk path)

Raw device or partition path

Specify the path to a raw device or partition that is connected to a VM guest.

The path for the raw device or partition differs depending on the VM host. For details, refer to the instruction manual of the VM host.

Example

/dev/disk/by-id/scsi-3600000e00d0000000001321300010000

When specifying a raw device or partition shared between multiple VM hosts, 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="/dev/disk/by-id/aaaa" size="10.1"/>
      </Disks>
    </VmHost>
    <VmHost ip="192.168.0.101">
      <Disks>
        <Disk name="test4-0-disk0" path="/dev/disk/by-id/bbbb" size="10.1"/>
      </Disks>
    </VmHost>
  </VmHosts>
</Storage>