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

15.4.4 Disk Resources [OVM for SPARC]

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="Virtual disk service information" size="Disk Size"/>
      </Disks>
    </VmHost>
    <VmHost ip="VM Host IP Address">
      <Disks>
        <Disk name="Disk Name" path="Virtual disk service information" size="Disk Size"/>
      </Disks>
    </VmHost>
  </VmHosts>
</Storage>
Table 15.10 List of Items Specified in Disk Resource Configuration Information XML Definitions for Virtual LServers

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.

Virtual disk service information

(Disk path)

Virtual disk service information

Specify the value in which the virtual disk service name of the service domain in the VM host is combined with the volume name corresponding to the raw device or the partition connected with the VM guest.

For details on the virtual disk service name and the volume name, refer to the OVM for SPARC manual.

Example

When the volume name and the virtual disk service name are shown as below, the value specified for here is vol0@primary-vds0.

volume name: vol0

virtual disk service name: primary-vds0

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="test-0-disk0" path="vol1@primary-vds0" size="10.1"/>
      </Disks>
    </VmHost>
    <VmHost ip="192.168.0.101">
      <Disks>
        <Disk name="test-0-disk0" path="vol1@primary-vds0" size="10.1"/>
      </Disks>
    </VmHost>
  </VmHosts>
</Storage>