Top
ServerView Resource Orchestrator Cloud Edition V3.0.0 Reference Guide for Infrastructure Administrators (Resource Management)

1.7.20 rcxvmdiskagt

Name

[KVM]
/opt/FJSVrcxat/bin/rcxvmdiskagt - Output of the raw device or partition information recognized by a VM host


Format

rcxvmdiskagt -ip IP_address_of _admin_LAN_for_the_VM_host

Description

rcxvmdiskagt is the command that outputs the raw device or partition information recognized by a VM host to the standard output in XML format.

The following detailed information is displayed:

Table 1.87 Information of the Raw Device or Partition Recognized by a VM Host

Element Name/Attribute Name

Description

VmHost/ip

The admin LAN IP address for the VM host

Disk/path

Absolute path to the raw device or partition recognized by the VM host

Disk/size

The capacity of the raw device or partition recognized by the VM host (unit: GB)


Options

-ip ipaddress

Specify the IP address of the admin LAN for the VM host.


Examples

>rcxvmdiskagt -ip 192.168.23.153 <RETURN>
<?xml version="1.0" encoding="utf-8"?>
<VmHost ip="192.168.23.153">
<Disks>
<Disk name="*" path="/dev/disk/by-id/scsi-3600000e00d0000000001321300010000" size="10.0"/>
<Disk name="*" path="/dev/disk/by-id/scsi-3600000e00d0000000001321300020000" size="10.0"/>
<Disk name="*" path="/dev/disk/by-id/scsi-3600000e00d0000000001321300030000" size="10.0"/>
<Disk name="*" path="/dev/disk/by-id/scsi-3600000e00d0000000001321300040000" size="10.0"/>
<Disk name="*" path="/dev/disk/by-id/scsi-3600000e00d0000000001321300050000" size="10.0"/>
</Disks>
</VmHost>

Note

  • This command should be performed using a user account with administrative privileges within the operating system.

  • This command is included in the agents that operate on Red Hat(R) Enterprise Linux(R) 6 (for Intel64).

  • The information output by this command will be the input information for the rcxvmdisk command. Therefore, the output information must be saved as a file.

  • The rcxvmdisk command is included in the manager. Therefore, move the files that store the output information of this command to the server where the manager is running.

  • Although there are no limitations on the name of the files that store the output information of this command, when there are multiple KVM VM hosts, users are recommended to use file names that do not overlap with the file names used on the other VM hosts. In addition, those files must have the extension "xml".

  • Delete the following from the output information:

    • raw devices or partition not used by the VM guests

    • raw devices or partition not to be used nor mounted on the VM host

    • LVM disks

  • Delete the information on the raw devices or partition already registered with the manager as disk resources for virtual L-Servers. However, this does not apply when changing registered information using the rcxadm disk modify command.

Information

Information of raw devices or partition is output to the Disk element. It is output when all of the following conditions are met:

  • The device is a SCSI disk (a disk beginning with "scsi-" in /dev/disk/by-id/)

  • The device has not been mounted on the VM host at the time when this command is executed (except disks or partitions that have been mounted as /dev/sd* referring to the /etc/mtab information)

For partitioned disks, the information for each partition is output.

When there is no raw device or partition that meets the above conditions, the elements other than the Disk element are output.