Name
[Windows Manager]
Installation_folder\SVROR\Manager\bin\rcxvmdisk - Output of disk resource configuration information (partial) for virtual L-Servers
[Linux Manager]
/opt/FJSVrcvmr/bin/rcxvmdisk - Output of disk resource configuration information (partial) for virtual L-Servers
Format
rcxvmdisk -dir The_name_of_the_folder_that_stores_the_information_output_by_the_rcxvmdiskagt_command
Description
rcxvmdisk is the command that outputs a part of disk resource configuration information for virtual L-Servers to the standard output in XML format.
The following detailed information is displayed:
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) |
By saving the output information in a file and making the following changes to the file, the file can be specified for the -file option of the rcxadm disk register command, etc.
For the name attribute of the Pool element, describe the name of the storage pool to register disk resources for virtual L-Servers to.
For the name attribute of the Disk element, describe the disk resource name.
For the disk resource name, enter a character string beginning with an alphanumeric character and containing up to 32 alphanumeric characters, underscores ("_"), and hyphens ("-").
For the raw device or partition connected so that it can be shared between VM hosts, specify the same disk resource name on the VM hosts.
Options
For dir, specify the name of the folder for storing output information of the rcxvmdiskagt command executed on each VM host.
Note
Create the folder to specify for the -dir option in advance. It is necessary to use this folder to store the information output when the rcxvmdiskagt command is executed on each VM host. In addition, those files must have the extension "xml".
Files with extensions other than "xml" in that folder are ignored.
Only files with the extension "xml" are treated as operation targets. When the extension is "xml", do not execute the following:
Store files other than those containing the information output by the rcxvmdiskagt command in that folder.
Redirect the standard output of this command to the directory specified in the -dir option.
The folder specified for the -dir option can be specified using an absolute path or a relative path.
When there is no file containing the information output by the rcxvmdiskagt command in the folder specified for the -dir option, the elements other than the VmHost element and its child elements are output.
Examples
When There are Two VM hosts
>rcxvmdisk -dir DirectoryName <RETURN>
<?xml version="1.0" encoding="utf-8"?>
<Storage>
<Pool name="*"/>
<VmHosts>
<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>
<VmHost ip="192.168.23.154">
<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>
</VmHosts>
</Storage> |
Note
This command should be performed using a user account with administrative privileges within the operating system.
The information output by this command will be the input information for the rcxadm disk register command and the rcxadm disk modify command. Therefore, the output information must be saved as a file.
There are no limitations on the names of the files that store the output information of this command, except that the file extension must be "xml".