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

14.4 CreateDisk (Adds Additional Disks)

Name

[Windows Manager]
Installation_folder\RCXCFMG\bin\CreateDisk - Adds Additional Disks

[Linux Manager]
/opt/FJSVcfmg/bin/CreateDisk.sh - Adds Additional Disks


Synopsis

[Windows Manager]

CreateDisk -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name -lplatformId L-Platform ID -lserverId server ID -diskSize size of the extension disk  -diskName the name of the extension disk [-storagePool the resource name of the storage pool]

[Linux Manager]

CreateDisk.sh -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name -lplatformId L-Platform ID -lserverId server ID -diskSize size of the extension disk to be attached -diskName the name of the extension disk [-storagePool the resource name of the storage pool]

Function description

This command attaches a new extension disk to a server.

It cannot be used if the server virtualization software is RHEL-KVM or Solaris Zones.

This command cannot be executed in the following cases:

Options

-version

Specify the version ID of the L-Platform API.

-locale

Specify the language used to communicate with the L-Platform API.

-userId

Specify the user ID for executing the L-Platform API.

-password

Specify the password for the user ID for executing the L-Platform API.

-orgId

Specify the tenant name of the user for executing the L-Platform API.

-lplatformId

Specify the L-Platform ID.

-lserverId

Specify the server ID.

-diskSize

Specify the size of the expansion disk to be attached.

-diskName

Specify the name of the expansion disk to be attached.

-storagePool(optional)

Specify the resource name of the storage pool creating the expansion disk.


Requirements

Permissions

User with OS administrator privilege

Location

Admin server


Example

[Windows Manager]
> CreateDisk -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -diskSize 20 -diskName DISK01 -storagePool /StoragePool
<?xml version="1.0" encoding="UTF-8"?>
<CreateDiskResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <diskId>tenantA-M3PGGWCFX-D-0001</diskId>
</CreateDiskResponse>
[Linux Manager]
# CreateDisk.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -diskSize 20 -diskName DISK01 -storagePool /StoragePool
<?xml version="1.0" encoding="UTF-8"?>
<CreateDiskResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <diskId>tenantA-M3PGGWCFX-D-0001</diskId>
</CreateDiskResponse>

Exit Status

This command returns the following values:

0

The command executed successfully.

non-zero

An error has occurred.