This section explains the image information in detail.
Image information files are XML documents that list the configuration information for cloning images.
Create and register a separate image information file for each cloning image.
Infrastructure administrators must take this model into account when performing creation.
A model image information file is stored in the following folder:
Installation_folder\RCXCFMG\templates\images\
/opt/FJSVcfmg/templates/images/
Refer to "15.19.2.2 File Information Details" for information on a description of cloning items (tags).
The software ID (which was assigned when the software information was registered) must be entered as the software ID in the image information.
Image information files use the following XML format:
<?xml version="1.0" encoding="UTF-8" ?> <image version="2.0"> <id>[Cloning image ID]</id> <name>[Image information name]</name> <resourceId>[Resource ID]</resourceId> <imageName>[Cloning image name]</imageName> <ownerOrg>[Owner (tenant)]</ownerOrg> <ownerUser>[Owner (user)]</ownerUser> <publicCategory>[Public category]</publicCategory> <serverCategory>[Sever category]</serverCategory> <serverApplication>[Server application]</serverApplication> <serverType>[Default server type]</serverType> <cpuBit>[CPU bit number]</cpuBit> <sysvolSize>[System disk size]</sysvolSize> <maxCpuPerf>[Maximum CPU performance]</maxCpuPerf> <numOfMaxCpu>[Maximum number of CPUs]</numOfMaxCpu> <maxMemorySize>[Maximum memory size]</maxMemorySize> <numOfMaxDisk>[Maximum number of data disks]</numOfMaxDisk> <maxDiskSize>[Maximum data disk size]</maxDiskSize> <maxSysvolSize>[Maximum system disk size]</maxSysvolSize> <numOfMaxNic>[Maximum number of NICs]</numOfMaxNic> <initialPassword>[Initial password]</initialPassword> <icon>[Icon type]</icon> <virtualization>[Image type]</virtualization> <virtualizationMethod>[Virtualization method]</virtualizationMethod> <filterPool>[Filter string]</filterPool> <dataDiskFlag>[Data disk use]</dataDiskFlag> <vmType>[Virtual machine type]</vmType> <storeType>[Storage location type]</storeType> <softwares> <software> <id>[Software ID]</id> <order>[Display order]</order> <patches> <patch> <id>[Patch ID]</id> <locale> <lcid>[Locale ID]</lcid> <componentName>[Component name]</componentName> <description>[Description]</description> </locale> ... </patch> ... </patches> </software> ... </softwares> <vdisks> <vdisk> <no>[Disk number]</no> <diskSize>[Disk capacity]</diskSize> </vdisk> ... </vdisks> </image>
The following table shows descriptions of each of these items (tags), as well as their settings:
Modify image information files if necessary, by referring to the information in this table.
Tag cloning names in square brackets [ ] can be omitted.
Tag name | Format | Setting range | Mandatory | Description |
---|---|---|---|---|
id | ASCII string | 1 to 32 characters | Yes | The cloning image ID. |
name | ASCII string | Up to 85 characters | Yes | The name of image information is specified. |
resourceId | ASCII string | 1 to 256 characters | Yes | The resource ID. |
imageName | ASCII string | 1 to 32 characters | Yes | The cloning image name. |
ownerOrg | ASCII string | Fixed value | Yes | The tenant name to which the cloning image belongs. |
ownerUser | ASCII string | Fixed value | Yes | The user ID of the user registering the cloning image. |
publicCategory | ASCII string | List | Yes | This item selects the cloning image category. |
serverCategory | ASCII string | Fixed value | Yes | This item selects the category of the server included in the cloning image. |
serverApplication | ASCII string | List | Yes | The usage of the server included in the cloning image. (Example) WEB/AP, AP/WEB/DB, etc. |
serverType | ASCII string | 0 to 32 characters | Optional | The server type. |
cpuBit | integer | List | Yes | The CPU bit count of the server included in the cloning image. |
sysvolSize | decimal | In decimal notation, to one decimal place | Yes | The size of the system disk for the server to be deployed. |
[ maxCpuPerf ] | decimal | In decimal notation, to one decimal place | Yes | The maximum specifiable CPU performance for the server. |
[ numOfMaxCpu ] | integer | 1 to 99 | Yes | The maximum specifiable number of CPUs for the server. |
[ maxMemorySize ] | decimal | In decimal notation, to one decimal place | Yes | Specify in GB the maximum memory size that can be specified for the server. |
numOfMaxDisk | integer | 0 to 99 | Yes | The maximum number of extension disks that can be added to the server. |
[ maxDiskSize ] | decimal | In decimal notation, to one decimal place | Yes | The maximum specifiable disk size for extension disks. |
[ maxSysvolSize ] | decimal | In decimal notation, to one decimal place | Yes | The maximum specifiable disk size for system disks. |
numOfMaxNic | integer | 1 to 99 | Yes | The maximum number of network interface cards (NICs) that can be added to the server. |
initialPassword | UTF-8 string | Up to 85 characters | Yes | The initial password for the operating system. |
icon | UTF-8 string | List | Yes | The icon of the server included in the cloning image. |
virtualization | ASCII string | List | Yes | The virtual or physical cloning image type. |
[ vitualizationMethod ] | ASCII string | List | Optional | The cloning image virtualization type. |
[ filterPool ] | UTF-8 string | 1 to 85 characters | Optional | The string for filtering the VM pool choices for the cloning image. |
[ dataDiskFlag ] | ASCII string | List | Yes | Specify true if a data disk is included in the image. |
[ vmType ] | ASCII string | List | Yes | Specify the VM type for the image. - "VMware": VMware |
[ storeType ] | ASCII string | List | Yes | For RHEL-KVM images, specify the storage location type. - "Virtual Disk": Virtual disk |
softwares | - | - | No | The software installed on the server. |
software | - | 1 or more | No | Specify as many <software> tags as there are software programs installed on the server. |
id | ASCII string | 1 to 32 characters | Yes | The software ID of the software. |
order | integer | 0 or more | Yes | The order in which software programs are displayed. |
patches | - | - | No | Patch information for the software. |
[ patch ] | - | 0 or more | No | Specify as many <patch> tags as there are patches or updates that need to be applied. |
id | ASCII string | 1 to 32 characters | Yes | Specify a patch ID for the patch, such as the update number. |
locale | - | 1 or more | No | Patch information for each locale. |
lcid | ASCII string | Fixed value | Yes | The locale for patch information. The value is fixed as "en". |
componentName | UTF-8 string | Up to 85 characters | Optional | The name of the component to which the patch is applied. |
description | UTF-8 string | Up to 85 characters | Optional | A description for the patch. |
[ vdisks ] | - | - | No | Specify the data disk that is included in the image. |
vdisk | - | 1 or more | Yes | Specify for each of the data disks included in the image. |
no | integer | 1-99 | Yes | Specify the number of the disk to be connected to the L-Server. |
diskSize | decimal | In decimal notation, to one decimal place | Yes | Specify the size of the disk. |
The meanings of the symbols in the Mandatory column are as follows:
Yes: If a tag was specified, you must specify the value.
Optional: Value can be omitted.
No: A value setting is not required. Tag only specification.